Howto davinci resolve: Difference between revisions
Mandulete1 (talk | contribs) |
Mandulete1 (talk | contribs) No edit summary |
||
Line 77: | Line 77: | ||
if using wayland launch obs with the following settings: | 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 | 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 = | = references = | ||
* https://discord.com/channels/930482284774191215/984132126574276689 | * https://discord.com/channels/930482284774191215/984132126574276689 |
Revision as of 04:24, 17 October 2023
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
install davinci resolve
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
get available davinci resolve download_id:
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'
get available davinci resolve studio download_id:
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 and modify downloadid and pkgver:
else _downloadid='6d977a8a9f384a3a9b3f28f6ca1efedd' _referid='77ef91f67a9e411bbbe299e595b4cfcc' _pkgver=18.5
download davinci resolve binary with script:
chmod +x download-resolve.sh ./download-resolve.sh
get sha256sum from davinci resolve binary:
sha256sum DaVinci_Resolve_18.5_Linux.zip
install davinci-resolve with yay:
yay -G davinci-resolve
enter directory davinci resolve:
cd davinci-resolve
edit PKGBUILD and modify downloadid and sha256sums:
_downloadid='6d977a8a9f384a3a9b3f28f6ca1efedd' # Variables for FREE edition pkgdesc='Professional A/V post-production software suite from Blackmagic Design' _archive_name=DaVinci_Resolve_${pkgver}_Linux sha256sums=('4fe0c5dd57cc3a41a1d798bc8be66d946b182ec1c90af03d2eb6d8259314e5b0')
build the package:
makepkg -si
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
- https://discord.com/channels/930482284774191215/984132126574276689
- https://fedoraproject-org.translate.goog/wiki/SIGs/HC?_x_tr_sl=auto&_x_tr_tl=en&_x_tr_hl=es&_x_tr_pto=wapp
- https://wiki.archlinux.org/title/DaVinci_Resolve
- https://wiki.archlinux.org/title/AMDGPU_PRO
- https://gist.github.com/c0debreaker/94d65d0a48d9173436c949fe62903964
- https://aur.archlinux.org/packages/obs-studio-amf
- https://linuxgamecast.com/2023/02/davinci-resolve-on-linux-amd-gpu-drivers
- https://github.com/CosmicFusion/fedora-amdgpu-pro/tree/main
[progl]
[shutter]
[amdgpu repo]