
I have DaVinci Resolve Studio 16.0 up and running on CentOS 8.0 with the NVIDIA 430.50 driver for a single GTX 1080 Ti card.
For now, until ELRepo can get the NVIDIA driver packaged for CentOS 8, the NVIDIA driver can only be installed with the .run file, which is even more convoluted than previously, because CentOS 8 defaults to Wayland. Wayland must be disabled because NVIDIA doesn't yet have a driver compatible with Wayland.
N.B. using NVIDIA's .run file requires the use of a virtual console and perhaps even SSHing in from a different machine on your LAN at times. You should be comfortable with the CLI to attempt this.
I keep these notes hosted on GitHub, because software constantly changes. If and when ELRepo does package the NVIDIA driver for CentOS 8, I'll modify the instructions to take advantage of that, because that's much easier. Also, I had to temporarily remove my optional instructions for installing PostgreSQL on CentOS 8, just because I haven't yet done it, but I still have instructions available that should work for CentOS 7.7. When I do upgrade my PostgreSQL server from 7.7 to 8.0, I'll add instructions for how to do it back into my main document.
For now, until ELRepo can get the NVIDIA driver packaged for CentOS 8, the NVIDIA driver can only be installed with the .run file, which is even more convoluted than previously, because CentOS 8 defaults to Wayland. Wayland must be disabled because NVIDIA doesn't yet have a driver compatible with Wayland.
N.B. using NVIDIA's .run file requires the use of a virtual console and perhaps even SSHing in from a different machine on your LAN at times. You should be comfortable with the CLI to attempt this.
I keep these notes hosted on GitHub, because software constantly changes. If and when ELRepo does package the NVIDIA driver for CentOS 8, I'll modify the instructions to take advantage of that, because that's much easier. Also, I had to temporarily remove my optional instructions for installing PostgreSQL on CentOS 8, just because I haven't yet done it, but I still have instructions available that should work for CentOS 7.7. When I do upgrade my PostgreSQL server from 7.7 to 8.0, I'll add instructions for how to do it back into my main document.
- 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 only GNOME Applications checked.
- Set up DHCP
- Set password for root account and create just one administrator account
- 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
- Take note of the IP address on the LAN, because you might need to SSH into the machine later.
- Install the kernel source:
- $ sudo yum install "kernel-devel-uname-r == $(uname -r)"
- Install EPEL
- $ sudo yum install https://dl.fedoraproject.org/pub/epel/e ... noarch.rpm
- Install DKMS
- $ sudo yum install dkms
- Prepare for the NVIDIA driver
- Download the .run file for 430.50 from NVIDIA's site.
- Become the root user:
- $ su -
- Make the file executable:
- # chmod +x NVIDIA-Linux-x86_64-430.50.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 runlevel:
- # 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-430.50.run
- Be sure to install to DKMS
- Test the new driver:
- # systemctl isolate graphical.target
- If the test is successful, correct your default runlevel:
- # systemctl set-default graphical.target
- Reboot:
- # reboot
- Confirm that you're running the NVIDIA driver at any time by running $ nvidia-smi
- # ./NVIDIA-Linux-x86_64-430.50.run
- Download and install the latest DeckLink driver
- Download the latest driver from the Blackmagic Design website
- Become the root user:
- $ su -
- When prompted, enter your root user's password.
- $ su -
- 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 the rpm 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 for Media Express might fail and tell you that you mediaexpress needs libGLU.so.1, so install libGLU and try again:
- # dnf install mesa-libGLU
- 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 your root 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.
- $ su -
- At this point, installing Desktop Video to DKMS will probably 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 the grub 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, remove rhgb and add rd.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
- Now we should be totally ready for DaVinci Resolve.
- Install DaVinci Resolve
- Download and extract DaVinci_Resolve_Studio_16.0_Linux.zip (if you have a DaVinci Resolve license dongle or key) or DaVinci_Resolve_16.0_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 via dnf.
https://www.sethgoldin.com