Lutris Flatpak Doesn't See my Dedicated NVIDIA 4050 GPU

Hi Everyone. I’ve just bumped into a very weird issue, mainly because I had actually just solved it a few days ago and then it just…stopped working for some reason and I can’t figure it out.

So, I have a new gaming laptop and at first I had this same problem in the beginning, but I managed to solve it through Flatseal. At first, Lutris couldn’t even see my NVIDIA 4050 GPU (it was just a blank space in the drop-down list). The default permissions were that Lutris did not have the permission for GPU acceleration. Once that was changed on Flatseal, the problem was solved and I was able to use games with my dedicated GPU without a problem.

A few days later, I tried playing some games on Lutris and I found that they wouldn’t work. I then found that the issue returned that it doesn’t see the GPU and the only way I could get the games to run was to switch over to my Intel integrated GPU. I checked Flatseal, but Lutris still has permission to access GPU acceleration. I should also note that I (believe) I have the latest version of all software and drivers including the NVIDIA 560 driver, DXVK 2.4, Lutris 5.17, etc.

I’ve checked out different solutions to this issue, but nothing seems to work or even be relevant to my issue.

Here is the output of --submit-issue. Please let me know if ther’s anything else that you need to figure out what’s going on.

Ironically, I can already see that the --submit-issue sees the GPU, so I seriously have no idea what’s going on. Any help would be highly appreciated. Anyway, here is some additional info about my system:

             .',;::::;,'.                 user@fedora
         .';:cccccccccccc:;,.             ---------------
      .;cccccccccccccccccccccc;.          OS: Fedora Linux 40 (KDE Plasma) x86_64
    .:cccccccccccccccccccccccccc:.        Host: 82YA (Legion Slim 5 16IRH8)
  .;ccccccccccccc;.:dddl:.;ccccccc;.      Kernel: Linux 6.10.9-200.fc40.x86_64
 .:ccccccccccccc;OWMKOOXMWd;ccccccc:.     Uptime: 1 hour, 12 mins
.:ccccccccccccc;KMMc;cc;xMMc;ccccccc:.    Packages: 3160 (rpm), 22 (flatpak)
,cccccccccccccc;MMM.;cc;;WW:;cccccccc,    Shell: bash 5.2.26
:cccccccccccccc;MMM.;cccccccccccccccc:    Display (CSO161D): 2560x1600 @ 60 Hz (as 1462x914) in 16″ [Built-in]
:ccccccc;oxOOOo;MMM000k.;cccccccccccc:    DE: KDE Plasma 6.1.4
cccccc;0MMKxdd:;MMMkddc.;cccccccccccc;    WM: KWin (Wayland)
ccccc;XMO';cccc;MMM.;cccccccccccccccc'    WM Theme: Breeze
ccccc;MMo;ccccc;MMW.;ccccccccccccccc;     Theme: Breeze (Dark) [Qt], Breeze [GTK3]
ccccc;0MNc.ccc.xMMd;ccccccccccccccc;      Icons: breeze-dark [Qt], breeze-dark [GTK3/4]
cccccc;dNMWXXXWM0:;cccccccccccccc:,       Font: Noto Sans (10pt) [Qt], Noto Sans (10pt) [GTK3/4]
cccccccc;.:odl:.;cccccccccccccc:,.        Cursor: breeze (24px)
ccccccccccccccccccccccccccccc:'.          Terminal: cosmic-term
:ccccccccccccccccccccccc:;,..             CPU: 13th Gen Intel(R) Core(TM) i7-13700H (20) @ 5.00 GHz
 ':cccccccccccccccc::;,.                  GPU 1: NVIDIA GeForce RTX 4050 Max-Q / Mobile [Discrete]
                                          GPU 2: Intel Iris Xe Graphics @ 1.50 GHz [Integrated]
                                          Memory: 7.49 GiB / 31.06 GiB (24%)
                                          Swap: 0 B / 8.00 GiB (0%)
                                          Disk (/): 223.30 GiB / 475.34 GiB (47%) - btrfs
                                          Local IP (wlp0s20f3): 192.168.68.121/24
                                          Battery (L22B4PC2): 79% [AC Connected]
                                          Locale: en_US.UTF-8

Thanks!

Hi,

Edit
Tried out flatpak Lutris. It pulls slightly older org.desktop.Platform.GL/GL32 packages as dependencies, but works. Unlike the Git version, debug doesn’t show Lutris doing a vulkaninfo, so you can probably ignore that.

Would try out the Git version temporarily in a new user account to see if it does detect your second GPU properly - my config is two different manufacturers cards in a destkop, rather than a lappy using integrated. If it does not show, worth logging an issue on Github.

Would try out the Git version temporarily in a new user account to see if it does detect your second GPU properly - my config is two different manufacturers cards in a destkop, rather than a lappy using integrated. If it does not show, worth logging an issue on Github.

I’ll try this out, but could you tell me how to do it? I’m not sure how to get the Git version through flatpak. Or, do you mean that I should install it from dnf?

Thanks!

Apologies for the torrent of information, and since I prefer Debian distros for gaming, your experience is going to vary a bit.

The Git version of Lutris is bleeding edge in terms of updates and is available directly from GitHub.
It runs directly under your user account, rather than flatpak. in case you were not aware, flatpak is a container/sandbox tool. Versions available to dnf will also be somewhat behind Git.

Go to the Lutris website, downloads section - right down the bottom of the page, it has a link to “source” on GitHub.
Please do read the instructions - although not complicated, I’ll summarise: -

  • Install WINE staging, 64 and 32 bit, appropriate to your distro from wineHQ (if you have not already)
  • Check/install your GPU drivers and install the system vulkan package (debian: “libvulkan1”, fedora: I think it’s “vulkan-loader”)
  • Install Lutris pre-reqs. For me, that’s the following python3 packages, plus some tools:
    python3-pil python3-numpy python3-build python3-hatchling python3-installer python3-yaml cabextract vulkan-tools fluidsynth
    … again, the equivalent of those packages for your distro may vary.
  • Install git (if not already installed)

Create your new test user account, login/switch to it, then clone the Lutris Git repository “git clone https://…” (the link from the downloads page.)

After cloning, run cd ./lutris && ./bin/lutris -d for debug.
Wait for it to setup, then see if it picks up both of your GPUs as expected.

To uninstall, logout, switch back to your old user and delete the new user account.

If you decide to stick with Gitris Lutris Git version, let us know.

first run flatpak update and make sure you have the latest packages for everything especially the nvidia drivers.

Next get debug mode for lutris using flatpak run net.lutris.Lutris -d

Copy the output from terminal (lutris has to be closed as the command above is used to launch it) to pastebin or some other sharing service and drop the link here. Lets check what is actually happening on your machine.