├── README.md ├── _config.yml ├── centos-7.9.md └── centos-8.3.md /README.md: -------------------------------------------------------------------------------- 1 | # How to install DaVinci Resolve on CentOS 2 | 3 | Here are some notes on how to install DaVinci Resolve 16 on CentOS Linux. Because software is constantly changing, [these notes are hosted on GitHub Pages](https://github.com/sethgoldin/install-davinci-resolve-centos). If you find something wrong or outdated, please do open a pull request. 4 | 5 | These particular notes were originally worked out from installations to HP Z8 G4 workstations with single GTX 1080 Ti or RTX 2080 Ti cards installed, but the information should be useful for other systems running `x86_64` CPUs and NVIDIA GPUs. 6 | 7 | ## Choosing a major release of CentOS 8 | 9 | Resolve 16.2.7 works great on both CentOS 7.9 and 8.3, but each has its costs and benefits. Carefully consider what you need for your system before deciding which [major](https://web.archive.org/web/20190805123840/https://access.redhat.com/solutions/401413) release to install. 10 | 11 | ### CentOS 7.9 12 | Benefits: 13 | - This is the most stable and best-supported platform: 14 | - Third-party repositories are mature, with an established ecosystem, filled with many packages and good documentation 15 | - [End-of-life is June 30, 2024](https://wiki.centos.org/FAQ/General#What_is_the_support_.27.27end_of_life.27.27_for_each_CentOS_release.3F). This is inherited from the [end of Maintenance Support 2 of RHEL 7](https://access.redhat.com/support/policy/updates/errata). 16 | 17 | Costs: 18 | - GNOME 3.28.2 is the default desktop environment, and it's somewhat older 19 | - Many packages can be quite old, so getting more up-to-date packages may depend on [third-party repositories](https://wiki.centos.org/AdditionalResources/Repositories) 20 | - Although kernels are [backported](https://access.redhat.com/security/updates/backporting) with security updates, they are quite old 21 | 22 | ### CentOS 8.3 23 | Benefits: 24 | - Packages are newer and are distributed via the [AppStream infrastructure](https://www.freedesktop.org/wiki/Distributions/AppStream/) 25 | - GNOME 3.32.2 is the default desktop environment 26 | - Newer kernels provide better performance 27 | - End-of-life is May 2029. This is inherited from the [end of Maintenance Support 2 of RHEL 8](https://access.redhat.com/support/policy/updates/errata). 28 | 29 | Costs: 30 | - CentOS 8 ships with Wayland, but [Wayland does not yet play nice with NVIDIA](https://wiki.gnome.org/Initiatives/Wayland/NVIDIA), so the legacy X environment must be used instead 31 | - Many packages available on 7 have not yet been released or tested on 8 32 | 33 | ## Instructions 34 | With all these costs and benefits in mind, here are instructions for both major releases of CentOS: 35 | - [CentOS 7.9](centos-7.9.md) 36 | - [CentOS 8.3](centos-8.3.md) 37 | 38 | ## PostgreSQL 39 | If you'd like to set up your 7.9 workstation as a PostgreSQL server for other workstations, you can adapt [these instructions for setting up an Intel NUC](https://medium.com/@sethgoldin/how-to-set-up-an-intel-nuc-as-a-postgresql-server-for-davinci-resolve-studio-workstations-b36dff0a1872). 40 | -------------------------------------------------------------------------------- /_config.yml: -------------------------------------------------------------------------------- 1 | theme: jekyll-theme-minimal -------------------------------------------------------------------------------- /centos-7.9.md: -------------------------------------------------------------------------------- 1 | # How to install DaVinci Resolve on CentOS 7.9 2 | 3 | 1. Create a bootable USB drive 4 | 1. On Windows: 5 | 1. Download [DVD ISO](http://isoredirect.centos.org/centos/7/isos/x86_64/) 6 | 1. [Verify the download](https://wiki.centos.org/TipsAndTricks/sha256sum) 7 | 1. Download and use [Rufus](https://rufus.ie/) to create the bootable USB drive 8 | 1. On Mac or Linux: 9 | 1. Download [DVD ISO](http://isoredirect.centos.org/centos/7/isos/x86_64/) 10 | 1. [Verify the download](https://wiki.centos.org/TipsAndTricks/sha256sum) 11 | 1. Use `dd` to create the bootable USB drive 12 | 1. UEFI settings 13 | 1. Set to boot to a USB drive first 14 | 1. Disable Secure Boot and disable Legacy BIOS mode 15 | 1. Install CentOS from USB 16 | 1. Include only GNOME Desktop 17 | 1. Set up DHCP 18 | 1. Set password for `root` account and create just one administrator account 19 | 1. It's possible that the CentOS installer will not show a mouse or will display windows strangely. It might be necessary to install via the "simple graphical interface" under the "rescue" GRUB option. Later, once system is installed with the GUI up and running, you'll want to [set GNOME to start automatically at boot](https://www.rootusers.com/how-to-start-gui-in-centos-7-linux/). 20 | 1. CentOS's installation interacts with HP's UEFI in such a way as to change the boot order 21 | 1. Reboot to boot into the fresh installation 22 | 1. Accept the CentOS license 23 | 1. You can then safely eject the USB installation disk 24 | 1. Install CentOS updates and reboot 25 | 26 | ``` 27 | $ sudo yum update 28 | $ sudo reboot 29 | ``` 30 | 31 | 1. Install the [kernel source](https://wiki.centos.org/HowTos/I_need_the_Kernel_Source): 32 | 33 | ```$ sudo yum install "kernel-devel-uname-r == $(uname -r)"``` 34 | 35 | 1. Install EPEL 36 | 37 | ```$ sudo yum install https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm``` 38 | 39 | 1. Install DKMS 40 | 41 | ```$ sudo yum install dkms``` 42 | 43 | 1. Install ELRepo 44 | 1. Import the GPG key: 45 | 46 | ```$ sudo rpm --import https://www.elrepo.org/RPM-GPG-KEY-elrepo.org``` 47 | 48 | 1. Install for CentOS 7: 49 | 50 | ```$ sudo yum install https://www.elrepo.org/elrepo-release-7.el7.elrepo.noarch.rpm``` 51 | 52 | 1. Installing EPEL should have downloaded and installed `gcc`, but just in case, make sure: 53 | 54 | ```$ sudo yum install gcc``` 55 | 56 | 1. Install NVIDIA driver from ELRepo: 57 | 1. For good measure, you'll probably want the `yum` plugin for ELRepo first, just in case we're in between a release of RHEL and a release of CentOS: 58 | 59 | ```$ sudo yum install yum-plugin-elrepo``` 60 | 61 | 1. Then, install the NVIDIA driver: 62 | 63 | ```$ sudo yum install kmod-nvidia.x86_64``` 64 | 65 | The current version is `450.80.02-1.el7_9.elrepo`. 66 | 67 | 1. Then, reboot: 68 | 69 | ```$ sudo reboot``` 70 | 71 | 1. [OPTIONAL] Download and install the latest DeckLink driver 72 | 73 | 1. Download the latest driver [from the Blackmagic Design website](https://www.blackmagicdesign.com/support/family/capture-and-playback) 74 | 1. Become the `root` user: 75 | 76 | ```$ su -``` 77 | 78 | When prompted, enter your `root` user's password. 79 | 80 | 1. If you already have an older DeckLink driver installed, uninstall it: 81 | 82 | ```# rpm -qa | grep desktopvideo | xargs rpm -e``` 83 | 84 | 1. If GNOME didn't uncompress it for you already, uncompress the downloaded driver package: 85 | 86 | ```# tar xvfz /path/to/downloaded/driver/location/Blackmagic_Desktop_Video_Linux_.tar.gz``` 87 | 88 | 1. `cd` into the `rpm` folder, since this is CentOS 89 | 90 | ```# cd /Blackmagic_Desktop_Video_Linux_/rpm/``` 91 | 92 | 1. Install the latest Desktop Video driver, GUI, and Media Express. Type: 93 | 94 | 1. ```# rpm -ivh desktopvideo-.x86_64.rpm``` 95 | 96 | 1. ```# rpm -ivh desktopvideo-gui-.x86_64.rpm``` 97 | 98 | 1. ```# rpm -ivh mediaexpress-.x86_64.rpm``` 99 | 100 | 1. The installer might fail and tell you that you `mediaexpress` needs `libGLU.so.1`, so install `libGLU` and try again: 101 | 102 | ```# yum install mesa-libGLU``` 103 | 104 | 1. After the installation completes, you should see the terminal prompt. Reboot. 105 | 1. After the machine has rebooted, open a Terminal shell again 106 | 1. Become the `root` user again: 107 | 108 | ```$ su -``` 109 | 110 | When prompted, please enter your `root` user's password 111 | 112 | 1. You might need to update the firmware on your DeckLink card. Type: 113 | 114 | ```# BlackmagicFirmwareUpdater update 0``` 115 | 116 | 1. If a firmware update was applied, reboot the machine after it completes. If no firmware update was required, a reboot is not necessary. 117 | 118 | 1. [OPTIONAL] If you want to use your workstation as a PostgreSQL client for collaborative workflows, and the network is either air-gapped or has a trustworthy network-wide firewall, you'll want to disable the individual firewall on the workstation so that the east-west traffic between workstations will function properly: for bin locking, timeline locking, collaborative chat, etc. 119 | 120 | ``` 121 | $ sudo systemctl stop firewalld 122 | $ sudo systemctl disable firewalld 123 | ``` 124 | 125 | 1. Now we should be totally ready for DaVinci Resolve. 126 | 1. N.B. If you didn't already install `mesa-libGLU` for Media Express, Resolve definitely needs it, so make sure to install it: 127 | 128 | 1. `$ sudo yum install mesa-libGLU` 129 | 130 | 1. Then, reboot. 131 | 132 | 1. Install DaVinci Resolve 133 | 1. Download and extract `DaVinci_Resolve_Studio_16.2.7_Linux.zip` (if you have a DaVinci Resolve license dongle or key) or `DaVinci_Resolve_16.2.7_Linux.zip` [from the Blackmagic Design website](https://www.blackmagicdesign.com/support/family/davinci-resolve-and-fusion). 134 | 1. Double-click the `.run` file to use the GUI installer 135 | 1. 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 `yum`. 136 | -------------------------------------------------------------------------------- /centos-8.3.md: -------------------------------------------------------------------------------- 1 | # How to install DaVinci Resolve on CentOS 8.3 2 | 3 | 1. Create a bootable USB drive 4 | 1. On Windows: 5 | 1. Download [DVD ISO](https://www.centos.org/download/) 6 | 1. [Verify the download](https://wiki.centos.org/TipsAndTricks/sha256sum) 7 | 1. Download and use [Rufus](https://rufus.ie/) to create the bootable USB drive 8 | 1. On Mac or Linux: 9 | 1. Download [DVD ISO](https://www.centos.org/download/) 10 | 1. [Verify the download](https://wiki.centos.org/TipsAndTricks/sha256sum) 11 | 1. [Use `dd` to create the bootable USB drive](https://wiki.centos.org/HowTos/InstallFromUSBkey) 12 | 1. UEFI settings 13 | 1. Set to boot to a USB drive first 14 | 1. Disable Secure Boot and disable Legacy BIOS mode 15 | 1. Install CentOS from USB 16 | 1. Software selection should be `Workstation` with only `GNOME Applications` checked. 17 | 1. Set up DHCP 18 | 1. Set password for `root` account and create just one administrator account 19 | 1. Especially with a GeForce card, it's possible that the default CentOS installer will not show the graphics correctly. It might be necessary to install via the ["basic graphics mode" from the Troubleshooting menu in the boot options](https://docs.centos.org/en-US/centos/install-guide/Trouble-x86/#_problems_with_booting_into_the_graphical_installation). 20 | 1. CentOS's installation interacts with HP's UEFI in such a way as to change the boot order 21 | 1. Reboot to the fresh installation of CentOS 22 | 1. Accept the CentOS license 23 | 1. You can then safely eject the USB installation disk 24 | 1. Install CentOS updates and reboot: 25 | 26 | ``` 27 | $ sudo dnf update --refresh 28 | $ sudo reboot 29 | ``` 30 | 1. Install the [kernel source](https://wiki.centos.org/HowTos/I_need_the_Kernel_Source): 31 | 32 | ```$ sudo dnf install "kernel-devel-uname-r == $(uname -r)"``` 33 | 1. Install [EPEL](https://fedoraproject.org/wiki/EPEL) 34 | 35 | ```$ sudo dnf install https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm``` 36 | 1. Install DKMS 37 | 38 | ```$ sudo dnf install dkms``` 39 | 1. Install ELRepo 40 | 1. Import the GPG key: 41 | 42 | ```$ sudo rpm --import https://www.elrepo.org/RPM-GPG-KEY-elrepo.org``` 43 | 44 | 1. Install for CentOS 8: 45 | 46 | ```$ sudo dnf install https://www.elrepo.org/elrepo-release-8.el8.elrepo.noarch.rpm``` 47 | 48 | 1. Installing EPEL should have downloaded and installed `gcc`, but just in case, make sure: 49 | 50 | ```$ sudo dnf install gcc``` 51 | 52 | 1. Install NVIDIA driver from ELRepo: 53 | 1. Install the NVIDIA driver as well as the X11 driver: 54 | 55 | ```$ sudo dnf install kmod-nvidia.x86_64 nvidia-x11-drv``` 56 | 57 | The current version is `460.39-1.el8_3.elrepo`. 58 | 59 | 1. [Configure Xorg as the default GNOME session](https://docs.fedoraproject.org/en-US/quick-docs/configuring-xorg-as-default-gnome-session/): 60 | 1. `vim` with `sudo` permissions into `/etc/gdm/custom.conf`: 61 | 62 | ```$ sudo vim /etc/gdm/custom.conf``` 63 | 64 | 1. Uncomment the line `WaylandEnable=false` by removing the `#` at the beginning of the line. 65 | 66 | 1. In the same `[daemon]` section, add in the line: `DefaultSession=gnome-xorg.desktop` 67 | 68 | 1. The `[daemon]` section of the file should now read: 69 | 70 | ``` 71 | [daemon] 72 | WaylandEnable=false 73 | DefaultSession=gnome-xorg.desktop 74 | ``` 75 | 76 | 1. Then, reboot: 77 | 78 | ```$ sudo reboot``` 79 | 80 | 1. [OPTIONAL] Download and install the latest DeckLink driver 81 | 82 | 1. Download the latest driver [from the Blackmagic Design website](https://www.blackmagicdesign.com/support/family/capture-and-playback) 83 | 1. Become the `root` user: 84 | 85 | ```$ su -``` 86 | 87 | When prompted, enter your `root` user's password. 88 | 89 | 1. If you already have an older DeckLink driver installed, uninstall it: 90 | 91 | ```# rpm -qa | grep desktopvideo | xargs rpm -e``` 92 | 93 | 1. If GNOME didn't uncompress it for you already, uncompress the downloaded driver package: 94 | 95 | ```# tar xvfz /path/to/downloaded/driver/location/Blackmagic_Desktop_Video_Linux_.tar.gz``` 96 | 97 | 1. `cd` into the `rpm` folder, since this is CentOS 98 | 99 | ```# cd /Blackmagic_Desktop_Video_Linux_/rpm/``` 100 | 101 | 1. Install the latest Desktop Video driver, GUI, and Media Express. Type: 102 | 103 | 1. ```# dnf install desktopvideo-.x86_64.rpm``` 104 | 105 | 1. ```# dnf install desktopvideo-gui-.x86_64.rpm``` 106 | 107 | 1. ```# dnf install mediaexpress-.x86_64.rpm``` 108 | 109 | 1. N.B. `dnf` should resolve dependencies and install `mesa-libGLU` for you. 110 | 111 | 1. After the installation completes, you should see the terminal prompt. Reboot. 112 | 1. After the machine has rebooted, open a Terminal shell again 113 | 1. Become the `root` user again: 114 | 115 | ```$ su -``` 116 | 117 | When prompted, please enter your `root` user's password 118 | 119 | 1. You might need to update the firmware on your DeckLink card. Type: 120 | 121 | ```# BlackmagicFirmwareUpdater update 0``` 122 | 123 | 1. If a firmware update was applied, reboot the machine after it completes. If no firmware update was required, a reboot is not necessary. 124 | 125 | 1. Now we should be totally ready for DaVinci Resolve. 126 | 1. N.B. If you didn't already install `mesa-libGLU` for Media Express, Resolve definitely needs it, so make sure to install it: 127 | 128 | 1. `$ sudo dnf install mesa-libGLU` 129 | 130 | 1. Then, reboot. 131 | 132 | 1. [OPTIONAL] Install Java if you want to perform Photon validation of IMF packages: 133 | 134 | ```$ sudo dnf install java``` 135 | 136 | 137 | 1. [OPTIONAL] If you want to use your workstation as a PostgreSQL client for collaborative workflows, and the network is either air-gapped or has a trustworthy network-wide firewall, you'll want to disable the individual firewall on the workstation so that the east-west traffic between workstations will function properly: for bin locking, timeline locking, collaborative chat, etc. 138 | 139 | ``` 140 | $ sudo systemctl stop firewalld 141 | $ sudo systemctl disable firewalld 142 | ``` 143 | 144 | 1. Install DaVinci Resolve 145 | 1. Download and extract `DaVinci_Resolve_Studio_16.2.8_Linux.zip` (if you have a DaVinci Resolve license dongle or key) or `DaVinci_Resolve_16.2.8_Linux.zip` [from the Blackmagic Design website](https://www.blackmagicdesign.com/support/family/davinci-resolve-and-fusion). 146 | 1. Double-click the `.run` file to use the GUI installer 147 | 1. 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`. 148 | --------------------------------------------------------------------------------