DaVinci Resolve

From Chorke Wiki
Jump to navigation Jump to search

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

References