Package Details: davinci-resolve-studio 19.1.2-1

Git Clone URL: https://aur.archlinux.org/davinci-resolve-studio.git (read-only, click to copy)
Package Base: davinci-resolve-studio
Description: Professional A/V post-production software suite from Blackmagic Design. Studio edition, requires license key or license dongle.
Upstream URL: https://www.blackmagicdesign.com/support/family/davinci-resolve-and-fusion
Keywords: blackmagic davinci editor resolve studio video
Licenses: Commercial
Conflicts: davinci-resolve, davinci-resolve-beta, davinci-resolve-studio-beta
Submitter: codibit
Maintainer: Muflone
Last Packager: Muflone
Votes: 42
Popularity: 2.45
First Submitted: 2018-01-21 18:37 (UTC)
Last Updated: 2025-01-05 20:37 (UTC)

Dependencies (24)

Required by (0)

Sources (1)

Pinned Comments

Latest Comments

« First ‹ Previous 1 .. 10 11 12 13 14 15 16 17 18 19 20 .. 24 Next › Last »

dack commented on 2021-10-19 18:18 (UTC) (edited on 2021-10-19 18:18 (UTC) by dack)

@nixit Is it present in your built package file?

$ tar -tavf davinci-resolve-studio-17.3.2-3-any.pkg.tar.zst |grep libgpu
-rwxr-xr-x root/root     756928 2021-10-14 08:28 opt/resolve/libs/libgpudetect.so

nixit commented on 2021-10-19 18:12 (UTC) (edited on 2021-10-19 18:12 (UTC) by nixit)

@dack, that's the problem there is no libgpudetect.so file. I updated from 17.3 to 17.3.2-3, not sure if that has anything to do with it.

dack commented on 2021-10-19 18:02 (UTC)

@nixit 17.3.2-3 is working fine for me here. Check the file permissions - do you have read and execute permission to /opt/resolve/libs/libgpudetect.so?

nixit commented on 2021-10-19 17:29 (UTC) (edited on 2021-10-19 17:30 (UTC) by nixit)

Just updated to 17.3.2-3 and am getting an error:

error while loading shared libraries: libgpudetect.so cannot open shared object file. no such file or directory.

any ideas?

dack commented on 2021-10-11 22:05 (UTC)

It looks like they've updated the zip file and kept the same version number/filename. I'm seeing a different hash than the PKGBUILD. The hash I have is 39258994a9d6a4e36bbb993251d8f6bdd703ea5208fc260ffa1ee8967e5b7b6c.

<deleted-account> commented on 2021-10-06 19:43 (UTC)

@dack no it's that the installer doesn't ship the QT wayland plugin, and that the pkgbuild uses the installer instead of just using 7z to extract the contents.

dack commented on 2021-10-06 18:52 (UTC) (edited on 2021-10-06 18:52 (UTC) by dack)

@melvyn2 I'm guessing you might be experiencing a permission issue. As I noted in a earlier comment, for some reason the PKGBUILD changes the owner of the files to the user who built the package. It works fine for me by just removing the owner change stuff. I'm not sure why it's included in the first place. Just remove all of the following:

    echo -e "\033[1m==> Setting the right permissions...\033[0m"

    if [ ! "$(logname 2>&1 >/dev/null)" ]; then
        _user=$(logname)
        _group=$(id -g -n ${_user})
    else
        _user=root
        _group=root
    fi

    chown -R ${_user}:${_group} "${pkgdir}/opt/${_pkgname}/"{*,.*}
    chown -R ${_user}:root "${pkgdir}/opt/${_pkgname}/"{configs,DolbyVision,easyDCP,Fairlight,logs,Media,'Resolve Disk Database',.crashreport,.license,.LUT}

    echo -e "\033[1m==> Done!\033[0m"

<deleted-account> commented on 2021-10-05 05:16 (UTC)

Fixed it by not using the stupid bundled installer AGAIN, patch below:

diff --git a/PKGBUILD b/PKGBUILD
index 23f48c5..3798652 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -68,7 +68,7 @@ url="https://www.blackmagicdesign.com/support/family/davinci-resolve-and-fusion"
license=('Commercial')
depends=('glu' 'gtk2' 'gstreamer' 'libpng12' 'lib32-libpng12' 'ocl-icd' 'openssl-1.0' 'fuse2'
'opencl-driver' 'qt5-base' 'qt5-svg' 'qt5-webkit' 'qt5-webengine' 'qt5-websockets')
-makedepends=('libarchive' 'xdg-user-dirs')
+makedepends=('libarchive' 'xdg-user-dirs' 'p7zip')
options=('!strip')
provides=('davinci-resolve')
install=davinci-resolve.install
@@ -117,8 +117,9 @@ package()
echo -e "\033[1m==> Extracting from bundle...\033[0m"
echo -e "\033[1mPlease wait, this take a while...\033[0m"
cd "${srcdir}" || exit
-       chmod u+x ./${_installer_binary}
-       ./${_installer_binary} -i -y -n -a -C "${pkgdir}/opt/${_pkgname}"
+#      chmod u+x ./${_installer_binary}
+       7z x ./${_installer_binary} -o"${pkgdir}/opt/${_pkgname}"
+       chmod -R +rx "${pkgdir}/opt/${_pkgname}"
rm -rf ${_installer_binary}

echo -e "\033[1m==> Add lib symlinks...\033[0m"
@@ -140,10 +141,7 @@ package()
install -Dm644 share/DaVinciResolve.directory "${pkgdir}/usr/share/desktop-directories/${resolve_app_name}.directory"
install -Dm644 share/DaVinciResolve.menu "${pkgdir}/etc/xdg/menus/${resolve_app_name}.menu"

-       for _file in $(find ${pkgdir}/usr/share ${pkgdir}/etc -type f -name *.desktop -o -name *.directory -o -name *.menu | xargs)
-       do
-               sed -i "s|RESOLVE_INSTALL_LOCATION|/opt/${_pkgname}|g" $_file
-       done
+       find ${pkgdir}/usr/share ${pkgdir}/etc -type f -print -exec sed -i "s;RESOLVE_INSTALL_LOCATION;/opt/${_pkgname};g" {} \;

# This will help adding the app to favorites and prevent glitches on many desktops.
echo "StartupWMClass=resolve" >> "${pkgdir}/usr/share/applications/${resolve_app_name}.desktop"

<deleted-account> commented on 2021-10-05 04:32 (UTC)

==> Starting package()...
==> Creating missing folders...
==> Extracting from bundle...
Please wait, this take a while...
This application failed to start because it could not find or load the Qt platform plugin "wayland".

Available platform plugins are: linuxfb, minimal, offscreen, xcb.

Reinstalling the application may fix this problem.
/tmp/.mount_DaVincPV6pGP/AppRun: line 10: 167929 Aborted                 (core dumped) $CURRENT_DIR/installer $CURRENT_DIR $@

This used to work fine on wayland, what changed now?

urbenlegend commented on 2021-07-21 08:41 (UTC) (edited on 2021-07-21 08:42 (UTC) by urbenlegend)

The Davinci Resolve Speed Editor panel does not work unless an additional udev rule file is created with the contents

KERNEL=="hidraw*", SUBSYSTEM=="hidraw", ATTRS{idVendor}=="1edb", TAG+="uaccess"

This needs to be put in a file that comes before /usr/lib/udev/rules.d/73-seat-late.rules.

Can we get this added to the PKGBUILD? Otherwise, the Speed Editor (and likely other panels) will not work out of the box.