this post was submitted on 25 Nov 2023
-1 points (0.0% liked)

Linux

48328 readers
602 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
 

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
[–] Rudee@lemmy.ml 0 points 1 year ago (1 children)

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 -1 points 1 year 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.

[–] p_consti@feddit.de 0 points 1 year ago (1 children)

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 -1 points 1 year ago (1 children)

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

[–] derbolle@feddit.de 0 points 1 year ago (1 children)

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 -1 points 1 year 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?

[–] sapo@beehaw.org 0 points 1 year ago (1 children)

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 -1 points 1 year ago

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

Do you use xorg or wayland?