I don't know, and I don't really care enough. You can just edit your desktop entries to include prime-run instead.
I appreciate the help, though it is a little strange there's no option like that caked in. It seems like an obvious thing. Is there no way to add a menu option for handling this to things in KDE or Latte?
sorry for making trouble instead of helping. Didn´t know your GPU was not supported.
Even thought TNE don´t like it optimus manager can make you run apps with the dedicated GPU. But not sure if it is the best course of action for you now...
Optimus manager will run
- Everything on Integrated
- Everything on Nvidia
- Hybrid mode
The prime config is hybrid mode. The other 2 modes are useless because hybrid mode exists. They only cause confusion when Nvidia mode inevitably doesn't work and bricks your system. So, why bother with Optimus manager?
Make a feature request to KDE’s developers?
Do you not know how to edit your desktop files?
Desktop files are the equivalent of window’s start up shortcuts, (more or less). You can simply edit how the game (or whatever you want) opens with prime-run with your Nvidia card in its desktop start up file.
A little bit of work, (but not that much), and it does what you want for you if you are averse to using the terminal.
Launch app on discrete GPU (dGPU)? I have some words to say.
- You don't need optimus manager
- You don't need nvidia-prime package and command
prime-run
You only need installed NVIDIA drivers and following command:
__NV_PRIME_RENDER_OFFLOAD=1 __VK_LAYER_NV_optimus=NVIDIA_only __GLX_VENDOR_LIBRARY_NAME=nvidia
If you want to run any package on NVIDIA GPU:
__NV_PRIME_RENDER_OFFLOAD=1 __VK_LAYER_NV_optimus=NVIDIA_only __GLX_VENDOR_LIBRARY_NAME=nvidia package
If you want to run anything in the Steam on NVIDIA GPU:
__NV_PRIME_RENDER_OFFLOAD=1 __VK_LAYER_NV_optimus=NVIDIA_only __GLX_VENDOR_LIBRARY_NAME=nvidia %command%
It works on X11 and Wayland very well.
That's all
BTW, where you put these commands ?
So, this is actually prime-run in the end, isn't it?