1282
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
this post was submitted on 30 Aug 2023
1282 points (97.6% liked)
Technology
59598 readers
3933 users here now
This is a most excellent place for technology news and articles.
Our Rules
- Follow the lemmy.world rules.
- Only tech related content.
- Be excellent to each another!
- Mod approved content bots can post up to 10 articles per day.
- Threads asking for personal tech support may be deleted.
- Politics threads may be removed.
- No memes allowed as posts, OK to post as comments.
- Only approved bots from the list below, to ask if your bot can be added please contact us.
- Check for duplicates before posting, duplicates may be removed
Approved Bots
founded 1 year ago
MODERATORS
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.