Are you running Wayland or Xorg? I've had some troubles with Nvidia and Wayland before, though not like this. Just a guess, since I'm not using KDE
Linux
From Wikipedia, the free encyclopedia
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.
Rules
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
- No misinformation
- No NSFW content
- No hate speech, bigotry, etc
Related Communities
Community icon by Alpár-Etele Méder, licensed under CC BY 3.0
I'm running Xorg, because I've read a lot about the Nvidia+Wayland troubles.
i am using nvidia and wayland on kde and I am experiencing no problems except those I also had in xorg(ui elements sometimes become unresponsive after playing a game)
Are you using a laptop that can switch the GPU or are you running Nvidia only? What GPU and driver version do you have?
Not an expert, but to me it sounds like the issue is that "on demand" uses the iGPU for regular desktop parts and calls for the dGPU when you switch to something requiring more horsepower
The problem with this might be that the execution of this is slow and there's a few seconds between the iGPU switching off and the dGPU switching on
Yeah, that is what on demand is supposed to do. But when it freezes, the game already started and rendered the first few seconds on the dGPU. One time I managed to play for ~10 minutes before the freeze.
And it remains frozen. I once waited for ~1h and it didn't recover.
I've never had this as an issue with KDE. Do you have the command for prime render offloading on the Steam launch options? I usually launch my games through Lutris and it handles that pretty well.
Tried it with and without, same result. It starts on the GPU and the whole system freezes.
Do you use xorg or wayland?