I just installed Tumbleweed on my brand new MSI gaming computer, with Intel Core i7 and hybrid Intel/Nvidia GPU.
My goal is to successfully launch Steam games on the GPU.
This thread relates which, where and how I got the drivers for my Nvidia GPU.
And this one tells the tale of Steam not having access to my audio (there isn’t much information there but it explains why I’m trying to use Flatpak: because the sound works, unlike with Zypper).
All in all, here’s the situation:
- if I install Steam with Zypper, games work both native and with Proton v7 (I need to connect to EA Games for some, and it seems v7 is supposed to be better than the latest ones for that, or so it seems to me), but I have no sound;
- if I install Steam with Flatpak, I can install and run any game successfuly on the GPU… so long as I don’t reboot. After a reboot, I can still launch Steam but games crash immediatly when I launch them (button goes from “Play” to “Cancel” to “Stop” and back to “Play” in less than 2 seconds).
Here are my installed Nvidia packages:
Here is some additionnal information about my setup:
> switcherooctl list
Device: 0
Name: Intel Corporation Alder Lake-P GT1 [UHD Graphics]
Default: yes
Environment: DRI_PRIME=pci-0000_00_02_0
Device: 1
Name: NVIDIA Corporation AD107M [GeForce RTX 4060 Max-Q / Mobile]
Default: no
Environment: __GLX_VENDOR_LIBRARY_NAME=nvidia __NV_PRIME_RENDER_OFFLOAD=1 __VK_LAYER_NV_optimus=NVIDIA_only
> cat .zshrc |grep nvidia
alias nvidia_gpu='__GLX_VENDOR_LIBRARY_NAME=nvidia __NV_PRIME_RENDER_OFFLOAD=1 __VK_LAYER_NV_optimus=NVIDIA_only'
> ls /usr/share/vulkan/icd.d/
intel_hasvk_icd.i686.json intel_icd.i686.json radeon_icd.i686.json
intel_hasvk_icd.x86_64.json intel_icd.x86_64.json radeon_icd.x86_64.json
And finally, here’s how I launch Steam:
> nvidia_gpu steam
… if installed with Zypper, or:
> nvidia_gpu flatpak run com.valvesoftware.Steam
… if installed with Flatpak.
I know very little about hardware, or how Steam works on Linux, and even though I found other people having the same problem on other forums, I wasn’t able to fix mine based only on the information I got there… Thanks!