[Hardware] nvidia & resolution more than 800x600
Владимир Черный
black на altlinux.ru
Вт Авг 14 11:13:07 MSD 2007
Скорее всего у вас линки не туда смотрят
Посмотрите и поправьте руками все линки из /etc/X11/lib_nvidia
и /etc/X11/lib
Чтобы было примерно так:
/etc/X11/lib_nvidia
nvidia.xinf -> /usr/lib/nvidia_1.0.9631/nvidia.xinf
libGLcore.so.1 -> /usr/lib/nvidia_1.0.9631/libGLcore.so.1
libnvidia-cfg.so.1 -> /usr/lib/nvidia_1.0.9631/libnvidia-cfg.so.1
libnvidia-tls.so.1 -> /usr/lib/nvidia_1.0.9631/libnvidia-tls-tls.so.1
libNVIDIAXvMC.so -> /usr/lib/nvidia_1.0.9631/libNVIDIAXvMC.so
libXvMCNVIDIA_dynamic.so.1 ->
/usr/lib/nvidia_1.0.9631/libXvMCNVIDIA_dynamic.so.1
nvidia_drv.so -> /usr/lib/nvidia_1.0.9631/nvidia_drv.so
/etc/X11/lib
libGL.so.1 -> /usr/lib/nvidia_1.0.9631/libGL.so.1
libglx.so -> /usr/lib/nvidia_1.0.9631/libglx.so
естественно, все это для драйвера nvidia
Успехов!
2007/8/14, Eugene Prokopiev <prokopiev на stc.donpac.ru>:
> Здравствуйте!
>
> Есть машина с бранчем 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):
>
> 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/"
> EndSection
>
> Section "Module"
> Load "dbe"
> Load "record"
> Load "extmod"
> Load "dri"
> Load "GLcore"
> Load "glx"
> Load "xtrap"
> 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"
> EndSection
>
> Section "Device"
> ### Available Driver options are:-
> ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
> ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
> ### [arg]: arg optional
> #Option "SWcursor" # [<bool>]
> #Option "HWcursor" # [<bool>]
> #Option "NoAccel" # [<bool>]
> #Option "ShadowFB" # [<bool>]
> #Option "UseFBDev" # [<bool>]
> #Option "Rotate" # [<str>]
> #Option "VideoKey" # <i>
> #Option "FlatPanel" # [<bool>]
> #Option "FPDither" # [<bool>]
> #Option "CrtcNumber" # <i>
> #Option "FPScale" # [<bool>]
> #Option "FPTweak" # <i>
> #Option "DualHead" # [<bool>]
> 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 1
> EndSubSection
> SubSection "Display"
> Viewport 0 0
> Depth 4
> EndSubSection
> SubSection "Display"
> Viewport 0 0
> Depth 8
> EndSubSection
> SubSection "Display"
> Viewport 0 0
> Depth 15
> EndSubSection
> SubSection "Display"
> Viewport 0 0
> Depth 16
> EndSubSection
> SubSection "Display"
> Viewport 0 0
> Depth 24
> 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
> 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
>
> Как бороться?
>
> --
> С уважением,
> Прокопьев Евгений
> _______________________________________________
> Hardware mailing list
> Hardware на lists.altlinux.org
> https://lists.altlinux.org/mailman/listinfo/hardware
--
С уважением,
Владимир Черный
Начальник отдела образовательных проектов ALT Linux
mailto: black at altlinux.ru
Jabber: black at altlinux.org
ICQ: 199158712
Подробная информация о списке рассылки Hardware