Here are some notes on how to install DaVinci Resolve on CentOS 8.0. Because software is constantly changing, this document is hosted on GitHub Pages. If you find something wrong or outdated, please do open a pull request.
These particular notes were originally worked out from an installation to an HP Z8 G4 workstation with a single GTX 1080 Ti card installed, but the information should be useful for other x86_64 systems as well.
-
Create a bootable USB drive
- On Windows:
- Download DVD ISO
- Verify the download
- Download and use Rufus to create the bootable USB drive
- On Mac or Linux:
- Download DVD ISO
- Verify the download
- Use
dd
to create the bootable USB drive
- On Windows:
-
UEFI settings
- Set to boot to a USB drive first
- Disable Secure Boot and disable Legacy BIOS mode
-
Install CentOS from USB
- Software selection should be
Workstation
with onlyGNOME Applications
checked. - Set up DHCP
- Set password for
root
account and create just one administrator account
- Software selection should be
-
CentOS's installation interacts with HP's UEFI in such a way as to change the boot order, so reboot, and you'll boot to the M.2 SSD with the fresh installation
- Reboot and you'll boot into the M.2 SSD with the fresh installation
- Accept the CentOS license
- You can then safely eject the USB installation disk
-
Install CentOS updates and reboot:
$ sudo dnf update --refresh
-
Take note of the IP address on the LAN, because you might need to SSH into the machine later.
-
Install the kernel source:
$ sudo dnf install "kernel-devel-uname-r == $(uname -r)"
-
Install EPEL
$ sudo dnf install https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm
-
Install DKMS
$ sudo dnf install dkms
-
Prepare for the NVIDIA driver
-
Become the root user:
$ su -
-
Make the file executable:
# chmod +x NVIDIA-Linux-x86_64-440.31.run
-
Blacklist the nouveau module:
# echo 'blacklist nouveau' >> /etc/modprobe.d/blacklist.conf
-
Install dependencies:
# dnf groupinstall "Workstation" "base-x" "Legacy X Window System Compatibility" "Development Tools" # dnf install elfutils-libelf-devel "kernel-devel-uname-r == $(uname -r)"
-
Back up and rebuild your
initramfs
:# mv /boot/initramfs-$(uname -r).img /boot/initramfs-$(uname -r)-nouveau.img # dracut -f
-
Change the default
systemd
target:# systemctl set-default multi-user.target
-
Reboot the system:
# reboot
-
From the command-line, log into
root
, navigate to wherever you put the.run
file, and then install the NVIDA driver:-
# ./NVIDIA-Linux-x86_64-440.31.run
- Be sure to install to DKMS
-
Test the new driver:
# systemctl isolate graphical.target
-
If the test is successful, change your default
systemd
target back so that you boot straight to the GUI:# systemctl set-default graphical.target
-
Reboot:
# reboot
-
Confirm that you're running the NVIDIA driver at any time by running
$ nvidia-smi
-
-
[OPTIONAL] Download and install the latest DeckLink driver
-
Download the latest driver from the Blackmagic Design website
-
Become the
root
user:$ su -
When prompted, enter yourroot
user's password. -
If you already have an older DeckLink driver installed, uninstall it:
# rpm -qa | grep desktopvideo | xargs rpm -e
-
If GNOME didn't uncompress it for you already, uncompress the downloaded driver package:
# tar xvfz /path/to/downloaded/driver/location/Blackmagic_Desktop_Video_Linux_<driver_version>.tar.gz
-
cd
into therpm
folder, since this is CentOS# cd /Blackmagic_Desktop_Video_Linux_<driver_version>/rpm/<yourarchitecture>
-
Install the latest Desktop Video driver, GUI, and Media Express. Type:
-
# rpm -ivh desktopvideo-<driver_version>.x86_64.rpm
-
# rpm -ivh desktopvideo-gui-<driver_version>.x86_64.rpm
-
# rpm -ivh mediaexpress-<version>.x86_64.rpm
- The installer might fail and tell you that you
mediaexpress
needslibGLU.so.1
, so installlibGLU
and try again:
# dnf install mesa-libGLU
- The installer might fail and tell you that you
-
-
After the installation completes, you should see the terminal prompt. Reboot.
-
After the machine has rebooted, open a Terminal shell again
-
Become the
root
user again:$ su -
When prompted, please enter yourroot
user's password -
You might need to update the firmware on your DeckLink card. Type:
# BlackmagicFirmwareUpdater update 0
-
If a firmware update was applied, reboot the machine after it completes. If no firmware update was required, a reboot is not necessary.
-
-
At this point, installing Desktop Video to DKMS might have "broken" the
grub
configuration again. If you try to log into the GUI, the screen will just go black. So we'll need to go rebuild thegrub
configuration again.- If you can get to a virtual console, log in. Otherwise, SSH into the
root
account from a different machine on the network.-
vim
into/etc/default/grub
-
For the
GRUB_CMDLINE_LINUX
line, removerhgb
and addrd.driver.blacklist=nouveau"
, so that the whole line is:GRUB_CMDLINE_LINUX="crashkernel=auto resume=/dev/mapper/cl-swap rd.lvm.lv=cl/root rd.lvm.lv=cl/swap quiet rd.driver.blacklist=nouveau"
-
Write and close:
:wq
-
Rebuild the grub configuration again:
# grub2-mkconfig -o /boot/efi/EFI/centos/grub.cfg
-
Reboot:
# reboot
-
- Alternatively, you can just edit the
grub
configuration temporarily by hittinge
when thegrub
menu pops up, removingrhgb
, adding inrd.driver.blacklist=nouveau
, and hittingCtrl-X
to boot, but this is only temporary for the one boot. To permanently blacklist thenouveau
driver, you'll have to rebuild thegrub
configuration by following the steps above.
- If you can get to a virtual console, log in. Otherwise, SSH into the
-
Now we should be totally ready for DaVinci Resolve.
-
N.B. If you didn't already install
mesa-libGLU
for Media Express, Resolve definitely needs it, so make sure to install it:-
$ sudo dnf install mesa-libGLU
-
Then, reboot.
-
-
-
Install DaVinci Resolve
- Download and extract
DaVinci_Resolve_Studio_16.1.1_Linux.zip
(if you have a DaVinci Resolve license dongle or key) orDaVinci_Resolve_16.1.1_Linux.zip
from the Blackmagic Design website. - Double-click the
.run
file to use the GUI installer - Resolve might not launch after the installation--if you run it via the command-line from
/opt/resolve/bin/
, you can look for clues as to why it might not be able to launch. If some program is missing, try figuring out what Resolve needs and install viadnf
.
- Download and extract