ayakael.net/davinci-resolve/index.html
forgejo-actions[bot] dd67c694b5
All checks were successful
/ deploy (push) Successful in 28s
davinci-resolve: add guide
2025-01-12 02:49:54 +00:00

227 lines
7.9 KiB
HTML

<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" class="h-100">
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
<title>davinci-resolve - Ayakael</title>
<!-- cargo-culted from https://realfavicongenerator.net/ -->
<!-- for the record: it is absolutely ridiculous that new browsers
*and* operating systems each want their own little precious
snowflake just for a frigging icon -->
<link rel="apple-touch-icon" sizes="180x180" href="../apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="../favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="../favicon-16x16.png">
<link rel="manifest" href="../site.webmanifest">
<meta name="msapplication-TileColor" content="#da532c">
<meta name="theme-color" content="#ffffff">
<!-- ikiwiki CSS -->
<link href="../css/style.css" rel="stylesheet" />
<!-- Bootstrap core CSS -->
<!-- those checksums can be verified with: shasum -b -a 384 $file | xxd -r -p | base64 -->
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.2.3/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-rbsA2VBKQhggwzxH7pPCaAqO46MgnOM80zW1RWuH61DGLwZJEdK2Kadq2F9CUG65" crossorigin="anonymous">
<!-- Custom styles for this template -->
<link href="../css/bootstrap.local.css" rel="stylesheet" />
<!-- Custom styles for derivatives -->
<link rel="stylesheet" href="../css/local.css" type="text/css" />
</head>
<body class="d-flex flex-column h-100">
<header>
<nav class="navbar fixed-top navbar-expand-lg navbar-light bg-light border">
<div class="container-fluid">
<a class="navbar-brand me-auto" href="../">
<img alt="Ayakael" src="../favicon.png" width="48" height="48" />
</a>
<button class="navbar-toggler collapsed" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbarScroll" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div id="navbar" class="collapse navbar-collapse">
<!-- the anchors force ikiwiki to use a tags instead of spans. hopefully. -->
<ul class="navbar-nav nav-link align-items-center ms-auto">
<li><a href="../index.en.html">Home</a></li>
<li><a href="https://ayakael.net/forge/">Forge</a></li>
<li><a href="../contact/index.en.html">Contact</a></li>
</ul>
<ul class="navbar-nav nav-link align-items-center ms-auto">
</ul>
</div>
</div>
</nav>
</header>
<main class="flex-shrink-0">
<div class="container" id="content">
<p>1) Install rocky linux 8.6</p>
<ul>
<li>upgrade to latest packages
<code>
sudo dnf update
</code></li>
<li>enable networking</li>
</ul>
<p>2) install amdgpu-pro</p>
<ul>
<li>Remove nomodeset and rdblacklist=nouveau in grub config in /etc/default/grub and /boot/grub2/grubenv</li>
</ul>
<p><code>
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
</code></p>
<ul>
<li>Add user to video and render group:
<code>
sudo usermod -a -G render
sudo usermod -a -G video
</code></li>
</ul>
<p>3) Install Davince Resolve Studio 19</p>
<ul>
<li><p>install xcb-util-cursor:
<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
<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>
<p>Compiling awesome on Rocky Linux 8.10 requires the following dependencies (in order of build):
* lua
* lua-markdown
* lua-lgi
* lua-filesystem
* lua-ldoc
* lua-penlight
* xapian-xire
* doxygen (note: this ought to be fc29 version)
* libxdg-basedir
* xcb-util
* xcb-util-wm
* xcb-util-keysymx
* xorg-x11-util-macros
* xcb-util-xrm
* libxkb
* xcb-util-image
* xcb-util-renderutil</p>
<p>To build these, you have to go through various iterations of fetching
source RPMs from <a href="https://archive.fedoraproject.org/pub/archive/fedora/linux/releases/28/Everything/source/tree/Packages">fedora 28 src repo</a>,
installing the builddeps and finally rebuilding using <code>rpbbuild</code>. Thus,
for lua, you would:
<code>
wget https://archive.fedoraproject.org/pub/archive/fedora/linux/releases/28/Everything/source/tree/Packages/l/lua-5.3.4-10.fc28.src.rpm
sudo dnf builddep lua-*.src.rpm --nobest --refresh
rpmbuild --rebuild lua-.src.rpm
</code></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>
<code>
[fedora]
name=Fedora 28 - x86_64
metalink=https://mirrors.fedoraproject.org/metalink?repo=fedora-28&amp;arch=x86_64
enabled=1
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>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 to integrate awesome in gnome.</p>
<p>5) Install git-annex standalone</p>
<!-- legacy Ikiwiki comments.pm section -->
<!-- Mastodon comments -->
<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="edited">
Edited <time datetime="2025-01-12T02:49:46Z">Sun Jan 12 02:49:46 2025</time>.
</span>
</div>
</div> <!-- /container -->
</main>
<footer class="footer mt-auto bg-light py-2" role="contentinfo">
<div class="container">
<div class="row text-muted">
<div class="col-sm">
Copyleft © 2024 ayakael <a href="../meta/license/">CC-BY-SA</a>
</div>
<div class="col-sm text-sm-end">
Powered by <a href="http://ikiwiki.info/">ikiwiki</a>.
</div>
</div>
</div>
</footer>
<!-- Bootstrap core JavaScript
================================================== -->
<!-- Placed at the end of the document so the pages load faster -->
<script src="https://cdn.jsdelivr.net/npm/@popperjs/core@2.11.6/dist/umd/popper.min.js" integrity="sha384-oBqDVmMz9ATKxIep9tiCxS/Z9fNfEXiDAYTujMAeBAsjFuCZSmKbSSUnQlmh/jp3" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.2.3/dist/js/bootstrap.bundle.min.js" integrity="sha384-kenU1KFdBIe4zVF0s0G1M5b4hcpxyD9F7jL+jjXkk+Q2h455rYXK/7HAuoJl+0I4" crossorigin="anonymous"></script>
<!-- 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" />
</noscript>
-->
</body>
</html>