Mandriva 2007.1, nvidia libglx.so confusion - Mandriva

This is a discussion on Mandriva 2007.1, nvidia libglx.so confusion - Mandriva ; A clean install of Mandriva 2007.1 free (32 bit version) on a machine with an Nvidia Quadro FX1400 card resulted in broken 3D, for instance, with "pulsar -s", where pulsar is from here: http://local.wasp.uwa.edu.au/~pbourk...ender/pulsar.c The Mandriva install and subsequent updates ...

+ Reply to Thread
Results 1 to 2 of 2

Thread: Mandriva 2007.1, nvidia libglx.so confusion

  1. Mandriva 2007.1, nvidia libglx.so confusion

    A clean install of Mandriva 2007.1 free (32 bit version) on a machine
    with an Nvidia Quadro FX1400 card resulted in broken 3D, for instance,
    with "pulsar -s", where pulsar is from here:

    http://local.wasp.uwa.edu.au/~pbourk...ender/pulsar.c

    The Mandriva install and subsequent updates completed without (much)
    drama, but it seems to have installed conflicting libglx.so files. The
    system has:

    /usr/lib/xorg/modules/extensions/libglx.so
    /usr/lib/xorg/modules/extensions/nvidia97xx/libglx.so

    Clearly the one the X11 server should be using is the second one (part
    of the Nvidia driver) whereas the first one, which is being used, is
    full of "Mesa" strings. I tried:

    % rpm -e nvidia97xx-1.0-9755.1mdv2007.1
    % urpmi nvidia97xx-1.0-9755.1mdv2007.1

    but that didn't resolve anything. I attempted to remove the first one with:

    % rpm -e x11-server-common-1.2.0-8.1mdv2007.1
    error: Failed dependencies:
    x11-server-common = 1.2.0-8.1mdv2007.1 is needed by (installed)
    x11-server-xorg-1.2.0-8.1mdv2007.1.i586
    x11-server-common is needed by (installed)
    xinitrc-2.4.19-2mdv2007.1.noarch
    x11-server-common is needed by (installed)
    x11-driver-video-v4l-0.1.1-1mdv2007.0.i586

    Which isn't suprising I guess.

    /var/log/Xorg.0.log shows these relevant messages:

    (II) Setting vga for screen 0.
    (**) NVIDIA(0): Depth 24, (--) framebuffer bpp 32
    (==) NVIDIA(0): RGB weight 888
    (==) NVIDIA(0): Default visual is TrueColor
    (==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
    (**) NVIDIA(0): Option "NoLogo" "True"
    (**) NVIDIA(0): Option "Stereo" "3"
    (**) NVIDIA(0): Onboard stereo requested (DIN connector)
    (**) NVIDIA(0): Enabling RENDER acceleration
    (EE) NVIDIA(0): Failed to initialize the GLX module; please check in your X
    (EE) NVIDIA(0): log file that the GLX module has been loaded in your X
    (EE) NVIDIA(0): server, and that the module is the NVIDIA GLX
    module. If
    (EE) NVIDIA(0): you continue to encounter problems, Please try
    (EE) NVIDIA(0): reinstalling the NVIDIA driver.
    (II) NVIDIA(0): NVIDIA GPU Quadro FX 1400 at PCI:1:0:0 (GPU-0)
    (--) NVIDIA(0): Memory: 131072 kBytes
    (--) NVIDIA(0): VideoBIOS: 05.41.02.34.11
    (II) NVIDIA(0): Detected PCI Express Link width: 16X
    (--) NVIDIA(0): Interlaced video modes are supported on this GPU
    (--) NVIDIA(0): Connected display device(s) on Quadro FX 1400 at PCI:1:0:0:
    (--) NVIDIA(0): Iiyama (CRT-0)
    (--) NVIDIA(0): Iiyama (CRT-0): 400.0 MHz maximum pixel clock
    (II) NVIDIA(0): Assigned Display Device: CRT-0
    (II) NVIDIA(0): Validated modes:
    (II) NVIDIA(0): "1280x1024_85"
    (II) NVIDIA(0): "1024x768_85"
    (II) NVIDIA(0): "800x600_85"
    (II) NVIDIA(0): "640x480_85"
    (II) NVIDIA(0): Virtual screen size determined to be 1280 x 1024
    (--) NVIDIA(0): DPI set to (90, 96); computed from "UseEdidDpi" X config
    (--) NVIDIA(0): option

    All of which is correct, except for GLX not loading. I copied the
    /etc/X11/xorg.conf from a working system, there seems to be nothing
    wrong with it.

    For a temporary workaround I did this:

    % cd /usr/lib/xorg/modules/extensions
    % mv libglx.so NOT_libglx.so
    % ln -s nvidia97xx/libglx.so libglx.so

    and restarted X11, and this time it used the right one. The problem is
    that this work around will certainly break badly on an update of
    x11-server-common and for all I know, may not even survive a reboot.

    So, the bottom line is, how do I PROPERLY convince the X11 server to use
    the nvidia libglx.so??? The nvidia driver installer from nvidia does
    this by placing libglx.so in the normal place, saving whatever it found
    there for a possible uninstall restoration. Mandriva must be doing
    something else, what with it's specific nvidia97xx subdirectory, but
    that something isn't working, since the wrong GLX driver is loading.

    Suggestions???

    Thanks,

    David Mathog

  2. Re: Mandriva 2007.1, nvidia libglx.so confusion

    David Mathog wrote:

    > So, the bottom line is, how do I PROPERLY convince the X11 server to use
    > the nvidia libglx.so???


    Found it!

    In /etc/X11/xorg.conf in the Files section add these two lines:

    ModulePath "/usr/lib/xorg/modules/extensions/nvidia97xx"
    ModulePath "/usr/lib/xorg/modules/"

    Seems like it's going to break if the driver is ever updated though.

    Regards,

    David Mathog


+ Reply to Thread