davinci-resolve: add introduction, clean-up

This commit is contained in:
IkiWiki 2025-01-12 13:50:45 -05:00
parent fafbcd49e4
commit ef0abdc148
Signed by untrusted user who does not match committer: forge
GPG key ID: D62A472A4AA7D541

View file

@ -1,24 +1,43 @@
[[!meta title="Davinci Resolve Workstation"]]
# Davinci Resolve Workstation
1) Install rocky linux 8.6 <hr>
I do my editing on Davinci Resolve. Since I am trying to get editing and gaming
off of Windows, I created a Davinci Resolve workstation that is based on Rocky
Linux 8, the OS Davinci officially supports. While Davinci can be installed on
other distros, it doesn't work on my [[distro of choice|alpine linux]], thus
might as well create a dedicated VM for it. Since my [[workstation]] uses
Proxmox, I can easily use different distros.
* upgrade to latest packages This guide thus documents my installation process.
1) Install Rocky Linux 8.6
You can download the [BlackMagic's
ISO](https://downloads.blackmagicdesign.com/DaVinciResolve/DaVinci-Resolve-Linux-RockyLinux_8.6.iso)
for easier installation
* Upgrade to latest packages
``` ```
sudo dnf update sudo dnf update
``` ```
* enable networking * Enable networking
2) install amdgpu-pro By default, wired networking is not automatically turned on.
* Remove nomodeset and rdblacklist=nouveau in grub config in /etc/default/grub and /boot/grub2/grubenv 2) Install `amdgpu-pro`
* Remove `nomodeset` and `rdblacklist=nouveau` in grub config in
`/etc/default/grub` and `/boot/grub2/grubenv`
``` ```
sudo dnf install http://repo.radeon.com/amdgpu-install/6.3/rhel/8.10/amdgpu-install-6.3.60300-1.el8.noarch.rpm sudo dnf install http://repo.radeon.com/amdgpu-install/6.3/rhel/8.10/amdgpu-install-6.3.60300-1.el8.noarch.rpm
sudo amdgpu-install --usecase=workstation --vulkan=pro --opencl=rocr sudo amdgpu-install --usecase=workstation --vulkan=pro --opencl=rocr
``` ```
* Add user to video and render group: * Add user to `video` and `render` group:
``` ```
sudo usermod -a -G render sudo usermod -a -G render
sudo usermod -a -G video sudo usermod -a -G video
@ -26,20 +45,26 @@ sudo usermod -a -G video
3) Install Davince Resolve Studio 19 3) Install Davince Resolve Studio 19
* install xcb-util-cursor: * Install `xcb-util-cursor`:
``` ```
sudo dnf install epel-release sudo dnf install epel-release
sudo dnf install xcb-util-cursor sudo dnf install xcb-util-cursor
``` ```
* download Davinci Resolve Studio 19 by going to [support center](https://www.blackmagicdesign.com/support/family/davinci-resolve-and-fusion), clicking the desired version, and finally `Downlod only` * Download Davinci Resolve Studio 19 by going to [support
* extract and run the installer center](https://www.blackmagicdesign.com/support/family/davinci-resolve-and-fusion),
* apply crack (confirmed working with version 19.1.2 clicking the desired version, and finally `Downlod only`
* Extract and run the installer
* Apply crack (confirmed working with version 19.1.2)
``` ```
sudo perl -pi -e 's/\x00\x85\xc0\x74\x7b\xe8/\x00\x85\xc0\xEB\x7b\xe8/g' /opt/resolve/bin/resolve sudo perl -pi -e 's/\x00\x85\xc0\x74\x7b\xe8/\x00\x85\xc0\xEB\x7b\xe8/g' /opt/resolve/bin/resolve
``` ```
4) Compile awesome wm 4) Install `awesome` window manager
I only care for tiling window managers. Unfortunately, my manager of choice
`awesome` is not available on Rocky Linux 8. I thus have to compile it myself,
which involces compiling its build dependencies.
Compiling awesome on Rocky Linux 8.10 requires the following dependencies (in order of build): Compiling awesome on Rocky Linux 8.10 requires the following dependencies (in order of build):
* lua * lua
@ -70,9 +95,15 @@ sudo dnf builddep lua-*.src.rpm --nobest --refresh
rpmbuild --rebuild lua-.src.rpm rpmbuild --rebuild lua-.src.rpm
``` ```
To facilitate installing the built dependencies, you can use `createrepo` to
create a repo in `/home/user/rpmbuild` and pointing a new dnf repo to this
folder.
Specific notes: Specific notes:
* doxygen src rpm should come Fedora 29 * doxygen src rpm should come Fedora 29
* lua-ldoc and lua-penlight depend on each other, thus you will need to temporarily activate the fc28 repo by adding this in `/etc/yum.repos.d/fedora.repo` * lua-ldoc and lua-penlight depend on each other, thus you will need to
temporarily activate the fc28 repo by adding this in
`/etc/yum.repos.d/fedora.repo`
``` ```
[fedora] [fedora]
name=Fedora 28 - x86_64 name=Fedora 28 - x86_64
@ -82,10 +113,16 @@ gpgcheck=0
``` ```
Make sure to disable it after getting lua-ldoc or lua-penlight built. Make sure to disable it after getting lua-ldoc or lua-penlight built.
After building all of your dependencies, clean-up everything by rolling back to the transaction before you started installing build dependencies. Use `dnf history info <transaction no>` to find that number and then `dnf history rollback <transaction no>` After building all of your dependencies, clean-up everything by rolling back to
the transaction before you started installing build dependencies. Use `dnf
history info <transaction no>` to find that number and then `dnf history
rollback <transaction no>`
To facilitate installing the built dependencies, you can use `createrepo` to create a repo in `/home/user/rpmbuild` and pointing a new dnf repo to this folder. Once everything is rolledback, you can install awesome and *just* it's runtime
dependencies, and then refer to archlinux's
Once everything is rolledback, you can install awesome and *just* it's runtime dependencies, and then refer to archlinux's [awesome-gnome](https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=awesome-gnome) package to integrate awesome in gnome. [awesome-gnome](https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=awesome-gnome)
package or the [wiki article it is based
on](http://web.archive.org/web/20160205182002/http://awesome.naquadah.org/wiki/Quickly_Setting_up_Awesome_with_Gnome)
to integrate awesome in gnome.
5) Install git-annex standalone 5) Install git-annex standalone