davinco-resolve: add "more options" section
All checks were successful
/ deploy (push) Successful in 28s

This commit is contained in:
Antoine Martin 2025-01-12 19:58:52 +00:00
parent dd67c694b5
commit 7ace70d888
28 changed files with 239 additions and 83 deletions

View file

@ -8,7 +8,7 @@
<title>davinci-resolve - Ayakael</title>
<title>Davinci Resolve Workstation - Ayakael</title>
<!-- cargo-culted from https://realfavicongenerator.net/ -->
<!-- for the record: it is absolutely ridiculous that new browsers
@ -77,20 +77,40 @@
<main class="flex-shrink-0">
<div class="container" id="content">
<p>1) Install rocky linux 8.6</p>
<h1>Davinci Resolve Workstation</h1>
<hr>
<p>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 <span class="createlink">distro of choice</span>, thus
might as well create a dedicated VM for it. Since my <span class="createlink">workstation</span> uses
Proxmox, I can easily use different distros.</p>
<p>This guide thus documents my installation process.</p>
<h2>1) Install Rocky Linux 8.6</h2>
<p>You can download the <a href="https://downloads.blackmagicdesign.com/DaVinciResolve/DaVinci-Resolve-Linux-RockyLinux_8.6.iso">BlackMagic's
ISO</a>
for easier installation</p>
<ul>
<li>upgrade to latest packages
<li>Upgrade to latest packages
<code>
sudo dnf update
</code></li>
<li>enable networking</li>
<li>Enable networking</li>
</ul>
<p>2) install amdgpu-pro</p>
<p>By default, wired networking is not automatically turned on.</p>
<h2>2) Install <code>amdgpu-pro</code></h2>
<ul>
<li>Remove nomodeset and rdblacklist=nouveau in grub config in /etc/default/grub and /boot/grub2/grubenv</li>
<li>Remove <code>nomodeset</code> and <code>rdblacklist=nouveau</code> in grub config in
<code>/etc/default/grub</code> and <code>/boot/grub2/grubenv</code></li>
</ul>
<p><code>
@ -99,30 +119,36 @@ sudo amdgpu-install --usecase=workstation --vulkan=pro --opencl=rocr
</code></p>
<ul>
<li>Add user to video and render group:
<li>Add user to <code>video</code> and <code>render</code> group:
<code>
sudo usermod -a -G render
sudo usermod -a -G video
</code></li>
</ul>
<p>3) Install Davince Resolve Studio 19</p>
<h2>3) Install Davince Resolve Studio 19</h2>
<ul>
<li><p>install xcb-util-cursor:
<li><p>Install <code>xcb-util-cursor</code>:
<code>
sudo dnf install epel-release
sudo dnf install xcb-util-cursor
</code></p></li>
<li><p>download Davinci Resolve Studio 19 by going to <a href="https://www.blackmagicdesign.com/support/family/davinci-resolve-and-fusion">support center</a>, clicking the desired version, and finally <code>Downlod only</code></p></li>
<li>extract and run the installer</li>
<li>apply crack (confirmed working with version 19.1.2
<li><p>Download Davinci Resolve Studio 19 by going to <a href="https://www.blackmagicdesign.com/support/family/davinci-resolve-and-fusion">support
center</a>,
clicking the desired version, and finally <code>Downlod only</code></p></li>
<li>Extract and run the installer</li>
<li>Apply crack (confirmed working with version 19.1.2)
<code>
sudo perl -pi -e 's/\x00\x85\xc0\x74\x7b\xe8/\x00\x85\xc0\xEB\x7b\xe8/g' /opt/resolve/bin/resolve
</code></li>
</ul>
<p>4) Compile awesome wm</p>
<h2>4) Install <code>awesome</code> window manager</h2>
<p>I only care for tiling window managers. Unfortunately, my manager of choice
<code>awesome</code> is not available on Rocky Linux 8. I thus have to compile it myself,
which involces compiling its build dependencies.</p>
<p>Compiling awesome on Rocky Linux 8.10 requires the following dependencies (in order of build):
* lua
@ -153,9 +179,15 @@ sudo dnf builddep lua-*.src.rpm --nobest --refresh
rpmbuild --rebuild lua-.src.rpm
</code></p>
<p>To facilitate installing the built dependencies, you can use <code>createrepo</code> to
create a repo in <code>/home/user/rpmbuild</code> and pointing a new dnf repo to this
folder.</p>
<p>Specific notes:
* 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 <code>/etc/yum.repos.d/fedora.repo</code>
* lua-ldoc and lua-penlight depend on each other, thus you will need to
temporarily activate the fc28 repo by adding this in
<code>/etc/yum.repos.d/fedora.repo</code>
<code>
[fedora]
name=Fedora 28 - x86_64
@ -165,13 +197,29 @@ gpgcheck=0
</code>
Make sure to disable it after getting lua-ldoc or lua-penlight built.</p>
<p>After building all of your dependencies, clean-up everything by rolling back to the transaction before you started installing build dependencies. Use <code>dnf history info &lt;transaction no&gt;</code> to find that number and then <code>dnf history rollback &lt;transaction no&gt;</code></p>
<p>After building all of your dependencies, clean-up everything by rolling back to
the transaction before you started installing build dependencies. Use <code>dnf
history info &lt;transaction no&gt;</code> to find that number and then <code>dnf history
rollback &lt;transaction no&gt;</code></p>
<p>To facilitate installing the built dependencies, you can use <code>createrepo</code> to create a repo in <code>/home/user/rpmbuild</code> and pointing a new dnf repo to this folder.</p>
<p>Once everything is rolledback, you can install awesome and <em>just</em> it's runtime
dependencies, and then refer to archlinux's
<a href="https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=awesome-gnome">awesome-gnome</a>
package or the <a href="http://web.archive.org/web/20160205182002/http://awesome.naquadah.org/wiki/Quickly_Setting_up_Awesome_with_Gnome">wiki article it is based
on</a>
to integrate awesome in gnome.</p>
<p>Once everything is rolledback, you can install awesome and <em>just</em> it's runtime dependencies, and then refer to archlinux's <a href="https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=awesome-gnome">awesome-gnome</a> package to integrate awesome in gnome.</p>
<h2>5) Install git-annex standalone</h2>
<p>5) Install git-annex standalone</p>
<p>I use git-annex to store my footage. Indeed, there isn't a git-annex package, but it is easy to install git-annex
standalone by following <a href="https://git-annex.branchable.com/install/rpm_standalone/">upstream's guide</a></p>
<h2>Other options</h2>
<p>I mentionned above that there were other ways to install Davinci on Linux without having to use Rocky Linux. Here are a few:
* <a href="https://github.com/zelikos/davincibox">via distrobox</a>
* <a href="https://github.com/flolu/davinci-resolve-linux">on debian</a>
* <a href="https://wiki.archlinux.org/title/DaVinci_Resolve">on arch</a></p>
@ -185,10 +233,10 @@ Make sure to disable it after getting lua-ldoc or lua-penlight built.</p>
<div class="pagedate text-muted">
<span class="created">Created <time datetime="2025-01-12T02:49:46Z" class="dt-published">Sun Jan 12 02:49:46 2025</time>.</span>
<span class="created">Created <time datetime="2025-01-12T19:58:43Z" class="dt-published">Sun Jan 12 19:58:43 2025</time>.</span>
<span class="edited">
Edited <time datetime="2025-01-12T02:49:46Z">Sun Jan 12 02:49:46 2025</time>.
Edited <time datetime="2025-01-12T19:58:43Z">Sun Jan 12 19:58:43 2025</time>.
</span>
</div>
@ -220,7 +268,7 @@ Make sure to disable it after getting lua-ldoc or lua-penlight built.</p>
<!-- TODO: Find other ways to setup analytics
<script data-goatcounter="https://analytics.anarc.at/count" async src="//analytics.anarc.at/count.js"></script>
<noscript>
<img src="https://analytics.anarc.at/count?p=davinci-resolve&t=davinci-resolve" alt="tracking pixel to count visitors when Javascript is disabled" />
<img src="https://analytics.anarc.at/count?p=davinci-resolve&t=Davinci%20Resolve%20Workstation" alt="tracking pixel to count visitors when Javascript is disabled" />
</noscript>
-->
</body>