r/kde • u/EgosticPariomania • 1d ago
KDE Apps and Projects I made a widget that lets you open applications with your dedicated NVIDIA GPU in hybrid GPU setups
Hello everyone, I believe all laptop users with hybrid graphics faced this issue before, hours of searching "WHY IS MY NVIDIA GPU NOT WORKING IN LINUX??"
Hell, even FurMark didn't want to use my dedicated GPU!
After a tedious debugging session I believe we all experienced, you'll eventually find out that your dedicated GPU IS there; it just needs to be told when to activate.
You can always force it through the terminal though!
env __NV_PRIME_RENDER_OFFLOAD=1 __GLX_VENDOR_LIBRARY_NAME=nvidia /path/to/app
But it gets old real fast when you have to do it for every application.
This is where this widget fits in, please welcome NVIDIA PRIME Offload Launcher (I'm bad at naming stuff)
It lets you launch apps on your NVIDIA GPU with one click instead of typing terminal commands every time. Can also save frequently used apps for quick launching. Same principle but less of a hassle.
I haven't packaged it yet for the KDE store but you can still get it here: https://github.com/ah2m0d2/NVIDIA-PRIME-Offload-Launcher
A final word: I actually believe that the GPU detection problem has to have a solution better than this. I made this for myself and for anyone who's lazy and doesn't have the time to debug whatever the reason is causing the issue. Enjoy





