You are not logged in.
Pages: 1
Hey everyone,
So I've made a bit of a mistake in configuring my graphics drivers that seems to have broken Steam in some way. I was setting up Lutris, which requires vulkan to work properly. Following the Lutris dcoumentation, I found that for Arch, I should install the following packages: lib32-mesa vulkan-intel lib32-vulkan-intel vulkan-icd-loader lib32-vulkan-icd-loader
This fixed Lutris, but Steam will no longer launch, failing with the error:
libGL error: MESA-LOADER: failed to open iris (search paths /usr/lib32/dri)
libGL error: failed to load driver: iris
libGL error: MESA-LOADER: failed to open iris (search paths /usr/lib32/dri)
libGL error: failed to load driver: iris
libGL error: MESA-LOADER: failed to open swrast (search paths /usr/lib32/dri)
libGL error: failed to load driver: swrast
Steam: An X Error occurred
I've decided that I should just uninstall the vulkan libraries, but when I try to run sudo pacman -Rs lib32-mesa vulkan-intel lib32-vulkan-intel vulkan-icd-loader lib32-vulkan-icd-loader, the system returns:
error: failed to prepare transaction (could not satisfy dependencies)
:: removing vulkan-icd-loader breaks dependency 'vulkan-icd-loader' required by dav1d
:: removing vulkan-icd-loader breaks dependency 'vulkan-icd-loader' required by gst-plugins-bad
:: removing lib32-mesa breaks dependency 'lib32-mesa' required by lib32-libglvnd
:: removing lib32-mesa breaks dependency 'lib32-opengl-driver' required by lib32-libglvnd
Is there some way for me to just get rid of these packages and restore my system to the way it was before I started messing with it?
Thank you for your time and assistance.
Offline
Make backups of your system, so that if things go wrong you can restore it to a working system.
Offline
Yes, I'm starting to realize that that's the sensible and intelligent thing to do; however, I do not have a backup of this system to restore to, so I need to first figure out a way to manually repair the damage I've done.
Offline
Installing vulkan libraries should not prevent your OpenGL from loading properly.
pacman -Qs mesa
pacman -Qs vulkan
pacman -Qs libglvnd
glxinfo -B #Needs mesa-demos
glxinfo32 -B #Needs lib32-mesa-demos
post these in [ code ] [ /code ] tags without the spaces.
Offline
Yes, I'm starting to realize that that's the sensible and intelligent thing to do; however, I do not have a backup of this system to restore to, so I need to first figure out a way to manually repair the damage I've done.
I just had (I think) the exact same problem as you... I honestly believe neither of the answers here provide you the real solution, which is that you need to revert to the old i965 driver - that's what I did myself, for one of my applications (and I've been struggling and puzzling my mind for WEEKS over this)...
For the benefit to other people who arrive here from google (or by other means, with the same problem), as as this isn't too old, I'll just provide to you the solution I found to be 100% working:
MESA_LOADER_DRIVER_OVERRIDE=i965 ./(your-app-name)
. You can read a bit more here: https://linuxreviews.org/Intel_Iris - and actually I also found a bit at https://wiki.archlinux.org/index.php/In … stallation:
Old OpenGL Driver (i965)
As of Mesa 19.2, a new OpenGL driver, Iris, is available for testing. In Mesa 20.0, the Iris driver is promoted to be the default for Gen8+. Certain applications run faster with it. You may disable it and revert to use the old i965 driver by setting the MESA_LOADER_DRIVER_OVERRIDE=i965 environment variable before starting any OpenGL application. This setting does not affect Vulkan applications.
Please confirm if this is the solution and if it works - I think it does... You're welcome.
Offline
Hi @newsboost thank you for your answer! I can confirm that I was experiencing the same issue of
libGL error: MESA-LOADER: failed to open iris
...
and the provided solution of setting environment variable fixed the issue.
Offline
Pages: 1