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?