-
-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: gdk pixbuf symbol lookup error (#79)
- Removes the old gdk-pixbuf workaround since the required F38 package is no longer available - Uses LD_PRELOAD to make Resolve use container's `libglib`, `libgdk_pixbuf`, `libgio`, and `libgmodule` without altering the DaVinci Resolve installation - Refactors `run-davinci` to improve legibility Closes #78
- Loading branch information
Showing
2 changed files
with
9 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,13 @@ | ||
#!/bin/bash | ||
|
||
# Info for this line comes from here: https://www.reddit.com/r/voidlinux/comments/12g71x0/comment/l2cwo27/ | ||
# Slightly modified, as the original wasn't pointed to the correct lib file names | ||
export LD_PRELOAD=/usr/lib64/libglib-2.0.so.0:/usr/lib64/libgdk_pixbuf-2.0.so.0:/usr/lib64/libgio-2.0.so.0:/usr/lib64/libgmodule-2.0.so.0 | ||
export QT_QPA_PLATFORM=xcb | ||
|
||
if [[ $1 == "rusticl" ]]; then | ||
QT_QPA_PLATFORM=xcb RUSTICL_ENABLE=radeonsi,iris,nouveau OCL_ICD_VENDORS=rusticl.icd /opt/resolve/bin/resolve | ||
else | ||
QT_QPA_PLATFORM=xcb /opt/resolve/bin/resolve | ||
export RUSTICL_ENABLE=radeonsi,iris,nouveau | ||
export OCL_ICD_VENDORS=rusticl.icd | ||
fi | ||
|
||
/opt/resolve/bin/resolve |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters