Uploaded image for project: 'Funtoo Linux'
  1. Funtoo Linux
  2. FL-2943

Nvidia not properly being set by eselect-opengl

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Incomplete
    • Affects Version/s: None
    • Fix Version/s: None
    • Environment:

      Description

      I have nvidia-drivers-355.11 and eselect-opengl-1.3.1-r4 installed on my system. When I try to test if direct rendering is enabled I encounter the following:

      glxinfo grep direct
      Xlib:  extension "GLX" missing on display ":0".
      Xlib:  extension "GLX" missing on display ":0".
      Xlib:  extension "GLX" missing on display ":0".
      Xlib:  extension "GLX" missing on display ":0".
      Xlib:  extension "GLX" missing on display ":0".
      Xlib:  extension "GLX" missing on display ":0".
      Xlib:  extension "GLX" missing on display ":0".
      Error: couldn't find RGB GLX visual or fbconfig
      Xlib:  extension "GLX" missing on display ":0".
      Xlib:  extension "GLX" missing on display ":0".
      Xlib:  extension "GLX" missing on display ":0".
      Xlib:  extension "GLX" missing on display ":0".
      Xlib:  extension "GLX" missing on display ":0".
      Xlib:  extension "GLX" missing on display ":0".
      Xlib:  extension "GLX" missing on display ":0".
      ...
      

      My Xorg log complains about the following:

      cat /var/log/Xorg.0.log grep EE
                                                                                                                   
      [1045243.916] (EE) NVIDIA(0): Failed to initialize the GLX module; please check in your X
      [1045243.916] (EE) NVIDIA(0):     log file that the GLX module has been loaded in your X
      [1045243.916] (EE) NVIDIA(0):     server, and that the module is the NVIDIA GLX module.  If
      [1045243.916] (EE) NVIDIA(0):     you continue to encounter problems, Please try
      [1045243.916] (EE) NVIDIA(0):     reinstalling the NVIDIA driver.
      [1045244.630] (EE) AIGLX: reverting to software rendering
      [1045244.650] (EE) AIGLX error: dlopen of /usr/lib64/dri/swrast_dri.so failed (/usr/lib64/dri/swrast_dri.so: undefined symbol: _glapi_tls_Dispatch)
      [1045244.650] (EE) GLX: could not load software renderer
      [1045244.650] (EE) AIGLX: reverting to software rendering
      [1045244.652] (EE) AIGLX error: dlopen of /usr/lib64/dri/swrast_dri.so failed (/usr/lib64/dri/swrast_dri.so: undefined symbol: _glapi_tls_Dispatch)
      [1045244.652] (EE) GLX: could not load software renderer
      [1045244.667] (EE) evdev: Keyboard0: No device specified.
      [1045244.667] (EE) PreInit returned 2 for "Keyboard0"
      [1045244.667] (EE) evdev: Mouse0: No device specified.
      [1045244.667] (EE) PreInit returned 2 for "Mouse0
      
      lspci grep VGA
                                                                                                                   
      01:00.0 VGA compatible controller: NVIDIA Corporation GF116 [GeForce GTS 450 Rev. 2] (rev a1)
      02:00.0 VGA compatible controller: NVIDIA Corporation GF106 [GeForce GTS 450] (rev a1)  
      
      lsmod grep nvidia
                                                                                                                   
      nvidia               8598044  52 
      drm                   218793  4 nvidia
      i2c_core               17108  3 drm,i2c_i801,nvidia
      
      ps -ef grep X
                                                                                                                   
      aaron     4478  4462  0 07:47 tty1     00:00:00 xinit /home/aaron/.xinitrc -- /etc/X11/xinit/xserverrc :0 -auth /home/aaron/.serverauth.4462
      root      4479  4478  5 07:47 tty7     00:00:58 /usr/bin/X -nolisten tcp :0 -auth /home/aaron/.serverauth.4462
      aaron     5737  5103  0 08:03 pts/0    00:00:00 /bin/grep --color=auto X
      
      ll /dev/nvidia*
                                                                                                                   
      crw-rw---- 1 root video 195,   0 Nov  1 07:47 /dev/nvidia0
      crw-rw---- 1 root video 195,   1 Nov  1 07:47 /dev/nvidia1
      crw-rw---- 1 root video 195, 255 Nov  1 07:47 /dev/nvidiactl
      

      I did notice in my log that it is not loading the nvidia glx module, and it is loading the xorg glx module:

      cat /var/log/Xorg.0.log grep glx
                                                                                                                   
      [1045243.880] (II) "glx" will be loaded. This was enabled by default and also specified in the config file.
      [1045243.880] (II) LoadModule: "glx"
      [1045243.880] (II) Loading /usr/lib64/xorg/modules/extensions/libglx.so
      [1045243.886] (II) Module glx: vendor="X.Org Foundation
      
      eselect opengl list
                                                                                                                   
      Available OpenGL implementations:
        [1]   nvidia *
        [2]   xorg-x11
      

      Does anyone happen to have any idea why GLX is not being enabled on my system?

      Thanks Ratty

        Attachments

          Activity

            People

            Assignee:
            drobbins drobbins
            Reporter:
            ratty ratty [X] (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: