Package Details: davinci-resolve-studio 18.6.6-2

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: deezid (satriani)
Last Packager: satriani
Votes: 32
Popularity: 0.26
First Submitted: 2018-01-21 18:37 (UTC)
Last Updated: 2024-03-24 21:14 (UTC)

Dependencies (24)

Required by (0)

Sources (1)

Pinned Comments

satriani commented on 2021-05-15 14:24 (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-studio-beta/

For current free beta here: https://aur.archlinux.org/packages/davinci-resolve-beta/

Thanks.

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 8 9 .. 19 Next › Last »

AlynxZhou commented on 2023-09-17 07:18 (UTC)

I got such error when building 18.5.1:

parse error: Invalid numeric literal at line 1, column 7
parse error: Invalid numeric literal at line 1, column 7
Version mismatch

Even I downloaded Resolve's ZIP from BMD's website in browser and copy it to the PKGBUILD's dir, it still tries to get _pkgver via CURL. I manually commented out the check because I already downloaded ZIP.

Maybe it should not try to obtain source if user already provided it.

helloworld4321 commented on 2023-09-17 05:52 (UTC) (edited on 2023-09-17 05:53 (UTC) by helloworld4321)

I encountered the same error in resolve studio 18.6 as irieger.

/opt/resolve/bin/resolve: symbol lookup error: /opt/resolve/bin/../libs/libdavcloudclient.so: undefined symbol: _ZTVNSt3__14__fs10filesystem16filesystem_errorE
ldd /opt/resolve/bin/../libs/libdavcloudclient.so
    linux-vdso.so.1 (0x00007ffd5453d000)
    libdl.so.2 => /usr/lib/libdl.so.2 (0x00007f68a5c27000)
    libpthread.so.0 => /usr/lib/libpthread.so.0 (0x00007f68a5c22000)
    libm.so.6 => /usr/lib/libm.so.6 (0x00007f68a4ae9000)
    librt.so.1 => /usr/lib/librt.so.1 (0x00007f68a5c1d000)
    libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x00007f68a4800000)
    libgcc_s.so.1 => /opt/resolve/libs/libgcc_s.so.1 (0x00007f68a4200000)
    libc.so.6 => /usr/lib/libc.so.6 (0x00007f68a3e00000)
    /usr/lib64/ld-linux-x86-64.so.2 (0x00007f68a5c30000)

The file needed should be in libstdc++.so.6 but there seems to be an ABI differences there.

irieger commented on 2023-09-17 05:38 (UTC) (edited on 2023-09-17 05:38 (UTC) by irieger)

Hey, Resolve 18.6 was just released. I tried to change the AUR to install it and the install itself worked. However I get symbol lookup error. Maybe someone has an idea how to fix that? Is there something we can do (via LD_PRELOAD or something)?

...  % /opt/resolve/bin/resolve
/opt/resolve/bin/resolve: symbol lookup error: /opt/resolve/bin/../libs/libdavcloudclient.so: undefined symbol: _ZTVNSt3__14__fs10filesystem16filesystem_errorE

Here is the diff of the git. Had to hard code one or two values as blackmagic often switches between semver and just two digit values for the "x.y.0" releases.

diff --git .SRCINFO .SRCINFO
index f2ea3f9..742fefe 100644
--- .SRCINFO
+++ .SRCINFO
@@ -1,6 +1,6 @@
pkgbase = davinci-resolve-studio
        pkgdesc = Professional A/V post-production software suite from Blackmagic Design. Studio edition, requires license key or license dongle.
-       pkgver = 18.5.1
+       pkgver = 18.6
        pkgrel = 1
        url = https://www.blackmagicdesign.com/support/family/davinci-resolve-and-fusion
        arch = x86_64
@@ -33,7 +33,7 @@ pkgbase = davinci-resolve-studio
        conflicts = davinci-resolve-beta
        conflicts = davinci-resolve-studio-beta
        options = !strip
-       source = DaVinci_Resolve_Studio_18.5.1_Linux.zip::https://swr.cloud.blackmagicdesign.com/DaVinciResolve/v18.5.1/DaVinci_Resolve_Studio_18.5.1_Linux.zip?verify=1693777211-VX%2BSlgmgfKSvcuCFJzkC56E53S1HXatiaw%2FrrmCQpnI%3D
-       sha256sums = 764140bbcdf711614ecd726bf55f82cc0a7ca6c0f7eef4ddb8a81179dd6768c3
+       source = DaVinci_Resolve_Studio_18.6_Linux.zip::https://swr.cloud.blackmagicdesign.com/DaVinciResolve/v18.6/DaVinci_Resolve_Studio_18.6_Linux.zip?verify=1694788694-RhDtF3x%2Fef0VpuMOLgANmJLe196qtupVuMCdYyl9No0%3D
+       sha256sums = 85d10ad79ecd033c782bcb6ad27e0cb5ac190e9ef4dbd517282bc4dbe045a080

pkgname = davinci-resolve-studio
diff --git PKGBUILD PKGBUILD
index ba13792..898602d 100644
--- PKGBUILD
+++ PKGBUILD
@@ -9,7 +9,7 @@
# It can be obtained from chromium -> Developer Tools -> Network -> XHR -> click latest-version and copy downloadId

pkgname=davinci-resolve-studio
-pkgver=18.5.1
+pkgver=18.6.0
pkgrel=2
if [[ "$pkgname" == "davinci-resolve" ]];then
    # Variables for FREE edition
@@ -25,9 +25,10 @@ elif [[ "$pkgname" == "davinci-resolve-studio" ]];then
    _product="DaVinci Resolve Studio"
    _referid='69a3995a376441d0ae23711c44370662'
    _siteurl="https://www.blackmagicdesign.com/api/support/latest-stable-version/davinci-resolve-studio/linux"
-    sha256sums=('764140bbcdf711614ecd726bf55f82cc0a7ca6c0f7eef4ddb8a81179dd6768c3')
+    sha256sums=('85d10ad79ecd033c782bcb6ad27e0cb5ac190e9ef4dbd517282bc4dbe045a080')
    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_name=DaVinci_Resolve_Studio_${pkgver}_Linux
+    _archive_name=DaVinci_Resolve_Studio_18.6_Linux
    conflicts=('davinci-resolve' 'davinci-resolve-beta' 'davinci-resolve-studio-beta')
fi

jettscythe commented on 2023-08-31 15:39 (UTC)

==> Validating source files with sha256sums...
    DaVinci_Resolve_Studio_18.5.1_Linux.zip ... FAILED
==> ERROR: One or more files did not pass the validity check!

Bink commented on 2023-08-30 05:49 (UTC) (edited on 2023-08-30 05:51 (UTC) by Bink)

@PaoloBarbolini, it failed to download for me too. As a quick temporary workaround, I manually downloaded the needed file into the necessary folder (eg: /home/bink/.cache/yay/davinci-resolve-studio/) by visiting this link in a browser (specific to v18.5.1): https://www.blackmagicdesign.com/support/download/eab0e394e81b48bdb66e30ffd0be9e72/Linux

Then retry installing/updating, making sure not to clean build.

PaoloBarbolini commented on 2023-08-29 20:10 (UTC)

I've tried updating the package but Cloudflare is giving me a 403 on the download endpoint. Very annoying.

jwan commented on 2023-08-26 01:06 (UTC) (edited on 2023-08-26 01:06 (UTC) by jwan)

I get the following when I try and install with paru:

~ ❯ paru -S davinci-resolve-studio                                                                                                                              00:30:35
:: Resolving dependencies...
:: Calculating conflicts...
:: Calculating inner conflicts...
:: marked out of date: davinci-resolve-studio

Aur (1) davinci-resolve-studio-18.1.4-1

:: Proceed to review? [Y/n]: 

:: Downloading PKGBUILDs...
 PKGBUILDs up to date
 nothing new to review
fetching devel info...
==> Making package: davinci-resolve-studio 18.1.4-1 (Sat 26 Aug 2023 00:31:33 BST)
==> Retrieving sources...
  -> Found DaVinci_Resolve_Studio_18.1.4_Linux.zip
==> Validating source files with sha256sums...
    DaVinci_Resolve_Studio_18.1.4_Linux.zip ... FAILED
==> ERROR: One or more files did not pass the validity check!
error: failed to download sources for 'davinci-resolve-studio-18.1.4-1': 
error: packages failed to build: davinci-resolve-studio-18.1.4-1

phoepsilonix commented on 2023-08-18 12:30 (UTC) (edited on 2023-08-18 12:37 (UTC) by phoepsilonix)

@shivamjoker
FULL PKGBUILD
We can know downloadId at
https://www.blackmagicdesign.com/api/support/latest-stable-version/davinci-resolve/linux
and
https://www.blackmagicdesign.com/api/support/latest-stable-version/davinci-resolve-studio/linux

http://0x0.st/HLLx.txt

# Maintainer: Alex S. <shantanna_at_hotmail_dot_com>
# Contributor: Jonathon Fernyhough <jonathon_at_manjaro_dot_org>

# Hardware support is limited. Nvidia cards should work fine.
# If you're running a hybrid setup, try with primusrun/optirun.

# This was originally written by Daniel Bermond in blackmagic-decklink-sdk pkgbuild
# It is sufficient to just replace _downloadid to correspond new release version
# It can be obtained from chromium -> Developer Tools -> Network -> XHR -> click latest-version and copy downloadId

pkgname=davinci-resolve-studio
pkgver=18.5.1
pkgrel=1
if [[ "$pkgname" == "davinci-resolve" ]];then
    # Variables for FREE edition
    _product="DaVinci Resolve"
    _referid='3d7a9703a5614d16834816641a447f7f'
    _siteurl="https://www.blackmagicdesign.com/api/support/latest-stable-version/davinci-resolve/linux"
    sha256sums=('3c5da589f987d437a0f1c51f3ef16e33147ba6bd947a5bf549acfa57a6fb41aa')
    pkgdesc='Professional A/V post-production software suite from Blackmagic Design'
    _archive_name=DaVinci_Resolve_${pkgver}_Linux
    conflicts=('davinci-resolve-studio' 'davinci-resolve-beta' 'davinci-resolve-studio-beta')
elif [[ "$pkgname" == "davinci-resolve-studio" ]];then
    # Variables for STUDIO edition
    _product="DaVinci Resolve Studio"
    _referid='69a3995a376441d0ae23711c44370662'
    _siteurl="https://www.blackmagicdesign.com/api/support/latest-stable-version/davinci-resolve-studio/linux"
    sha256sums=('764140bbcdf711614ecd726bf55f82cc0a7ca6c0f7eef4ddb8a81179dd6768c3')
    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
    conflicts=('davinci-resolve' 'davinci-resolve-beta' 'davinci-resolve-studio-beta')
fi

_useragent="User-Agent: Mozilla/5.0 (X11; Linux ${CARCH}) \
                        AppleWebKit/537.36 (KHTML, like Gecko) \
                        Chrome/77.0.3865.75 \
                        Safari/537.36"
_releaseinfo=$(curl -s "$_siteurl")

_downloadId=$(printf "%s" $_releaseinfo | jq -r ".linux.downloadId")
_pkgver=$(printf "%s" $_releaseinfo | jq -r '[ .linux.major, .linux.minor, .linux.releaseNum ] | join(".")')

if [[ $pkgver != $_pkgver ]];then
    echo "Version mismatch"
    exit
fi
_reqjson="{ \
    \"firstname\": \"Arch\", \
    \"lastname\": \"Linux\", \
    \"email\": \"someone@archlinux.org\", \
    \"phone\": \"202-555-0194\", \
    \"country\": \"us\", \
    \"street\": \"Bowery 146\", \
    \"state\": \"New York\", \
    \"city\": \"AUR\", \
    \"product\": \"$_product\" \
}"

_reqjson="$(  printf '%s' "$_reqjson"   | sed 's/[[:space:]]\+/ /g')"
_useragent="$(printf '%s' "$_useragent" | sed 's/[[:space:]]\+/ /g')"
_useragent_escaped="${_useragent// /\\ }"

_siteurl="https://www.blackmagicdesign.com/api/register/us/download/${_downloadId}"
_srcurl="$(curl \
            -s \
            -H 'Host: www.blackmagicdesign.com' \
            -H 'Accept: application/json, text/plain, */*' \
            -H 'Origin: https://www.blackmagicdesign.com' \
            -H "$_useragent" \
            -H 'Content-Type: application/json;charset=UTF-8' \
            -H "Referer: https://www.blackmagicdesign.com/support/download/${_referid}/Linux" \
            -H 'Accept-Encoding: gzip, deflate, br' \
            -H 'Accept-Language: en-US,en;q=0.9' \
            -H 'Authority: www.blackmagicdesign.com' \
            -H 'Cookie: _ga=GA1.2.1849503966.1518103294; _gid=GA1.2.953840595.1518103294' \
            --data-ascii "$_reqjson" \
            --compressed \
            "$_siteurl")"

DLAGENTS=("https::/usr/bin/curl \
            -gqb '' -C - --retry 3 --retry-delay 3 \
            -H Upgrade-Insecure-Requests:\ 1 \
            -H ${_useragent_escaped} \
            -H Accept:\ text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8 \
            -H Accept-Language:\ en-US,en;q=0.9 \
            -o %o \
            --compressed \
            %u")

_pkgname=resolve
resolve_app_name=com.blackmagicdesign.resolve
pkgrel=1
arch=('x86_64')
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' 
'tbb' 'apr-util' 'luajit')
makedepends=('libarchive' 'xdg-user-dirs' 'patchelf' 'jq')
options=('!strip')

_archive=${_archive_name}.zip
_installer_binary=${_archive_name}.run
source=("${_archive}"::"$_srcurl")

prepare()
{
    pushd "${srcdir}"
    chmod u+x "${srcdir}/${_installer_binary}"
    "${srcdir}/${_installer_binary}" --appimage-extract
    popd

    # Fix permission to all files and dirs
    chmod -R u+rwX,go+rX,go-w "${srcdir}/squashfs-root"

    pushd "${srcdir}/squashfs-root/share/panels"
    tar -zxvf dvpanel-framework-linux-x86_64.tgz
    chmod -R u+rwX,go+rX,go-w "${srcdir}/squashfs-root/share/panels/lib"
    mv *.so "${srcdir}/squashfs-root/libs"
    mv lib/* "${srcdir}/squashfs-root/libs"
    popd

    rm -rf "${srcdir}"/squashfs-root/installer "${srcdir}"/squashfs-root/installer* "${srcdir}"/squashfs-root/AppRun "${srcdir}"/squashfs-root/AppRun*

    while IFS= read -r -d '' i; do
        chmod 0755 "${i}"
    done < <(find "${srcdir}/squashfs-root" -type d -print0)

    while IFS= read -r -d '' i; do
        [[ -f "${i}" && $(od -t x1 -N 4 "${i}") == *"7f 45 4c 46"* ]] || continue
        chmod 0755 "${i}"
    done < <(find "${srcdir}/squashfs-root" -type f -print0)

    while IFS= read -r -d '' i; do
        [[ -f "${i}" && $(od -t x1 -N 4 "${i}") == *"7f 45 4c 46"* ]] || continue
        patchelf --set-rpath \
'/opt/'"${_pkgname}"'/libs:'\
'/opt/'"${_pkgname}"'/libs/plugins/sqldrivers:'\
'/opt/'"${_pkgname}"'/libs/plugins/xcbglintegrations:'\
'/opt/'"${_pkgname}"'/libs/plugins/imageformats:'\
'/opt/'"${_pkgname}"'/libs/plugins/platforms:'\
'/opt/'"${_pkgname}"'/libs/Fusion:'\
'/opt/'"${_pkgname}"'/plugins:'\
'/opt/'"${_pkgname}"'/bin:'\
'/opt/'"${_pkgname}"'/BlackmagicRAWSpeedTest/BlackmagicRawAPI:'\
'/opt/'"${_pkgname}"'/BlackmagicRAWSpeedTest/plugins/platforms:'\
'/opt/'"${_pkgname}"'/BlackmagicRAWSpeedTest/plugins/imageformats:'\
'/opt/'"${_pkgname}"'/BlackmagicRAWSpeedTest/plugins/mediaservice:'\
'/opt/'"${_pkgname}"'/BlackmagicRAWSpeedTest/plugins/audio:'\
'/opt/'"${_pkgname}"'/BlackmagicRAWSpeedTest/plugins/xcbglintegrations:'\
'/opt/'"${_pkgname}"'/BlackmagicRAWSpeedTest/plugins/bearer:'\
'/opt/'"${_pkgname}"'/BlackmagicRAWPlayer/BlackmagicRawAPI:'\
'/opt/'"${_pkgname}"'/BlackmagicRAWPlayer/plugins/mediaservice:'\
'/opt/'"${_pkgname}"'/BlackmagicRAWPlayer/plugins/imageformats:'\
'/opt/'"${_pkgname}"'/BlackmagicRAWPlayer/plugins/audio:'\
'/opt/'"${_pkgname}"'/BlackmagicRAWPlayer/plugins/platforms:'\
'/opt/'"${_pkgname}"'/BlackmagicRAWPlayer/plugins/xcbglintegrations:'\
'/opt/'"${_pkgname}"'/BlackmagicRAWPlayer/plugins/bearer:'\
'/opt/'"${_pkgname}"'/Onboarding/plugins/xcbglintegrations:'\
'/opt/'"${_pkgname}"'/Onboarding/plugins/qtwebengine:'\
'/opt/'"${_pkgname}"'/Onboarding/plugins/platforms:'\
'/opt/'"${_pkgname}"'/Onboarding/plugins/imageformats:'\
'/opt/'"${_pkgname}"'/DaVinci Control Panels Setup/plugins/platforms:'\
'/opt/'"${_pkgname}"'/DaVinci Control Panels Setup/plugins/imageformats:'\
'/opt/'"${_pkgname}"'/DaVinci Control Panels Setup/plugins/bearer:'\
'/opt/'"${_pkgname}"'/DaVinci Control Panels Setup/AdminUtility/PlugIns/DaVinciKeyboards:'\
'/opt/'"${_pkgname}"'/DaVinci Control Panels Setup/AdminUtility/PlugIns/DaVinciPanels:'\
'$ORIGIN' "${i}"
    done < <(find "${srcdir}/squashfs-root" -type f -size -32M -print0)

    while IFS= read -r -d '' i; do
        sed -i "s|RESOLVE_INSTALL_LOCATION|/opt/${_pkgname}|g" "${i}"
    done < <(find . -type f '(' -name "*.desktop" -o -name "*.directory" -o -name "*.directory" -o -name "*.menu" ')' -print0)

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

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

package()
{
    mkdir -p -m 0755 "${pkgdir}/opt/${_pkgname}/"{configs,DolbyVision,easyDCP,Fairlight,GPUCache,logs,Media,"Resolve Disk Database",.crashreport,.license,.LUT}

    # Install the squashfs-root
    cp -rf "${srcdir}"/squashfs-root/* "${pkgdir}/opt/${_pkgname}"

    # Distribute files into other directories
    pushd "${pkgdir}/opt/${_pkgname}/"
    install -Dm0644 share/default-config.dat -t "${pkgdir}/opt/${_pkgname}/configs"
    install -Dm0644 share/log-conf.xml -t "${pkgdir}/opt/${_pkgname}/configs"
    install -Dm0644 share/default_cm_config.bin -t "${pkgdir}/opt/${_pkgname}/DolbyVision"

    install -Dm0644 share/DaVinciResolve.desktop -t "${pkgdir}/usr/share/applications"
    install -Dm0644 share/DaVinciControlPanelsSetup.desktop -t "${pkgdir}/usr/share/applications"
    install -Dm0644 share/DaVinciResolveInstaller.desktop -t "${pkgdir}/usr/share/applications"
    install -Dm0644 share/DaVinciResolveCaptureLogs.desktop -t "${pkgdir}/usr/share/applications"
    install -Dm0644 share/blackmagicraw-player.desktop -t "${pkgdir}/usr/share/applications"
    install -Dm0644 share/blackmagicraw-speedtest.desktop -t "${pkgdir}/usr/share/applications"

    install -Dm0644 share/DaVinciResolve.directory -t "${pkgdir}/usr/share/desktop-directories"
    install -Dm0644 share/DaVinciResolve.menu -t "${pkgdir}/etc/xdg/menus"
    install -Dm0644 graphics/DV_Resolve.png -t "${pkgdir}/usr/share/icons/hicolor/64x64/apps"
    install -Dm0644 graphics/DV_ResolveProj.png -t "${pkgdir}/usr/share/icons/hicolor/64x64/apps"
    install -Dm0644 share/resolve.xml -t "${pkgdir}/usr/share/mime/packages"

    install -Dm0644 share/etc/udev/rules.d/99-BlackmagicDevices.rules -t "${pkgdir}/usr/lib/udev/rules.d"
    install -Dm0644 share/etc/udev/rules.d/99-ResolveKeyboardHID.rules -t "${pkgdir}/usr/lib/udev/rules.d"
    install -Dm0644 share/etc/udev/rules.d/99-DavinciPanel.rules -t "${pkgdir}/usr/lib/udev/rules.d"
    popd
}

# vim: fileencoding=utf-8 sts=4 sw=4 noet

FraYoshi commented on 2023-08-16 06:37 (UTC) (edited on 2023-08-16 06:52 (UTC) by FraYoshi)

To install the new 18.5.1 package version, modify these variables on the PKGBUILD:

_downloadid='eab0e394e81b48bdb66e30ffd0be9e72'
pkgver=18.5.1
sha256sums=('764140bbcdf711614ecd726bf55f82cc0a7ca6c0f7eef4ddb8a81179dd6768c3')

in the same directory of the PKGBUILD, run makepkg and then install the built package with: pacman -U davinci-resolve-studio-18.5.1-1-x86_64.pkg.tar.zst

refer to the wiki for doubts.

Seeed commented on 2023-08-15 06:37 (UTC)

Release of DaVinci Resolve 18.5.1

https://forum.blackmagicdesign.com/viewtopic.php?f=21&t=186482