25
submitted 11 months ago by squaresinger@feddit.de to c/linux@lemmy.ml

I recently switched my entertainment laptop to Linux after having my work devices on it for a few years.

The laptop has a Gforce 1050 Max-Q in it. I'm trying to run games from Steam that officially don't support Linux.

If I set the PRIME profile in the Nvidia control panel to "Nvidia only", everything works as expected.

But if I set the profile to "On demand", the whole system freezes a few seconds after I open a game.

I read some vague comment on Reddit saying it might have something to do with me using KDE.

If I run it on the Intel GPU, it works no matter what profile is set (but super slow).

The system is freshly installed using the proprietary Nvidia driver version 535.

Does anyone have an idea what could be wrong?

top 8 comments
sorted by: hot top controversial new old
[-] p_consti@feddit.de 3 points 11 months ago

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

[-] squaresinger@feddit.de 2 points 11 months ago

I'm running Xorg, because I've read a lot about the Nvidia+Wayland troubles.

[-] derbolle@feddit.de 1 points 11 months ago

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)

[-] squaresinger@feddit.de 0 points 11 months ago

Are you using a laptop that can switch the GPU or are you running Nvidia only? What GPU and driver version do you have?

[-] Rudee@lemmy.ml 3 points 11 months ago

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

[-] squaresinger@feddit.de 0 points 11 months ago

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.

[-] sapo@beehaw.org 3 points 11 months ago

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.

[-] squaresinger@feddit.de 2 points 11 months ago

Tried it with and without, same result. It starts on the GPU and the whole system freezes.

Do you use xorg or wayland?

this post was submitted on 25 Nov 2023
25 points (90.3% liked)

Linux

47970 readers
1478 users here now

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

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS