Howto davinci resolve

From Vidalinux Wiki
Jump to navigation Jump to search

archlinux

configure RX580 amdgpu-pro drivers:

wget https://aur.archlinux.org/cgit/aur.git/snapshot/aur-43227c96bde5619f54d1fd2ba2a74bf0e943066c.tar.gz
tar xvf aur-43227c96bde5619f54d1fd2ba2a74bf0e943066c.tar.gz
cd aur-43227c96bde5619f54d1fd2ba2a74bf0e943066c
makepkg -si

install opencl-legacy:

yay -S opencl-legacy-amdgpu-pro lib32-opencl-legacy-amdgpu-pro

download qt5-webkit:

wget https://phoenixnap.dl.sourceforge.net/project/fabiololix-os-archive/Packages/qt5-webkit-5.212.0alpha4-20-x86_64.pkg.tar.zst

install qt5-webkit:

pacman -U qt5-webkit-5.212.0alpha4-20-x86_64.pkg.tar.zst

download latest davinci resolve:

wget https://raw.githubusercontent.com/vidalinux/resolve-flatpak/main/shell/download-resolve.sh

install jq package:

sudo pacman -S jq

show available davinci resolve versions:

curl -o- https://www.blackmagicdesign.com/api/support/nz/downloads.json |
  jq -r '.downloads[]
          | select(.urls["Linux"] != null)
          | select(.urls["Linux"][0]["product"] == "davinci-resolve")
          | [.urls["Linux"][0].downloadTitle, .urls["Linux"][0].downloadId]
          | @tsv'

show available davinci resolve studio versions:

curl -o- https://www.blackmagicdesign.com/api/support/nz/downloads.json |
  jq -r '.downloads[]
          | select(.urls["Linux"] != null)
          | select(.urls["Linux"][0]["product"] == "davinci-resolve-studio")
          | [.urls["Linux"][0].downloadTitle, .urls["Linux"][0].downloadId]
          | @tsv'

edit download-resolve.sh:

 else
_downloadid=
_referid='77ef91f67a9e411bbbe299e595b4cfcc'
_pkgver=18.5

install davinci-resolve with yay:

yay -G davinci-resolve

edit PKGBUILD:

_downloadid=

edit /usr/share/applications/DaVinciResolve.desktop:

Exec=/usr/bin/progl /opt/resolve/bin/resolve

davinci-resolve-checker

install required dependencies:

sudo pacman -S expac mesa-utils python-distro python-cached-property

install other required dependencies from aur

yay -S python-pylspci

clone git repo:

git clone https://github.com/Ashark/davinci-resolve-checker.git

execute the script:

cd davinci-resolve-checker
./davinci-resolve-checker.py

install obs amd encoder

install obs with amf support:

yay -S obs-studio-amf

if using wayland launch obs with the following settings:

VK_ICD_FILENAMES=/usr/share/vulkan/icd.d/amd_pro_icd64.json:/usr/share/vulkan/icd.d/amd_pro_icd32.json obs

references

[progl]

[shutter]