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?
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: | 41 |
Popularity: | 2.68 |
First Submitted: | 2018-01-21 18:37 (UTC) |
Last Updated: | 2024-10-22 20:37 (UTC) |
« First ‹ Previous 1 .. 10 11 12 13 14 15 16 17 18 19 20 .. 24 Next › Last »
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?
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.
@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.
@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"
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"
==> 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?
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.
After the update, progl now dumps core:
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
17.2.2.0004 Linux/Clang x86_64
Main thread starts: 30C12580
0x7f0f30c12580 | Undefined | INFO | 2021-07-14 05:31:15,199 | --------------------------------------------------------------------------------
0x7f0f30c12580 | Undefined | INFO | 2021-07-14 05:31:15,205 | Loaded log config from /home/farid/.local/share/DaVinciResolve/configs/log-conf.xml
0x7f0f30c12580 | Undefined | INFO | 2021-07-14 05:31:15,205 | --------------------------------------------------------------------------------
/usr/bin/progl: line 30: 2990 Segmentation fault (core dumped) "$@"
Log:
0x7f0f30c12580 | Main | INFO | 2021-07-14 05:31:15,224 | Running DaVinci Resolve Studio v17.2.2.0004 (Linux/Clang x86_64)
0x7f0f30c12580 | Main | INFO | 2021-07-14 05:31:15,224 | BMD_BUILD_UUID 8fea1acd-a175-4f3e-aa1e-a4666707d33b
0x7f0f30c12580 | Main | INFO | 2021-07-14 05:31:15,224 | BMD_GIT_COMMIT 136c2ab8e881295efb47160ea8fcb99d78ea9c40
0x7f0f30c12580 | GPUDetect | INFO | 2021-07-14 05:31:15,270 | Starting GPUDetect 1.1_3-a4
AMD Radeon RX 580.
With 17.2-3, for me it failed checksum, but this can be resolved by performing a clean build.
What is the intended purpose of the "setting the right permissions section"? I've found that all the files end up owned by the user who ran makepkg. This is not desirable or standard behavior for any other package. The installed files should be owned by root, not whatever UID/GID happened to run makepkg.
If I remove the entire "setting permissions" section, the ownership is correct by default (since makepkg runs it within a fakeroot environment). Can this section just be removed? Was it intended to fix/work around some issue?
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.