This is how I got things working with my NVidia GPU and Fedora 42. I can't guarantee this will work for you but I figured I'd write down what worked for me.
- Install libraries you'll need to run it with
sudo dnf install libxcrypt-compat libcurl libcurl-devel mesa-libGLU --allowerasing - Download Davinci Resolve Linux from the official website: https://www.blackmagicdesign.com/products/davinciresolve
- Mark the .run file as 'executable' either through chmod or right clicking and checking it off in properties
- Run the installer with
SKIP_PACKAGE_CHECK=1 ./DaVinci_Resolve_20.0_Linux.runsubsituting the .run file name with your own and being CD'd into where the file is - Make a folder in the resolve folder for the old libraries Resolve ships with that you will disable. You can do this with
sudo mkdir /opt/resolve/libs/disabled
cd /opt/resolve/libs
sudo mv libgio* libglib* libgmodule* disabled/
- Run
nvidia-smito double check that you have the proprietary NVidia drivers.
From here, try booting it up and see if it already works. Sometimes when I install it this is all that's needed.
FOR AMD CARDS
- Make sure to install rocm-opencl as it's needed for davinci resolve. You can do this with
sudo dnf install rocm-openclon fedora.
FOR NVIDIA
- The fix I have from here for a black preview screen while in resolve is simply using
__GLX_VENDOR_LIBRARY_NAME=nvidia DRI_PRIME=1 /opt/resolve/bin/resolveto force Davinci Resolve to use the NVidia GPU and GLX library which fixes my remaining issues every time. - To do this automatically instead of having to launch through terminal,
input
sudo nano /usr/share/applications/com.blackmagicdesign.resolve.desktopto open the text editor for davinci resolve's .desktop file.
Then edit the Exec= line to be Exec=env __GLX_VENDOR_LIBRARY_NAME=nvidia DRI_PRIME=1 /opt/resolve/bin/resolve %u
- Once you log out and back in or type
update-desktop-database ~/.local/share/applicationsto refresh the app cache, it should now just work automatically on a normal load (if it didn't work from step 6) .
Realizei todo o esquema, mas o davinc le o arquivo, mas e como se nao tivese video nem audio. alguma alternativa?