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:

  1. Disabled Gamescope. It made all games work except one that was installed via Bottles and linked to Lutris later. I have to fix gamescope.

  2. 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
  1. Tried installing another windows based game. It worked. The problem wasn’t Lutris or even windows games, just that one single game.

  2. 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.

  3. 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)

  4. 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.

  • andrewta@lemmy.world
    link
    fedilink
    English
    arrow-up
    11
    ·
    3 days ago

    I’m just jumping in here to say welcome to Linux mint and I hope these people get things sorted for you.

  • muhyb@programming.dev
    link
    fedilink
    English
    arrow-up
    7
    ·
    2 days ago

    This usually happens when you update your system but not flatpak. Update flatpak and it should be fine.

      • muhyb@programming.dev
        link
        fedilink
        English
        arrow-up
        2
        ·
        16 hours ago

        No problem!

        That’s a shame, most of the time it’s this easy but I guess this is a different problem. By the way, I had a similar issue recently, my Lutris was also from flatpak and the games inside stopped working. I switched to my distro’s native package and it’s working again. So it seems this is related to flatpak’s containerization, no idea what’s change with the recent updates though. No problem on Heroic.

  • dgdft@lemmy.world
    link
    fedilink
    English
    arrow-up
    10
    ·
    3 days ago

    Good job putting this together! Lots of useful info in your post.

    My eye is locking onto this bit in the logs: vkCreateDevice failed (VkResult: -7). Vulkan is failing to initialize, seemingly because of some missing extension.

    Try these for us and share your output, if you’d be so kind. Feel free to scrub any parts you don’t wanna share with a [REDACTED]. I’m mostly going off memory so some of them may fail and that’s okay:

    sudo dmesg | grep -i err | tail -10
    nvidia-smi
    inxi -Gxx
    which vulkaninfo
    which amdvlk
    which vulkan-intel
    vulkaninfo --summary
    gamescope -- vkcube
    vkcube
    cat /sys/module/nvidia_drm/parameters/modeset
    
    • Well1@lemmy.worldOP
      link
      fedilink
      English
      arrow-up
      6
      arrow-down
      1
      ·
      3 days ago

      Thanks for your kind reply! Here’s what it returns:

      [ 0.461210] ACPI: PCI: Interrupt link LNKC configured for IRQ 0 [ 0.461258] ACPI: PCI: Interrupt link LNKD configured for IRQ 0 [ 0.461302] ACPI: PCI: Interrupt link LNKE configured for IRQ 0 [ 0.461339] ACPI: PCI: Interrupt link LNKF configured for IRQ 0 [ 0.461376] ACPI: PCI: Interrupt link LNKG configured for IRQ 0 [ 0.461412] ACPI: PCI: Interrupt link LNKH configured for IRQ 0 [ 0.488486] AMD-Vi: Interrupt remapping enabled [ 1.401453] RAS: Correctable Errors collector initialized. [ 4.003006] sd 4:0:0:0: [sda] Preferred minimum I/O size 4096 bytes [ 7058.871691] xhci_hcd 0000:02:00.0: xHC error in resume, USBSTS 0x401, Reinit Mon Oct 26 21:13:20 2026
      ±----------------------------------------------------------------------------------------+ | NVIDIA-SMI 550.163.01 Driver Version: 550.163.01 CUDA Version: 12.4 | |-----------------------------------------±-----------------------±---------------------+ | GPU Name Persistence-M | Bus-Id Disp.A | Volatile Uncorr. ECC | | Fan Temp Perf Pwr:Usage/Cap | Memory-Usage | GPU-Util Compute M. | | | | MIG M. | |=========================================+========================+======================| | 0 NVIDIA GeForce RTX 3070 Ti Off | 00000000:07:00.0 On | N/A | | 0% 41C P5 41W / 310W | 4195MiB / 8192MiB | 20% Default | | | | N/A | ±----------------------------------------±-----------------------±---------------------+

      ±----------------------------------------------------------------------------------------+ | Processes: | | GPU GI CI PID Type Process name GPU Memory | | ID ID Usage | |=========================================================================================| | 0 N/A N/A 2706 G /usr/lib/xorg/Xorg 2830MiB | | 0 N/A N/A 3028 G cinnamon 112MiB | | 0 N/A N/A 3118 G /usr/bin/python3 15MiB | | 0 N/A N/A 6714 G …bian-installation/ubuntu12_32/steam 122MiB | | 0 N/A N/A 7040 G ./steamwebhelper 175MiB | | 0 N/A N/A 17635 G …cess-track-uuid=3190708988185955192 590MiB | | 0 N/A N/A 18392 G …allation/ubuntu12_64/steamwebhelper 21MiB | | 0 N/A N/A 18612 G …cess-track-uuid=3190708988185955192 303MiB | ±----------------------------------------------------------------------------------------+ Graphics: Device-1: Blackmagic Design [REDACTED] driver: blackmagic-io v: 16.4a1 pcie: speed: 5 GT/s lanes: 4 bus-ID: 04:00.0 chip-ID: [REDACTED] Device-2: NVIDIA GA104 [GeForce RTX 3070 Ti] vendor: ZOTAC driver: nvidia v: 550.163.01 arch: Ampere pcie: speed: 5 GT/s lanes: 16 bus-ID: 07:00.0 chip-ID: [REDACTED] Display: x11 server: X.Org v: 21.1.16 with: Xwayland v: 24.1.6 driver: X: loaded: nvidia gpu: blackmagic-io,nvidia display-ID: :1 screens: 1 Screen-1: 0 s-res: 10240x2880 s-dpi: 120 Monitor-1: DP-0 pos: primary,right res: 2560x1440 hz: 60 dpi: 109 diag: 685mm (26.97") Monitor-2: HDMI-0 pos: left res: 3840x2160 hz: 60 dpi: 163 diag: 685mm (26.97") API: EGL v: 1.5 platforms: device: 0 drv: nvidia device: 2 drv: swrast gbm: drv: kms_swrast surfaceless: drv: nvidia x11: drv: nvidia inactive: wayland,device-1 API: OpenGL v: 4.6.0 compat-v: 4.5 vendor: nvidia mesa v: 550.163.01 glx-v: 1.4 direct-render: yes renderer: NVIDIA GeForce RTX 3070 Ti/PCIe/SSE2 API: Vulkan v: 1.4.309 surfaces: xcb,xlib device: 0 type: discrete-gpu driver: nvidia device-ID: 10de:2482 device: 1 type: cpu driver: mesa llvmpipe device-ID: 10005:0000 Info: Tools: api: eglinfo, glxinfo, vulkaninfo gpu: nvidia-settings,nvidia-smi x11: xdriinfo, xdpyinfo, xprop, xrandr /usr/bin/vulkaninfo WARNING: [Loader Message] Code 0 : Layer VK_LAYER_NV_optimus uses API version 1.3 which is older than the application specified API version of 1.4. May cause issues.

      VULKANINFO

      Vulkan Instance Version: 1.4.309

      Instance Extensions: count = 24

      VK_EXT_acquire_drm_display : extension revision 1 VK_EXT_acquire_xlib_display : extension revision 1 VK_EXT_debug_report : extension revision 10 VK_EXT_debug_utils : extension revision 2 VK_EXT_direct_mode_display : extension revision 1 VK_EXT_display_surface_counter : extension revision 1 VK_EXT_headless_surface : extension revision 1 VK_EXT_surface_maintenance1 : extension revision 1 VK_EXT_swapchain_colorspace : extension revision 4 VK_KHR_device_group_creation : extension revision 1 VK_KHR_display : extension revision 23 VK_KHR_external_fence_capabilities : extension revision 1 VK_KHR_external_memory_capabilities : extension revision 1 VK_KHR_external_semaphore_capabilities : extension revision 1 VK_KHR_get_display_properties2 : extension revision 1 VK_KHR_get_physical_device_properties2 : extension revision 2 VK_KHR_get_surface_capabilities2 : extension revision 1 VK_KHR_portability_enumeration : extension revision 1 VK_KHR_surface : extension revision 25 VK_KHR_surface_protected_capabilities : extension revision 1 VK_KHR_wayland_surface : extension revision 6 VK_KHR_xcb_surface : extension revision 6 VK_KHR_xlib_surface : extension revision 6 VK_LUNARG_direct_driver_loading : extension revision 1

      Instance Layers: count = 8

      VK_LAYER_INTEL_nullhw INTEL NULL HW 1.1.73 version 1 VK_LAYER_MESA_device_select Linux device selection layer 1.4.303 version 1 VK_LAYER_MESA_overlay Mesa Overlay layer 1.4.303 version 1 VK_LAYER_NV_optimus NVIDIA Optimus layer 1.3.277 version 1 VK_LAYER_VALVE_steam_fossilize_32 Steam Pipeline Caching Layer 1.3.207 version 1 VK_LAYER_VALVE_steam_fossilize_64 Steam Pipeline Caching Layer 1.3.207 version 1 VK_LAYER_VALVE_steam_overlay_32 Steam Overlay Layer 1.3.207 version 1 VK_LAYER_VALVE_steam_overlay_64 Steam Overlay Layer 1.3.207 version 1

      Devices:

      GPU0: apiVersion = 1.3.277 driverVersion = 550.163.1.0 vendorID = 0x10de deviceID = 0x2482 deviceType = PHYSICAL_DEVICE_TYPE_DISCRETE_GPU deviceName = NVIDIA GeForce RTX 3070 Ti driverID = DRIVER_ID_NVIDIA_PROPRIETARY driverName = NVIDIA driverInfo = 550.163.01 conformanceVersion = 1.3.7.2 deviceUUID = [REDACTED] driverUUID = [REDACTED] GPU1: apiVersion = 1.4.305 driverVersion = 0.0.1 vendorID = 0x10005 deviceID = 0x0000 deviceType = PHYSICAL_DEVICE_TYPE_CPU deviceName = llvmpipe (LLVM 19.1.7, 256 bits) driverID = DRIVER_ID_MESA_LLVMPIPE driverName = llvmpipe driverInfo = Mesa 25.0.7-2+deb13u1 (LLVM 19.1.7) conformanceVersion = 1.3.1.1 deviceUUID = [REDACTED] driverUUID = [REDACTED] 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 Selected WSI platform: xcb Selected GPU 0: NVIDIA GeForce RTX 3070 Ti, type: DiscreteGpu cat: /sys/module/nvidia_drm/parameters/modeset: Permission denied.

      • dgdft@lemmy.world
        link
        fedilink
        English
        arrow-up
        9
        ·
        3 days ago

        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/modeset

        It 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 reboot
        
        • Well1@lemmy.worldOP
          link
          fedilink
          English
          arrow-up
          1
          ·
          17 hours ago

          Seems 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

    • Well1@lemmy.worldOP
      link
      fedilink
      English
      arrow-up
      5
      ·
      3 days ago

      I was about to send a reply saying I already tried that and didn’t work. Guess what: it kinda worked haha. I tried opening Metro 2033 and worked (weird thing: My GPU and fans or whatever started go berserk. Didn’t stop until I activated VSync, smh). Now what I would need to solve would be being able to run locally preinstalled games (the one I have was installed via Bottles) and fix gamescope so I can use it without crashing. Thank you very much!

      • Leigh Weigh@lemmy.world
        link
        fedilink
        English
        arrow-up
        4
        ·
        2 days ago

        Most things can be installed via steam now as well. I stopped using lutris completely. You can go to install non steam game, find your game in your files and add it. Then go into the settings before you run it and force it to run with proton. Proton experimental seems to have covered most of my games but you can go a search and see what other people have had luck with.

          • Well1@lemmy.worldOP
            link
            fedilink
            English
            arrow-up
            1
            ·
            16 hours ago

            I tried it and it worked! The only issue I’m having now is that it can’t read the savefiles and I don’t know how to fix that. I’ll keep updating.

  • Not a newt@piefed.ca
    link
    fedilink
    English
    arrow-up
    3
    ·
    3 days ago

    Just to rule out the simple stuff - have you restarted your computer? Some drivers get kernel-specific versions, and if you ran updates recently then you may have the version built for the newer kernel but might still be running the old one. A restart would address this.

    • Well1@lemmy.worldOP
      link
      fedilink
      English
      arrow-up
      2
      ·
      3 days ago

      Yeah, I turned on and off several times the system since it started at least one week ago

  • yaroto98@lemmy.world
    link
    fedilink
    English
    arrow-up
    3
    ·
    3 days ago

    I recently switched from proton-ge to proton-cachyos. When I did that it broke the configs, and had a similar issue. I wonder if an update is having the same symotoms of nullifying your wine-cfg.

    Go into heroic edit a game’s configs and see if there’s an empty wine-cfg. Try pointing it to proton-experimental or whatever you were using before. It’s just a dropdown selector.

            • Well1@lemmy.worldOP
              link
              fedilink
              English
              arrow-up
              2
              ·
              17 hours ago

              I installed Bioshock Remaster, which seems to be Windows. It opens with no problems.

              • yaroto98@lemmy.world
                link
                fedilink
                English
                arrow-up
                2
                ·
                17 hours ago

                Awesome! Maybe you should uninstall and re-install a game that wasn’t working. Make a copy of any saves first if you want to keep them. Likely something got borked in the update and didn’t convert the old installed games to the new config.

  • AcornTickler@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    2
    ·
    3 days ago

    Do you know if you have installed those through flatpak or not? You can verify this by running flatpak list in a terminal. It would be helpful if you shared the entire output of that command, particularly relevant parts would be about Nvidia drivers.