• Cannot find libglx.so in nvidia-340xx


    Hi guys,
    today I tried to install nVidia 340xx drivers for my GeForce 9400 GT on my new and fresh Antergos installation by following both the [antergos wiki tutorial[/url:1iwcqpwc] and the [arch wiki tutorial[/url:1iwcqpwc] (wich are rather the same) without success; I’m sure that I’m using the right packages, the nvidia-340xx and the nvidia-340xx-utils, and I’ve tried a couple of times redoing the tutorial, for being sure that i wasn’t in the wrong.
    After some investigation I found some intresting error messages in Xorg.log:

      
    [ 187.374] (EE) Failed to load /usr/lib/xorg/modules/extensions/libglx.so: /usr/lib/xorg/modules/extensions/libglx.so: cannot open shared object file: No such file or directory  
    [ 187.374] (EE) Failed to load module "glx" (loader failed, 7)  
    [ 187.380] (EE) NVIDIA(0): Failed to initialize the GLX module; please check in your X  
    [ 187.380] (EE) NVIDIA(0): log file that the GLX module has been loaded in your X  
    [ 187.380] (EE) NVIDIA(0): server, and that the module is the NVIDIA GLX module. If  
    [ 187.380] (EE) NVIDIA(0): you continue to encounter problems, Please try  
    [ 187.380] (EE) NVIDIA(0): reinstalling the NVIDIA driver.  
    
    

    Obviously I looked into /usr/lib/xorg/modules/extensions/, where I found some strange links :/

      
    [[email protected] extensions]$ ls -la  
    total 288  
    drwxr-xr-x 2 quero users 4096 Nov 15 18:18 .  
    drwxr-xr-x 4 quero users 4096 Nov 15 20:33 ..  
    lrwxrwxrwx 1 quero users 16 Nov 15 18:18 libglx.so -\> libglx.so.343.22  
    lrwxrwxrwx 1 quero users 16 Nov 15 18:18 libglx.so.1 -\> libglx.so.343.22  
    lrwxrwxrwx 1 quero users 56 Nov 15 18:18 libglx.so.343.22 -\> /usr/lib/nvidia/xorg/modules/extensions/libglx.so.343.22  
    -rwxr-xr-x 1 quero users 286112 Nov 15 18:18 libglx.xorg  
    
    

    But there isn’t any /usr/lib/nvidia folder! It also looks like that the file version linked isn’t right.
    I’ve already tried to post in the arch forum, but they don’t want to help me because they think that antergos should help me, but, as you can see, in Antergos nvidia-340xx is provided by arch offical repos! Isn’t it?

      
    [[email protected] ~]$ sudo pacman -Ss nvidia-304xx  
    extra/nvidia-304xx 304.123-9  
    NVIDIA drivers for linux, 304xx legacy branch  
    extra/nvidia-304xx-libgl 304.123-1  
    NVIDIA drivers libraries symlinks, 304xx legacy branch  
    extra/nvidia-304xx-lts 304.123-6  
    NVIDIA drivers for linux-lts, 304xx legacy branch  
    extra/nvidia-304xx-utils 304.123-1  
    NVIDIA drivers utilities and libraries, 304xx legacy branch  
    extra/opencl-nvidia-304xx 304.123-1  
    OpenCL implemention for NVIDIA, 304xx legacy branch  
    
    

    So did I miss something during installation or there is a bug in the package?]1]0

  • Hi guys,
    today I tried to install nVidia 340xx drivers for my GeForce 9400 GT on my new and fresh Antergos installation by following both the [antergos wiki tutorial[/url:1iwcqpwc] and the [arch wiki tutorial[/url:1iwcqpwc] (wich are rather the same) without success; I’m sure that I’m using the right packages, the nvidia-340xx and the nvidia-340xx-utils, and I’ve tried a couple of times redoing the tutorial, for being sure that i wasn’t in the wrong.
    After some investigation I found some intresting error messages in Xorg.log:

      
    [ 187.374] (EE) Failed to load /usr/lib/xorg/modules/extensions/libglx.so: /usr/lib/xorg/modules/extensions/libglx.so: cannot open shared object file: No such file or directory  
    [ 187.374] (EE) Failed to load module "glx" (loader failed, 7)  
    [ 187.380] (EE) NVIDIA(0): Failed to initialize the GLX module; please check in your X  
    [ 187.380] (EE) NVIDIA(0): log file that the GLX module has been loaded in your X  
    [ 187.380] (EE) NVIDIA(0): server, and that the module is the NVIDIA GLX module. If  
    [ 187.380] (EE) NVIDIA(0): you continue to encounter problems, Please try  
    [ 187.380] (EE) NVIDIA(0): reinstalling the NVIDIA driver.  
    
    

    Obviously I looked into /usr/lib/xorg/modules/extensions/, where I found some strange links :/

      
    [[email protected] extensions]$ ls -la  
    total 288  
    drwxr-xr-x 2 quero users 4096 Nov 15 18:18 .  
    drwxr-xr-x 4 quero users 4096 Nov 15 20:33 ..  
    lrwxrwxrwx 1 quero users 16 Nov 15 18:18 libglx.so -\> libglx.so.343.22  
    lrwxrwxrwx 1 quero users 16 Nov 15 18:18 libglx.so.1 -\> libglx.so.343.22  
    lrwxrwxrwx 1 quero users 56 Nov 15 18:18 libglx.so.343.22 -\> /usr/lib/nvidia/xorg/modules/extensions/libglx.so.343.22  
    -rwxr-xr-x 1 quero users 286112 Nov 15 18:18 libglx.xorg  
    
    

    But there isn’t any /usr/lib/nvidia folder! It also looks like that the file version linked isn’t right.
    I’ve already tried to post in the arch forum, but they don’t want to help me because they think that antergos should help me, but, as you can see, in Antergos nvidia-340xx is provided by arch offical repos! Isn’t it?

      
    [[email protected] ~]$ sudo pacman -Ss nvidia-304xx  
    extra/nvidia-304xx 304.123-9  
    NVIDIA drivers for linux, 304xx legacy branch  
    extra/nvidia-304xx-libgl 304.123-1  
    NVIDIA drivers libraries symlinks, 304xx legacy branch  
    extra/nvidia-304xx-lts 304.123-6  
    NVIDIA drivers for linux-lts, 304xx legacy branch  
    extra/nvidia-304xx-utils 304.123-1  
    NVIDIA drivers utilities and libraries, 304xx legacy branch  
    extra/opencl-nvidia-304xx 304.123-1  
    OpenCL implemention for NVIDIA, 304xx legacy branch  
    
    

    So did I miss something during installation or there is a bug in the package?]1]0

  • Heyyo,

    I’m the guy who wrote the NVIDIA wiki guide for Antergos.

    Hmm, that is indeed an odd error! Maybe try installing drivers from the Arch User Repository? Just click on “include AUR” and repeat the process. If you’re using 64bit? Be sure to follow the part of the guide about enabling [multilib] so that you can also install 32bit .so drivers too.

    Antergos is essentially a more user-friendly version than the native Arch version it is based upon. It does share a lot of the Arch repository.

  • Hi @ThE_MarD,
    while I was waiting for your answer I make a VM with Arch base OS and installed nvidia packages. I found that there is the same bug, so now I want to if fixing the link solves the trouble.
    I’ll update you later today ;)

  • Heyyo,

    Another option is on the AUR, try selecting an older NVIDIA driver (304 or such)

    or you can try the manual method of installing nvidia drivers from the .run off of [http://www.geforce.com/drivers][0]">[http://www.geforce.com/drivers][1]

    [0]: <a href=
    [1]: http://www.geforce.com/drivers

  • Well, I’ve tried fixing the links and this is what I get:

      
    [ 46.590] (EE) systemd-logind: failed to get session: PID 906 does not belong to any known session  
    [ 46.607] (EE) Failed to load module "nv" (module does not exist, 0)  
    [ 46.607] (EE) Failed to load module "modesetting" (module does not exist, 0)  
    [ 46.609] (EE) open /dev/fb0: No such file or directory  
    
    

    I’m not very sure about what it means. Now I’ll try to install packages from AUR as you suggested and I’ll update you ;)
    I tried to investigate about the error because I wanted to see if there is a bug in the package or is an Antergos problem. I tried the same thing in an clean Arch VM and I get the same error, so… 3:)

    EDIT: as I can see AUR has only nVdia drivers for “strange” linux versions: can you suggest me a nVidia driver version compatible for Antergos from AUR? Anyway I’ll try to install the “official” nVidia package later today.

    EDIT2: nVidia drivers from official package goes well. But I think that if there is a kernel update they doesn’t automatically recompile, isn’t it?
    As you can see files versions are right:

      
    [[email protected] extensions]$ ls -la  
    totale 11012  
    drwxr-xr-x 2 root root 4096 24 nov 12.29 .  
    drwxr-xr-x 7 root root 4096 24 nov 12.29 ..  
    lrwxrwxrwx 1 root root 16 24 nov 12.29 libglx.so -\> libglx.so  
    
    
Posts 6Views 2461
Log in to reply