Package Details: davinci-resolve 18.6.6-4

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: Commercial
Conflicts: davinci-resolve-beta, davinci-resolve-studio, davinci-resolve-studio-beta
Submitter: jonathon
Maintainer: satriani
Last Packager: satriani
Votes: 134
Popularity: 3.49
First Submitted: 2017-04-19 20:57 (UTC)
Last Updated: 2024-06-19 20:45 (UTC)

Dependencies (24)

Required by (0)

Sources (1)

Pinned Comments

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

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

1 2 3 4 5 6 .. 52 Next › Last »

Davius commented on 2024-06-18 00:50 (UTC)

Hi maintainer, an error was made by line duplication. Here the patch. Sorry for that. please, test my patches in case of theses stupid errors. Regards

--- PKGBUILD.ori    2024-06-18 02:34:58.094935933 +0200
+++ PKGBUILD    2024-06-18 02:38:33.488608495 +0200
@@ -181,8 +181,6 @@

   ln -s "${srcdir}/squashfs-root/BlackmagicRAWPlayer/BlackmagicRawAPI" "${srcdir}/squashfs-root/bin/"

-  mv "${srcdir}/squashfs-root/libs/libc++.so.1" "${srcdir}/squashfs-root/libs/libc++.so.1.orig"
-
   # Disable old libs
   mkdir ${srcdir}/squashfs-root/libs/disabled-libraries
   mv ${srcdir}/squashfs-root/libs/libglib* ${srcdir}/squashfs-root/libs/disabled-libraries
@@ -231,4 +229,4 @@
   popd
 }

-# vim: fileencoding=utf-8 sts=4 sw=4 noet
\ Manca newline alla fine del file
+# vim: fileencoding=utf-8 sts=4 sw=4 noet

Davius commented on 2024-06-18 00:50 (UTC)

Hi maintainer, an error was made by line duplication. Here the patch. Sorry for that. please, test my patches in case of theses stupid errors. Regards

--- PKGBUILD.ori    2024-06-18 02:34:58.094935933 +0200
+++ PKGBUILD    2024-06-18 02:38:33.488608495 +0200
@@ -181,8 +181,6 @@

   ln -s "${srcdir}/squashfs-root/BlackmagicRAWPlayer/BlackmagicRawAPI" "${srcdir}/squashfs-root/bin/"

-  mv "${srcdir}/squashfs-root/libs/libc++.so.1" "${srcdir}/squashfs-root/libs/libc++.so.1.orig"
-
   # Disable old libs
   mkdir ${srcdir}/squashfs-root/libs/disabled-libraries
   mv ${srcdir}/squashfs-root/libs/libglib* ${srcdir}/squashfs-root/libs/disabled-libraries
@@ -231,4 +229,4 @@
   popd
 }

-# vim: fileencoding=utf-8 sts=4 sw=4 noet
\ Manca newline alla fine del file
+# vim: fileencoding=utf-8 sts=4 sw=4 noet

Bommik commented on 2024-06-18 00:22 (UTC)

There is a small error in the PKGBUILD. Lines 184 and 193 are duplicated. This tries to move libc++.so.1 twice. Which leads to an error.

...
mv: cannot stat '.../davinci-resolve/src/squashfs-root/libs/libc++.so.1': No such file or directory
==> ERROR: A failure occurred in prepare().
    Aborting...

Patch:

diff --git a/PKGBUILD b/PKGBUILD
index 3673977..3365a7d 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -181,8 +181,6 @@ prepare()

   ln -s "${srcdir}/squashfs-root/BlackmagicRAWPlayer/BlackmagicRawAPI" "${srcdir}/squashfs-root/bin/"

-  mv "${srcdir}/squashfs-root/libs/libc++.so.1" "${srcdir}/squashfs-root/libs/libc++.so.1.orig"
-
   # Disable old libs
   mkdir ${srcdir}/squashfs-root/libs/disabled-libraries
   mv ${srcdir}/squashfs-root/libs/libglib* ${srcdir}/squashfs-root/libs/disabled-libraries

krassecommits commented on 2024-05-27 15:29 (UTC)

Doesn't start for me unless I remove the following files from /opt/resolve/libs:

libglib-2.0.so*
libgio-2.0.so*
libgmodule-2.0.so*

Davius commented on 2024-05-18 12:23 (UTC) (edited on 2024-05-18 12:24 (UTC) by Davius)

Hi maintainer,

Here is the patch to solve issue with libs. Still a problem with icons desktop files. Need to add install instructions but I will propose a new patch later for that.

--- PKGBUILD    2024-05-18 14:20:17.994519608 +0200
+++ PKGBUILD.new    2024-05-18 14:19:39.704390568 +0200
@@ -99,7 +99,7 @@
 url="https://www.blackmagicdesign.com/support/family/davinci-resolve-and-fusion"
 license=('Commercial')
 depends=('glu' 'gtk2' 'libpng12' 'fuse2' 'opencl-driver' 'qt5-x11extras' 'qt5-svg' 'qt5-webengine' 'qt5-websockets'
-'qt5-quickcontrols2' 'qt5-multimedia' 'libxcrypt-compat' 'xmlsec' 'java-runtime' 'ffmpeg4.4' 'gst-plugins-bad-libs' 'python-numpy'
+'qt5-quickcontrols2' 'qt5-multimedia' 'libxcrypt-compat' 'xmlsec' 'java-runtime' 'ffmpeg4.4' 'gst-plugins-bad-libs' 'python-numpy' 
 'tbb' 'apr-util' 'luajit' 'libc++')
 makedepends=('libarchive' 'xdg-user-dirs' 'patchelf')
 options=('!strip')
@@ -181,14 +181,16 @@

    ln -s "${srcdir}/squashfs-root/BlackmagicRAWPlayer/BlackmagicRawAPI" "${srcdir}/squashfs-root/bin/"

-   mv "${srcdir}/squashfs-root/libs/libc++.so.1" "${srcdir}/squashfs-root/libs/libc++.so.1.orig"
+   # Disable old libs
+   mkdir ${srcdir}/squashfs-root/libs/disabled-libraries
+   mv ${srcdir}/squashfs-root/libs/libglib* ${srcdir}/squashfs-root/libs/disabled-libraries
+   mv ${srcdir}/squashfs-root/libs/libgio* ${srcdir}/squashfs-root/libs/disabled-libraries
+   mv ${srcdir}/squashfs-root/libs/libgmodule* ${srcdir}/squashfs-root/libs/disabled-libraries

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

-   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"

PurpleFinch commented on 2024-04-29 00:11 (UTC) (edited on 2024-04-29 01:57 (UTC) by PurpleFinch)

If you're not able to launch DaVinci, it's because version 18 installs with out-of-date packages. If you can't fix your issue by installing libjpeg6-turbo as well as the other required packages needed to make DaVinci run, try issuing the following commands to move those out-of-date packages from anywhere DaVinci can read them.

cd /opt/resolve/libs
sudo mkdir disabled-libraries
sudo mv libglib* disabled-libraries
sudo mv libgio* disabled-libraries
sudo mv libgmodule* disabled-libraries

I pulled these commands from H3rz3n's Fedora fix on GitHub, but skipped everything else and just decided to see whether getting rid of the libraries first would fix the issue. So far, I haven't had any issues with it running since, but I assume it still requires you to have the appropriate, up-to-date libraries installed. I'm not sure which libraries it depends on, but at the moment I've got the following installed:

  • core/glib2
  • extra/glibmm
  • multilib/lib32-glib2

Hope this helps.

sibwase commented on 2024-04-25 18:32 (UTC)

@ricwu same here, after manually installing libjpeg6-turbo davinci resolve launched

ricwu commented on 2024-04-24 07:39 (UTC)

I had to manually install the extra/libjpeg6-turbo to get davinci to run, would be nice if it was automatically installed as a dependency, otherwise great work.

FranoGames commented on 2024-04-21 12:35 (UTC) (edited on 2024-04-21 12:36 (UTC) by FranoGames)

@Tanghe this fixed it for me: 1. download libgdk fedora's rpm : https://dl.fedoraproject.org/pub/fedora/linux/releases/38/Everything/x86_64/os/Packages/g/gdk-pixbuf2-2.42.10-2.fc38.x86_64.rpm 2. Extract it : rpm2cpio ./gdk-pixbuf2-2.42.10-2.fc38.x86_64.rpm | cpio -idmv 3. copy the contents of the extracted usr/lib64 to resolve libs : sudo cp -r * /opt/resolve/libs/