All Steam games crashes after processing vulkan shadders on fedora 38

Hello there !
I’ve been using fedora 38 for a week or two. So far so good until last system update.

My Steam games refuse to launch. Steam app works properly but when I launch a game it processes vulkan shadders (to 100%) and then nothing happens. No window opens and the launching button resets.

I request some help.

Run Steam through the terminal with the steam command, then try to run a game and see what gets printed to the terminal. You might find a clue as to what is going wrong.

Does the problem persist if you boot with an earlier kernel?

What is the output of the inxi -bz command in the terminal?

Do you have the rpmfusion nvidia drivers installed?
Is the nvidia driver loaded into the kernel?

  • look for nvidia in the output of lsmod

Without the rpmfusion nvidia drivers steam will not work.

When I boot from terminal and launch a game, I get this:

Game process added : AppID 1449850 “/home/valentin/.local/share/Steam/ubuntu12_32/reaper SteamLaunch AppId=1449850 – /home/valentin/.local/share/Steam/ubuntu12_32/steam-launch-wrapper – ‘/home/valentin/.local/share/Steam/steamapps/common/SteamLinuxRuntime_sniper’/_v2-entry-point --verb=waitforexitandrun – ‘/home/valentin/.local/share/Steam/steamapps/common/Proton - Experimental’/proton waitforexitandrun ‘/home/valentin/.local/share/Steam/steamapps/common/Yu-Gi-Oh! Master Duel/masterduel.exe’”, ProcID 6381, IP 0.0.0.0:0
chdir “/home/valentin/.local/share/Steam/steamapps/common/Yu-Gi-Oh! Master Duel”
ERROR: ld.so: object ‘/home/valentin/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so’ from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object ‘/home/valentin/.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so’ from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
ERROR: ld.so: object ‘/home/valentin/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so’ from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object ‘/home/valentin/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so’ from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object ‘/home/valentin/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so’ from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
GameAction [AppID 1449850, ActionID 1] : LaunchApp changed task to WaitingGameWindow with “”
GameAction [AppID 1449850, ActionID 1] : LaunchApp changed task to Completed with “”
WARNING: discarding _NET_WM_PID 2 as invalid for X11 window - use specialized XCB_X11_TO_PID function!
WARNING: discarding _NET_WM_PID 2 as invalid for X11 window - use specialized XCB_X11_TO_PID function!
WARNING: discarding _NET_WM_PID 2 as invalid for X11 window - use specialized XCB_X11_TO_PID function!
fsync: up and running.
wine: RLIMIT_NICE is <= 20, unable to use setpriority safely
ThreadGetProcessExitCode: no such process 6499
ThreadGetProcessExitCode: no such process 6497
ThreadGetProcessExitCode: no such process 6383
ThreadGetProcessExitCode: no such process 6502
Game process updated : AppID 1449850 “/home/valentin/.local/share/Steam/ubuntu12_32/reaper SteamLaunch AppId=1449850 – /home/valentin/.local/share/Steam/ubuntu12_32/steam-launch-wrapper – ‘/home/valentin/.local/share/Steam/steamapps/common/SteamLinuxRuntime_sniper’/_v2-entry-point --verb=waitforexitandrun – ‘/home/valentin/.local/share/Steam/steamapps/common/Proton - Experimental’/proton waitforexitandrun ‘/home/valentin/.local/share/Steam/steamapps/common/Yu-Gi-Oh! Master Duel/masterduel.exe’”, ProcID 6498, IP 0.0.0.0:0
Setting breakpad minidump AppID = 1449850
Steam_SetMinidumpSteamID: Caching Steam ID: 76561198070934675 [API loaded no]
ThreadGetProcessExitCode: no such process 6624
ThreadGetProcessExitCode: no such process 6591
ThreadGetProcessExitCode: no such process 6588
ThreadGetProcessExitCode: no such process 6547
pid 6500 != 6499, skipping destruction (fork without exec?)
Game process removed: AppID 1449850 “/home/valentin/.local/share/Steam/ubuntu12_32/reaper SteamLaunch AppId=1449850 – /home/valentin/.local/share/Steam/ubuntu12_32/steam-launch-wrapper – ‘/home/valentin/.local/share/Steam/steamapps/common/SteamLinuxRuntime_sniper’/_v2-entry-point --verb=waitforexitandrun – ‘/home/valentin/.local/share/Steam/steamapps/common/Proton - Experimental’/proton waitforexitandrun ‘/home/valentin/.local/share/Steam/steamapps/common/Yu-Gi-Oh! Master Duel/masterduel.exe’”, ProcID 6498
ThreadGetProcessExitCode: no such process 6663
ThreadGetProcessExitCode: no such process 6540
ThreadGetProcessExitCode: no such process 6530
ThreadGetProcessExitCode: no such process 6518
ThreadGetProcessExitCode: no such process 6507
ThreadGetProcessExitCode: no such process 6504
ThreadGetProcessExitCode: no such process 6498
ThreadGetProcessExitCode: no such process 6496
ThreadGetProcessExitCode: no such process 6382
Game 1449850 created interface STEAMAPPLIST_INTERFACE_VERSION001 / AppList
Game 1449850 created interface STEAMAPPS_INTERFACE_VERSION008 / Apps
Game 1449850 created interface STEAMHTMLSURFACE_INTERFACE_VERSION_004 / HTMLSurface
Game 1449850 created interface STEAMHTTP_INTERFACE_VERSION002 / HTTP
Game 1449850 created interface STEAMINVENTORY_INTERFACE_V002 / Inventory
Game 1449850 created interface STEAMMUSICREMOTE_INTERFACE_VERSION001 / MusicRemote
Game 1449850 created interface STEAMMUSIC_INTERFACE_VERSION001 / Music
Game 1449850 created interface STEAMPARENTALSETTINGS_INTERFACE_VERSION001 / ParentalSettings
Game 1449850 created interface STEAMREMOTESTORAGE_INTERFACE_VERSION014 / RemoteStorage
Game 1449850 created interface STEAMSCREENSHOTS_INTERFACE_VERSION003 / Screenshots
Game 1449850 created interface STEAMUGC_INTERFACE_VERSION010 / UGC
Game 1449850 created interface STEAMUSERSTATS_INTERFACE_VERSION011 / UserStats
Game 1449850 created interface STEAMVIDEO_INTERFACE_V002 / Video
Game 1449850 created interface SteamController006 / Controller
Game 1449850 created interface SteamFriends015 / Friends
Game 1449850 created interface SteamMatchMaking009 / Matchmaking
Game 1449850 created interface SteamMatchMakingServers002 / MatchmakingServers
Game 1449850 created interface SteamNetworking005 / Networking
Game 1449850 created interface SteamUser019 / User
Game 1449850 created interface SteamUtils009 / Utils
Game 1449850 method call count for IClientAppManager::GetCurrentLanguage : 1
Game 1449850 method call count for IClientAppManager::GetAvailableLanguages : 1
Game 1449850 method call count for IClientAppManager::GetAppInstallState : 2
Game 1449850 method call count for IClientUtils::RecordSteamInterfaceCreation : 22
Game 1449850 method call count for IClientUtils::GetSteamUILanguage : 1
Game 1449850 method call count for IClientUtils::GetAppID : 24
Game 1449850 method call count for IClientUser::GetSteamID : 1
Uploaded AppInterfaceStats to Steam

The ouput of inxi -bz is:

System:
Kernel: 6.4.4-200.fc38.x86_64 arch: x86_64 bits: 64 Desktop: GNOME v: 44.3
Distro: Fedora release 38 (Thirty Eight)
Machine:
Type: Laptop System: ASUSTeK product: ROG Strix G712LV_G712LV v: 1.0
serial:
Mobo: ASUSTeK model: G712LV v: 1.0 serial:
UEFI: American Megatrends v: G712LV.314 date: 04/26/2021
Battery:
ID-1: BAT0 charge: 35.9 Wh (78.2%) condition: 45.9/66.0 Wh (69.5%)
volts: 15.7 min: 15.7
CPU:
Info: 6-core Intel Core i7-10750H [MT MCP] speed (MHz): avg: 1853
min/max: 800/5000
Graphics:
Device-1: Intel CometLake-H GT2 [UHD Graphics] driver: i915 v: kernel
Device-2: NVIDIA TU106M [GeForce RTX 2060 Mobile] driver: nouveau
v: kernel
Display: wayland server: X.Org v: 22.1.9 with: Xwayland v: 22.1.9
compositor: gnome-shell driver: dri: iris gpu: i915
resolution: 1920x1080~120Hz
API: OpenGL v: 4.6 Mesa 23.1.4 renderer: Mesa Intel UHD Graphics (CML GT2)
Network:
Device-1: Intel Comet Lake PCH CNVi WiFi driver: iwlwifi
Device-2: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
driver: r8169
Drives:
Local Storage: total: 931.51 GiB used: 38.72 GiB (4.2%)
Info:
Processes: 393 Uptime: 25m Memory: available: 15.39 GiB
used: 3.1 GiB (20.1%) Shell: Bash inxi: 3.3.27

I have the rpm-fusion-nonfree-nvidia-driver installed

The inxi output shows that the nouveau driver has been loaded instead of the Nvidia driver.

As @petzaa said the nvidia driver is not being used.

And that happens for one of two reasons tupically.
You have secure boot enabled but you do not have signed nvidia drivers.
You can turn off secure boot in the bios or more owrk is to install a signing key and have akmod build and sign the drivers.

The other reason is that akmod has not built the drivers.
I think the command akmod —force will help.
(Not sure i have that command right).

1 Like

Thank for the help !

After rebooting in BIOS and disabling secure boot the driver’s switched to nvidia and I can launch games again !

Is there a risk to load without secure boot ?

How can I fix the drivers with the signed key thing ?

Creating and enrolling the key is shown in /usr/share/doc/akmods/README.secureboot
Once that is done then the modules may be signed in 2 steps.

  1. remove the unsigned module sudo dnf remove kmod-nvidia-$(uname -r)
  2. recreate the modules which would now be signed with sudo akmods --force

Finally, after waiting about 5 minutes following the completion of step 2 one may reboot, during which one may reenable secure boot, and complete booting. The signed modules should now be loaded properly.

Update:

I fixed the secure boot with nvidia driver by folowing this recipe:

  • Enable secure boot in BIOS (if not allready enabled)

  • Uninstall the nvidia driver

  • install utilities → sudo dnf install kmodtool akmods mokutil openssl

  • Generate signin key → sudo kmodgenca -a

  • Inroll the new key → sudo mokutil --import /etc/pki/akmods/certs/public_key.der
    type a password for the new key

  • sudo reboot

  • During reboot you are in MOK management interface ( :warning: keyboard is default mapped to qwerty):
    select ENROLL MOK → Continue → yes → enter the previous password → reboot option

  • Reinstall nvidia driver (via commandline or software store)

  • Check if kernel modules got compiled: sudo akmods --force

  • Check if boot image got updated: sudo dracut --force

  • sudo reboot

Computer should reboot in secure mod with the nvidia driver enabled.

Thanks for the help everyone ! :smiley: :desktop_computer:

Much simpler to do dnf list installed kmod-nvidia* and look for the one that matches your kernel.

Also much easier to remove only the modules then rebuild the same with
dnf remove kmod-nvidia-$(uname -r)
and then
akmods --force
These two steps do not require anything other than removing the locally built package and then rebuilding that same package.

I still get the module loading failing back to nouveau after updates.

sudo akmod -force
sudo reboot

Is usually enough to reload nvidia module into the kernel (once you have the keys generated as explained above).

One cannot load video drivers after the system has booted.
Please show us the installed packages with dnf list installed '*nvidia*' and the running kernel with uname -r