Package Details: davinci-resolve 19.0.3-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: Commercial
Conflicts: davinci-resolve-beta, davinci-resolve-studio, davinci-resolve-studio-beta
Submitter: jonathon
Maintainer: satriani
Last Packager: satriani
Votes: 141
Popularity: 3.05
First Submitted: 2017-04-19 20:57 (UTC)
Last Updated: 2024-10-22 20:37 (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

« First ‹ Previous 1 .. 8 9 10 11 12 13 14 15 16 17 18 .. 54 Next › Last »

zangoku commented on 2023-03-16 02:40 (UTC)

Getting the following when trying to update

error: could not extract /opt/resolve/Fairlight Studio Utility/libQt5XcbQpa.so.5 (Truncated zstd input)
error: problem occurred while upgrading davinci-resolve
error: could not commit transaction
error: failed to commit transaction (transaction aborted)
Errors occurred, no packages were upgraded.

pedrogabriel commented on 2023-02-11 03:44 (UTC)

Makepkg to 18.1.3 # Maintainer: Alex S. <shantanna_at_hotmail_dot_com> # Contributor: Jonathon Fernyhough <jonathon_at_manjaro_dot_org> # Contributor: Pedro Gabriel Drumond Pereira <pedrogabrieldp_at_gmail_com>

# 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
_downloadid='44be7e694b4e440db5d2f70ad732d3b2'
_referid='77ef91f67a9e411bbbe299e595b4cfcc'
_siteurl="https://www.blackmagicdesign.com/api/register/us/download/${_downloadid}"

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

_reqjson="{ \
    \"firstname\": \"Arch\", \
    \"lastname\": \"Linux\", \
    \"email\": \"someone@archlinux.org\", \
    \"phone\": \"202-555-0194\", \
    \"country\": \"us\", \
    \"state\": \"New York\", \
    \"city\": \"AUR\", \
    \"product\": \"DaVinci Resolve\" \
}"

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

_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 Host:\ sw.blackmagicdesign.com \
            -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=davinci-resolve
_pkgname=resolve
resolve_app_name=com.blackmagicdesign.resolve
pkgver=18.1.3
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-webkit' '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')
options=('!strip')

# Variables for FREE edition
pkgdesc='Professional A/V post-production software suite from Blackmagic Design'
_archive_name=DaVinci_Resolve_${pkgver}_Linux
sha256sums=('37a66cec936c104e11a1a87921228b89f92d521a8315ecc42a328f8f363e860a')
conflicts=('davinci-resolve-studio' 'davinci-resolve-beta' 'davinci-resolve-studio-beta')

_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

funnyprun commented on 2023-02-10 13:11 (UTC)

I figured it out. It was because I forgot to run "mkinitcpio -P" after updating my nvidia drivers... SMH

funnyprun commented on 2023-02-01 11:18 (UTC)

Hi. I just found out where the program is crashing:

~ $ lldb /opt/resolve/bin/resolve
(lldb) target create "/opt/resolve/bin/resolve"
Current executable set to '/opt/resolve/bin/resolve' (x86_64).
(lldb) run
Process 4328 launched: '/opt/resolve/bin/resolve' (x86_64)
ActCCMessage Already in Table: Code= c005, Mode= 13, Level=  1, CmdKey= -1, Option= 0
ActCCMessage Already in Table: Code= c006, Mode= 13, Level=  1, CmdKey= -1, Option= 0
ActCCMessage Already in Table: Code= c007, Mode= 13, Level=  1, CmdKey= -1, Option= 0
ActCCMessage Already in Table: Code= 2282, Mode=  0, Level=  0, CmdKey= 8, Option= 0
PnlMsgActionStringAdapter Already in Table: Code= 615e, Mode=  0, Level=  0, CmdKey= -1, Option= 0
log4cxx: No appender could be found for logger (BtCommon).
log4cxx: Please initialize the log4cxx system properly.
18.1.2.0006 Linux/Clang x86_64
Main thread starts: EBD78680
[0x7fffebd78680] | Undefined            | INFO  | 2023-02-01 20:16:33,334 | --------------------------------------------------------------------------------
[0x7fffebd78680] | Undefined            | INFO  | 2023-02-01 20:16:33,334 | Loaded log config from /home/shinjihoshino/.local/share/DaVinciResolve/configs/log-conf.xml
[0x7fffebd78680] | Undefined            | INFO  | 2023-02-01 20:16:33,334 | --------------------------------------------------------------------------------
Process 4328 stopped
* thread #1, name = 'resolve', stop reason = signal SIGSEGV: invalid address (fault address: 0x8cf02038)
    frame #0: 0x00007ffff4c1e4f4 libxkbcommon-x11.so.0`___lldb_unnamed_symbol103 + 260
libxkbcommon-x11.so.0`___lldb_unnamed_symbol103:
->  0x7ffff4c1e4f4 <+260>: movl   (%rax,%rdx,4), %ebp
    0x7ffff4c1e4f7 <+263>: testl  %ebp, %ebp
    0x7ffff4c1e4f9 <+265>: jne    0x7ffff4c1e4b0            ; <+192>
    0x7ffff4c1e4fb <+267>: movl   0x18(%r13), %ebp
(lldb)

And also, using ldd,

libxkbcommon-x11.so.0 => /usr/lib/libxkbcommon-x11.so.0 (0x00007fb777246000)

we can see that it points to /usr/lib

This might be fixed by downgrading libxkbcommon but I don't think it's a good idea to downgrade a seemingly important library file...

funnyprun commented on 2023-01-30 13:50 (UTC)

Hi. My Davinci Resolve just crashes without any messages. Any ideas? I have a nvidia gpu and have cuda and opencl already installed.

davinci-resolve-beta $ /opt/resolve/bin/resolve
ActCCMessage Already in Table: Code= c005, Mode= 13, Level=  1, CmdKey= -1, Option= 0
ActCCMessage Already in Table: Code= c006, Mode= 13, Level=  1, CmdKey= -1, Option= 0
ActCCMessage Already in Table: Code= c007, Mode= 13, Level=  1, CmdKey= -1, Option= 0
ActCCMessage Already in Table: Code= 2282, Mode=  0, Level=  0, CmdKey= 8, Option= 0
PnlMsgActionStringAdapter Already in Table: Code= 615e, Mode=  0, Level=  0, CmdKey= -1, Option= 0
log4cxx: No appender could be found for logger (BtCommon).
log4cxx: Please initialize the log4cxx system properly.
18.1.2.0006 Linux/Clang x86_64
Main thread starts: 68A73680
[0x7f4068a73680] | Undefined            | INFO  | 2023-01-30 22:50:24,033 | --------------------------------------------------------------------------------
[0x7f4068a73680] | Undefined            | INFO  | 2023-01-30 22:50:24,033 | Loaded log config from /home/shinjihoshino/.local/share/DaVinciResolve/configs/log-conf.xml
[0x7f4068a73680] | Undefined            | INFO  | 2023-01-30 22:50:24,033 | --------------------------------------------------------------------------------
davinci-resolve-beta $

victorz commented on 2023-01-12 00:04 (UTC)

@fclad, looks like you may be hitting the maximum file size of your file system? Or perhaps look into increasing the maximum file size to something appropriate, for your system.

The package is huge, indeed... :|

fclad commented on 2023-01-11 20:27 (UTC)

I am facing the following issue:

/nvault/tmp/davinci-resolve/src/squashfs-root/libs/libQtCore.so.4’
maximum file size exceeded
==> ERROR: A failure occurred in prepare().
    Aborting...
error: failed to build 'davinci-resolve-18.1.2-1':
error: packages failed to build: davinci-resolve-18.1.2-

the drive where I am compiling is not full. Also tried to do it in tmpfs. Any clues?

pedrogabriel commented on 2022-12-30 03:24 (UTC)

I runned namcap in the builded package and the updated list of references acording with the package looks like ('glu' 'gtk2' 'libpng12' 'fuse2' 'opencl-driver' 'qt5-x11extras' 'qt5-svg' 'qt5-webkit' 'qt5-webengine' 'qt5-websockets' 'qt5-quickcontrols2' 'qt5-multimedia' 'libxcrypt-compat' 'xmlsec' 'libnice' 'java-runtime' 'ffmpeg4.4' 'gst-plugins-bad-libs' 'python-numpy' 'tbb' 'apr-util' 'luajit').

thedanbob commented on 2022-12-19 14:43 (UTC)

It looks like Davinci now bundles openssl so the openssl-1.0 dependency should be unnecessary. The symlinks to libcrypto.so and libssl.so were disabled a few versions ago: https://aur.archlinux.org/cgit/aur.git/commit/?h=davinci-resolve&id=9eb69f03d54a95ba7228c5f177cb4ea3f065654b