From: "Хихин Руслан" <hihin@rambler.ru> To: hardware@lists.altlinux.org Subject: Re: [Hardware] nvidia & resolution more than 800x600 Date: Tue, 14 Aug 2007 11:25:57 +0400 Message-ID: <200708141125.57913@ruslandh> (raw) In-Reply-To: <46C14B64.30307@stc.donpac.ru> [-- Attachment #1: Type: text/plain, Size: 5925 bytes --] Здравствуйте Eugene Prokopiev В сообщении от 14 августа 2007 Eugene Prokopiev написал(a): > Здравствуйте! > Есть машина с бранчем 4.0 и такой видеокартой: > # lspci | grep VGA > 01:00.0 VGA compatible controller: nVidia Corporation NV18 [GeForce4 > MX- nForce GPU] (rev a3) > > Требуется добиться от нее разрешения большего, чем 800x600 (1024х768 > вполне бы устроило), можно на свободном драйвере, т.к. 3D не нужно. > > Сгенерированный конфиг (X -configure): Лучше x11createconfig > Section "ServerLayout" > Identifier "X.org Configured" > Screen 0 "Screen0" 0 0 > InputDevice "Mouse0" "CorePointer" > InputDevice "Keyboard0" "CoreKeyboard" > EndSection > > Section "Files" > RgbPath "/usr/share/X11/rgb" > ModulePath "/usr/lib/X11/modules" > FontPath "/usr/share/fonts/bitmap/misc/" Тут можно или больше путей до фонтов или ссылку на сокет xfs FontPath "unix/:-1" (или 7100 - зависит от настройки xfs) > EndSection > > Section "Module" > Load "dbe" > Load "record" не знаю что за record > Load "extmod" Можно добавить : SubSection "extmod" Option "omit xfree86-dga" EndSubSection > Load "dri" при приминении nvidia надо комментировать > Load "GLcore" не в курсе насчёт этой опции (если это осмысленно добавленно, то ладно) > Load "glx" > Load "xtrap" опять не в курсе (я конечно могу прочесть man xorg.conf, но ....) > EndSection > Section "InputDevice" > Identifier "Keyboard0" > Driver "kbd" > EndSection > Section "InputDevice" > Identifier "Mouse0" > Driver "mouse" > Option "Protocol" "auto" > Option "Device" "/dev/input/mice" > Option "ZAxisMapping" "4 5 6 7" > EndSection > Section "Monitor" > Identifier "Monitor0" > VendorName "Monitor Vendor" > ModelName "Monitor Model" Хорошо-бы параметры монитора прописать, типа : HorizSync 30.0 - 71.0 VertRefresh 56.0 - 70.0 > EndSection > Section "Device" > ### Available Driver options are:- > ### Values: <i>: integer, <f>: float, <bool>: закомментированные опции можно оставить в каком-нибудь xorg.example а тут только затрудняют анализ. > Identifier "Card0" > Driver "nv" > VendorName "nVidia Corporation" > BoardName "NV18 [GeForce4 MX - nForce GPU]" > BusID "PCI:1:0:0" > EndSection > Section "Screen" > Identifier "Screen0" > Device "Card0" > Monitor "Monitor0" > SubSection "Display" > Viewport 0 0 .......... > Depth 16 > EndSubSection > > SubSection "Display" > Viewport 0 0 > Depth 24 > EndSubSection Лишние глубины цвета можно убрать (зачем вам, например, чёрно-белое разрешение ?), а нужные разрешения можно и явно указать : DefaultDepth 24 SubSection "Display" Depth 24 Modes "1280x1024" "1280x960" "1024x768" EndSubSection > EndSection > > С ним X запускаются и работают, но: > $ xrandr > Screen 0: minimum 320 x 240, current 800 x 600, maximum 800 x 600 > default connected 800x600+0+0 0mm x 0mm > 800x600 60.0* 56.0 > 640x480 60.0 > 400x300 60.0 56.0 > 320x240 60.0 > > Если в конфиге nv заменить на nvidia, то при старте Х получим: > xauth: (argv):1: bad display name "myhost.mydomain.com:0" in "list" > command Ошибка X-авторизации. Разберитесь с именами машины. > xauth: (argv):1: bad display name "myhost.mydomain.com:0" in "add" > command > > X Window System Version 7.3.0 > Release Date: 19 April 2007 > X Protocol Version 11, Revision 0, Release 7.3 > Build Operating System: Linux 2.6.18-std-smp-alt6 i686 ALT Linux > > Current Operating System: Linux myhost.mydomain.com > 2.6.18-std-smp-alt6 > #1 SMP Sun Apr 29 00:41:18 MSD 2007 i686 > > Build Date: 09 June 2007 > > Before reporting problems, check > https://bugzilla.altlinux.org/ > to make sure that you have the latest version. > Module Loader present > Markers: (--) probed, (**) from config file, (==) default setting, > (++) from command line, (!!) notice, (II) informational, > (WW) warning, (EE) error, (NI) not implemented, (??) > unknown. > (==) Log file: "/var/log/Xorg.0.log", Time: Tue Aug 14 09:37:32 2007 > (==) Using config file: "/etc/X11/xorg.conf" > (EE) LoadModule: Module nvidia does not have a nvidiaModuleData data > object. > (EE) Failed to load module "nvidia" (invalid module, 0) > (EE) No drivers available. А модуль-то загружен ? > Fatal server error: > no screens found > > XIO: fatal IO error 104 (Connection reset by peer) on X server > ":0.0" > after 0 requests (0 known processed) with 0 events remaining. > xauth: (argv):1: bad display name "myhost.mydomain.com:0" in > "remove" > > command > > > > Что установлено: > > > > $ rpm -qa | grep nvidia > > nvidia_glx_common-100.14.11-alt31 > nvidia-settings-1.0-alt7 > kernel-modules-nvidia_legacy_96xx-std-smp-1.0.9639-alt0.M40.132626.6 > > nvidia-xconfig-1.0-alt7 > nvidia_glx_legacy_96xx_1.0.9639-1.0.9639-alt29.M40.1 > Как бороться? x11setupdrv PS Да, жаль во fresource статья пропала про это :( - если присылалась мне на e-mail при корректировке, то попытаюсь восстановить. -- А ещё говорят так (fortune): You can tell how far we have to go, when FORTRAN is the language of supercomputers. -- Steven Feiner ________________________________________________________________________ С уважением Хихин Руслан [-- Attachment #2: This is a digitally signed message part. --] [-- Type: application/pgp-signature, Size: 189 bytes --]
next prev parent reply other threads:[~2007-08-14 7:25 UTC|newest] Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top 2007-08-14 6:27 Eugene Prokopiev 2007-08-14 7:13 ` Владимир Черный 2007-08-14 8:11 ` Eugene Prokopiev 2007-08-14 8:33 ` Владимир Черный 2007-08-14 7:25 ` Хихин Руслан [this message] 2007-08-14 8:19 ` Eugene Prokopiev 2007-08-14 10:23 ` Хихин Руслан 2007-08-14 13:37 ` Eugene Prokopiev 2007-08-14 15:01 ` Michael Shigorin 2007-08-14 15:04 ` Eugene Prokopiev 2007-08-14 15:13 ` Michael Shigorin
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=200708141125.57913@ruslandh \ --to=hihin@rambler.ru \ --cc=hardware@lists.altlinux.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
ALT Linux hardware support This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/hardware/0 hardware/git/0.git # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V2 hardware hardware/ http://lore.altlinux.org/hardware \ hardware@altlinux.ru hardware@lists.altlinux.org hardware@lists.altlinux.ru hardware@lists.altlinux.com hardware@altlinux.org public-inbox-index hardware Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.hardware AGPL code for this site: git clone https://public-inbox.org/public-inbox.git