I upgraded my Fedora installation from Fedora 30 to 31 yesterday, but then I noticed that steam (as well as Lutris games) wouldn’t start any longer due to missing proprietary 32 bit nvidia driver libraries. So I installed them and Steam starts, but every game fails to start. I believe that something went wrong during upgrading and there somehow is a mess regarding the drivers on my system, as all games report
libGL error: No matching fbConfigs or visuals found
libGL error: failed to load driver: swrast
I’d like to post some terminal output showing my current driver situation, but I don’t know which command I should use. The graphics card is a Nvidia GTX 1060.
If you wish to have 3D acceleration in 32bit packages such as Wine, be sure to install the appropriate 32bit version of the xorg-x11-drv-nvidia-libs package for your driver variant. For example, if you installed kmod-nvidia then you will require xorg-x11-drv-nvidia-libs.i686. With Current Fedora (not EL), this is handled automatically by RPM (Boolean dependencies).
It says that is handled automatically, maybe you can try delete this package and uninstall the nvidia driver to do a clean installation of the driver again.
Maybe a clean “reinstall” can help you with this issue.
I read it all and tried to do the full uninstall & reinstall, even rebooted several times, but it’s still as before. Is it normal that Fedora works normally even when I uninstalled all graphic card drivers and rebooted?
Unfortunately, this did not work and even though akmod-nvidia is installed, no driver is present any more as the system fell back to a resolution of 1024x768 whereas it used 1920x1080 before.
I use an AMD Ryzen 5 2600 processor which does not have an internal GPU.
I feel like akmod-nvidia is not building any driver for my system.
The last command shows firewalld-sysctls.conf lockd.conf nvdimm-security.conf
I did uninstall everything according to the rpm fusion howto and even followed the “How to recover from Nvidia Installer section”, rebootet and ran sudo dnf install akmod-nvidia
waited for a few minutes and rebooted, but the still, everything would fail with the libGL error. Sometime later I did an update of my system, where I noticed after shutting down and starting my computer again today, that the resolution fell back to 1024x768.
Maybe you do have a low resolution in the boot process if you have not loaded the nvidia-drm.modeset=1 in the boot parameters or don’t exit one nvidia.conf file into the /etc/modprobe.d/ to do use of this option with the syntax options nvidia-drm modeset=1 like you can see the syntax is different from the boot parameter.
Possibly adding simply nvidia-drm.modeset=1 to the boots parameters should do the trick with your resolution problem in the shutting down and starting process.
Thank you very much. Interestingly, I don’t have a xorg.conf file, so I cannot compare anything.
I added the kernel boot parameters and was succesful in restoring the FullHD resolution, but the cursor is behaving very strangely and is basically unusable, as it is like dragging it through gel and also it sometimes moves by itself. Additionally, the libGL error still persists.
Check that you are not running in wayland session ( i have amd GPU) because nvidia privative driver is not going to work property, to check it you can do it.
In my case I am running wayland session so the commands refereed in the link above show that i am using wayland, in your case the first command would show nothing and the last command your session should be type=X11
If you are running wayland you can change to x11 in the moment you do the login through the button with form of gear and choose Gnome X11.
If you are running in X11 you can change your monitor settings and create a xorg.conf trough the app that was installed in your desktop refereed to nvidia where you will can change resolution and different parameters so how save one xorg with them in the option save. You can check for documentation and videos in google about how this app does work if you don’t know
And if nothing work like said before do a clean install because i can not imagine why you do have one thing and others no if you did delete things go to you dnf.log and roll back them. But if it take too much time try with fresh install
Thanks for your great support, I appreciate it. I just finished creating a new Fedora 31 installation on another partition and copying my home partition. The resolution is fine, and I can access nvidia-settings
so I guess everything is fine now.