You are not logged in.
I have gotten DaVinci Resolve running but need to define a couple of parameters for it to start properly due to intel/nvidia hybrid graphics as documented under 3.10 on https://wiki.archlinux.org/title/DaVinci_Resolve.
I did this on Fedora by changing the .desktop file from:
Exec=/opt/resolve/bin/resolve %u
to:
Exec=__NV_PRIME_RENDER_OFFLOAD=1 __GLX_VENDOR_LIBRARY_NAME=nvidia /opt/resolve/bin/resolve %u
However this does not seem to play well with Rofi's drun option. I've tried adding quotes encompassing the entire line but this also does not work.
From a terminal, I can launch it using:
export __NV_PRIME_RENDER_OFFLOAD=1;
export __GLX_VENDOR_LIBRARY_NAME=nvidia;
/opt/resolve/bin/resolve
Any thoughts on how I can adjust the .desktop file with those parameters so that Rofi will launch it?
Last edited by nooobeee (2024-06-11 19:33:52)
Offline
You're missing `env`:
Exec=env __NV_PRIME_RENDER_OFFLOAD=1 __GLX_VENDOR_LIBRARY_NAME=nvidia /opt/resolve/bin/resolve %u
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
That was it, good catch. Thank you!!!
Offline