Howto davinci resolve

From Vidalinux Wiki
Jump to navigation Jump to search

RX580

install 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

6950XT

install amdgpu-pro drivers:

git clone https://aur.archlinux.org/amdgpu-pro-installer.git
cd amdgpu-pro-installer
makepkg -si

intel arc770

remove xorg intel driver:

pacman -R xf86-video-intel

enable chaotic repo:

https://wiki.vidalinux.org/index.php/Howto_create_own_archlinux_distro#enable_chaotic_repo

download latest mesa from testing repos:

wget https://ftp.osuosl.org/pub/archlinux/extra-testing/os/x86_64/mesa-1:24.1.0-1-x86_64.pkg.tar.zst
wget https://ftp.osuosl.org/pub/archlinux/extra-testing/os/x86_64/libva-mesa-driver-1:24.1.0-1-x86_64.pkg.tar.zst
wget https://ftp.osuosl.org/pub/archlinux/extra-testing/os/x86_64/mesa-vdpau-1:24.1.0-1-x86_64.pkg.tar.zst
wget https://ftp.osuosl.org/pub/archlinux/extra-testing/os/x86_64/vulkan-intel-1:24.1.0-1-x86_64.pkg.tar.zst
wget https://ftp.osuosl.org/pub/archlinux/extra-testing/os/x86_64/vulkan-mesa-layers-1:24.1.0-1-x86_64.pkg.tar.zst
wget https://ftp.osuosl.org/pub/archlinux/multilib-testing/os/x86_64/lib32-vulkan-intel-1:24.1.0-1-x86_64.pkg.tar.zst
wget https://ftp.osuosl.org/pub/archlinux/multilib-testing/os/x86_64/lib32-mesa-vdpau-1:24.1.0-1-x86_64.pkg.tar.zst
wget https://ftp.osuosl.org/pub/archlinux/multilib-testing/os/x86_64/lib32-mesa-1:24.1.0-1-x86_64.pkg.tar.zst
wget https://ftp.osuosl.org/pub/archlinux/multilib-testing/os/x86_64/lib32-libva-mesa-driver-1:24.1.0-1-x86_64.pkg.tar.zst

install latest mesa:

pacman -U --noconfirm mesa-1:24.1.0-1-x86_64.pkg.tar.zst libva-mesa-driver-1:24.1.0-1-x86_64.pkg.tar.zst mesa-vdpau-1:24.1.0-1-x86_64.pkg.tar.zst vulkan-intel-1:24.1.0-1-x86_64.pkg.tar.zst vulkan-mesa-layers-1:24.1.0-1-x86_64.pkg.tar.zst lib32-vulkan-intel-1:24.1.0-1-x86_64.pkg.tar.zst lib32-mesa-1:24.1.0-1-x86_64.pkg.tar.zst lib32-libva-mesa-driver-1:24.1.0-1-x86_64.pkg.tar.zst

install latest xanmod-edge:

yay -S linux-xanmod-edge-linux-bin-x64v4 linux-xanmod-edge-linux-headers-bin-x64v4

install intel-runtime:

pacman -S intel-graphics-compiler intel-compute-runtime onevpl-intel-gpu intel-gpu-tools intel-media-driver

add this to /etc/default/grub:

GRUB_CMDLINE_LINUX="i915.force_probe=56a0"

update grub:

grub-mkconfig -o /boot/grub/grub.cfg

recreate initramfs:

mkinitcpio -P

reboot system:

reboot

launch davinci resolve in wayland:

QT_QPA_PLATFORM=xcb /opt/resolve/bin/resolve

install davinci resolve

install davinci-resolve using yay:

yay -S davinci-resolve

or install davinci-resolve-studio:

yay -S davinci-resolve-studio

when installation finish 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

errors

if you have this error when loading davinci resolve:

/opt/resolve/bin/resolve: symbol lookup error: /usr/lib/libpango-1.0.so.0: undefined symbol: g_string_free_and_steal

use the following command to load davinci resolve:

LD_PRELOAD=/usr/lib64/libglib-2.0.so /usr/bin/progl /opt/resolve/bin/resolve

references

[progl]

[shutter]

[amdgpu repo]