I have a laptop with nvidia driver installed. I have a program, that I use it often. To start if with Nvidia card, I need to right-click it and select “start with dedicate card”. But I would the program start per default with dedicate graphic card. How I can make this?
Welcome to ask.edora @grumpfel
Could you please give us more info’s as :
inxi -Fzx
in terminal and post the output as </> Preformatted text here.
We don’t have this program, give name and link it.
That is part of Gnome, ist it?
I think you should be able to create a new desktop launcher (davinciwithgpu.desktop
), search for it on this site, where the Exec
command looks like this
[Desktop Entry]
Encoding=UTF-8
Version=1.0
Type=Application
Terminal=false
Name=DaVince with GPU rendering
Exec=__NV_PRIME_RENDER_OFFLOAD=1 /path/to/yourprogram
or
Exec= DRI_PRIME=1 __NV_PRIME_RENDER_OFFLOAD=1 __GLX_VENDOR_LIBRARY_NAME=nvidia yourprogram
Additional info:
I had hope, there are more easy way. Also, after every program that need to start with dedicate GPU, have the two launcher.
Or you modify the existing launcher…?
If using Nvidia exclusively is an option, you can add
PrimaryGPU = "yes"
To your nvidia.conf file (reference)