Ubuntu Forums Archive Viewer

X can't find nvidia-glx-legacy module

Archived thread 100690 from Multimedia & Video. Markdown source: Multimedia_&_Video/thread_100690_X_can't_find_nvidia-glx-legacy_module.md

Original URL About this archive
#1

ok. according to the bios i have a "STB Velocity 128 (NV3T) ver 1.21 8mb" which i think is a riva128 clone.

also. i have a *working* X config using the nv driver. i installed with apt-get the restricted modules for 686, and nvidia-glx-legacy and ran the sudo nvidia-glx-config enable command.

this card is hooked up to a Dell 1905FP flatscreen, and runs 1280x1024 with 24bit depth fine, but no 3d accel. so i know the card can handle it.

problem is X says can't find the module nvidia-glx-legacy when i try to change over the xorg.conf file.

here is my working X no accell xorg.conf

# /etc/X11/xorg.conf (xorg X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the /etc/X11/xorg.conf manual page.
# (Type "man /etc/X11/xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following commands:
#
#   cp /etc/X11/xorg.conf /etc/X11/xorg.conf.custom
#   sudo sh -c 'md5sum /etc/X11/xorg.conf >/var/lib/xfree86/xorg.conf.md5sum'
#   sudo dpkg-reconfigure xserver-xorg

Section "Files"
    FontPath    "unix/:7100"            # local font server
    # if the local font server has problems, we can fall back on these
    FontPath    "/usr/share/X11/fonts/misc"
    FontPath    "/usr/share/X11/fonts/cyrillic"
    FontPath    "/usr/share/X11/fonts/100dpi/:unscaled"
    FontPath    "/usr/share/X11/fonts/75dpi/:unscaled"
    FontPath    "/usr/share/X11/fonts/Type1"
    FontPath    "/usr/share/X11/fonts/CID"
    FontPath    "/usr/share/X11/fonts/100dpi"
    FontPath    "/usr/share/X11/fonts/75dpi"
        # paths to defoma fonts
    FontPath    "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
    FontPath    "/var/lib/defoma/x-ttcidfont-conf.d/dirs/CID"
EndSection

Section "Module"
    Load    "GLcore"
    Load    "bitmap"
    Load    "ddc"
    Load    "dri"
    Load    "extmod"
    Load    "freetype"
    Load    "glx"
    Load    "int10"
    Load    "type1"
    Load    "vbe"
EndSection

Section "InputDevice"
    Identifier    "Generic Keyboard"
    Driver        "kbd"
    Option        "CoreKeyboard"
    Option        "XkbRules"    "xorg"
    Option        "XkbModel"    "pc104"
    Option        "XkbLayout"    "us"
EndSection

Section "InputDevice"
    Identifier    "Configured Mouse"
    Driver        "mouse"
    Option        "CorePointer"
    Option        "Device"        "/dev/input/mice"
    Option        "Protocol"        "ImPS/2"
    Option        "Emulate3Buttons"    "true"
    Option        "ZAxisMapping"        "4 5"
EndSection

Section "Device"
    Identifier    "NVIDIA / SGS Thomson (Joint Venture) Riva128"
    Driver        "nv"
    BusID        "PCI:1:0:0"
    Option        "NoDDCValue"    "yes"
    Option        "HWCursor"    "yes"
    Option        "NoAccel"    "no"
    Option        "FlatPanel"    "yes"
EndSection

Section "Monitor"
    Identifier    "DELL 1905FP"
    Option        "DPMS"
EndSection

Section "Screen"
    Identifier    "Default Screen"
    Device        "NVIDIA / SGS Thomson (Joint Venture) Riva128"
    Monitor        "DELL 1905FP"
    DefaultDepth    24
    SubSection "Display"
        Depth        1
        Modes        "1280x1024" "1152x864" "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection "Display"
        Depth        4
        Modes        "1280x1024" "1152x864" "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection "Display"
        Depth        8
        Modes        "1280x1024" "1152x864" "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection "Display"
        Depth        15
        Modes        "1280x1024" "1152x864" "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection "Display"
        Depth        16
        Modes        "1280x1024" "1152x864" "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection "Display"
        Depth        24
        Modes        "1280x1024" "1152x864" "1024x768" "800x600" "640x480"
    EndSubSection
EndSection

Section "ServerLayout"
    Identifier    "Default Layout"
    Screen        "Default Screen"
    InputDevice    "Generic Keyboard"
    InputDevice    "Configured Mouse"
EndSection

Section "DRI"
    Mode    0666
EndSection

i commented out GLcore and dri in modules section and changed glx to 'glx-legacy'; and in device changed nv to nvidia then X gives module error (located at about 20% from the bottom).

X Window System Version 6.8.2 (Ubuntu 6.8.2-77 20051010174523 root@vernadsky.buildd)
Release Date: 9 February 2005
X Protocol Version 11, Revision 0, Release 6.8.2
Build Operating System: Linux 2.6.10 i686 [ELF] 
Current Operating System: Linux limewire 2.6.12-9-686 #1 Mon Oct 10 13:25:32 BST 2005 i686
Build Date: 10 October 2005
    Before reporting problems, check http://wiki.X.Org
    to make sure that you have the latest version.
Module Loader present
OS Kernel: Linux version 2.6.12-9-686 (buildd@rothera) (gcc version 3.4.5 20050809 (prerelease) (Ubuntu 3.4.4-6ubuntu8)) #1 Mon Oct 10 13:25:32 BST 2005 
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: Thu Dec  8 04:09:54 2005
(==) Using config file: "/etc/X11/xorg.conf"
(==) ServerLayout "Default Layout"
(**) |-->Screen "Default Screen" (0)
(**) |   |-->Monitor "DELL 1905FP"
(**) |   |-->Device "NVIDIA / SGS Thomson (Joint Venture) Riva128"
(**) |-->Input Device "Generic Keyboard"
(**) |-->Input Device "Configured Mouse"
(WW) The directory "/usr/share/X11/fonts/cyrillic" does not exist.
    Entry deleted from font path.
(WW) The directory "/usr/share/X11/fonts/CID" does not exist.
    Entry deleted from font path.
(WW) `fonts.dir' not found (or not valid) in "/var/lib/defoma/x-ttcidfont-conf.d/dirs/CID".
    Entry deleted from font path.
    (Run 'mkfontdir' on "/var/lib/defoma/x-ttcidfont-conf.d/dirs/CID").
(**) FontPath set to "unix/:7100,/usr/share/X11/fonts/misc,/usr/share/X11/fonts/100dpi/:unscaled,/usr/share/X11/fonts/75dpi/:unscaled,/usr/share/X11/fonts/Type1,/usr/share/X11/fonts/100dpi,/usr/share/X11/fonts/75dpi,/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
(==) RgbPath set to "/usr/X11R6/lib/X11/rgb"
(==) ModulePath set to "/usr/X11R6/lib/modules"
(WW) Open APM failed (/dev/apm_bios) (No such file or directory)
(II) Module ABI versions:
    X.Org ANSI C Emulation: 0.2
    X.Org Video Driver: 0.7
    X.Org XInput driver : 0.4
    X.Org Server Extension : 0.2
    X.Org Font Renderer : 0.4
(II) Loader running on linux
(II) LoadModule: "bitmap"
(II) Loading /usr/X11R6/lib/modules/fonts/libbitmap.a
(II) Module bitmap: vendor="X.Org Foundation"
    compiled for 6.8.2, module version = 1.0.0
    Module class: X.Org Font Renderer
    ABI class: X.Org Font Renderer, version 0.4
(II) Loading font Bitmap
(II) LoadModule: "pcidata"
(II) Loading /usr/X11R6/lib/modules/libpcidata.a
(II) Module pcidata: vendor="X.Org Foundation"
    compiled for 6.8.2, module version = 1.0.0
    ABI class: X.Org Video Driver, version 0.7
(++) using VT number 7

(II) PCI: PCI scan (all values are in hex)
(II) PCI: 00:00:0: chip 8086,7190 card 0000,0000 rev 03 class 06,00,00 hdr 00
(II) PCI: 00:01:0: chip 8086,7191 card 0000,0000 rev 03 class 06,04,00 hdr 01
(II) PCI: 00:07:0: chip 8086,7110 card 0000,0000 rev 02 class 06,01,00 hdr 80
(II) PCI: 00:07:1: chip 8086,7111 card 0000,0000 rev 01 class 01,01,80 hdr 00
(II) PCI: 00:07:2: chip 8086,7112 card 0000,0000 rev 01 class 0c,03,00 hdr 00
(II) PCI: 00:07:3: chip 8086,7113 card 0000,0000 rev 02 class 06,80,00 hdr 00
(II) PCI: 00:0b:0: chip 1013,6001 card 0000,0000 rev 01 class 04,01,00 hdr 00
(II) PCI: 00:0e:0: chip 10b7,9200 card 10b7,1000 rev 78 class 02,00,00 hdr 00
(II) PCI: 01:00:0: chip 12d2,0018 card 10b4,222a rev 21 class 03,00,00 hdr 00
(II) PCI: End of PCI scan
(II) Host-to-PCI bridge:
(II) Bus 0: bridge is at (0:0:0), (0,0,1), BCTRL: 0x0008 (VGA_EN is set)
(II) Bus 0 I/O range:
    [0] -1    0    0x00000000 - 0x0000ffff (0x10000) IX[b]
(II) Bus 0 non-prefetchable memory range:
    [0] -1    0    0x00000000 - 0xffffffff (0x0) MX[b]
(II) Bus 0 prefetchable memory range:
    [0] -1    0    0x00000000 - 0xffffffff (0x0) MX[b]
(II) PCI-to-PCI bridge:
(II) Bus 1: bridge is at (0:1:0), (0,1,1), BCTRL: 0x008c (VGA_EN is set)
(II) Bus 1 non-prefetchable memory range:
    [0] -1    0    0xf5000000 - 0xf5ffffff (0x1000000) MX[b]
(II) Bus 1 prefetchable memory range:
    [0] -1    0    0xfc000000 - 0xfcffffff (0x1000000) MX[b]
(II) PCI-to-ISA bridge:
(II) Bus -1: bridge is at (0:7:0), (0,-1,-1), BCTRL: 0x0008 (VGA_EN is set)
(--) PCI:*(1:0:0) NVidia / SGS Thomson (Joint Venture) Riva128 rev 33, Mem @ 0xf5000000/24, 0xfc000000/24
(II) Addressable bus resource ranges are
    [0] -1    0    0x00000000 - 0xffffffff (0x0) MX[b]
    [1] -1    0    0x00000000 - 0x0000ffff (0x10000) IX[b]
(II) OS-reported resource ranges:
    [0] -1    0    0xffe00000 - 0xffffffff (0x200000) MX[b](B)
    [1] -1    0    0x00100000 - 0x3fffffff (0x3ff00000) MX[b]E(B)
    [2] -1    0    0x000f0000 - 0x000fffff (0x10000) MX[b]
    [3] -1    0    0x000c0000 - 0x000effff (0x30000) MX[b]
    [4] -1    0    0x00000000 - 0x0009ffff (0xa0000) MX[b]
    [5] -1    0    0x0000ffff - 0x0000ffff (0x1) IX[b]
    [6] -1    0    0x00000000 - 0x000000ff (0x100) IX[b]
(II) PCI Memory resource overlap reduced 0xf8000000 from 0xfbffffff to 0xf7ffffff
(II) Active PCI resource ranges:
    [0] -1    0    0xf4101000 - 0xf410107f (0x80) MX[b]
    [1] -1    0    0xf4000000 - 0xf40fffff (0x100000) MX[b]
    [2] -1    0    0xf4100000 - 0xf4100fff (0x1000) MX[b]
    [3] -1    0    0xf8000000 - 0xf7ffffff (0x0) MX[b]O
    [4] -1    0    0xfc000000 - 0xfcffffff (0x1000000) MX[b](B)
    [5] -1    0    0xf5000000 - 0xf5ffffff (0x1000000) MX[b](B)
    [6] -1    0    0x00001080 - 0x000010ff (0x80) IX[b]
    [7] -1    0    0x00001020 - 0x0000103f (0x20) IX[b]
    [8] -1    0    0x00001000 - 0x0000100f (0x10) IX[b]
(II) Active PCI resource ranges after removing overlaps:
    [0] -1    0    0xf4101000 - 0xf410107f (0x80) MX[b]
    [1] -1    0    0xf4000000 - 0xf40fffff (0x100000) MX[b]
    [2] -1    0    0xf4100000 - 0xf4100fff (0x1000) MX[b]
    [3] -1    0    0xf8000000 - 0xf7ffffff (0x0) MX[b]O
    [4] -1    0    0xfc000000 - 0xfcffffff (0x1000000) MX[b](B)
    [5] -1    0    0xf5000000 - 0xf5ffffff (0x1000000) MX[b](B)
    [6] -1    0    0x00001080 - 0x000010ff (0x80) IX[b]
    [7] -1    0    0x00001020 - 0x0000103f (0x20) IX[b]
    [8] -1    0    0x00001000 - 0x0000100f (0x10) IX[b]
(II) OS-reported resource ranges after removing overlaps with PCI:
    [0] -1    0    0xffe00000 - 0xffffffff (0x200000) MX[b](B)
    [1] -1    0    0x00100000 - 0x3fffffff (0x3ff00000) MX[b]E(B)
    [2] -1    0    0x000f0000 - 0x000fffff (0x10000) MX[b]
    [3] -1    0    0x000c0000 - 0x000effff (0x30000) MX[b]
    [4] -1    0    0x00000000 - 0x0009ffff (0xa0000) MX[b]
    [5] -1    0    0x0000ffff - 0x0000ffff (0x1) IX[b]
    [6] -1    0    0x00000000 - 0x000000ff (0x100) IX[b]
(II) All system resource ranges:
    [0] -1    0    0xffe00000 - 0xffffffff (0x200000) MX[b](B)
    [1] -1    0    0x00100000 - 0x3fffffff (0x3ff00000) MX[b]E(B)
    [2] -1    0    0x000f0000 - 0x000fffff (0x10000) MX[b]
    [3] -1    0    0x000c0000 - 0x000effff (0x30000) MX[b]
    [4] -1    0    0x00000000 - 0x0009ffff (0xa0000) MX[b]
    [5] -1    0    0xf4101000 - 0xf410107f (0x80) MX[b]
    [6] -1    0    0xf4000000 - 0xf40fffff (0x100000) MX[b]
    [7] -1    0    0xf4100000 - 0xf4100fff (0x1000) MX[b]
    [8] -1    0    0xf8000000 - 0xf7ffffff (0x0) MX[b]O
    [9] -1    0    0xfc000000 - 0xfcffffff (0x1000000) MX[b](B)
    [10] -1    0    0xf5000000 - 0xf5ffffff (0x1000000) MX[b](B)
    [11] -1    0    0x0000ffff - 0x0000ffff (0x1) IX[b]
    [12] -1    0    0x00000000 - 0x000000ff (0x100) IX[b]
    [13] -1    0    0x00001080 - 0x000010ff (0x80) IX[b]
    [14] -1    0    0x00001020 - 0x0000103f (0x20) IX[b]
    [15] -1    0    0x00001000 - 0x0000100f (0x10) IX[b]
(II) LoadModule: "bitmap"
(II) Reloading /usr/X11R6/lib/modules/fonts/libbitmap.a
(II) Loading font Bitmap
(II) LoadModule: "ddc"
(II) Loading /usr/X11R6/lib/modules/libddc.a
(II) Module ddc: vendor="X.Org Foundation"
    compiled for 6.8.2, module version = 1.0.0
    ABI class: X.Org Video Driver, version 0.7
(II) LoadModule: "extmod"
(II) Loading /usr/X11R6/lib/modules/extensions/libextmod.a
(II) Module extmod: vendor="X.Org Foundation"
    compiled for 6.8.2, module version = 1.0.0
    Module class: X.Org Server Extension
    ABI class: X.Org Server Extension, version 0.2
(II) Loading extension SHAPE
(II) Loading extension MIT-SUNDRY-NONSTANDARD
(II) Loading extension BIG-REQUESTS
(II) Loading extension SYNC
(II) Loading extension MIT-SCREEN-SAVER
(II) Loading extension XC-MISC
(II) Loading extension XFree86-VidModeExtension
(II) Loading extension XFree86-Misc
(II) Loading extension XFree86-DGA
(II) Loading extension DPMS
(II) Loading extension TOG-CUP
(II) Loading extension Extended-Visual-Information
(II) Loading extension XVideo
(II) Loading extension XVideo-MotionCompensation
(II) Loading extension X-Resource
(II) LoadModule: "freetype"
(II) Loading /usr/X11R6/lib/modules/fonts/libfreetype.a
(II) Module freetype: vendor="X.Org Foundation & the After X-TT Project"
    compiled for 6.8.2, module version = 2.1.0
    Module class: X.Org Font Renderer
    ABI class: X.Org Font Renderer, version 0.4
(II) Loading font FreeType
(II) LoadModule: "glx-legacy"
(WW) Warning, couldn't open module glx-legacy
(II) UnloadModule: "glx-legacy"
(EE) Failed to load module "glx-legacy" (module does not exist, 0)
(II) LoadModule: "int10"
(II) Loading /usr/X11R6/lib/modules/linux/libint10.a
(II) Module int10: vendor="X.Org Foundation"
    compiled for 6.8.2, module version = 1.0.0
    ABI class: X.Org Video Driver, version 0.7
(II) LoadModule: "type1"
(II) Loading /usr/X11R6/lib/modules/fonts/libtype1.a
(II) Module type1: vendor="X.Org Foundation"
    compiled for 6.8.2, module version = 1.0.2
    Module class: X.Org Font Renderer
    ABI class: X.Org Font Renderer, version 0.4
(II) Loading font Type1
(II) Loading font CID
(II) LoadModule: "vbe"
(II) Loading /usr/X11R6/lib/modules/libvbe.a
(II) Module vbe: vendor="X.Org Foundation"
    compiled for 6.8.2, module version = 1.1.0
    ABI class: X.Org Video Driver, version 0.7
(II) LoadModule: "nvidia"
(II) Loading /usr/X11R6/lib/modules/drivers/nvidia_drv.o
(II) Module nvidia: vendor="NVIDIA Corporation"
    compiled for 4.0.2, module version = 1.0.7174
    Module class: XFree86 Video Driver
(II) LoadModule: "kbd"
(II) Loading /usr/X11R6/lib/modules/input/kbd_drv.o
(II) Module kbd: vendor="X.Org Foundation"
    compiled for 6.8.2, module version = 1.0.0
    Module class: X.Org XInput Driver
    ABI class: X.Org XInput driver, version 0.4
(II) LoadModule: "mouse"
(II) Loading /usr/X11R6/lib/modules/input/mouse_drv.o
(II) Module mouse: vendor="X.Org Foundation"
    compiled for 6.8.2, module version = 1.0.0
    Module class: X.Org XInput Driver
    ABI class: X.Org XInput driver, version 0.4
(II) NVIDIA X Driver  1.0-7174  Tue Mar 22 06:48:37 PST 2005
(II) NVIDIA Unified Driver for all NVIDIA GPUs
(II) Primary Device is: PCI 01:00:0
(EE) No devices detected.

Fatal server error:
no screens found

Please consult the The X.Org Foundation support 
     at http://wiki.X.Org
 for help. 
Please also check the log file at "/var/log/Xorg.0.log" for additional information.

i've been looking for a while on how to tell X where to find the module, but 1.) i don't know how and 2.) I don't even know where the module would be located and 3.) not 100% sure i've given X the new information correctly. such as the 'nvidia and glx-legacy' replacements

any help would be greatly appreciated

#2

Run:

sudo nvidia-glx-config enable

...That should work!

#3

unfortunately, it didn't. :(

i was considereing uninstalling the debs, and going with nvidia's installer script, but call me crazy, i like the uniformity and organization of the debs, and would much rather get it working that way.


sudo nvidia-glx-config enable

anyone who has gotten this to work, where are your glx-legacy modules located? i might be able to tell X to look there for them.

#4

anyone?

#5

if you have a legacy card, in xorg.conf in modules, do you type "glx" or "glx-legacy"

____________________

"glx" loads, but then i get a no devices detected error.

using module

"1.0.7174"

I've been searching all over the forums. Does anyone have a working xorg.conf for a nvidia legacy they could post and maybe I could see what i'm not doing right.

edit: typo

#6

I have the same card, and am having minor annoyances with it. When it goes into suspend, the screen turns into a bunch of lines, and I need to refresh every surface to see my desktop again. It also sometimes crashes the gdesklets daemon. The difference between me and fourchannel, is that I don't even know where to begin in fixing the problem because this is only the second distro I've used xorg with. I want to find the people that thought it would be a good idea to switch to xorg and give them a swift kick.

___________edit______ Btw, you said you tried loading the nvidia driver from ......lib/modules/drivers/

Correct me if I'm wrong(I'm new to Ubuntu) but as of kernel version 2.6 don't all the 2.6 compliant modules end in .ko not .o? I know this is true of Fedora, I'm just wondering if Debian does the same. Anyway, just a thought/question.

#7

Ok... I *finally* got the legacy drivers to install. I had to get Nvidia's installer package and run that, *and* had to specify to use my 686 kernel, cause it kept failing trying to compile the drivers for the 386. So I now have the drivers installed, and am pretty confident I have xorg.conf setup the way it needs to be. But whenever I change "nv" to "nvidia" X says it can't find any devices.

and yes the kernel module is like nvidia.ko or something. I am beginning to wonder if my card is not compatible, and/or if I need a new driver or if something can be done to make it work with nvidia's legacy 7174 drivers.