Wine libgl error failed to load driver swrast

Всем привет! Пытаюсь через wine запустить простенькую, старенькую игрушку, и получаю следующую ошибку.
  • Печать

Страницы: [1]   Вниз

Тема: libGL Проблемы с запуском приложения с помощью wine  (Прочитано 1957 раз)

0 Пользователей и 1 Гость просматривают эту тему.

Оффлайн
inkscape

Всем привет!

Пытаюсь через wine запустить простенькую, старенькую игрушку, и получаю следующую ошибку.

libGL error: No matching fbConfigs or visuals found
libGL error: failed to load driver: swrast
X Error of failed request:  GLXBadContext
  Major opcode of failed request:  151 (GLX)
  Minor opcode of failed request:  6 (X_GLXIsDirect)
  Serial number of failed request:  236
  Current serial number in output stream:  235

Судя по поисковику, схожие проблемы связанны с видео-драйверами. Но вводить команды приведённые в предположительном решении не стал, ибо боюсь что-нибудь испортить. Пару дней назад, я уже накосячил вводя различные команды из интернета, в итоге, пришлось всё сносить, чистить и устанавливать драйвера по новой.

Подскажите пожалуйста, как решить данную проблему?

У меня Ubuntu 18.04


Оффлайн
Morisson


Оффлайн
inkscape

Благодарю за помощь. Сейчас всё работает.


Оффлайн
inkscape

Оказалось, что работало это из-за того, что я удалил cuda. А удалил я его, чтобы установить новый 10 версии. Но это просто моё предположение. Так вот, пока я его устанавливал, игрушка работала, а на следующий день уже нет. И команда указанная выше, сейчас не работает. Вот что выводит:

Сегодня докачалась более крупная игрушка, и она тоже не запускается и выводит ту же самую проблему с libGL.

Я несколько дней назад приобрёл видео-карту, в первую очередь для вычислений с использованием CUDA. Поэтому, её(CUDA) удалять не буду. Но хотелось бы также использовать видеокарту, если есть такая возможность и для развлечений.

Кто-нибудь знает, как это можно исправить так, чтобы не покалечить куду?

Кстати, игрушка, которую я пытаюсь запустить, является приложением для Линукс.

« Последнее редактирование: 07 Января 2020, 18:48:36 от inkscape »


Оффлайн
stm

« Последнее редактирование: 07 Января 2020, 20:47:43 от stm »


Оффлайн
inkscape

Спасибо за помощь, старенькая игрушка запустилась. Правда новая пока не работает, но там уже другая причина.


  • Печать

Страницы: [1]   Вверх

If I click the desktop app of «Steam», nothing happens.

Running steam in terminal produces the following:

STEAM_RUNTIME is enabled automatically
Installing breakpad exception handler for appid(steam)/version(1474415843)
libGL error: No matching fbConfigs or visuals found
libGL error: failed to load driver: swrast

What’s interesting is that if I change my GPU driver to xorg, it works perfectly.

What can I do to make it work? It stopped working after the latest steam update(36 hours ago).

I tried uninstalling nvidia — sudo apt-get remove nvidia* and re-installing the driver, but with no luck.

David Foerster's user avatar

asked Oct 7, 2016 at 15:16

cbll's user avatar

Ubuntu 16.04+
For anyone still getting same error, if you are using nvidia driver, sometimes you will see that libGL.so.1 points to ambiguous libGL provided by both mesa and nvidia. To test this, you can run this command

$ sudo ldconfig -p | grep -i gl.so

The output was something like:

    libwayland-egl.so.1 (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libwayland-egl.so.1
    libftgl.so.2 (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libftgl.so.2
    libcogl.so.20 (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libcogl.so.20
    libQt5OpenGL.so.5 (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libQt5OpenGL.so.5
    libQtOpenGL.so.4 (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libQtOpenGL.so.4
    libQtOpenGL.so.4 (libc6) => /usr/lib/i386-linux-gnu/libQtOpenGL.so.4
    libOpenGL.so.0 (libc6,x86-64) => /usr/lib/nvidia-378/libOpenGL.so.0
    libOpenGL.so (libc6,x86-64) => /usr/lib/nvidia-378/libOpenGL.so
    libGL.so.1 (libc6,x86-64) => /usr/lib/nvidia-378/libGL.so.1
    libGL.so.1 (libc6) => /usr/lib/i386-linux-gnu/mesa/libGL.so.1
    libGL.so.1 (libc6) => /usr/lib32/nvidia-378/libGL.so.1
    libGL.so (libc6,x86-64) => /usr/lib/nvidia-378/libGL.so
    libGL.so (libc6) => /usr/lib32/nvidia-378/libGL.so
    libEGL.so.1 (libc6,x86-64) => /usr/lib/nvidia-378/libEGL.so.1
    libEGL.so.1 (libc6) => /usr/lib32/nvidia-378/libEGL.so.1
    libEGL.so (libc6,x86-64) => /usr/lib/nvidia-378/libEGL.so
    libEGL.so (libc6) => /usr/lib32/nvidia-378/libEGL.so

Now I just needed to remove the library provided by mesa and everything worked perfectly.

$ sudo rm /usr/lib/i386-linux-gnu/mesa/libGL.so.1

Update:
This issue no longer exists from Ubuntu 18.04 LTS.

answered Apr 11, 2017 at 9:49

Zobayer Hasan's user avatar

15

In my situation I had to install the i386 NVIDIA drivers. It worked thereafter.

sudo apt install libnvidia-gl-440:i386

Have a great day!

answered Feb 18, 2020 at 2:46

Stan S.'s user avatar

Stan S.Stan S.

4675 silver badges5 bronze badges

8

Windows Subsystem for Linux (WSL) has same error

In Windows Subsystem for Linux (WSL) under Windows 10 there the file /usr/lib/i386-linux-gnu/mesa/libGL.so.1 does not exist. Instead there is the file /usr/lib/x86_64-linux-gnu/mesa/libGL.so.1 seems to replace it. However if you delete the replacement file the library doesn’t work at all.

Rename library then rename back solves problem

If you rename the file and then rename it back the errors disappear and it works a lot faster:

───────────────────────────────────────────────────────────────────────────────
rick@alien:/mnt/e/etc$ lock-screen-timer
Linux version 4.4.0-43-Microsoft (Microsoft@Microsoft.com) (gcc version 5.4.0 (GCC) ) #1-Microsoft Wed Dec 31 14:42:53 PST 2014
libGL error: No matching fbConfigs or visuals found
libGL error: failed to load driver: swrast
Gtk-Message: GtkDialog mapped without a transient parent. This is discouraged.
───────────────────────────────────────────────────────────────────────────────
rick@alien:/mnt/e/etc$ sudo ldconfig -p | grep -i gl.so
        libwayland-egl.so.1 (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libwayland-egl.so.1
        libcogl.so.20 (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libcogl.so.20
        libQt5OpenGL.so.5 (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libQt5OpenGL.so.5
        libGL.so.1 (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/mesa/libGL.so.1
        libEGL.so.1 (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/mesa-egl/libEGL.so.1
───────────────────────────────────────────────────────────────────────────────
rick@alien:/mnt/e/etc$ sudo rm /usr/lib/i386-linux-gnu/mesa/libGL.so.1
rm: cannot remove '/usr/lib/i386-linux-gnu/mesa/libGL.so.1': No such file or directory
───────────────────────────────────────────────────────────────────────────────
rick@alien:/mnt/e/etc$ sudo mv /usr/lib/x86_64-linux-gnu/mesa/libGL.so.1 /usr/lib/x86_64-linux-gnu/mesa/libGL.so.1.ORIGINAL
───────────────────────────────────────────────────────────────────────────────
rick@alien:/mnt/e/etc$ lock-screen-timer
Linux version 4.4.0-43-Microsoft (Microsoft@Microsoft.com) (gcc version 5.4.0 (GCC) ) #1-Microsoft Wed Dec 31 14:42:53 PST 2014
/usr/bin/zenity: error while loading shared libraries: libGL.so.1: cannot open shared object file: No such file or directory
───────────────────────────────────────────────────────────────────────────────
rick@alien:/mnt/e/etc$ sudo mv /usr/lib/x86_64-linux-gnu/mesa/libGL.so.1.ORIGINAL /usr/lib/x86_64-linux-gnu/mesa/libGL.so.1
───────────────────────────────────────────────────────────────────────────────
rick@alien:/mnt/e/etc$ lock-screen-timer
Linux version 4.4.0-43-Microsoft (Microsoft@Microsoft.com) (gcc version 5.4.0 (GCC) ) #1-Microsoft Wed Dec 31 14:42:53 PST 2014
Gtk-Message: GtkDialog mapped without a transient parent. This is discouraged.
───────────────────────────────────────────────────────────────────────────────
rick@alien:/mnt/e/etc$

I verified the change is persistent, ie close the WSL terminal window and open a new window.

What’s using the library?

The library is used by yad in the lock-screen-timer bash script upgraded with hybrid support for WSL in addition to Ubuntu. Yad is a fork of Zenity which is why you see the Zenity-like Gtk-Message: reference in the third error message above.

Here’s what the yad window looks like in Ubuntu (in WSL it’s slightly different):

Lock Screen Timer

Community's user avatar

answered Nov 19, 2017 at 17:26

WinEunuuchs2Unix's user avatar

WinEunuuchs2UnixWinEunuuchs2Unix

97.3k33 gold badges228 silver badges398 bronze badges

7

This might be a nvidia driver issue, according to a steam-for-linux issue.

In my case, I installed SuperTuxKart through flapak, when I ran it, I met following errors:

..:: Antarctica Rendering Engine 2.0 ::..
Linux 4.15.0-52-generic #56-Ubuntu SMP Tue Jun 4 22:49:08 UTC 2019 x86_64
libGL error: No matching fbConfigs or visuals found
libGL error: failed to load driver: swrast

My solution is:

  1. Check nvidia driver on my system

ubuntu-drivers devices

It has nvidia-driver-430 installed already.

  1. According to the steam-for-linux issue issue, install nvidia-driver-418 to replace nvidia-driver-430

sudo apt install libnvidia-gl-418

It prompted that it lack dependency of libnvidia-compute-418, so just install libnvidia-compute-418 first.

sudo apt install libnvidia-compute-418

then

sudo apt install libnvidia-gl-418

  1. Reboot system.

Then I ran SuperTuxKart, it worked.

answered Jun 30, 2019 at 7:11

Yong Yang's user avatar

Yong YangYong Yang

811 silver badge3 bronze badges

2

In my case the issue was that I had enabled some CUDA apt sources that had installed the 440 nvidia driver and tools. Once I disabled that and installed the then latest version of nvidia driver (435), it installed everything else needed and the error went away.

answered May 25, 2020 at 1:11

Christian Fritz's user avatar

The solutions that worked for me:

  • Ubuntu 20.04:
    sudo apt install libnvidia-gl-440
    (without :i386)

  • WSL2 Windows 10: run XServer with -nowgl (and -ac):
    "C:Program FilesVcXsrvvcxsrv.exe" :0 -multiwindow -clipboard -nowgl -ac
    #see https://askubuntu.com/a/1394781/498339

answered Feb 25, 2022 at 8:45

PJ127's user avatar

PJ127PJ127

2312 silver badges7 bronze badges

I’m not 100% sure if it’s wine related, but for the past month or so I’ve been having problems with playing most games with Wine, I tried playing (installed with Lutris) StarCraft II, League of Legends, Halo Online and they all fail with an error similar to this:

ATTENTION: default value of option mesa_glthread overridden by environment.

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: 154 (GLX)

Minor opcode of failed request: 3 (X_GLXCreateContext)

Value in failed request: 0x0

Serial number of failed request: 173

Current serial number in output stream: 177

ATTENTION: default value of option mesa_glthread overridden by environment.

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: 154 (GLX)

Minor opcode of failed request: 3 (X_GLXCreateContext)

Value in failed request: 0x0

Serial number of failed request: 173

Current serial number in output stream: 177

ATTENTION: default value of option mesa_glthread overridden by environment.

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: 154 (GLX)

Minor opcode of failed request: 3 (X_GLXCreateContext)

Value in failed request: 0x0

Serial number of failed request: 173

Current serial number in output stream: 177

<html><head><title>Object moved</title></head><body>

Native Linux games seem to not have this problem (Tried TF2 and Strife, and they worked perfectly).

My distro is Arch, I have a Nvidia 9600GT gpu.

This is the output of «yay -Qs nvidia»:

local/lib32-libglvnd 1.1.0-1

The GL Vendor-Neutral Dispatch library

local/lib32-mesa 18.2.2-1

An open-source implementation of the OpenGL specification (32-bit)

local/lib32-nvidia-340xx-utils 340.107-3

NVIDIA drivers utilities (32-bit)

local/libglade 2.6.4-6

Allows you to load glade interface files in a program at runtime

local/libglvnd 1.1.0-1

The GL Vendor-Neutral Dispatch library

local/mesa 18.2.2-1

An open-source implementation of the OpenGL specification

local/nvidia-340xx-utils 340.107-3

NVIDIA drivers utilities

[kot@Uruk ~]$ yay -Qs nvidia

local/cuda 10.0.130-2

NVIDIA's GPU programming toolkit

local/lib32-nvidia-340xx-utils 340.107-3

NVIDIA drivers utilities (32-bit)

local/libvdpau 1.1.1+3+ga21bf7a-1

Nvidia VDPAU library

local/nvidia-340xx-dkms 340.107-37

NVIDIA driver sources for linux, 340xx legacy branch

local/nvidia-340xx-utils 340.107-3

NVIDIA drivers utilities

local/opencl-nvidia 410.66-1

OpenCL implemention for NVIDIA

This is the output of «yay -Qs libgl»:

local/lib32-libglvnd 1.1.0-1

The GL Vendor-Neutral Dispatch library

local/lib32-mesa 18.2.2-1

An open-source implementation of the OpenGL specification (32-bit)

local/lib32-nvidia-340xx-utils 340.107-3

NVIDIA drivers utilities (32-bit)

local/libglade 2.6.4-6

Allows you to load glade interface files in a program at runtime

local/libglvnd 1.1.0-1

The GL Vendor-Neutral Dispatch library

local/mesa 18.2.2-1

An open-source implementation of the OpenGL specification

local/nvidia-340xx-utils 340.107-3

NVIDIA drivers utilities

I reinstalled all the nvidia packages a few times and even reinstalled Arch Linux once and this error still occurs.

Is there any way to fix this or should I switch to a different distro (this error isn’t occuring on Mint)?

При запуске любой игры чрез 32-х битный вайн (неважно ванилла или от етерсофт) появляется чудная картинка — «Черный квадрат» Козьмы Малевича, какие-то там звуки, курсор мыши и ещё чего-то там …

Например, prey

Спойлер

$ wine prey.exe
fixme:wbemprox:client_security_SetBlanket 0xf7376664, 0x15e718, 10, 0, (null), 3, 3, (nil), 0x00000000
fixme:wbemprox:client_security_Release 0xf7376664
fixme:wbemprox:wbem_services_CreateInstanceEnum unsupported flags 0x00000001
libGL error: failed to load driver: swrast
libGL error: Try again with LIBGL_DEBUG=verbose for more details.
err:winediag:X11DRV_WineGL_InitOpenglInfo Direct rendering is disabled, most likely your 32-bit OpenGL drivers haven’t been installed correctly (using GL renderer «AMD Radeon HD 5670», version «1.4 (2.1 (4.4.13283 Compatibility Profile Context 14.501.1003))»).
fixme:win:EnumDisplayDevicesW ((null),0,0x30ae8b8,0x00000000), stub!
fixme:wbemprox:enum_class_object_Next timeout not supported
ALSA lib dlmisc.c:236:(snd1_dlobj_cache_get) Cannot open shared library /usr/lib/alsa-lib/libasound_module_pcm_pulse.so
AL lib: alsa.c:512: Could not open playback device ‘default’: Нет такого устройства или адреса
ALSA lib dlmisc.c:236:(snd1_dlobj_cache_get) Cannot open shared library /usr/lib/alsa-lib/libasound_module_pcm_pulse.so
AL lib: alsa.c:512: Could not open playback device ‘default’: Нет такого устройства или адреса
ALSA lib dlmisc.c:236:(snd1_dlobj_cache_get) Cannot open shared library /usr/lib/alsa-lib/libasound_module_pcm_pulse.so
ALSA lib dlmisc.c:236:(snd1_dlobj_cache_get) Cannot open shared library /usr/lib/alsa-lib/libasound_module_pcm_pulse.so
wine: Unhandled page fault on read access to 0x00000000 at address (nil) (thread 0009), starting debugger…
Unhandled exception: page fault on read access to 0x00000000 in 32-bit code (0x00000000).
Register dump:
 CS:0023 SS:002b DS:002b ES:002b FS:0063 GS:006b
 EIP:00000000 ESP:030ad8fc EBP:05dc0040 EFLAGS:00010246(  R- —  I  Z- -P- )
 EAX:030b0128 EBX:00200000 ECX:00200000 EDX:fffffffe
 ESI:03eab9a4 EDI:0175dd50
Stack dump:
0x030ad8fc:  004f8bb8 00008892 030b0128 0175dd74
0x030ad90c:  0175dd50 00000002 004f91d6 05dc0040
0x030ad91c:  00000000 0175dd74 00000000 030a0001
0x030ad92c:  0072bdec 030afda8 00000000 004c0a51
0x030ad93c:  0072ff54 008b1830 00000000 00004000
0x030ad94c:  030ad964 0072ff54 030a0001 00000000
Backtrace:
=>0 0x00000000 (0x05dc0040)
0x00000000: — no code accessible —
Modules:
Module  Address                 Debug info      Name (132 modules)
PE        400000- 2ca1000       Deferred        prey
ELF     7a800000-7a92b000       Deferred        opengl32<elf>
  -PE  7a820000-7a92b000                      opengl32
ELF     7b800000-7ba62000       Deferred        kernel32<elf>
  -PE  7b810000-7ba62000                      kernel32
ELF     7bc00000-7bce5000       Deferred        ntdll<elf>
  -PE  7bc10000-7bce5000                      ntdll
ELF     7bf00000-7bf04000       Deferred        <wine-loader>
ELF     7d398000-7d3a1000       Deferred        librt.so.1
ELF     7d3a8000-7d3bf000       Deferred        libresolv.so.2
ELF     7d3c0000-7d40b000       Deferred        libdbus-1.so.3
ELF     7d410000-7d41d000       Deferred        libkrb5support.so.0
ELF     7d420000-7d454000       Deferred        libk5crypto.so.3
ELF     7d458000-7d518000       Deferred        libkrb5.so.3
ELF     7d518000-7d52a000       Deferred        libavahi-client.so.3
ELF     7d530000-7d6eb000       Deferred        libcrypto.so.10
ELF     7d6f0000-7d759000       Deferred        libssl.so.10
ELF     7d760000-7d7a4000       Deferred        libgssapi_krb5.so.2
ELF     7d7a8000-7d808000       Deferred        libcups.so.2
ELF     7d830000-7d867000       Deferred        uxtheme<elf>
  -PE  7d840000-7d867000                      uxtheme
ELF     7d868000-7d873000       Deferred        libxcursor.so.1
ELF     7d878000-7d889000       Deferred        libxi.so.6
ELF     7d8c0000-7d8cb000       Deferred        libxrandr.so.2
ELF     7d8d0000-7d8db000       Deferred        libxrender.so.1
ELF     7d8e0000-7d8e4000       Deferred        libxinerama.so.1
ELF     7d8e8000-7d8ec000       Deferred        libkeyutils.so.1
ELF     7d8f0000-7d8f5000       Deferred        libcom_err.so.2
ELF     7d8f8000-7d906000       Deferred        libavahi-common.so.3
ELF     7d910000-7d9a4000       Deferred        winex11<elf>
  -PE  7d920000-7d9a4000                      winex11
ELF     7d9a8000-7d9cd000       Deferred        imm32<elf>
  -PE  7d9b0000-7d9cd000                      imm32
ELF     7da18000-7da39000       Deferred        libtinfo.so.5
ELF     7da40000-7da47000       Deferred        libgpm.so.1
ELF     7da48000-7da6c000       Deferred        libncurses.so.5
ELF     7da98000-7dadd000       Deferred        oleacc<elf>
  -PE  7daa0000-7dadd000                      oleacc
ELF     7dae0000-7db2b000       Deferred        dsound<elf>
  -PE  7daf0000-7db2b000                      dsound
ELF     7db30000-7db7c000       Deferred        dinput<elf>
  -PE  7db40000-7db7c000                      dinput
ELF     7db80000-7dcc3000       Deferred        oleaut32<elf>
  -PE  7dba0000-7dcc3000                      oleaut32
ELF     7dcc8000-7dd0b000       Deferred        winspool<elf>
  -PE  7dcd0000-7dd0b000                      winspool
ELF     7dd10000-7de19000       Deferred        comctl32<elf>
  -PE  7dd20000-7de19000                      comctl32
ELF     7de20000-7de9b000       Deferred        shlwapi<elf>
  -PE  7de30000-7de9b000                      shlwapi
ELF     7dea0000-7e0d9000       Deferred        shell32<elf>
  -PE  7deb0000-7e0d9000                      shell32
ELF     7e0e0000-7e1cd000       Deferred        comdlg32<elf>
  -PE  7e0f0000-7e1cd000                      comdlg32
ELF     7e1d0000-7e1f7000       Deferred        iphlpapi<elf>
  -PE  7e1e0000-7e1f7000                      iphlpapi
ELF     7e1f8000-7e231000       Deferred        ws2_32<elf>
  -PE  7e200000-7e231000                      ws2_32
ELF     7e238000-7e27c000       Deferred        libpcre.so.3
ELF     7e280000-7e286000       Deferred        libxdmcp.so.6
ELF     7e288000-7e28c000       Deferred        libxau.so.6
ELF     7e290000-7e2b1000       Deferred        libselinux.so.1
ELF     7e2b8000-7e2c6000       Deferred        libdrm.so.2
ELF     7e2c8000-7e2ce000       Deferred        libxxf86vm.so.1
ELF     7e2d0000-7e2f2000       Deferred        libxcb.so.1
ELF     7e2f8000-7e2fe000       Deferred        libxcb-dri2.so.0
ELF     7e300000-7e319000       Deferred        libxcb-glx.so.0
ELF     7e320000-7e458000       Deferred        libx11.so.6
ELF     7e458000-7e45b000       Deferred        libx11-xcb.so.1
ELF     7e460000-7e466000       Deferred        libxfixes.so.3
ELF     7e468000-7e47a000       Deferred        libxext.so.6
ELF     7e480000-7e498000       Deferred        libglapi.so.0
ELF     7e498000-7e4b6000       Deferred        libgcc_s.so.1
ELF     7e5a8000-7e602000       Deferred        libgl.so.1
ELF     7e608000-7e690000       Deferred        libglu.so.1
ELF     7e698000-7e6b4000       Deferred        wsock32<elf>
  -PE  7e6a0000-7e6b4000                      wsock32
ELF     7e6b8000-7e6d0000       Deferred        glu32<elf>
  -PE  7e6c0000-7e6d0000                      glu32
ELF     7e6d0000-7e6fb000       Deferred        msacm32<elf>
  -PE  7e6e0000-7e6fb000                      msacm32
ELF     7e700000-7e785000       Deferred        rpcrt4<elf>
  -PE  7e710000-7e785000                      rpcrt4
ELF     7e788000-7e8cc000       Deferred        ole32<elf>
  -PE  7e7a0000-7e8cc000                      ole32
ELF     7e8d0000-7e942000       Deferred        advapi32<elf>
  -PE  7e8e0000-7e942000                      advapi32
ELF     7e948000-7e971000       Deferred        libexpat.so.1
ELF     7e978000-7e991000       Deferred        libz.so.1
ELF     7e998000-7e9d5000       Deferred        libfontconfig.so.1
ELF     7e9d8000-7ea82000       Deferred        libfreetype.so.6
ELF     7ea88000-7ea8c000       Deferred        libxdamage.so.1
ELF     7ea90000-7eaaa000       Deferred        version<elf>
  -PE  7eaa0000-7eaaa000                      version
ELF     7eab0000-7ebc9000       Deferred        gdi32<elf>
  -PE  7eac0000-7ebc9000                      gdi32
ELF     7ebd0000-7ed2e000       Deferred        user32<elf>
  -PE  7ebe0000-7ed2e000                      user32
ELF     7ed30000-7ede9000       Deferred        winmm<elf>
  -PE  7ed40000-7ede9000                      winmm
ELF     7ef80000-7ef8e000       Deferred        libnss_files.so.2
ELF     7ef90000-7efd2000       Deferred        libm.so.6
ELF     f6210000-f6309000       Deferred        libasound.so.2
ELF     f6b10000-f6b18000       Deferred        libogg.so.0
ELF     f6b18000-f6b3f000       Deferred        libvorbis.so.0
ELF     f6b40000-f6cb7000       Deferred        libvorbisenc.so.2
ELF     f6cb8000-f6d0c000       Deferred        libflac.so.8
ELF     f6d10000-f6d29000       Deferred        libnsl.so.1
ELF     f6d30000-f6d37000       Deferred        libasyncns.so.0
ELF     f6d38000-f6da1000       Deferred        libsndfile.so.1
ELF     f6da8000-f6db0000       Deferred        libwrap.so.0
ELF     f6db0000-f6e1e000       Deferred        libpulsecommon-3.0.so
ELF     f6e20000-f6e70000       Deferred        libpulse.so.0
ELF     f6f70000-f6fa2000       Deferred        winealsa<elf>
  -PE  f6f80000-f6fa2000                      winealsa
ELF     f6fa8000-f6fcc000       Deferred        mmdevapi<elf>
  -PE  f6fb0000-f6fcc000                      mmdevapi
ELF     f7110000-f725a000       Deferred        wined3d<elf>
  -PE  f7120000-f725a000                      wined3d
ELF     f7260000-f7288000       Deferred        dxgi<elf>
  -PE  f7270000-f7288000                      dxgi
ELF     f7330000-f733a000       Deferred        libjson.so.0
ELF     f7340000-f7377000       Deferred        wbemprox<elf>
  -PE  f7350000-f7377000                      wbemprox
ELF     f7378000-f73bd000       Deferred        usp10<elf>
  -PE  f7380000-f73bd000                      usp10
ELF     f7410000-f7415000       Deferred        libdl.so.2
ELF     f7418000-f7590000       Deferred        libc.so.6
ELF     f7590000-f75aa000       Deferred        libpthread.so.0
ELF     f75d8000-f778e000       Dwarf           libwine.so.1
ELF     f7790000-f77b2000       Deferred        ld-linux.so.2
ELF     f77b8000-f77b9000       Deferred        [vdso].so
Threads:
process  tid      prio (all id:s are in hex)
00000008 (D) C:Program Files1C2K GamesPreyprey.exe
        00000026   15
        00000025    0
        00000024    0
        00000023    0
        00000009    0 <==
0000000e services.exe
        0000001d    0
        0000001c    0
        00000016    0
        00000014    0
        00000010    0
        0000000f    0
00000012 winedevice.exe
        0000001b    0
        00000018    0
        00000017    0
        00000013    0
00000019 plugplay.exe
        0000001f    0
        0000001e    0
        0000001a    0
00000020 explorer.exe
        00000022    0
        00000021    0

Спойлер

$ wine dxdiag
fixme:wbemprox:wbem_services_CreateInstanceEnum unsupported flags 0x00000030
fixme:wbemprox:enum_class_object_Next timeout not supported
libGL error: failed to load driver: swrast
libGL error: Try again with LIBGL_DEBUG=verbose for more details.
err:winediag:X11DRV_WineGL_InitOpenglInfo Direct rendering is disabled, most likely your 32-bit OpenGL drivers haven’t been installed correctly (using GL renderer «AMD Radeon HD 5670», version «1.4 (2.1 (4.4.13283 Compatibility Profile Context 14.501.1003))»).
fixme:win:EnumDisplayDevicesW ((null),0,0x33d6e8,0x00000000), stub!
fixme:win:EnumDisplayDevicesW ((null),0,0x33d4d8,0x00000000), stub!
fixme:ddraw:ddraw7_Initialize Ignoring guid {aeb2cdd4-6e41-43ea-941c-8361cc760781}.
fixme:devenum:DEVENUM_ICreateDevEnum_CreateClassEnumerator Category {33d9a761-90c8-11d0-bd43-00a0c911ce86} not found
fixme:devenum:DEVENUM_ICreateDevEnum_CreateClassEnumerator Category {cc7bfb41-f175-11d1-a392-00e0291f3959} not found
fixme:devenum:DEVENUM_ICreateDevEnum_CreateClassEnumerator Category {cc7bfb46-f175-11d1-a392-00e0291f3959} not found
fixme:dxdiag:wWinMain Information dialog is not implemented

Спойлер

$ LIBGL_DEBUG=verbose glxinfo | grep direct
libGL: AtiGetClientDriverName: 14.50.2 fglrx (screen 0)
libGL error: OpenDriver: failed to open
/usr/X11R6/lib64/modules/dri/fglrx_dri.so,
error[/usr/X11R6/lib64/modules/dri/fglrx_dri.so: cannot open shared object file:
No such file or directory]
ukiDynamicMajor: found major device number 249
ukiDynamicMajor: found major device number 249
ukiDynamicMajor: found major device number 249
ukiOpenDevice: node name is /dev/ati/card0
ukiOpenDevice: open result is 4, (OK)
ukiGetBusid returned ‘PCI:1:0:0’
ukiOpenDevice: node name is /dev/ati/card1
ukiOpenDevice: UKI_ERR_NOT_ROOT
ukiOpenDevice: node name is /dev/ati/card2
ukiOpenDevice: UKI_ERR_NOT_ROOT
ukiOpenDevice: node name is /dev/ati/card3
ukiOpenDevice: UKI_ERR_NOT_ROOT
ukiOpenDevice: node name is /dev/ati/card4
ukiOpenDevice: UKI_ERR_NOT_ROOT
ukiOpenDevice: node name is /dev/ati/card5
ukiOpenDevice: UKI_ERR_NOT_ROOT
ukiOpenDevice: node name is /dev/ati/card6
ukiOpenDevice: UKI_ERR_NOT_ROOT
ukiOpenDevice: node name is /dev/ati/card7
ukiOpenDevice: UKI_ERR_NOT_ROOT
ukiOpenDevice: node name is /dev/ati/card8
ukiOpenDevice: UKI_ERR_NOT_ROOT
ukiOpenDevice: node name is /dev/ati/card9
ukiOpenDevice: UKI_ERR_NOT_ROOT
ukiOpenDevice: node name is /dev/ati/card10
ukiOpenDevice: UKI_ERR_NOT_ROOT
ukiOpenDevice: node name is /dev/ati/card11
ukiOpenDevice: UKI_ERR_NOT_ROOT
ukiOpenDevice: node name is /dev/ati/card12
ukiOpenDevice: UKI_ERR_NOT_ROOT
ukiOpenDevice: node name is /dev/ati/card13
ukiOpenDevice: UKI_ERR_NOT_ROOT
ukiOpenDevice: node name is /dev/ati/card14
ukiOpenDevice: UKI_ERR_NOT_ROOT
ukiOpenDevice: node name is /dev/ati/card15
ukiOpenDevice: UKI_ERR_NOT_ROOT
ukiDynamicMajor: found major device number 249
ukiOpenByBusid: Searching for BusID PCI:1:0:0
ukiOpenDevice: node name is /dev/ati/card0
ukiOpenDevice: open result is 4, (OK)
ukiOpenByBusid: ukiOpenMinor returns 4
ukiOpenByBusid: ukiGetBusid reports PCI:1:0:0
ukiDynamicMajor: found major device number 249
ukiDynamicMajor: found major device number 249
ukiOpenByBusid: Searching for BusID PCI:1:0:0
ukiOpenDevice: node name is /dev/ati/card0
ukiOpenDevice: open result is 5, (OK)
ukiOpenByBusid: ukiOpenMinor returns 5
ukiOpenByBusid: ukiGetBusid reports PCI:1:0:0
ukiDynamicMajor: found major device number 249
ukiDynamicMajor: found major device number 249
ukiDynamicMajor: found major device number 249
ukiOpenDevice: node name is /dev/ati/card0
ukiOpenDevice: open result is 13, (OK)
ukiGetBusid returned ‘PCI:1:0:0’
ukiOpenDevice: node name is /dev/ati/card1
ukiOpenDevice: UKI_ERR_NOT_ROOT
ukiOpenDevice: node name is /dev/ati/card2
ukiOpenDevice: UKI_ERR_NOT_ROOT
ukiOpenDevice: node name is /dev/ati/card3
ukiOpenDevice: UKI_ERR_NOT_ROOT
ukiOpenDevice: node name is /dev/ati/card4
ukiOpenDevice: UKI_ERR_NOT_ROOT
ukiOpenDevice: node name is /dev/ati/card5
ukiOpenDevice: UKI_ERR_NOT_ROOT
ukiOpenDevice: node name is /dev/ati/card6
ukiOpenDevice: UKI_ERR_NOT_ROOT
ukiOpenDevice: node name is /dev/ati/card7
ukiOpenDevice: UKI_ERR_NOT_ROOT
ukiOpenDevice: node name is /dev/ati/card8
ukiOpenDevice: UKI_ERR_NOT_ROOT
ukiOpenDevice: node name is /dev/ati/card9
ukiOpenDevice: UKI_ERR_NOT_ROOT
ukiOpenDevice: node name is /dev/ati/card10
ukiOpenDevice: UKI_ERR_NOT_ROOT
ukiOpenDevice: node name is /dev/ati/card11
ukiOpenDevice: UKI_ERR_NOT_ROOT
ukiOpenDevice: node name is /dev/ati/card12
ukiOpenDevice: UKI_ERR_NOT_ROOT
ukiOpenDevice: node name is /dev/ati/card13
ukiOpenDevice: UKI_ERR_NOT_ROOT
ukiOpenDevice: node name is /dev/ati/card14
ukiOpenDevice: UKI_ERR_NOT_ROOT
ukiOpenDevice: node name is /dev/ati/card15
ukiOpenDevice: UKI_ERR_NOT_ROOT
ukiDynamicMajor: found major device number 249
ukiOpenByBusid: Searching for BusID PCI:1:0:0
ukiOpenDevice: node name is /dev/ati/card0
ukiOpenDevice: open result is 13, (OK)
ukiOpenByBusid: ukiOpenMinor returns 13
ukiOpenByBusid: ukiGetBusid reports PCI:1:0:0
direct rendering: Yes
    GL_AMD_multi_draw_indirect, GL_AMD_name_gen_delete,
    GL_ARB_draw_indirect, GL_ARB_draw_instanced, GL_ARB_enhanced_layouts,
    GL_ARB_multi_draw_indirect, GL_ARB_multisample, GL_ARB_multitexture,
    GL_EXT_copy_buffer, GL_EXT_copy_texture, GL_EXT_direct_state_access,
    GL_AMD_multi_draw_indirect, GL_AMD_name_gen_delete,
    GL_ARB_draw_elements_base_vertex, GL_ARB_draw_indirect,
    GL_ARB_multi_draw_indirect, GL_ARB_multisample, GL_ARB_multitexture,
    GL_EXT_copy_buffer, GL_EXT_copy_texture, GL_EXT_direct_state_access,

Странно то, что обращение идет туда /usr/X11R6/lib64/modules/dri/fglrx_dri.so т.к. у меня так /usr/lib64/X11/modules/dri/fglrx_dri.so. В корневом каталоге нет X11R6.

Делал так

# /usr/lib64/fglrx/switchlibGL amd
library file /usr/lib64/fglrx/fglrx-libGL.so.1.2 not exist, can't switch

# /usr/lib64/fglrx/switchlibglx amd
library file /usr/lib64/xorg/modules/extensions/fglrx/fglrx-libglx.so not exist, can't switch


а они там

/usr/lib64/X11/fglrx/fglrx-libGL.so.1.2
/usr/lib64/X11/fglrx/fglrx-libglx.so

  • Index
  • » Newbie Corner
  • » [solved] cant start apps, «libGL error: failed to load driver: swrast»

#1 2017-03-08 19:30:06

produnis
Member
From: Germany
Registered: 2014-09-29
Posts: 40

[solved] cant start apps, «libGL error: failed to load driver: swrast»

Hi there,
my problem is, that several applications won’t start anymore, like mendeleydesktop, kaddressbook, calibre and so on.

I get the following error:

libGL error: No matching fbConfigs or visuals found
libGL error: failed to load driver: swrast
Unrecognized OpenGL version
Unrecognized OpenGL version

My settings are

$ uname -a
Linux Legolas 4.9.13-1-lts #1 SMP Mon Feb 27 21:32:16 CET 2017 x86_64 GNU/Linux

$ lspci | grep NVIDIA
01:00.0 VGA compatible controller: NVIDIA Corporation GF106GLM [Quadro 2000M] (rev a1)
01:00.1 Audio device: NVIDIA Corporation GF106 High Definition Audio Controller (rev a1)

Packages installed:

$ pacman -Ss nvidia
extra/libvdpau 1.1.1-2 [Installiert]
extra/nvidia 378.13-2 [Installiert]
extra/nvidia-lts 378.13-3 [Installiert]
extra/nvidia-utils 378.13-3 [Installiert]
community/nvidia-cg-toolkit 3.1-4 [Installiert]

Could anyone please give me a hint on what to do about it….?!

Greetings
produnis

Last edited by produnis (2017-03-09 07:00:34)

#2 2017-03-08 19:47:58

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 11,019
Website

Re: [solved] cant start apps, «libGL error: failed to load driver: swrast»

Please post the output of

$ lspci -vnn | grep "VGA"
$ pacman -Qs libgl

Mod note: Moving to NC.

Last edited by WorMzy (2017-03-08 19:48:22)


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

#3 2017-03-08 20:46:17

produnis
Member
From: Germany
Registered: 2014-09-29
Posts: 40

Re: [solved] cant start apps, «libGL error: failed to load driver: swrast»

Hi WorMzy,
thx for your reply.

$ lspci -vnn | grep "VGA"
01:00.0 VGA compatible controller [0300]: NVIDIA Corporation GF106GLM [Quadro 2000M] [10de:0dda] (rev a1) (prog-if 00 [VGA controller])
$ pacman -Qs libgl
local/lib32-mesa-libgl 17.0.1-1
    Mesa 3-D graphics library (32-bit)
local/libglade 2.6.4-5
    Allows you to load glade interface files in a program at runtime
local/libglademm 2.6.7-4
    A C++ wrapper for libglade.
local/libglvnd 0.1.1.20161028-1
    The GL Vendor-Neutral Dispatch library
local/mesa-libgl 17.0.1-1
    Mesa 3-D graphics library

#4 2017-03-08 20:54:33

loqs
Member
Registered: 2014-03-06
Posts: 15,645

Re: [solved] cant start apps, «libGL error: failed to load driver: swrast»

If you replace mesa-libgl and lib32-mesa-libgl with nvidia-libgl and lib32-nvidia-libgl does that resolve the issue?

#5 2017-03-09 06:59:36

produnis
Member
From: Germany
Registered: 2014-09-29
Posts: 40

Re: [solved] cant start apps, «libGL error: failed to load driver: swrast»

Thx you, loqs,

replacing mesa-libgl and lib32-mesa-libgl with nvidia-libgl and lib32-nvidia-libgl solved my issue.

THANKS A LOT!!!

#6 2019-09-21 10:44:12

CyrIng
Member
From: France
Registered: 2010-07-17
Posts: 102
Website

Re: [solved] cant start apps, «libGL error: failed to load driver: swrast»

Legacy board solved by installing lib32-nvidia-390xx-utils

#7 2019-09-21 11:50:40

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 11,019
Website

Re: [solved] cant start apps, «libGL error: failed to load driver: swrast»

Please don’t necrobump, especially solved topics.

https://wiki.archlinux.org/index.php/Co … bumping%22

Closing.


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

jody

Posts: 53
Joined: 2015/05/12 12:58:08

[SOLVED] after update, failed to load driver swrast

Hi
I did a ‘yum update’ today on our CentOS 7 machine.
I am quite sure NVIDIA-Linux-x86_64-352.79 was installed (before the update, it was NVIDIA-Linux-x86_64-352.63)

Everything seems to be working normally and most OpenGL program work. However one OpenGL application reports

Code: Select all

libGL error: unable to load driver: swrast_dri.so
libGL error: failed to load driver: swrast

during start and then the GL windows are not drawn — they just contain the background.
Before the update this application worked correctly, and did not display the message about swrast.

However, swrast seems to be present:

Code: Select all

$ ls -l /usr/lib64/dri/*swrast*
-rwxr-xr-x. 7 root root 8292104 Nov 20 18:42 /usr/lib64/dri/kms_swrast_dri.so
-rwxr-xr-x. 7 root root 8292104 Nov 20 18:42 /usr/lib64/dri/swrast_dri.so

There was a post with a similar topic
viewtopic.php?f=13&t=4130&p=20321&hilit=swrast#p20321
but in my case ‘glxinfo’ does not complain.

In my ‘ /var/log/Xorg.0.log’ there was no mention of ‘swrast’.

Is it perhaps necessary to reinstall swrast?
If yes, which package would i have to install?

Can anybody help me fix this problem?

Thank You

Last edited by jody on 2016/02/04 15:10:32, edited 1 time in total.


User avatar

TrevorH

Site Admin
Posts: 32529
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: after update, failed to load driver swrast

Post

by TrevorH » 2016/02/04 11:54:13

If you have installed the nvidia drivers using their binary .run package then you need to reinstall that each and every time there is a kernel update. They also overwrite other files belonging to other packages (mesa* xorg*?) so other things may also break them when CentOS packages are updated. This is why ELRepo repackage the nvidia .run files as proper CentOS yum packages and remove the file overwrites.


jody

Posts: 53
Joined: 2015/05/12 12:58:08

Re: after update, failed to load driver swrast

Post

by jody » 2016/02/04 14:06:27

It is true that i have originally installed nvidia with a *.run binary.

But after some problems i uninstalled it (with —uninstall) and then did ‘yum install kmod-nvidia’.

I ran the failing program again with

for more detailed output.
The ‘libGL’ messages were now:

Code: Select all

libGL: screen 0 does not appear to be DRI2 capable
libGL: OpenDriver: trying /usr/lib/dri/tls/swrast_dri.so
libGL: OpenDriver: trying /usr/lib/dri/swrast_dri.so
libGL: dlopen /usr/lib/dri/swrast_dri.so failed (/usr/lib/dri/swrast_dri.so: cannot open shared object file: No such file or directory)
libGL error: unable to load driver: swrast_dri.so
libGL error: failed to load driver: swrast

It looks like libGL is looking in a wrong directory: there is no ‘ /usr/lib/dri/’ on my machine, there is only a ‘/usr/lib64/dri’.
Could this mean that the application in question is 32bit?

with ‘sudo yum install mesa-dri-drivers.i686 mesa-libGL-devel.i686 mesa-libGLU-devel.i686 mesa-libGLU.i686’ i managed to get a ‘/usr/lib/dri/’ with amongst others a swrast_dri.so.

But the program still doesn’t work correctly, but th messages have slightly changed:

Code: Select all

libGL: screen 0 does not appear to be DRI2 capable
libGL: OpenDriver: trying /usr/lib/dri/tls/swrast_dri.so
libGL: OpenDriver: trying /usr/lib/dri/swrast_dri.so
libGL: Can't open configuration file /home/jody/.drirc: No such file or directory.
libGL: Can't open configuration file /home/jody/.drirc: No such file or directory.
libGL error: No matching fbConfigs or visuals found
libGL error: failed to load driver: swrast

In the meantime i have read in an other post

The swrast thing is the software renderer. That means it’s not finding the hardware driver for your graphics card.

So assuming this program is really 32bit, i guess iwould need a 32bit nvidia library

But i seems that ‘kmod-nvidia’ only come as x86_64.
Is there a way to get a kmod-nvidia for 32bit?

Thanks



giulix63

Posts: 1305
Joined: 2014/05/14 10:06:37
Location: UK

Re: after update, failed to load driver swrast

Post

by giulix63 » 2016/02/04 14:33:33

Actually, that library is in mesa-dri-drivers-10.6.5-3.20150824.el7.i686, which is in base.
To find out if the program is 32 bits, run

Substitute program with actual name of executable.

Root is evil: Do not use root (sudo) to run any of the commands specified in my posts unless explicitly indicated. Please, provide the necessary amount of context to understand your problem/question.


jody

Posts: 53
Joined: 2015/05/12 12:58:08

Re: after update, failed to load driver swrast

Post

by jody » 2016/02/04 15:10:08

@stevemowbray, @giulix63:Thank you for your suggestions.

The ‘file’ command indeed showed the program to be 32bit.

I (reinstalled) the package ‘mesa-dri-drivers-10.6.5-3.20150824.el7.i686’, but the program still didn’t work properly.

However, after installing ‘nvidia-x11-drv-32bit.x86_64’ the problem was fixed!

Thanks again
Jody


kaengo

Posts: 24
Joined: 2017/04/24 16:32:51
Contact:

Re: [SOLVED] after update, failed to load driver swrast

Post

by kaengo » 2017/06/09 19:10:25

Hi
I have the same problem
(most apps are running, but salome gives the same error-messages:

export LIBGL_DEBUG=verbose
./salome
WARNING:salomeContext:Overwriting environment variable: QTDIR=/home/user/salome/Salome-V8_2_0-univ/prerequisites/Qt-5611
WARNING:salomeContext:Overwriting environment variable: QT_PLUGIN_PATH=/home/user/salome/Salome-V8_2_0-univ/prerequisites/Qt-5611/plugins
runSalome running on localhost.localdomain
Searching for a free port for naming service: 2813 — OK
Searching Naming Service + found in 0.1 seconds
Searching /Kernel/Session in Naming Service +++++++++Warning: this type (Study,objref) already exists, it will be ignored.
Warning: this type (pyobj,objref) already exists, it will be ignored.
+ found in 5.0 seconds
Start SALOME, elapsed time : 5.2 seconds
.
.
.
libGL: screen 0 does not appear to be DRI2 capable
libGL: OpenDriver: trying /usr/lib64/dri/tls/swrast_dri.so
libGL: OpenDriver: trying /usr/lib64/dri/swrast_dri.so
libGL: Can’t open configuration file /home/user/.drirc: No such file or directory.
libGL: Can’t open configuration file /home/user/.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: GLXUnsupportedPrivateRequest
Major opcode of failed request: 153 (GLX)
Minor opcode of failed request: 16 (X_GLXVendorPrivate)
Serial number of failed request: 53
Current serial number in output stream: 54
user@localhost appli_V8_2_0]$ Terminating SALOME on port 2813…

I tried all your suggestions without success.

So: has anyone an idea?

kaengo
engineer, germany
Centos 7 (hopefully at next time …)


Firstly, before I explain my problem, I have referred to the question previously asked on Ask.Fedora about the libGL error, which can be seen here.

I have been trying to play the game «FTL — Faster Than Light», and I have been running into problems where the graphics perform extraordinarily poorly, and the sound keeps turning into a strange buzzing sound. Upon looking further, I noticed that my Terminal outputted the following message during the game’s launch.

libGL error: failed to load driver: swrast
libGL error: Try again with LIBGL_DEBUG=verbose for more details.

After doing some further research, it would appear that this issue has affected multiple people on numerous distributions of Linux, all with different solutions. Below, I have provided as much information as I can to help diagnose my specific issue.

This also seems to be similar to Bug 971437 on the Red Hat bug tracker

When getting libGL debug info on glxinfo:

$ LIBGL_DEBUG=verbose glxinfo | grep direct
libGL: screen 0 does not appear to be DRI2 capable
libGL: OpenDriver: trying /usr/lib64/dri/tls/swrast_dri.so
libGL: OpenDriver: trying /usr/lib64/dri/swrast_dri.so
libGL: Can't open configuration file /home/jflory/.drirc: No such file or directory.
libGL: Can't open configuration file /home/jflory/.drirc: No such file or directory.
direct rendering: Yes

I have a feeling there is some sort of issue with my graphics card, because I am VERY new to Linux and I’m unsure about what I may need to properly be able to run games. Below, I have some of the numerous packages I have tried to install during this process.

$ cat /etc/ld.so.conf.d/nvidia-lib64.conf
cat: /etc/ld.so.conf.d/nvidia-lib64.conf: No such file or directory

$ cat /etc/ld.so.conf.d/nvidia-lib.conf
cat: /etc/ld.so.conf.d/nvidia-lib.conf: No such file or directory

$ sudo yum install mesa-libglapi
Loaded plugins: langpacks, refresh-packagekit
Package mesa-libglapi-9.2.5-1.20131220.fc20.x86_64 already installed and latest version
Nothing to do

$ sudo yum install xorg-x11-drv-nvidia-libs.i686
Loaded plugins: langpacks, refresh-packagekit
No package xorg-x11-drv-nvidia-libs.i686 available.
Error: Nothing to do

I have installed a few more things across the course of the night, but none of them seemed to have done any good, so I don’t think they are relevant.

If any more information is needed, please let me know and I will provide. As a reminder, I am very new to Linux in general and I am still learning, so I am not the most familiar with all the different UNIX operations I am able to do.

Here’s a quick rundown of my system specs:

$ uname -a
Linux localhost.localdomain 3.12.5-302.fc20.x86_64 #1 SMP Tue Dec 17 20:42:32 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux

$ grep "model name" /proc/cpuinfo
model name      : Intel(R) Core(TM) i3-3120M CPU @ 2.50GHz

Edit #1

I ran sudo yum install mesa-dri-drivers and it appeared it is already installed on my system.

$ sudo yum install mesa-dri-drivers
Loaded plugins: langpacks, refresh-packagekit
Dropbox                                            |  951 B     00:00     
google-chrome                                      |  951 B     00:00     
updates/20/x86_64/metalink                         |  18 kB     00:00     
updates                                            | 4.6 kB     00:00     
updates/20/x86_64/primary_db                         | 3.0 MB   00:06     
updates/20/x86_64/updateinfo   FAILED                                          
ftp://mirror.nexicom.net/pub/fedora/linux/updates/20/x86_64/repodata/updateinfo.xml.gz: [Errno 14] curl#56 - "response reading failed"
Trying other mirror.
(1/2): updates/20/x86_64/updateinfo                  | 309 kB   00:01     
(2/2): updates/20/x86_64/pkgtags                     | 755 kB   00:23     
Package mesa-dri-drivers-9.2.5-1.20131220.fc20.x86_64 already installed and latest version
Nothing to do

Edit #2

After executing lspci -vvv -s 00:02.0, my output was the following:

# lspci -vvv -s 00:02.0
00:02.0 VGA compatible controller: Intel Corporation 3rd Gen Core processor Graphics Controller (rev 09) (prog-if 00 [VGA controller])
    Subsystem: Toshiba America Info Systems Device fa20
    Control: I/O+ Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
    Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
    Interrupt: pin A routed to IRQ 16
    Region 0: Memory at c8000000 (64-bit, non-prefetchable) [size=4M]
    Region 2: Memory at c0000000 (64-bit, prefetchable) [size=128M]
    Region 4: I/O ports at 4000 [size=64]
    Expansion ROM at <unassigned> [disabled]
    Capabilities: [90] MSI: Enable- Count=1/1 Maskable- 64bit-
        Address: 00000000  Data: 0000
    Capabilities: [d0] Power Management version 2
        Flags: PMEClk- DSI+ D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
        Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-
    Capabilities: [a4] PCI Advanced Features
        AFCap: TP+ FLR+
        AFCtrl: FLR-
        AFStatus: TP-

Понравилась статья? Поделить с друзьями:
  • Wine gnutls error no or insufficient priorities were set
  • Wine error 0x8001011d
  • Wine cmd exe c echo programfiles returned empty string error message
  • Wine cmd exe c echo program files returned empty string error message
  • Wine client error 0 version mismatch