Package Details: davinci-resolve 19.1.4-1

Git Clone URL: https://aur.archlinux.org/davinci-resolve.git (read-only, click to copy)
Package Base: davinci-resolve
Description: Professional A/V post-production software suite from Blackmagic Design
Upstream URL: https://www.blackmagicdesign.com/support/family/davinci-resolve-and-fusion
Keywords: blackmagic davinci editor resolve video
Licenses: LicenseRef-Commercial
Conflicts: davinci-resolve-beta, davinci-resolve-studio, davinci-resolve-studio-beta
Submitter: jonathon
Maintainer: Muflone
Last Packager: Muflone
Votes: 150
Popularity: 2.62
First Submitted: 2017-04-19 20:57 (UTC)
Last Updated: 2025-03-22 03:49 (UTC)

Dependencies (25)

Required by (0)

Sources (1)

Pinned Comments

Muflone commented on 2025-01-26 00:55 (UTC)

IMPORTANT!

Since version 19.1.3-2 this package will not download automatically the source file from the upstream site.

To build this package you will need to manually download the file from https://www.blackmagicdesign.com/support/family/davinci-resolve-and-fusion and place it in the same directory with the PKGBUILD.

This would reduce the mess in this package, making it more readable and clear. Also bypassing the required information from the upstream URL is not allowed in an automated way.

satriani commented on 2021-05-15 14:14 (UTC)

Issues and bugs, please report on the official forum here: https://forum.blackmagicdesign.com/viewforum.php?f=21&sid=239f0d5c49abe5d6a635b69638192e9a Thank you!

Visit DaVinci Resolve - ArchWiki before installing: https://wiki.archlinux.org/title/DaVinci_Resolve

ATTENTION: Please don't flag this package as out-of-date before beta version has been released as stable!

This is a current stable Package!

The current free beta is available here: https://aur.archlinux.org/packages/davinci-resolve-beta/

And for current studio beta here: https://aur.archlinux.org/packages/davinci-resolve-studio-beta/

Thanks.

Latest Comments

« First ‹ Previous 1 .. 6 7 8 9 10 11 12 13 14 15 16 .. 60 Next › Last »

GatKaz commented on 2023-12-01 06:45 (UTC)

Needed to rollback to kernel 6.5.9 (from 6.6.3) in order for davinci to start, otherwise I'd get the tbb error (exact same error readout as the one on the DVR archwiki page)

Davius commented on 2023-11-17 11:46 (UTC) (edited on 2023-11-17 11:47 (UTC) by Davius)

Hi.

Please consider merging theses 2 patches for .desktop icons integration (As do the original installer)

1- Reactivate install in PKGBUILD (desactivated beacause obsolete)

--- PKGBUILD-old    2023-11-16 16:28:19.590516141 +0100
+++ PKGBUILD    2023-11-16 16:27:38.002719380 +0100
@@ -108,6 +108,8 @@
 _installer_binary=${_archive_run_name}.run
 source=("${_archive}"::"$_srcurl")

+install='davinci-resolve.install'
+
 prepare()
 {
    pushd "${srcdir}"

2- patch for davinci-resolve.install

--- davinci-resolve.install 2023-11-16 16:22:10.010448391 +0100
+++ davinci-resolve.txt 2023-11-16 16:20:29.979541981 +0100
@@ -1,100 +1,12 @@
-#  These are fragments from the original code.
-#  I do not see any need for it yet, but maybe I will be able to find out later.
+post_install() {
+if [[ -f /usr/bin/xdg-desktop-menu ]]; then
+    xdg-desktop-menu install --novendor /usr/share/desktop-directories/DaVinciResolve.directory /usr/share/applications/DaVinciResolve.desktop
+    xdg-desktop-menu install --novendor /usr/share/desktop-directories/DaVinciResolve.directory /usr/share/applications/blackmagicraw-player.desktop
+    xdg-desktop-menu install --novendor /usr/share/desktop-directories/DaVinciResolve.directory /usr/share/applications/blackmagicraw-speedtest.desktop
+    xdg-desktop-menu install --novendor /usr/share/desktop-directories/DaVinciResolve.directory /usr/share/applications/DaVinciControlPanelsSetup.desktop
+    xdg-desktop-menu install --novendor /usr/share/desktop-directories/DaVinciResolve.directory /usr/share/applications/DaVinciResolveCaptureLogs.desktop
+    xdg-desktop-menu install --novendor /usr/share/desktop-directories/DaVinciResolve.directory /usr/share/applications/DaVinciResolveInstaller.desktop

-#  echo "Removing old files..."
-#  DIRS_TO_REMOVE=(
-#      "Onboarding"
-#      "libs"
-#      "plugins"
-#      "UI_Resource")
-
-#  if [[ -d ${/opt/${_pkgname}} ]]; then
-#      echo "Removing old files"
-#      for dir in "${DIRS_TO_REMOVE[@]}"; do
-#          rm -rf "/opt/${_pkgname}/$dir"
-#      done
-#  fi
-
-#if [[ $EUID -ne 0 ]]; then
-#  # Script being run as non-root user
-#  USER_UID=$EUID
-#else
-#  # Script being run as root
-#  USER_UID=$SUDO_UID
-#  if [ -z "$USER_UID" ]; then
-#      USER_UID=$PKEXEC_UID
-#  fi
-#  if [ -z "$USER_UID" ]; then
-#      USER_UID=0
-#  fi
-#fi
-
-#USER_HOME=`awk -v val=$USER_UID -F ":" '\$3==val{print \$6;exit}' /etc/passwd`
-
-# TODO: We should talk to the BMD developers about it. Pretty sensitive subject systemd @_@
-#  if [[ -d ${/opt/${_pkgname}} && ${/opt/${_pkgname}} == /home/resolve* ]]; then
-#      chown $USER_UID "$/opt/${_pkgname}"
-#  else
-#      # Uninstall the panel daemon only on Standalone install
-#      # Uninstall BMD panel daemon
-#      SVC_NAME=bmdpaneld
-
-#      # Kill the daemon in case it is running
-#      killall -9 ${SVC_NAME}
-
-#      if [ -f /etc/init.d/${SVC_NAME} ]; then
-#          echo "#Uninstalling BMD panel service..."
-#          service ${SVC_NAME} stop
-#          /sbin/chkconfig --del ${SVC_NAME}
-#          rm -f /etc/init.d/${SVC_NAME}
-#      fi
-#      mkdir -m 0775 -p "$/opt/${_pkgname}"
-#      chown $USER_UID "$/opt/${_pkgname}" -R
-#  fi
-
-post_install()
-{
-   echo "Updating icon cache..."
-   gtk-update-icon-cache "share/icons/hicolor" -f 2>&1  >> /dev/null
-   update-mime-database "share/mime/" 2>&1  >> /dev/null
-
-   echo "Installing the default app associations..."
-   if [ ! "$(grep -ir 'application/x-resolveproj=com.blackmagicdesign.resolve.desktop' /usr/share/applications/defaults.list)" ]; then
-       echo "application/x-resolveproj=com.blackmagicdesign.resolve.desktop" >> /usr/share/applications/defaults.list
-   fi
-
-   if [ ! "$(grep -ir 'application/x-resolveproj=com.blackmagicdesign.resolve.desktop;' /usr/share/applications/mimeinfo.cache)" ]; then
-       echo "/application\/x-resolveproj=com.blackmagicdesign.resolve.desktop;/d" >> /usr/share/applications/mimeinfo.cache
-   fi
-
-   # reload the udev rules
-   udevadm control --reload-rules 2>&1
-   udevadm trigger 2>&1
-
-   # Ensure panel permissions are correctly set for the current session
-   DEVICES=`lsusb | grep "ID 1edb\|ID 096e" | sed -e "s/:/ /g" | awk '{print"/dev/bus/usb/"$2"/"$4}'`
-   for DEV in $DEVICES
-   do
-       echo "Fixing usb permissions for $DEV"
-       chmod a+w $DEV
-   done
+    xdg-desktop-menu forceupdate
+fi
 }
-
-post_remove()
-{
-   # Remove entry from /usr/share/applications/defaults.list
-   if [ "$(grep -ir 'application/x-resolveproj=com.blackmagicdesign.resolve.desktop' /usr/share/applications/defaults.list)" ]; then
-       sed -i '/application\/x-resolveproj=com.blackmagicdesign.resolve.desktop/d' /usr/share/applications/defaults.list
-   fi
-
-   # Removing entry from /usr/share/applications/mimeinfo.cache
-   if [ "$(grep -ir 'application/x-resolveproj=com.blackmagicdesign.resolve.desktop;' /usr/share/applications/mimeinfo.cache)" ]; then
-       sed -i '/application\/x-resolveproj=com.blackmagicdesign.resolve.desktop;/d' /usr/share/applications/mimeinfo.cache
-   fi
-
-   # Remove udev rules
-   for rule in /usr/lib/udev/rules.d/75-davincipanel.rules /usr/lib/udev/rules.d/75-sdx.rules
-   do
-       [[ -f $rule ]] && rm -rf $rule
-   done
-}
\ Pas de fin de ligne à la fin du fichier

Davius commented on 2023-11-14 15:25 (UTC) (edited on 2023-11-15 00:53 (UTC) by Davius)

OBSOLETE SINCE 14/11/2023 - New version 18.6.3

Here is the patch. Still an issue with all the .desktop files. Missing Category variable.

--- PKGBUILD    2023-11-14 16:16:44.180257457 +0100
+++ PKGBUILD.moded  2023-11-14 16:15:57.083139777 +0100
@@ -10,16 +10,16 @@

 pkgname=davinci-resolve
 major_version=18.6
-minor_version=2
+minor_version=3
 pkgver=${major_version}.${minor_version}
-pkgrel=2
+pkgrel=1

 if [ "$pkgname" == "davinci-resolve" ]; then
     # Variables for FREE edition
     _product="DaVinci Resolve"
     _referid='05f2ae9b4ff34914b23542498ed70de7'
     _siteurl="https://www.blackmagicdesign.com/api/support/latest-stable-version/davinci-resolve/linux"
-    sha256sums=('2426a790a7e3c34a84694e6de3c09fdee03b86fb6ef859c235de6b4637363c1d')
+    sha256sums=('5b8bad7788f50f1c552d8d34cf07346233d32eb33fc026c6c4acfc2608b714ac')
     pkgdesc='Professional A/V post-production software suite from Blackmagic Design'
     _archive_name=DaVinci_Resolve_${pkgver}_Linux
     _archive_run_name=DaVinci_Resolve_${major_version}.${minor_version}_Linux
@@ -29,7 +29,7 @@
     _product="DaVinci Resolve Studio"
     _referid='f25cb64ded254e8682b287ed1135c557'
     _siteurl="https://www.blackmagicdesign.com/api/support/latest-stable-version/davinci-resolve-studio/linux"
-    sha256sums=('87dd79401ab23f9b1027c4bc04a1954ceb80886d402ae6be5bb2805c37439f6d')
+    sha256sums=('skip')
     pkgdesc='Professional A/V post-production software suite from Blackmagic Design. Studio edition, requires license key or license dongle.'
     _archive_name=DaVinci_Resolve_Studio_${pkgver}_Linux
     _archive_run_name=DaVinci_Resolve_Studio_${major_version}.${minor_version}_Linux
@@ -183,6 +183,11 @@

    ln -s /usr/lib/libc++.so.1.0 "${srcdir}/squashfs-root/libs/libc++.so.1"

+   #Add workaround for libglib-2.0
+
+   mv "${srcdir}/squashfs-root/libs/libglib-2.0.so.0" "${srcdir}/squashfs-root/libs/libglib-2.0.so.0.orig"
+   ln -s /usr/lib/libglib-2.0.so.0 "${srcdir}/squashfs-root/libs/libglib-2.0.so.0"
+
    echo "StartupWMClass=resolve" >> "${srcdir}/squashfs-root/share/DaVinciResolve.desktop"

    echo 'SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", ATTRS{idVendor}=="096e", MODE="0666"' > "${srcdir}/squashfs-root/share/etc/udev/rules.d/99-DavinciPanel.rules"
@@ -220,4 +225,4 @@
    popd
 }

-# vim: fileencoding=utf-8 sts=4 sw=4 noet
\ Pas de fin de ligne à la fin du fichier
+# vim: fileencoding=utf-8 sts=4 sw=4 noet

helloworld4321 commented on 2023-11-12 04:51 (UTC) (edited on 2023-11-12 04:52 (UTC) by helloworld4321)

After upgrading to Linux kernel 6.6.1 (linux-6.6.1.arch1), resolve failed to launch with AMD 6950XT GPU. Downgrading to 6.5.9 works great.

/opt/resolve/bin/resolve() [0x487ffe9]
/opt/resolve/bin/resolve() [0x487f3d0]
/usr/lib/libc.so.6(+0x3e710) [0x7fd7d085c710]
/usr/lib/libc.so.6(+0x158337) [0x7fd7d0976337]
/usr/lib/dri/radeonsi_dri.so(+0x8a4c16) [0x7fd668ca4c16]
/usr/lib/dri/radeonsi_dri.so(+0x8165cc) [0x7fd668c165cc]
/usr/lib/dri/radeonsi_dri.so(+0x81c24b) [0x7fd668c1c24b]
/usr/lib/dri/radeonsi_dri.so(amdgpu_winsys_create+0x628) [0x7fd668cd1d88]
/usr/lib/dri/radeonsi_dri.so(+0xe392a) [0x7fd6684e392a]
/usr/lib/dri/radeonsi_dri.so(+0x6c6d03) [0x7fd668ac6d03]
/usr/lib/dri/radeonsi_dri.so(+0xe0c62) [0x7fd6684e0c62]
/usr/lib/dri/radeonsi_dri.so(+0xce815) [0x7fd6684ce815]
/usr/lib/libGLX_mesa.so.0(+0x5474c) [0x7fd7c506474c]
/usr/lib/libGLX_mesa.so.0(+0x38109) [0x7fd7c5048109]
/usr/lib/libGLX_mesa.so.0(+0x386c4) [0x7fd7c50486c4]
/usr/lib/libGLX_mesa.so.0(+0x3f063) [0x7fd7c504f063]
/opt/resolve/libs/plugins/xcbglintegrations/libqxcb-glx-integration.so(+0x982b) [0x7fd7c700f82b]
/opt/resolve/libs/libQt5XcbQpa.so.5(_ZN10QXcbWindow6createEv+0x7b6) [0x7fd799325cf6]
/opt/resolve/libs/libQt5XcbQpa.so.5(_ZNK15QXcbIntegration20createPlatformWindowEP7QWindow+0xad) [0x7fd7993188dd]
/opt/resolve/bin/../libs/libQt5Gui.so.5(_ZN14QWindowPrivate6createEby+0x1f6) [0x7fd7b612e6a6]
/opt/resolve/bin/../libs/libQt5Widgets.so.5(_ZN14QWidgetPrivate6createEv+0x589) [0x7fd7e458fbd9]
/opt/resolve/bin/../libs/libQt5Widgets.so.5(_ZN7QWidget6createEybb+0x142) [0x7fd7e458e862]
/opt/resolve/bin/../libs/libQt5Widgets.so.5(_ZN14QWidgetPrivate10setVisibleEb+0x1b5) [0x7fd7e45a25b5]
/opt/resolve/bin/resolve() [0x24ccd58]
/opt/resolve/bin/resolve() [0x24d022c]
/opt/resolve/bin/resolve() [0x24ca6ce]
/usr/lib/libc.so.6(+0x27cd0) [0x7fd7d0845cd0]
/usr/lib/libc.so.6(__libc_start_main+0x8a) [0x7fd7d0845d8a]
/opt/resolve/bin/resolve() [0x24c8d6b]

tippfehlr commented on 2023-10-29 19:14 (UTC)

Is there a reason for not adding LD_PRELOAD=/usr/lib64/libglib-2.0.so as default to the .desktop file?

pmatos commented on 2023-10-23 08:32 (UTC)

Currently getting:

(1/1) installing davinci-resolve                                    [#####################################] 100%
error: could not extract /opt/resolve/libs/libcufft.so.10 (Truncated zstd input)
error: problem occurred while installing davinci-resolve
error: could not commit transaction
error: failed to commit transaction (transaction aborted)
Errors occurred, no packages were upgraded.
 -> error installing: [/home/pmatos/.cache/yay/davinci-resolve/davinci-resolve-18.6.2-2-x86_64.pkg.tar.zst] - exit status 1

Has anyone seen this?

LinuxHG commented on 2023-10-17 12:38 (UTC)

Version 18.6.2 failed saying it could not find the run file. I realized this is because on line 25 _archive_run_name is set to only have the major version, but the run file has the full 18.6.2 in the file name.

Changing major_version to pkgver on line 25 fixed this problem.

This is for Davinci free. I cannot speak for Studio as I did not try to download that.

4194304a commented on 2023-10-14 02:15 (UTC)

Doesn't work, gives

Version mismatch :: (1/1) Parsing SRCINFO: davinci-resolve Version mismatch -> error making: davinci-resolve-cannot find package name: [Version mismatch] -> Failed to install the following packages. Manual intervention is required: davinci-resolve - cannot find package name: [Version mismatch]

and doesn't install

rcavalcanti commented on 2023-10-13 13:50 (UTC)

Thank's @matbonn! Works for me too. Even in 18.6.2.

For others struggling to install the free version of 18.6.2, if you follow this steps:

Edit PKGBUILD changing this lines:

minor_version=0 to minor_version=2

sha256sums=('18f391cc522a336553a32c0c8c3eb0f47e0f7478687a08aae1acbf49bfa34560') to sha256sums=('2426a790a7e3c34a84694e6de3c09fdee03b86fb6ef859c235de6b4637363c1d')

install "jq" package

try "makepkg -si" (and if you get the error "cannot access './src/DaVinci_Resolve_18.6_Linux.run': No such file or directory" do mv ./src/DaVinci_Resolve_18.6.2_Linux.run ./src/DaVinci_Resolve_18.6_Linux.run)

try "makepkg -si" again

Before first start

sudo mkdir /opt/resolve/libs/_disabled sudo mv /opt/resolve/libs/libglib-2.0.so* /opt/resolve/libs/_disabled