You are not logged in.

#1 2020-12-27 19:45:28

keddad
Member
Registered: 2020-12-27
Posts: 7

[SOLVED] libGL error: No matching fbConfigs or visuals found

I've encountered a problem like one in this topic: when I start Steam I get libGL errors:

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

Ubuntu forum says that this can be caused by conflict (?) of Mesa/Nvidia LibGL libraries. But, apparently, they are fine in my case:

sudo ldconfig -p | grep -i gl.so                               
        libwayland-egl.so.1 (libc6,x86-64) => /usr/lib/libwayland-egl.so.1
        libwayland-egl.so.1 (libc6) => /usr/lib32/libwayland-egl.so.1
        libwayland-egl.so (libc6,x86-64) => /usr/lib/libwayland-egl.so
        libwayland-egl.so (libc6) => /usr/lib32/libwayland-egl.so
        libobs-opengl.so.0 (libc6,x86-64) => /usr/lib/libobs-opengl.so.0
        libobs-opengl.so (libc6,x86-64) => /usr/lib/libobs-opengl.so
        libQt5OpenGL.so.5 (libc6,x86-64) => /usr/lib/libQt5OpenGL.so.5
        libQt5OpenGL.so (libc6,x86-64) => /usr/lib/libQt5OpenGL.so
        libOpenGL.so.0 (libc6,x86-64) => /usr/lib/libOpenGL.so.0
        libOpenGL.so.0 (libc6) => /usr/lib32/libOpenGL.so.0
        libOpenGL.so (libc6,x86-64) => /usr/lib/libOpenGL.so
        libOpenGL.so (libc6) => /usr/lib32/libOpenGL.so
        libGL.so.1 (libc6,x86-64) => /usr/lib/libGL.so.1
        libGL.so.1 (libc6) => /usr/lib32/libGL.so.1
        libGL.so (libc6,x86-64) => /usr/lib/libGL.so
        libGL.so (libc6) => /usr/lib32/libGL.so
        libEGL.so.1 (libc6,x86-64) => /usr/lib/libEGL.so.1
        libEGL.so.1 (libc6) => /usr/lib32/libEGL.so.1
        libEGL.so (libc6,x86-64) => /usr/lib/libEGL.so
        libEGL.so (libc6) => /usr/lib32/libEGL.so

Another possible reason mentioned are problems with X server config caused by nvidia-xconfig. I am using proprietary Nvidia drivers, but configuration is managed by optimus-manager. From what I can understand, it looks fine.

Section "Files"
        ModulePath "/usr/lib/nvidia"
        ModulePath "/usr/lib32/nvidia"
        ModulePath "/usr/lib32/nvidia/xorg/modules"
        ModulePath "/usr/lib32/xorg/modules"
        ModulePath "/usr/lib64/nvidia/xorg/modules"
        ModulePath "/usr/lib64/nvidia/xorg"
        ModulePath "/usr/lib64/xorg/modules"
EndSection

Section "ServerLayout"
        Identifier "layout"
        Screen 0 "nvidia"
        Inactive "intel"
EndSection

Section "Device"
        Identifier "nvidia"
        Driver "nvidia"
        BusID "PCI:1:0:0"
        Option "Coolbits" "28"
EndSection

Section "Screen"
        Identifier "nvidia"
        Device "nvidia"
        Option "AllowEmptyInitialConfiguration"
EndSection

Section "Device"
        Identifier "intel"
        Driver "modesetting"
        BusID "PCI:0:2:0"
EndSection

Section "Screen"
        Identifier "intel"
        Device "intel"
EndSection

Other apps (like glxgears or vlc) run fine, but I'm not really sure if they are GPU-accelerated. What can cause this problem?

Last edited by keddad (2020-12-27 20:20:15)

Offline

#2 2020-12-27 19:59:02

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,627

Re: [SOLVED] libGL error: No matching fbConfigs or visuals found

If it's just in steam and not the general setup that points to a lack of lib32-nvidia-utils and/or lib32-mesa

Offline

#3 2020-12-27 20:19:58

keddad
Member
Registered: 2020-12-27
Posts: 7

Re: [SOLVED] libGL error: No matching fbConfigs or visuals found

V1del wrote:

If it's just in steam and not the general setup that points to a lack of lib32-nvidia-utils and/or lib32-mesa

Installing lib32-nvidia-utils solved the problem. Thanks!

Offline

Board footer

Powered by FluxBB