There’s probably some programs that you always want to run with the dedicated GPU, though.
Copy the launchers for those from /usr/share/applications to ~/.local/share/applications, and edit the Exec= line to include prime-run?
Or, assuming prime-run is inheritable (since otherwise apps that need renderer subprocesses wouldn’t work), run an application launcher/menu itself with prime-run?
What does “NVIDIA Control Panel” look like these days? It’s been a couple years since I’ve seen it. No options in there?
I’m assuming you still want the IGPU and not the discrete GPU for rendering the desktop/simple programs, for power consumption and performance reasons, so you’re not willing to just turn the IGPU off or stick your entire session under prime-run or export its environment variables in ~/.profile or whatever.
It looks like there are also GPU switcher taskbar applets for both KDE and GNOME. This sounds like it would be easy enough.
…I think back when I was setting up a NVIDIA laptop, I might have just put a toggle for optimus-manager somewhere, or something.
I use a gaming laptop with an Nvidia GPU and linux support does not ‘really suck.’
The only downside I have is one you wouldn’t experience because you’re not using a laptop.
Optimus/Bumblebee/IGPU switching/whatever?
It’s just optimus now.
The issue is that in order for a program to use the dedicated GPU, I need to launch it with
prime-run
prepended to it.There’s probably some programs that you always want to run with the dedicated GPU, though.
Copy the launchers for those from
/usr/share/applications
to~/.local/share/applications
, and edit theExec=
line to includeprime-run
?Or, assuming
prime-run
is inheritable (since otherwise apps that need renderer subprocesses wouldn’t work), run an application launcher/menu itself withprime-run
?Actually, it looks like
prime-run
just sets a couple environment variables anyway. So set those however you want for each program.What does “NVIDIA Control Panel” look like these days? It’s been a couple years since I’ve seen it. No options in there?
I’m assuming you still want the IGPU and not the discrete GPU for rendering the desktop/simple programs, for power consumption and performance reasons, so you’re not willing to just turn the IGPU off or stick your entire session under
prime-run
or export its environment variables in~/.profile
or whatever.It looks like there are also GPU switcher taskbar applets for both KDE and GNOME. This sounds like it would be easy enough.
…I think back when I was setting up a NVIDIA laptop, I might have just put a toggle for
optimus-manager
somewhere, or something.