[Hardware] nvidia & resolution more than 800x600

Eugene Prokopiev prokopiev на stc.donpac.ru
Вт Авг 14 10:27:48 MSD 2007


Здравствуйте!

Есть машина с бранчем 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