Announcement

Collapse
No announcement yet.

libGL Problem, cannot find swrast, some applications not working

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    libGL Problem, cannot find swrast, some applications not working

    Hey Guys,

    so I'm having issues with some Games (namely Sanctum 2, Transistor) which don't start up. Interestingly other games (Dota 2, L4D2) work without a problem.
    This seems weird to me because it seems to be a graphics driver issue but most of my system runs without a problem.

    The same problem occurs when I start glxgears. Here is the output from starting that (with verbose debugging):
    Code:
    dani@dani-home:~/Documents$ LIBGL_DEBUG=verbose glxgears libGL: screen 0 does not appear to be DRI3 capablelibGL: screen 0 does not appear to be DRI2 capable
    libGL: OpenDriver: trying /usr/lib/x86_64-linux-gnu/dri/tls/swrast_dri.so
    libGL: OpenDriver: trying /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so
    libGL: Can't open configuration file /home/dani/.drirc: No such file or directory.
    libGL: Can't open configuration file /home/dani/.drirc: No such file or directory.
    libGL error: No matching fbConfigs or visuals found
    libGL error: failed to load driver: swrast
    X Error of failed request:  BadValue (integer parameter out of range for operation)
      Major opcode of failed request:  155 (GLX)
      Minor opcode of failed request:  3 (X_GLXCreateContext)
      Value in failed request:  0x0
      Serial number of failed request:  41
      Current serial number in output stream:  43

    I have tried searching for this problem and have found people with similar issues, but those threads were either unresolved or the solutions didnt work for me because they were for an ATI card (I have Nvidia).

    Here are my system specs:
    Code:
    dani@dani-home:~/Documents$ inxi -F
    System:    Host: dani-home Kernel: 3.16.0-29-generic x86_64 (64 bit) Desktop: KDE 4.14.1 
               Distro: Ubuntu 14.10 utopic                                                                                                
    Machine:   Mobo: ASRock model: Z97 Killer Bios: American Megatrends v: P1.30 date: 05/26/2014                                         
    CPU:       Quad core Intel Xeon E3-1231 v3 (-HT-MCP-) cache: 8192 KB                                                                  
               Clock Speeds: 1: 3771 MHz 2: 3731 MHz 3: 3767 MHz 4: 3729 MHz 5: 3692 MHz 6: 3685 MHz 7: 3746 MHz                          
               8: 3767 MHz                                                                                                                
    Graphics:  Card: NVIDIA GF110 [GeForce GTX 570 Rev. 2]                                                                                
               Display Server: X.Org 1.16.1.901 driver: nvidia Resolution: 1680x1050@60.0hz, 1680x1050@60.0hz
               GLX Renderer: N/A GLX Version: N/A
    Audio:     Card-1 C-Media CMI8788 [Oxygen HD Audio] driver: snd_virtuoso Sound: ALSA v: k3.16.0-29-generic
               Card-2 NVIDIA GF110 High Definition Audio Controller driver: snd_hda_intel 
    Network:   Card: Qualcomm Atheros Killer E220x Gigabit Ethernet Controller driver: alx
               IF: eth0 state: up speed: 100 Mbps duplex: full mac: d0:50:99:31:20:d2
    Drives:    HDD Total Size: 1976.4GB (32.1% used) ID-1: /dev/sda model: ST3400620AS size: 400.1GB
               ID-2: /dev/sdb model: SAMSUNG_HD322HJ size: 320.1GB
               ID-3: /dev/sdc model: Crucial_CT256MX1 size: 256.1GB
               ID-4: /dev/sdd model: WDC_WD10EZEX size: 1000.2GB
    Partition: ID-1: / size: 47G used: 40G (89%) fs: ext4 dev: /dev/sdc6 
               ID-2: /boot size: 464M used: 97M (23%) fs: ext4 dev: /dev/sdc1 
               ID-3: /home size: 188G used: 127G (71%) fs: ext4 dev: /dev/sdd4 
               ID-4: swap-1 size: 4.09GB used: 0.61GB (15%) fs: swap dev: /dev/sda7 
               ID-5: swap-2 size: 4.07GB used: 0.00GB (0%) fs: swap dev: /dev/sdb5 
               ID-6: swap-3 size: 16.38GB used: 0.00GB (0%) fs: swap dev: /dev/sdc5 
               ID-7: swap-4 size: 15.36GB used: 0.00GB (0%) fs: swap dev: /dev/sdd6 
    RAID:      No RAID devices: /proc/mdstat, md_mod kernel module present
    Sensors:   System Temperatures: cpu: 43.0C mobo: N/A gpu: 63C 
               Fan Speeds (in rpm): cpu: N/A 
    Info:      Processes: 342 Uptime: 11:30 Memory: 6571.5/7935.7MB Client: Shell (bash) inxi: 2.1.28

    Nvidia driver version is 340.65.

    I can't really say when the issue appeared since when I first noticed it I hadn't changed/updated anything in a while. I can only assume it happened after a apt-get upgrade.

    From what I have read so far it might just be something like broken symlinks but I don't know how to fix that (since I don't know where the links should go and which ones are faulty).

    Hope you guys can help, have been dealing with this issue for some time now.

    Thanks in Advance.

    #2
    Originally posted by dbuehler View Post

    Here are my system specs:
    Code:
    dani@dani-home:~/Documents$ inxi -F
    System:    Host: dani-home Kernel: 3.16.0-29-generic x86_64 (64 bit) Desktop: KDE 4.14.1 
               Distro: Ubuntu 14.10 utopic                                                                                                
    Machine:   Mobo: ASRock model: Z97 Killer Bios: American Megatrends v: P1.30 date: 05/26/2014                                         
    CPU:       Quad core Intel Xeon E3-1231 v3 (-HT-MCP-) cache: 8192 KB                                                                  
               Clock Speeds: 1: 3771 MHz 2: 3731 MHz 3: 3767 MHz 4: 3729 MHz 5: 3692 MHz 6: 3685 MHz 7: 3746 MHz                          
               8: 3767 MHz                                                                                                                
    Graphics:  Card: NVIDIA GF110 [GeForce GTX 570 Rev. 2]                                                                                
               Display Server: X.Org 1.16.1.901 driver: nvidia Resolution: 1680x1050@60.0hz, 1680x1050@60.0hz
              [COLOR=#ff0000] GLX Renderer: N/A GLX Version: N/A[/COLOR]
    Audio:     Card-1 C-Media CMI8788 [Oxygen HD Audio] driver: snd_virtuoso Sound: ALSA v: k3.16.0-29-generic
               Card-2 NVIDIA GF110 High Definition Audio Controller driver: snd_hda_intel 
    Network:   Card: Qualcomm Atheros Killer E220x Gigabit Ethernet Controller driver: alx
               IF: eth0 state: up speed: 100 Mbps duplex: full mac: d0:50:99:31:20:d2
    Drives:    HDD Total Size: 1976.4GB (32.1% used) ID-1: /dev/sda model: ST3400620AS size: 400.1GB
               ID-2: /dev/sdb model: SAMSUNG_HD322HJ size: 320.1GB
               ID-3: /dev/sdc model: Crucial_CT256MX1 size: 256.1GB
               ID-4: /dev/sdd model: WDC_WD10EZEX size: 1000.2GB
    Partition: ID-1: / size: 47G used: 40G (89%) fs: ext4 dev: /dev/sdc6 
               ID-2: /boot size: 464M used: 97M (23%) fs: ext4 dev: /dev/sdc1 
               ID-3: /home size: 188G used: 127G (71%) fs: ext4 dev: /dev/sdd4 
               ID-4: swap-1 size: 4.09GB used: 0.61GB (15%) fs: swap dev: /dev/sda7 
               ID-5: swap-2 size: 4.07GB used: 0.00GB (0%) fs: swap dev: /dev/sdb5 
               ID-6: swap-3 size: 16.38GB used: 0.00GB (0%) fs: swap dev: /dev/sdc5 
               ID-7: swap-4 size: 15.36GB used: 0.00GB (0%) fs: swap dev: /dev/sdd6 
    RAID:      No RAID devices: /proc/mdstat, md_mod kernel module present
    Sensors:   System Temperatures: cpu: 43.0C mobo: N/A gpu: 63C 
               Fan Speeds (in rpm): cpu: N/A 
    Info:      Processes: 342 Uptime: 11:30 Memory: 6571.5/7935.7MB Client: Shell (bash) inxi: 2.1.28

    Nvidia driver version is 340.65.

    I can't really say when the issue appeared since when I first noticed it I hadn't changed/updated anything in a while. I can only assume it happened after a apt-get upgrade.

    From what I have read so far it might just be something like broken symlinks but I don't know how to fix that (since I don't know where the links should go and which ones are faulty).

    Hope you guys can help, have been dealing with this issue for some time now.

    Thanks in Advance.
    I think this is your problem ,,,,,, no GLX

    maby reinstall your driver ??
    Code:
    vinny@vinny-Bonobo-Extreme:~$ inxi -G
    Graphics:  Card: NVIDIA GK104M [GeForce GTX 860M] X.Org: 1.15.1 driver: nvidia Resolution: 1920x1080@60.0hz 
               [COLOR=#ff0000]GLX Renderer: GeForce GTX 860M/PCIe/SSE2 GLX Version: 4.4.0 NVIDIA 331.113[/COLOR]

    VINNY
    Last edited by vinnywright; Jan 15, 2015, 06:33 PM.
    i7 4core HT 8MB L3 2.9GHz
    16GB RAM
    Nvidia GTX 860M 4GB RAM 1152 cuda cores

    Comment


      #3
      Yeah I wondered about that too.
      Is it possible to install GLX from the repositories without touching the driver?
      Because the driver and GLX worked well for a while and only got fouled up by something that happened during an update/upgrade.

      If it's possible to work with the repos, what exactly do I need to install?
      If I need to reinstall the driver, do I use the same driver version from Nvidia again?

      Comment


        #4
        Yeah so reinstalling the driver fixed the problem. Thanks for the help.

        Comment


          #5
          I would check to see if you have the "dkms" package installed (you should have it ,but check ) it will rebuild the nvidia modules for a new kernel if/when you get one ,,,, if thay do not get rebuilt for the specific kernel ,,,,strange things can/will happen .

          glad to have been of some small help

          VINNY

          Code:
          vinny@vinny-Bonobo-Extreme:~$ locate nvidia | grep dkms
          /lib/modules/3.13.0-40-generic/updates/dkms/nvidia-331-updates-uvm.ko
          /lib/modules/3.13.0-40-generic/updates/dkms/nvidia_331_updates.ko
          /lib/modules/3.13.0-43-generic/updates/dkms/nvidia-331-updates-uvm.ko
          /lib/modules/3.13.0-43-generic/updates/dkms/nvidia_331_updates.ko
          /usr/src/nvidia-331-updates-331.113/dkms.conf
          /usr/src/nvidia-331-updates-uvm-331.113/dkms.conf
          /usr/src/nvidia-331-updates-uvm-331.113/dkms.conf.fragment
          /var/lib/dkms/nvidia-331-updates
          /var/lib/dkms/nvidia-331-updates-uvm
          /var/lib/dkms/nvidia-331-updates/331.113
          /var/lib/dkms/nvidia-331-updates/kernel-3.13.0-40-generic-x86_64
          /var/lib/dkms/nvidia-331-updates/kernel-3.13.0-43-generic-x86_64
          /var/lib/dkms/nvidia-331-updates/331.113/3.13.0-40-generic
          /var/lib/dkms/nvidia-331-updates/331.113/3.13.0-43-generic
          /var/lib/dkms/nvidia-331-updates/331.113/build
          /var/lib/dkms/nvidia-331-updates/331.113/source
          /var/lib/dkms/nvidia-331-updates/331.113/3.13.0-40-generic/x86_64
          /var/lib/dkms/nvidia-331-updates/331.113/3.13.0-40-generic/x86_64/log
          /var/lib/dkms/nvidia-331-updates/331.113/3.13.0-40-generic/x86_64/module
          /var/lib/dkms/nvidia-331-updates/331.113/3.13.0-40-generic/x86_64/log/make.log
          /var/lib/dkms/nvidia-331-updates/331.113/3.13.0-40-generic/x86_64/module/nvidia_331_updates.ko
          /var/lib/dkms/nvidia-331-updates/331.113/3.13.0-43-generic/x86_64
          /var/lib/dkms/nvidia-331-updates/331.113/3.13.0-43-generic/x86_64/log
          /var/lib/dkms/nvidia-331-updates/331.113/3.13.0-43-generic/x86_64/module
          /var/lib/dkms/nvidia-331-updates/331.113/3.13.0-43-generic/x86_64/log/make.log
          /var/lib/dkms/nvidia-331-updates/331.113/3.13.0-43-generic/x86_64/module/nvidia_331_updates.ko
          /var/lib/dkms/nvidia-331-updates/331.113/build/Makefile
          /var/lib/dkms/nvidia-331-updates/331.113/build/conftest.sh
          /var/lib/dkms/nvidia-331-updates/331.113/build/cpuopsys.h
          /var/lib/dkms/nvidia-331-updates/331.113/build/dkms.conf
          /var/lib/dkms/nvidia-331-updates/331.113/build/g_nvreadme.h
          /var/lib/dkms/nvidia-331-updates/331.113/build/gcc-version-check.c
          /var/lib/dkms/nvidia-331-updates/331.113/build/nv-acpi.c
          /var/lib/dkms/nvidia-331-updates/331.113/build/nv-chrdev.c
          /var/lib/dkms/nvidia-331-updates/331.113/build/nv-cray.c
          /var/lib/dkms/nvidia-331-updates/331.113/build/nv-drm.c
          /var/lib/dkms/nvidia-331-updates/331.113/build/nv-frontend.c
          /var/lib/dkms/nvidia-331-updates/331.113/build/nv-frontend.h
          /var/lib/dkms/nvidia-331-updates/331.113/build/nv-gvi.c
          /var/lib/dkms/nvidia-331-updates/331.113/build/nv-i2c.c
          /var/lib/dkms/nvidia-331-updates/331.113/build/nv-kernel.o
          /var/lib/dkms/nvidia-331-updates/331.113/build/nv-linux.h
          /var/lib/dkms/nvidia-331-updates/331.113/build/nv-memdbg.h
          /var/lib/dkms/nvidia-331-updates/331.113/build/nv-mempool.c
          /var/lib/dkms/nvidia-331-updates/331.113/build/nv-misc.h
          /var/lib/dkms/nvidia-331-updates/331.113/build/nv-mlock.c
          /var/lib/dkms/nvidia-331-updates/331.113/build/nv-mmap.c
          /var/lib/dkms/nvidia-331-updates/331.113/build/nv-p2p.c
          /var/lib/dkms/nvidia-331-updates/331.113/build/nv-p2p.h
          /var/lib/dkms/nvidia-331-updates/331.113/build/nv-pat.c
          /var/lib/dkms/nvidia-331-updates/331.113/build/nv-procfs.c
          /var/lib/dkms/nvidia-331-updates/331.113/build/nv-proto.h
          /var/lib/dkms/nvidia-331-updates/331.113/build/nv-reg.h
          /var/lib/dkms/nvidia-331-updates/331.113/build/nv-usermap.c
          /var/lib/dkms/nvidia-331-updates/331.113/build/nv-vm.c
          /var/lib/dkms/nvidia-331-updates/331.113/build/nv-vtophys.c
          /var/lib/dkms/nvidia-331-updates/331.113/build/nv.c
          /var/lib/dkms/nvidia-331-updates/331.113/build/nv.h
          /var/lib/dkms/nvidia-331-updates/331.113/build/nv_gpu_ops.h
          /var/lib/dkms/nvidia-331-updates/331.113/build/nv_uvm_interface.c
          /var/lib/dkms/nvidia-331-updates/331.113/build/nv_uvm_interface.h
          /var/lib/dkms/nvidia-331-updates/331.113/build/nverror.h
          /var/lib/dkms/nvidia-331-updates/331.113/build/nvgputypes.h
          /var/lib/dkms/nvidia-331-updates/331.113/build/nvidia-modules-common.mk
          /var/lib/dkms/nvidia-331-updates/331.113/build/nvtypes.h
          /var/lib/dkms/nvidia-331-updates/331.113/build/os-interface.c
          /var/lib/dkms/nvidia-331-updates/331.113/build/os-interface.h
          /var/lib/dkms/nvidia-331-updates/331.113/build/os-pci.c
          /var/lib/dkms/nvidia-331-updates/331.113/build/os-registry.c
          /var/lib/dkms/nvidia-331-updates/331.113/build/os-smp.c
          /var/lib/dkms/nvidia-331-updates/331.113/build/os-usermap.c
          /var/lib/dkms/nvidia-331-updates/331.113/build/patches
          /var/lib/dkms/nvidia-331-updates/331.113/build/rmil.h
          /var/lib/dkms/nvidia-331-updates/331.113/build/rmretval.h
          /var/lib/dkms/nvidia-331-updates/331.113/build/xapi-sdk.h
          /var/lib/dkms/nvidia-331-updates/331.113/build/patches/allow_sublevel_greater_than_5.patch
          /var/lib/dkms/nvidia-331-updates/331.113/build/patches/buildfix_kernel_3.0.patch
          /var/lib/dkms/nvidia-331-updates/331.113/build/patches/buildfix_kernel_3.10.patch
          /var/lib/dkms/nvidia-331-updates/331.113/build/patches/buildfix_kernel_3.11.patch
          /var/lib/dkms/nvidia-331-updates/331.113/build/patches/buildfix_kernel_3.13.patch
          /var/lib/dkms/nvidia-331-updates/331.113/build/patches/buildfix_kernel_3.14.patch
          /var/lib/dkms/nvidia-331-updates/331.113/build/patches/buildfix_kernel_3.6.patch
          /var/lib/dkms/nvidia-331-updates/331.113/build/patches/buildfix_kernel_3.8.patch
          /var/lib/dkms/nvidia-331-updates/331.113/build/patches/make-use-of-the-new-uapi-framework.patch
          /var/lib/dkms/nvidia-331-updates/331.113/build/patches/register-VT-switch-requirements.patch
          /var/lib/dkms/nvidia-331-updates/331.113/build/patches/replace-VM_RESERVED-with-VM_DONTEXPAND-and-VM_DONTDU.patch
          /var/lib/dkms/nvidia-331-updates-uvm/331.113
          /var/lib/dkms/nvidia-331-updates-uvm/kernel-3.13.0-40-generic-x86_64
          /var/lib/dkms/nvidia-331-updates-uvm/kernel-3.13.0-43-generic-x86_64
          /var/lib/dkms/nvidia-331-updates-uvm/331.113/3.13.0-40-generic
          /var/lib/dkms/nvidia-331-updates-uvm/331.113/3.13.0-43-generic
          /var/lib/dkms/nvidia-331-updates-uvm/331.113/build
          /var/lib/dkms/nvidia-331-updates-uvm/331.113/source
          /var/lib/dkms/nvidia-331-updates-uvm/331.113/3.13.0-40-generic/x86_64
          /var/lib/dkms/nvidia-331-updates-uvm/331.113/3.13.0-40-generic/x86_64/log
          /var/lib/dkms/nvidia-331-updates-uvm/331.113/3.13.0-40-generic/x86_64/module
          /var/lib/dkms/nvidia-331-updates-uvm/331.113/3.13.0-40-generic/x86_64/log/make.log
          /var/lib/dkms/nvidia-331-updates-uvm/331.113/3.13.0-40-generic/x86_64/module/nvidia-331-updates-uvm.ko
          /var/lib/dkms/nvidia-331-updates-uvm/331.113/3.13.0-43-generic/x86_64
          /var/lib/dkms/nvidia-331-updates-uvm/331.113/3.13.0-43-generic/x86_64/log
          /var/lib/dkms/nvidia-331-updates-uvm/331.113/3.13.0-43-generic/x86_64/module
          /var/lib/dkms/nvidia-331-updates-uvm/331.113/3.13.0-43-generic/x86_64/log/make.log
          /var/lib/dkms/nvidia-331-updates-uvm/331.113/3.13.0-43-generic/x86_64/module/nvidia-331-updates-uvm.ko
          /var/lib/dkms/nvidia-331-updates-uvm/331.113/build/Makefile
          /var/lib/dkms/nvidia-331-updates-uvm/331.113/build/cla06f.h
          /var/lib/dkms/nvidia-331-updates-uvm/331.113/build/cla06fsubch.h
          /var/lib/dkms/nvidia-331-updates-uvm/331.113/build/cla0b5.h
          /var/lib/dkms/nvidia-331-updates-uvm/331.113/build/conftest.sh
          /var/lib/dkms/nvidia-331-updates-uvm/331.113/build/ctrl2080mc.h
          /var/lib/dkms/nvidia-331-updates-uvm/331.113/build/dkms.conf
          /var/lib/dkms/nvidia-331-updates-uvm/331.113/build/dkms.conf.fragment
          /var/lib/dkms/nvidia-331-updates-uvm/331.113/build/nvidia_page_migration.c
          /var/lib/dkms/nvidia-331-updates-uvm/331.113/build/nvidia_page_migration.h
          /var/lib/dkms/nvidia-331-updates-uvm/331.113/build/nvidia_page_migration_kepler.c
          /var/lib/dkms/nvidia-331-updates-uvm/331.113/build/nvidia_page_migration_kepler.h
          /var/lib/dkms/nvidia-331-updates-uvm/331.113/build/nvidia_uvm_common.c
          /var/lib/dkms/nvidia-331-updates-uvm/331.113/build/nvidia_uvm_common.h
          /var/lib/dkms/nvidia-331-updates-uvm/331.113/build/nvidia_uvm_linux.c
          /var/lib/dkms/nvidia-331-updates-uvm/331.113/build/nvidia_uvm_linux.h
          /var/lib/dkms/nvidia-331-updates-uvm/331.113/build/nvidia_uvm_lite.c
          /var/lib/dkms/nvidia-331-updates-uvm/331.113/build/nvidia_uvm_lite.h
          /var/lib/dkms/nvidia-331-updates-uvm/331.113/build/nvidia_uvm_lite_api.c
          /var/lib/dkms/nvidia-331-updates-uvm/331.113/build/nvidia_uvm_lite_counters.c
          /var/lib/dkms/nvidia-331-updates-uvm/331.113/build/nvidia_uvm_lite_counters.h
          /var/lib/dkms/nvidia-331-updates-uvm/331.113/build/nvidia_uvm_lite_events.c
          /var/lib/dkms/nvidia-331-updates-uvm/331.113/build/nvidia_uvm_page_cache.c
          /var/lib/dkms/nvidia-331-updates-uvm/331.113/build/nvidia_uvm_utils.c
          /var/lib/dkms/nvidia-331-updates-uvm/331.113/build/nvidia_uvm_utils.h
          /var/lib/dkms/nvidia-331-updates-uvm/331.113/build/nvkernel.h
          /var/lib/dkms/nvidia-331-updates-uvm/331.113/build/nvmisc.h
          /var/lib/dkms/nvidia-331-updates-uvm/331.113/build/patches
          /var/lib/dkms/nvidia-331-updates-uvm/331.113/build/uvm-debug.h
          /var/lib/dkms/nvidia-331-updates-uvm/331.113/build/uvm.h
          /var/lib/dkms/nvidia-331-updates-uvm/331.113/build/uvm_gpu_ops_tests.c
          /var/lib/dkms/nvidia-331-updates-uvm/331.113/build/uvm_gpu_ops_tests.h
          /var/lib/dkms/nvidia-331-updates-uvm/331.113/build/uvm_ioctl.h
          /var/lib/dkms/nvidia-331-updates-uvm/331.113/build/uvm_linux_ioctl.h
          /var/lib/dkms/nvidia-331-updates-uvm/331.113/build/uvmtypes.h
          /var/lib/dkms/nvidia-331-updates-uvm/331.113/build/patches/buildfix_kernel_3.12.patch
          i7 4core HT 8MB L3 2.9GHz
          16GB RAM
          Nvidia GTX 860M 4GB RAM 1152 cuda cores

          Comment

          Working...
          X