Closed linghengqian closed 3 months ago
Unfortunately I cannot download the app from the provided URL to confirm, but being an appimage I'd expect it to bundle GLib and an appropriate version of it. Doing some research about the missing symbol, it was introduced in GLib v2.75 and Ubuntu Preview (which is currently 24.04 dev branch) ships GLib v2.79 so we should be OK.
Can you confirm which version of GLib the binary is linked to?
ldd -r -d /opt/resolve/bin/resolve
If GLib is not /lib/x86_64-linux-gnu/libglib-2.0.so.0
, could you try preloading it following the instruction below?
LD_PRELOAD=/lib/x86_64-linux-gnu/libglib-2.0.so.0 /opt/resolve/bin/resolve
In case that works, and if the /opt/resolve/libs/
directory exists, consider adding a symbolic link (or maybe copying) the library from the distro into that directory.
Unfortunately I cannot download the app from the provided URL to confirm, but being an appimage I'd expect it to bundle GLib and an appropriate version of it.
This is expected behavior, the downloaded URL is completely random and has expiration behavior. This requires filling in additional information at https://www.blackmagicdesign.com/products/davinciresolve to get a new download url. Since I'm not a DaVinci Resolve employee, I can't get a permanent URL.
Can you confirm which version of GLib the binary is linked to?
The results of ldd -r -d /opt/resolve/bin/resolve
are as follows.
lingh@DESKTOP-LK088AH:~$ ldd -r -d /opt/resolve/bin/resolve
linux-vdso.so.1 (0x00007ffc22f93000)
libc++.so.1 => /opt/resolve/bin/../libs/libc++.so.1 (0x00007f845fe42000)
libc++abi.so.1 => /opt/resolve/bin/../libs/libc++abi.so.1 (0x00007f845fe04000)
libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f845fdfa000)
libgpudetect.so => /opt/resolve/bin/../libs/libgpudetect.so (0x00007f845fd69000)
librsvg-2.so.2 => /lib/x86_64-linux-gnu/librsvg-2.so.2 (0x00007f845f2e8000)
libBMDDavUI.so => /opt/resolve/bin/../libs/libBMDDavUI.so (0x00007f845ee00000)
libQt5Concurrent.so.5 => /opt/resolve/bin/../libs/libQt5Concurrent.so.5 (0x00007f845f2e0000)
libQt5DBus.so.5 => /opt/resolve/bin/../libs/libQt5DBus.so.5 (0x00007f845f249000)
libQt5Multimedia.so.5 => /opt/resolve/bin/../libs/libQt5Multimedia.so.5 (0x00007f845ed0d000)
libQt5OpenGL.so.5 => /opt/resolve/bin/../libs/libQt5OpenGL.so.5 (0x00007f845ecad000)
libQt5Sql.so.5 => /opt/resolve/bin/../libs/libQt5Sql.so.5 (0x00007f845ec6c000)
libQt5Svg.so.5 => /opt/resolve/bin/../libs/libQt5Svg.so.5 (0x00007f845ec0e000)
libQt5WebSockets.so.5 => /opt/resolve/bin/../libs/libQt5WebSockets.so.5 (0x00007f845f216000)
libQt5Widgets.so.5 => /opt/resolve/bin/../libs/libQt5Widgets.so.5 (0x00007f845e528000)
libQt5Xml.so.5 => /opt/resolve/bin/../libs/libQt5Xml.so.5 (0x00007f845e4d3000)
libQt5XmlPatterns.so.5 => /opt/resolve/bin/../libs/libQt5XmlPatterns.so.5 (0x00007f845e0d5000)
fusionscript.so => /opt/resolve/bin/../libs/Fusion/fusionscript.so (0x00007f845dc50000)
libluajit-5.1.so.2 => /opt/resolve/bin/../libs/libluajit-5.1.so.2 (0x00007f845d800000)
libtbbmalloc.so.2 => /opt/resolve/bin/../libs/libtbbmalloc.so.2 (0x00007f845dc0a000)
libtbbmalloc_proxy.so.2 => /opt/resolve/bin/../libs/libtbbmalloc_proxy.so.2 (0x00007f845dc04000)
libcudart.so.11.0 => /opt/resolve/bin/../libs/libcudart.so.11.0 (0x00007f845d400000)
libcublas.so.11 => /opt/resolve/bin/../libs/libcublas.so.11 (0x00007f8457400000)
libcufft.so.10 => /opt/resolve/bin/../libs/libcufft.so.10 (0x00007f844d400000)
libnvrtc.so.11.0 => /opt/resolve/bin/../libs/libnvrtc.so.11.0 (0x00007f844bc00000)
libGLU.so.1 => /lib/x86_64-linux-gnu/libGLU.so.1 (0x00007f845dbac000)
libGL.so.1 => /lib/x86_64-linux-gnu/libGL.so.1 (0x00007f845db23000)
libXxf86vm.so.1 => /lib/x86_64-linux-gnu/libXxf86vm.so.1 (0x00007f845db1c000)
libSM.so.6 => /lib/x86_64-linux-gnu/libSM.so.6 (0x00007f845db11000)
libICE.so.6 => /lib/x86_64-linux-gnu/libICE.so.6 (0x00007f845daf4000)
libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f845d717000)
libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f845daef000)
librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007f845dae8000)
libudev.so.1 => /lib/x86_64-linux-gnu/libudev.so.1 (0x00007f845dab5000)
libuuid.so.1 => /lib/x86_64-linux-gnu/libuuid.so.1 (0x00007f845daab000)
liblzma.so.5 => /lib/x86_64-linux-gnu/liblzma.so.5 (0x00007f845d6e5000)
libopencv_calib3d.so.3.4 => /opt/resolve/bin/../libs/libopencv_calib3d.so.3.4 (0x00007f844ba3a000)
libopencv_dnn.so.3.4 => /opt/resolve/bin/../libs/libopencv_dnn.so.3.4 (0x00007f844b6cf000)
libopencv_objdetect.so.3.4 => /opt/resolve/bin/../libs/libopencv_objdetect.so.3.4 (0x00007f845d693000)
libopencv_video.so.3.4 => /opt/resolve/bin/../libs/libopencv_video.so.3.4 (0x00007f845d3af000)
libopencv_ml.so.3.4 => /opt/resolve/bin/../libs/libopencv_ml.so.3.4 (0x00007f845d2e9000)
libopencv_features2d.so.3.4 => /opt/resolve/bin/../libs/libopencv_features2d.so.3.4 (0x00007f845734f000)
libssl.so.1.1 => /opt/resolve/bin/../libs/libssl.so.1.1 (0x00007f844b639000)
libcrypto.so.1.1 => /opt/resolve/bin/../libs/libcrypto.so.1.1 (0x00007f844b348000)
libresolv.so.2 => /lib/x86_64-linux-gnu/libresolv.so.2 (0x00007f845da94000)
libpq.so.5 => /opt/resolve/bin/../libs/libpq.so.5 (0x00007f845d29b000)
libglib-2.0.so.0 => /opt/resolve/bin/../libs/libglib-2.0.so.0 (0x00007f844ae00000)
libgobject-2.0.so.0 => /opt/resolve/bin/../libs/libgobject-2.0.so.0 (0x00007f844aa00000)
libgstreamer-1.0.so.0 => /opt/resolve/bin/../libs/libgstreamer-1.0.so.0 (0x00007f844a600000)
libgstsdp-1.0.so.0 => /opt/resolve/bin/../libs/libgstsdp-1.0.so.0 (0x00007f844a200000)
libgstwebrtc-1.0.so.0 => /opt/resolve/bin/../libs/libgstwebrtc-1.0.so.0 (0x00007f8449e00000)
libcurl.so => /opt/resolve/bin/../libs/libcurl.so (0x00007f844b2b2000)
libffi.so.7 => /opt/resolve/bin/../libs/libffi.so.7 (0x00007f8449a00000)
libgvc.so.6 => /opt/resolve/bin/../libs/libgvc.so.6 (0x00007f8449600000)
libcgraph.so.6 => /opt/resolve/bin/../libs/libcgraph.so.6 (0x00007f8449200000)
libcdt.so.5 => /opt/resolve/bin/../libs/libcdt.so.5 (0x00007f8448e00000)
libxdot.so.4 => /opt/resolve/bin/../libs/libxdot.so.4 (0x00007f8448a00000)
libpathplan.so.4 => /opt/resolve/bin/../libs/libpathplan.so.4 (0x00007f8448600000)
liblog4cxx.so.10 => /opt/resolve/bin/../libs/liblog4cxx.so.10 (0x00007f8448000000)
libaprutil-1.so.0 => /opt/resolve/bin/../libs/libaprutil-1.so.0 (0x00007f8447c00000)
libapr-1.so.0 => /opt/resolve/bin/../libs/libapr-1.so.0 (0x00007f8447800000)
libcudnn.so.8 => /opt/resolve/bin/../libs/libcudnn.so.8 (0x00007f8447400000)
libOpenCL.so.1 => /lib/x86_64-linux-gnu/libOpenCL.so.1 (0x00007f845d680000)
libonnxruntime.so.1.13.1 => /opt/resolve/bin/../libs/libonnxruntime.so.1.13.1 (0x00007f844657c000)
libArriImageSdk.so.7 => /opt/resolve/bin/../libs/libArriImageSdk.so.7 (0x00007f8445200000)
libBMDBackup.so => /opt/resolve/bin/../libs/libBMDBackup.so (0x00007f8442d9e000)
libCrmSdk.so.2.8 => /opt/resolve/bin/../libs/libCrmSdk.so.2.8 (0x00007f8441e00000)
libcodexhdedecoder.so.4 => /opt/resolve/bin/../libs/libcodexhdedecoder.so.4 (0x00007f8441a00000)
libavformat.so.58 => /opt/resolve/bin/../libs/libavformat.so.58 (0x00007f8441400000)
libavcodec.so.58 => /opt/resolve/bin/../libs/libavcodec.so.58 (0x00007f843fc00000)
libavutil.so.56 => /opt/resolve/bin/../libs/libavutil.so.56 (0x00007f843f600000)
libswscale.so.5 => /opt/resolve/bin/../libs/libswscale.so.5 (0x00007f843f200000)
libgvcodec.so => /opt/resolve/bin/../libs/libgvcodec.so (0x00007f843ee00000)
libMXF.so => /opt/resolve/bin/../libs/libMXF.so (0x00007f843ea00000)
libSonyRawDev.so.5 => /opt/resolve/bin/../libs/libSonyRawDev.so.5 (0x00007f843e400000)
libsonyxavcenc.so => /opt/resolve/bin/../libs/libsonyxavcenc.so (0x00007f843e000000)
libDaVinciPanels.so => /opt/resolve/bin/../libs/libDaVinciPanels.so (0x00007f843dc00000)
libQtSingleApplication.so => /opt/resolve/bin/../libs/libQtSingleApplication.so (0x00007f843d800000)
libSMDK-Linux-x64.so.4.24 => /opt/resolve/bin/../libs/libSMDK-Linux-x64.so.4.24 (0x00007f843d491000)
libDNxHR.so => /opt/resolve/bin/../libs/libDNxHR.so (0x00007f843ce00000)
libDNxUncompressedSDK.so => /opt/resolve/bin/../libs/libDNxUncompressedSDK.so (0x00007f843ca00000)
libfraunhoferdcp.so => /opt/resolve/bin/../libs/libfraunhoferdcp.so (0x00007f8439600000)
libxmlsec1.so => /opt/resolve/bin/../libs/libxmlsec1.so (0x00007f8439000000)
libxmlsec1-openssl.so => /opt/resolve/bin/../libs/libxmlsec1-openssl.so (0x00007f8438800000)
libdavcloudclient.so => /opt/resolve/bin/../libs/libdavcloudclient.so (0x00007f8437800000)
libImath.so.29 => /opt/resolve/bin/../libs/libImath.so.29 (0x00007f84572fd000)
libIex.so.30 => /opt/resolve/bin/../libs/libIex.so.30 (0x00007f844b20b000)
libIlmThread.so.30 => /opt/resolve/bin/../libs/libIlmThread.so.30 (0x00007f845d28d000)
libOpenEXR.so.30 => /opt/resolve/bin/../libs/libOpenEXR.so.30 (0x00007f84374dc000)
libQt5Gui.so.5 => /opt/resolve/bin/../libs/libQt5Gui.so.5 (0x00007f8436e04000)
libQt5Core.so.5 => /opt/resolve/bin/../libs/libQt5Core.so.5 (0x00007f843673f000)
libQt5Network.so.5 => /opt/resolve/bin/../libs/libQt5Network.so.5 (0x00007f844a432000)
libopencv_flann.so.3.4 => /opt/resolve/bin/../libs/libopencv_flann.so.3.4 (0x00007f844b197000)
libopencv_highgui.so.3.4 => /opt/resolve/bin/../libs/libopencv_highgui.so.3.4 (0x00007f845d27e000)
libopencv_videoio.so.3.4 => /opt/resolve/bin/../libs/libopencv_videoio.so.3.4 (0x00007f845d260000)
libopencv_imgcodecs.so.3.4 => /opt/resolve/bin/../libs/libopencv_imgcodecs.so.3.4 (0x00007f84572ca000)
libopencv_imgproc.so.3.4 => /opt/resolve/bin/../libs/libopencv_imgproc.so.3.4 (0x00007f843634b000)
libopencv_core.so.3.4 => /opt/resolve/bin/../libs/libopencv_core.so.3.4 (0x00007f8436057000)
libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f844add3000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f8435e45000)
/lib64/ld-linux-x86-64.so.2 (0x00007f845ff0b000)
libX11.so.6 => /lib/x86_64-linux-gnu/libX11.so.6 (0x00007f844ac95000)
libXext.so.6 => /lib/x86_64-linux-gnu/libXext.so.6 (0x00007f844d3eb000)
libstdc++.so.6 => /lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007f8435bc8000)
libcairo-gobject.so.2 => /lib/x86_64-linux-gnu/libcairo-gobject.so.2 (0x00007f844b18c000)
libgdk_pixbuf-2.0.so.0 => /lib/x86_64-linux-gnu/libgdk_pixbuf-2.0.so.0 (0x00007f844ac67000)
libgio-2.0.so.0 => /opt/resolve/bin/../libs/libgio-2.0.so.0 (0x00007f8435600000)
libxml2.so.2 => /lib/x86_64-linux-gnu/libxml2.so.2 (0x00007f844a01e000)
libpangocairo-1.0.so.0 => /lib/x86_64-linux-gnu/libpangocairo-1.0.so.0 (0x00007f844a9ef000)
libcairo.so.2 => /lib/x86_64-linux-gnu/libcairo.so.2 (0x00007f8449cb9000)
libpango-1.0.so.0 => /lib/x86_64-linux-gnu/libpango-1.0.so.0 (0x00007f844a984000)
libdbus-1.so.3 => /lib/x86_64-linux-gnu/libdbus-1.so.3 (0x00007f8449c6a000)
libxkbcommon-x11.so.0 => /lib/x86_64-linux-gnu/libxkbcommon-x11.so.0 (0x00007f844a97a000)
libxkbcommon.so.0 => /lib/x86_64-linux-gnu/libxkbcommon.so.0 (0x00007f8449c21000)
libcublasLt.so.11 => /opt/resolve/bin/../libs/libcublasLt.so.11 (0x00007f842a400000)
libOpenGL.so.0 => /lib/x86_64-linux-gnu/libOpenGL.so.0 (0x00007f844a94f000)
libGLdispatch.so.0 => /lib/x86_64-linux-gnu/libGLdispatch.so.0 (0x00007f8449948000)
libGLX.so.0 => /lib/x86_64-linux-gnu/libGLX.so.0 (0x00007f8449915000)
libbsd.so.0 => /lib/x86_64-linux-gnu/libbsd.so.0 (0x00007f84498ff000)
libcap.so.2 => /lib/x86_64-linux-gnu/libcap.so.2 (0x00007f844a425000)
libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007f84498e0000)
libgmodule-2.0.so.0 => /opt/resolve/bin/../libs/libgmodule-2.0.so.0 (0x00007f842a000000)
libgstrtp-1.0.so.0 => /opt/resolve/bin/../libs/libgstrtp-1.0.so.0 (0x00007f8429c00000)
libgstpbutils-1.0.so.0 => /opt/resolve/bin/../libs/libgstpbutils-1.0.so.0 (0x00007f8429800000)
libexpat.so.1 => /lib/x86_64-linux-gnu/libexpat.so.1 (0x00007f84498b5000)
libcrypt.so.1 => /lib/x86_64-linux-gnu/libcrypt.so.1 (0x00007f84495c6000)
libbz2.so.1 => /lib/x86_64-linux-gnu/libbz2.so.1 (0x00007f8449c0d000)
libgthread-2.0.so.0 => /lib/x86_64-linux-gnu/libgthread-2.0.so.0 (0x00007f844b187000)
libxcb.so.1 => /lib/x86_64-linux-gnu/libxcb.so.1 (0x00007f844959c000)
libpng16.so.16 => /lib/x86_64-linux-gnu/libpng16.so.16 (0x00007f8449564000)
libjpeg.so.8 => /lib/x86_64-linux-gnu/libjpeg.so.8 (0x00007f84494e1000)
libicuuc.so.74 => /lib/x86_64-linux-gnu/libicuuc.so.74 (0x00007f84295f3000)
libpangoft2-1.0.so.0 => /lib/x86_64-linux-gnu/libpangoft2-1.0.so.0 (0x00007f84494c7000)
libharfbuzz.so.0 => /lib/x86_64-linux-gnu/libharfbuzz.so.0 (0x00007f84490f3000)
libfontconfig.so.1 => /lib/x86_64-linux-gnu/libfontconfig.so.1 (0x00007f8449476000)
libfreetype.so.6 => /lib/x86_64-linux-gnu/libfreetype.so.6 (0x00007f8449027000)
libXrender.so.1 => /lib/x86_64-linux-gnu/libXrender.so.1 (0x00007f844a011000)
libxcb-render.so.0 => /lib/x86_64-linux-gnu/libxcb-render.so.0 (0x00007f84498a7000)
libxcb-shm.so.0 => /lib/x86_64-linux-gnu/libxcb-shm.so.0 (0x00007f844a420000)
libpixman-1.so.0 => /lib/x86_64-linux-gnu/libpixman-1.so.0 (0x00007f8448d54000)
libfribidi.so.0 => /lib/x86_64-linux-gnu/libfribidi.so.0 (0x00007f8449458000)
libthai.so.0 => /lib/x86_64-linux-gnu/libthai.so.0 (0x00007f844944d000)
libsystemd.so.0 => /lib/x86_64-linux-gnu/libsystemd.so.0 (0x00007f8448c75000)
libxcb-xkb.so.1 => /lib/x86_64-linux-gnu/libxcb-xkb.so.1 (0x00007f844942f000)
libmd.so.0 => /lib/x86_64-linux-gnu/libmd.so.0 (0x00007f8449420000)
libgstbase-1.0.so.0 => /opt/resolve/bin/../libs/libgstbase-1.0.so.0 (0x00007f8429200000)
libgstvideo-1.0.so.0 => /opt/resolve/bin/../libs/libgstvideo-1.0.so.0 (0x00007f8428e00000)
libgstaudio-1.0.so.0 => /opt/resolve/bin/../libs/libgstaudio-1.0.so.0 (0x00007f8428a00000)
libgsttag-1.0.so.0 => /opt/resolve/bin/../libs/libgsttag-1.0.so.0 (0x00007f8428600000)
libXau.so.6 => /lib/x86_64-linux-gnu/libXau.so.6 (0x00007f84498a1000)
libXdmcp.so.6 => /lib/x86_64-linux-gnu/libXdmcp.so.6 (0x00007f8449418000)
libicudata.so.74 => /lib/x86_64-linux-gnu/libicudata.so.74 (0x00007f84268a0000)
libgraphite2.so.3 => /lib/x86_64-linux-gnu/libgraphite2.so.3 (0x00007f8448c4f000)
libbrotlidec.so.1 => /lib/x86_64-linux-gnu/libbrotlidec.so.1 (0x00007f8449019000)
libdatrie.so.1 => /lib/x86_64-linux-gnu/libdatrie.so.1 (0x00007f8449010000)
libgcrypt.so.20 => /lib/x86_64-linux-gnu/libgcrypt.so.20 (0x00007f84488b8000)
liblz4.so.1 => /lib/x86_64-linux-gnu/liblz4.so.1 (0x00007f8448c2c000)
libzstd.so.1 => /lib/x86_64-linux-gnu/libzstd.so.1 (0x00007f8447f49000)
liborc-0.4.so.0 => /opt/resolve/bin/../libs/liborc-0.4.so.0 (0x00007f8426400000)
libbrotlicommon.so.1 => /lib/x86_64-linux-gnu/libbrotlicommon.so.1 (0x00007f8448c09000)
libgpg-error.so.0 => /lib/x86_64-linux-gnu/libgpg-error.so.0 (0x00007f8448893000)
undefined symbol: g_string_free_and_steal (/lib/x86_64-linux-gnu/libpango-1.0.so.0)
undefined symbol: g_task_set_static_name (/lib/x86_64-linux-gnu/libgdk_pixbuf-2.0.so.0)
If GLib is not /lib/x86_64-linux-gnu/libglib-2.0.so.0, could you try preloading it following the instruction below?
This therefore throws new error.
lingh@DESKTOP-LK088AH:~$ LD_PRELOAD=/lib/x86_64-linux-gnu/libglib-2.0.so.0 /opt/resolve/bin/resolve
/opt/resolve/bin/resolve: symbol lookup error: /lib/x86_64-linux-gnu/libgdk_pixbuf-2.0.so.0: undefined symbol: g_task_set_static_name
There are lots of system libraries interleaved with the libraries provided by the app image, which can cause all sorts of issues. I see there is an older version of GLib inside /opt/resolve/libs
, which is fine. The issue is that libpango is not provided, thus the loader links against the system provided, which in turn relies on newer GLib. the LD_PRELOAD
fixed one missing symbol, the other (g_task_set_static_name
) will likely be resolved by additionally preloading /lib/x86_64-linux-gnu/libgio-2.0.so.0
. So, in theory you can copy the system's gio and glib over what's inside ´/opt/resolve/libs`.
Those workarounds sound brittle to me. That should be reported to the app vendor, so they can provide the correct libraries inside the appimage to avoid such issues. Also, did you try running that version of DaVinci Resolve in Ubuntu 22.04? Since the libraries provided by the distro are of older versions, is likely that it will just work transparently without you even noticing the dependency leaks.
Just to confirm, can you try LD_PRELOAD="/lib/x86_64-linux-gnu/libglib-2.0.so.0 /lib/x86_64-linux-gnu/libgio-2.0.so.0" /opt/resolve/bin/resolve
?
Just to confirm, can you try LD_PRELOAD="/lib/x86_64-linux-gnu/libglib-2.0.so.0 /lib/x86_64-linux-gnu/libgio-2.0.so.0" /opt/resolve/bin/resolve?
I additionally tested this and this also threw an error log and failed to start DaVinci Resolve.
$ LD_PRELOAD="/lib/x86_64-linux-gnu/libglib-2.0.so.0 /lib/x86_64-linux-gnu/libgio-2.0.so.0" /opt/resolve/bin/resolve
/opt/resolve/bin/resolve: symbol lookup error: /lib/x86_64-linux-gnu/libgio-2.0.so.0: undefined symbol: g_module_open_full
Those workarounds sound brittle to me. That should be reported to the app vendor, so they can provide the correct libraries inside the appimage to avoid such issues.
The somewhat humorous point here is that DaVinci Resolve is a very purely commercial software. Although DaVinci Resolve provides a free version, providing application feedback is largely something that requires the status of a company employee. An additional statement is that I am a student.
DaVinci Resolve points out at https://www.blackmagicdesign.com/support/ that there is a forum for open discussion. But I'm really not sure where to put an issue with an unknown solution in https://forum.blackmagicdesign.com/ .
Also, did you try running that version of DaVinci Resolve in Ubuntu 22.04? Since the libraries provided by the distro are of older versions, is likely that it will just work transparently without you even noticing the dependency leaks.
sudo apt update && sudo apt upgrade -y
cd /tmp/
wget https://swr.cloud.blackmagicdesign.com/DaVinciResolve/v18.6.6/DaVinci_Resolve_18.6.6_Linux.zip?verify=1720692302-KSzOzKSkk7eKxjHZzuOuhZVU5iFOyLmkXR9g65C1QC4%3D -O ./DaVinci_Resolve_Linux.zip
sudo apt install unzip -y
unzip ./DaVinci_Resolve_Linux.zip
chmod +x ./DaVinci_Resolve_18.6.6_Linux.run
DaVinci_Resolve_18.6.6_Linux.run
is an AppImage.sudo apt install libfuse2 -y
sudo apt install fontconfig libapr1 libaprutil1 libasound2 libfreetype6 libglu1-mesa libglvnd0 libgomp1 libice6 libsm6 libxcb-composite0 libxcb-cursor0 libxcb-damage0 libxcb-glx0 libxcb-icccm4 libxcb-image0 libxcb-keysyms1 libxcb-randr0 libxcb-render-util0 libxcb-render0 libxcb-shape0 libxcb-shm0 libxcb-sync1 libxcb-util1 libxcb-xfixes0 libxcb-xinerama0 libxcb-xinput0 libxcb-xkb1 libxcursor1 libxfixes3 libxi6 libxinerama1 libxkbcommon-x11-0 libxkbcommon0 libxrandr2 libxrender1 libxtst6 libxxf86vm1 ocl-icd-libopencl1 -y
sudo apt install gnome-text-editor gimp vlc nautilus x11-apps -y
sudo ./DaVinci_Resolve_18.6.6_Linux.run -i
rm -rf /tmp/DaVinci_Resolve_18.6.6_Linux.run rm -rf /tmp/Linux_Installation_Instructions.pdf rm -rf /tmp/DaVinci_Resolve_Linux.zip
/opt/resolve/bin/resolve
- However, on Ubuntu WSL 22.04, opening DaVinci Resolve for the first time will result in a white screen.
- ![image](https://github.com/ubuntu/WSL/assets/20187731/77be7698-5c7d-4122-8b24-4b5e39f408b3)
- ![2](https://github.com/ubuntu/WSL/assets/20187731/124cff19-2995-424a-a500-79763015e386)
- The log is as follows.
```bash
$ /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
QSocketNotifier: Can only be used with threads started with QThread
New connection received.
Ctrl+C
to force quit the application and execute /opt/resolve/bin/resolve
to restart, another window will pop up, prompting that the suspicious GPU driver is not installed. From my perspective, it is very suspicious that the application running under WSLg cannot detect the integrated graphics driver of AMD Ryzen 7840HS.$ /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
18.6.6.0007 Linux/Clang x86_64
Main thread starts: 54A09180
0x7f2b54a09180 | Undefined | INFO | 2024-07-11 18:20:39,980 | --------------------------------------------------------------------------------
0x7f2b54a09180 | Undefined | INFO | 2024-07-11 18:20:39,981 | Loaded log config from /home/linghengqian/.local/share/DaVinciResolve/configs/log-conf.xml
0x7f2b54a09180 | Undefined | INFO | 2024-07-11 18:20:39,981 | --------------------------------------------------------------------------------
Well, since that's a proprietary software there is no much we can do. I find particularly interesting you willing to run such kind of software on a WSL instance (which requires additional setup) when you could just run on the Windows host (and get GPU support and other things out of the box without additional setups). Would you mind sharing your motivation for this?
Otherwise, feel free to close the issue as the upstream app provider stated there is no support for running on WSL as of now. In the future, if they change their minds, we could perharps offer guidance on how to make the application work.
Would you mind sharing your motivation for this?
.deb
or AppImage, although it is still impossible to completely uninstall the software and delete its residual files, I can completely avoid the existence of residual files of such software by directly deregistering the WSL distribution and recreating the WSL distribution.Otherwise, feel free to close the issue as the upstream app provider stated there is no support for running on WSL as of now.
cmd /c ver
Microsoft Windows [版本 10.0.22631.3296]
wsl --status
默认分发: Ubuntu-22.04 默认版本: 2
Did the problem occur during installation?
What happened?
cd /tmp/ wget https://swr.cloud.blackmagicdesign.com/DaVinciResolve/v18.6.6/DaVinci_Resolve_18.6.6_Linux.zip?verify=1711345991-koLpOfRkrZVQWYam%2BYGYcCYaEY9VEEdF0FRcQSJSvCY%3D -O ./DaVinci_Resolve_Linux.zip sudo apt install unzip -y unzip ./DaVinci_Resolve_Linux.zip chmod +x ./DaVinci_Resolve_18.6.6_Linux.run
DaVinci_Resolve_18.6.6_Linux.run
is an AppImage.sudo apt install libfuse2 -y sudo apt install libapr1 libaprutil1 libasound2 libglu1-mesa libgomp1 libice6 libnuma1 libsm6 libxcb-composite0 libxcb-cursor0 libxcb-damage0 libxcb-icccm4 libxcb-image0 libxcb-keysyms1 libxcb-render-util0 libxcb-shape0 libxcb-util1 libxcb-xinerama0 libxcb-xinput0 libxcb-xkb1 libxkbcommon-x11-0 ocl-icd-libopencl1 -y
You need to always select 'y' during the installation process
sudo ./DaVinci_Resolve_18.6.6_Linux.run -i
rm -rf /tmp/DaVinci_Resolve_18.6.6_Linux.run rm -rf /tmp/Linux_Installation_Instructions.pdf
/opt/resolve/bin/resolve
What was expected?
DaVinci Resolve
normally.Steps to reproduce
cd /tmp/ wget https://swr.cloud.blackmagicdesign.com/DaVinciResolve/v18.6.6/DaVinci_Resolve_18.6.6_Linux.zip?verify=1711345991-koLpOfRkrZVQWYam%2BYGYcCYaEY9VEEdF0FRcQSJSvCY%3D -O ./DaVinci_Resolve_Linux.zip sudo apt install unzip -y unzip ./DaVinci_Resolve_Linux.zip chmod +x ./DaVinci_Resolve_18.6.6_Linux.run
DaVinci_Resolve_18.6.6_Linux.run
is an AppImage.sudo apt install libfuse2 -y sudo apt install libapr1 libaprutil1 libasound2 libglu1-mesa libgomp1 libice6 libnuma1 libsm6 libxcb-composite0 libxcb-cursor0 libxcb-damage0 libxcb-icccm4 libxcb-image0 libxcb-keysyms1 libxcb-render-util0 libxcb-shape0 libxcb-util1 libxcb-xinerama0 libxcb-xinput0 libxcb-xkb1 libxkbcommon-x11-0 ocl-icd-libopencl1 -y
You need to always select 'y' during the installation process
sudo ./DaVinci_Resolve_18.6.6_Linux.run -i
rm -rf /tmp/DaVinci_Resolve_18.6.6_Linux.run rm -rf /tmp/Linux_Installation_Instructions.pdf
/opt/resolve/bin/resolve