DaVinci Resolve: Difference between revisions
Jump to navigation
Jump to search
(14 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
==Install » DaVinci » 19== | ==Install » DaVinci » 19== | ||
<syntaxhighlight lang="bash"> | <syntaxhighlight lang="bash"> | ||
unzip ./DaVinci_Resolve_19.0b4_Linux.zip | |||
./DaVinci_Resolve_19.0b4_Linux.run --appimage-extract | ./DaVinci_Resolve_19.0b4_Linux.run --appimage-extract | ||
cd ./squashfs-root | cd ./squashfs-root | ||
Line 32: | Line 33: | ||
' | ' | ||
</syntaxhighlight> | </syntaxhighlight> | ||
---- | |||
'''Update AppRun:''' Remove following highlighted lines from <code>AppRun</code> for Ubuntu package verification. | |||
Remove following highlighted lines from <code>AppRun</code> for Ubuntu package verification. | |||
<syntaxhighlight lang="bash" start="161" highlight="12-14,18" line> | <syntaxhighlight lang="bash" start="161" highlight="12-14,18" line> | ||
fi | fi | ||
Line 56: | Line 56: | ||
libglu1-mesa-0.0.0 | libglu1-mesa-0.0.0 | ||
libglvnd0-0.0.0 | libglvnd0-0.0.0 | ||
</syntaxhighlight> | |||
---- | |||
<syntaxhighlight lang="bash"> | |||
sudo ./AppRun -i | |||
:' | |||
[sudo] password for academia: | |||
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root' | |||
This will install DaVinci Resolve on this computer | |||
Do you wish to continue? (y/n): Y | |||
--- skipped --- | |||
Do you agree to the terms and conditions of this license? (y/n): Y | |||
--- skipped --- | |||
Creating Common Data Dir : /var/BlackmagicDesign/DaVinci Resolve | |||
DaVinci Resolve installed to /opt/resolve | |||
Done | |||
' | |||
</syntaxhighlight> | |||
---- | |||
<code>libgstwebrtc-1.0.so.0</code> this library skipped as we are not using '''Nvidia GPU''' | |||
<syntaxhighlight lang="bash"> | |||
cat << EXE | sudo bash | |||
DA_VINCI_LIBS='libglib-2.0.so.0 libgobject-2.0.so.0 libgstreamer-1.0.so.0' | |||
DA_VINCI_LIBS="\${DA_VINCI_LIBS} libgstsdp-1.0.so.0 libgio-2.0.so.0 libgmodule-2.0.so.0" | |||
DA_VINCI_LIBS="\${DA_VINCI_LIBS} libgstrtp-1.0.so.0 libgstpbutils-1.0.so.0 libgstbase-1.0.so.0" | |||
DA_VINCI_LIBS="\${DA_VINCI_LIBS} libgstvideo-1.0.so.0 libgstaudio-1.0.so.0 libgsttag-1.0.so.0 liborc-0.4.so.0" | |||
for lib in \${DA_VINCI_LIBS};do | |||
ln -sf /usr/lib/x86_64-linux-gnu/\${lib} /opt/resolve/libs/ | |||
done | |||
EXE | |||
# trying to copy libgstwebrtc-1.0.so.0 from another computer but it doesn't make sense | |||
# sudo ln -sf /usr/lib/x86_64-linux-gnu/libgstwebrtc-1.0.so.0 /opt/resolve/libs/ | |||
# scp [email protected]:/usr/lib/x86_64-linux-gnu/libgstwebrtc-1.0.so.0 . | |||
# sudo cp libgstwebrtc-1.0.so.0 /opt/resolve/libs/libgstwebrtc-1.0.so.0 | |||
# sudo chmod 633 /opt/resolve/libs/libgstwebrtc-1.0.so.0 | |||
/opt/resolve/bin/resolve | |||
:' | |||
/opt/resolve/bin/resolve: error while loading shared libraries: libgstwebrtc-1.0.so.0: cannot open shared object file: No such file or directory | |||
' | |||
</syntaxhighlight> | </syntaxhighlight> | ||
Line 67: | Line 111: | ||
|valign="top"| | |valign="top"| | ||
<syntaxhighlight lang="bash"> | |||
apt list --installed | grep nvidia | |||
dpkg -l | grep nvidia | |||
</syntaxhighlight> | |||
|valign="top"| | |valign="top"| | ||
<syntaxhighlight lang="bash"> | |||
apt list --installed | grep ocl-icd | |||
apt list --installed | grep opencl | |||
</syntaxhighlight> | |||
|- | |- | ||
Line 74: | Line 126: | ||
---- | ---- | ||
|- | |- | ||
| valign="top" | | |valign="top"| | ||
<syntaxhighlight lang="bash"> | |||
ls -lah /usr/lib/x86_64-linux-gnu/libnvidia-* | |||
ls -lah /usr/bin/nvidia-* | |||
</syntaxhighlight> | |||
|valign="top"| | |||
<syntaxhighlight lang="bash"> | |||
sudo apt-get install -y nvidia-cuda-toolkit | |||
nvidia-smi | |||
</syntaxhighlight> | |||
| valign="top" | | |valign="top"| | ||
|} | |} | ||
Line 83: | Line 145: | ||
{| | {| | ||
| valign="top" | | | valign="top" | | ||
* [https://forum.blackmagicdesign.com/viewtopic.php?f=21&t=177849 DaVinci » Resolve » Intel Arc GPU Issue] | |||
* [https://forums.developer.nvidia.com/t/installing-nvidia-cuda-toolkit/265957 DaVinci » Install » nvidia-cuda-toolkit] | |||
* [https://forum.blackmagicdesign.com/viewtopic.php?f=21&t=203865 DaVinci » Resolve » 19 » What's New] | * [https://forum.blackmagicdesign.com/viewtopic.php?f=21&t=203865 DaVinci » Resolve » 19 » What's New] | ||
* [https://github.com/flolu/davinci-resolve-linux DaVinci » Resolve » 16 » On Linux] | * [https://github.com/flolu/davinci-resolve-linux DaVinci » Resolve » 16 » On Linux] | ||
* [https://forums.developer.nvidia.com/t/gstwebrtc-in-jetson-tx2/123604 DaVinci » Resolve » <code>GstWebRTC</code>] | |||
* [https://www.blackmagicdesign.com/products/davinciresolve DaVinci » Resolve » Download] | * [https://www.blackmagicdesign.com/products/davinciresolve DaVinci » Resolve » Download] | ||
Line 109: | Line 174: | ||
| valign="top" | | | valign="top" | | ||
* [[Disk Performance|Ubuntu » Disk Performance]] | * [[Disk Performance|Ubuntu » Disk Performance]] | ||
* [https://docs.conda.io/projects/conda/en/latest/user-guide/install/linux.html Ubuntu » Install » Conda] | |||
* [[Free Up RAM|Ubuntu » Free Up RAM]] | * [[Free Up RAM|Ubuntu » Free Up RAM]] | ||
* [[Swap Space|Ubuntu » Swap Space]] | * [[Swap Space|Ubuntu » Swap Space]] |
Latest revision as of 12:06, 11 July 2024
Install » DaVinci » 19
unzip ./DaVinci_Resolve_19.0b4_Linux.zip
./DaVinci_Resolve_19.0b4_Linux.run --appimage-extract
cd ./squashfs-root
sudo ./AppRun -i
:'
[sudo] password for academia:
Error: Missing or outdated system packages detected.
Please install the following missing packages:
libapr1 libaprutil1 libasound2 libglib2.0-0
libxcb-composite0 libxcb-cursor0 libxcb-xinerama0
libxcb-xinput0 ocl-icd-libopencl1
'
sudo apt install --no-install-recommends libapr1t64 libaprutil1t64 libasound2t64 libglib2.0-0t64
sudo apt install --no-install-recommends libxcb-composite0 libxcb-cursor0 libxcb-xinerama0
sudo apt install --no-install-recommends libxcb-xinput0 ocl-icd-libopencl1
sudo ./AppRun -i
:'
Error: Missing or outdated system packages detected.
Please install the following missing packages:
libapr1 libaprutil1 libasound2 libglib2.0-0
(zenity:42390): Gtk-WARNING **: 22:17:23.983: Unable to acquire session bus: Failed to execute child process "dbus-launch" (No such file or directory)
Use SKIP_PACKAGE_CHECK=1 to bypass the system package check.
***********************
Installation cancelled.
'
Update AppRun: Remove following highlighted lines from AppRun
for Ubuntu package verification.
fi
check_rpm_packages "${CENTOS7_PACKAGES}"
report_package_status
}
function check_ubuntu_package_deps()
{
check_deb_packages '
dbus-1.10.24
fontconfig-2.12.0
libapr1-0.0.0
libaprutil1-0.0.0
libasound2-0.0.0
libbz2-1.0-0.0.0
libexpat1-0.0.0
libfreetype6-0.0.0
libglib2.0-0-0.0.0
libglu1-mesa-0.0.0
libglvnd0-0.0.0
sudo ./AppRun -i
:'
[sudo] password for academia:
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
This will install DaVinci Resolve on this computer
Do you wish to continue? (y/n): Y
--- skipped ---
Do you agree to the terms and conditions of this license? (y/n): Y
--- skipped ---
Creating Common Data Dir : /var/BlackmagicDesign/DaVinci Resolve
DaVinci Resolve installed to /opt/resolve
Done
'
libgstwebrtc-1.0.so.0
this library skipped as we are not using Nvidia GPU
cat << EXE | sudo bash
DA_VINCI_LIBS='libglib-2.0.so.0 libgobject-2.0.so.0 libgstreamer-1.0.so.0'
DA_VINCI_LIBS="\${DA_VINCI_LIBS} libgstsdp-1.0.so.0 libgio-2.0.so.0 libgmodule-2.0.so.0"
DA_VINCI_LIBS="\${DA_VINCI_LIBS} libgstrtp-1.0.so.0 libgstpbutils-1.0.so.0 libgstbase-1.0.so.0"
DA_VINCI_LIBS="\${DA_VINCI_LIBS} libgstvideo-1.0.so.0 libgstaudio-1.0.so.0 libgsttag-1.0.so.0 liborc-0.4.so.0"
for lib in \${DA_VINCI_LIBS};do
ln -sf /usr/lib/x86_64-linux-gnu/\${lib} /opt/resolve/libs/
done
EXE
# trying to copy libgstwebrtc-1.0.so.0 from another computer but it doesn't make sense
# sudo ln -sf /usr/lib/x86_64-linux-gnu/libgstwebrtc-1.0.so.0 /opt/resolve/libs/
# scp [email protected]:/usr/lib/x86_64-linux-gnu/libgstwebrtc-1.0.so.0 .
# sudo cp libgstwebrtc-1.0.so.0 /opt/resolve/libs/libgstwebrtc-1.0.so.0
# sudo chmod 633 /opt/resolve/libs/libgstwebrtc-1.0.so.0
/opt/resolve/bin/resolve
:'
/opt/resolve/bin/resolve: error while loading shared libraries: libgstwebrtc-1.0.so.0: cannot open shared object file: No such file or directory
'
Playground
mkdir -p ~/Documents/davinci-playground
cd ~/Documents/davinci-playground
|
apt list --installed | grep nvidia
dpkg -l | grep nvidia
|
apt list --installed | grep ocl-icd
apt list --installed | grep opencl
|
| ||
ls -lah /usr/lib/x86_64-linux-gnu/libnvidia-*
ls -lah /usr/bin/nvidia-*
|
sudo apt-get install -y nvidia-cuda-toolkit
nvidia-smi
|
References
| ||