Hello! When running any video game in Lutris (LMDE 7) it crashes. It doesn’t matter if they’re Windows (run via Wine) or ProtonDB based. It worked almost flawlessly some days before it suddenly stopped working. Maybe I did some configuration that broke it all. When using Steam, it runs flawlessly. It’s only Lutris and even Heroic.
The log when opening Metro 2033 Redux as reference:
Started initial process 19668 from gamescope -w 2560 -h 1440 -W 2560 -H 1440 -f – gamemoderun (…)/lutris/runners/wine/lutris-7.2-2-x86_64/bin/wine (…)/drive_c/GOG Games/Metro 2033 Redux/metro.exe Start monitoring process. No CAP_SYS_NICE, falling back to regular-priority compute and threads. Performance will be affected. wlserver: [backend/headless/backend.c:82] Creating headless backend vulkan: selecting physical device ‘NVIDIA GeForce RTX 3070 Ti’: queue family 2 vulkan: physical device supports DRM format modifiers vulkan: vkCreateDevice failed (VkResult: -7) Failed to initialize Vulkan Monitored process exited. Initial process has exited (return code: 256) All processes have quit Exit with return code 256
I have had no clue of how to solve this for at least one week.
For context: I’m a total beginner in Linux. Came from windows 10 just like 2 months ago. No background in programing or anything related.
If I’m missing any info of value let me know. Thanks!
EDIT:
Here’s the process I followed to solve it:
-
Disabled Gamescope. It made all games work except one that was installed via Bottles and linked to Lutris later. I have to fix gamescope.
-
Ran this script by u/dgdft and solved the gamescope issue:
echo 'options nvidia-drm modeset=1' | sudo tee /etc/modprobe.d/nvidia-drm-modeset.conf
sudo update-initramfs -u
sudo reboot
-
Tried installing another windows based game. It worked. The problem wasn’t Lutris or even windows games, just that one single game.
-
Added the game that was giving me trouble in Steam as a non steam game. To do that you make the new blank non steam game target the .exe of the game you want it to run. Then link the savefiles (located in “<Steam-folder>/steamapps/compatdata/{game’s app ID}/pfx”) and the game was working flawless.
-
Came back to Lutris and “Add locally installed game”: [Game info] Runner: Wine (bc I want to run a Windows game) [Game options] Executable: The same .exe as the steam game [Game options] Working directory: Same as steam game [Runner options] Wine version: Same as steam game (Proton Experimental)
-
Looked at the differences between the original Lutris game runner and the new I created and tested each one. Realised it was just the runner; I thought I tried each one I had available: totally wrong haha.
Extra non-related tip: Metro 2033 Redux made my GPU and fans go nuts. Enabled Vsync and solved it.
Summary: Turning on kernel mode setting (KMS) for NVIDIA’s DRM driver for the gamescope issue and using a different wine version (Proton Experimental in my case)
Thank you everybody and specially u/dgdft, u/LeighWeighTacoma, u/exupulosion@sh.itjust.works, u/yaroto98 for giving me the tips that helped me the most solve it.


Based on that output, I agree with the other comment that gamescope is your culprit. Try running this:
sudo cat /sys/module/nvidia_drm/parameters/modesetIt was in the last set, but I left off the sudo prefix on accident. If it outputs “N” or “0”, we’ve got an answer: gamescope needs KMS to run, but you’ve got an older GPU driver version (v550) and DRM (which KMS depends on) isn’t turned on by default until v560 per https://wiki.archlinux.org/title/NVIDIA#DRM_kernel_mode_setting.
So if that is the issue, this should sort you out as a fix and get gamescope running again. Be aware that it’ll reboot your PC in the process:
echo 'options nvidia-drm modeset=1' | sudo tee /etc/modprobe.d/nvidia-drm-modeset.conf sudo update-initramfs -u sudo rebootSeems like just Disco Elysium isn’t working. I did what you said and now the log is pretty different:
Started initial process 4808 from gamescope -w 2560 -h 1440 -W 2560 -H 1440 -r 144 -f – gamemoderun [REDACTED]/lutris/runners/wine/lutris-7.2-2-x86_64/bin/wine cmd /C Run Me!.bat Start monitoring process. No CAP_SYS_NICE, falling back to regular-priority compute and threads. Performance will be affected. wlserver: [backend/headless/backend.c:82] Creating headless backend vulkan: selecting physical device ‘NVIDIA GeForce RTX 3070 Ti’: queue family 2 vulkan: physical device supports DRM format modifiers vulkan: supported DRM formats for sampling usage: vulkan: 0x34325241 vulkan: 0x34325258 vulkan: 0x3231564E wlserver: Running compositor on wayland display ‘gamescope-0’ wlserver: [backend/headless/backend.c:18] Starting headless backend wlserver: [xwayland/server.c:92] Starting Xwayland on :0 wlserver: [types/wlr_surface.c:748] New wlr_surface 0x55afcc1f5e50 (res 0x55afcbd980c0) wlserver: [xwayland/server.c:250] Xserver is ready pipewire: stream state changed: connecting pipewire: stream state changed: paused pipewire: stream available on node ID: 79 ERROR: ld.so: object ‘libgamemodeauto.so.0’ from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored. ERROR: ld.so: object ‘libgamemodeauto.so.0’ from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored. fsync: up and running. ERROR: ld.so: object ‘libgamemodeauto.so.0’ from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored. ERROR: ld.so: object ‘libgamemodeauto.so.0’ from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored. gamemodeauto: (EE) failed to read Wayland events: Broken pipe Monitored process exited. Initial process has exited (return code: 0) All processes have quit Exit with return code 0