Resolve doesn't run on Linux

Get answers to your questions about color grading, editing and finishing with DaVinci Resolve.
  • Author
  • Message
Offline
User avatar

Eugenia Loli

  • Posts: 362
  • Joined: Mon May 04, 2015 6:47 am
  • Location: Preveza, Greece

Resolve doesn't run on Linux

PostThu May 09, 2024 11:43 am

Resolve doesn't run on Debian. I'm using a brand new Intel A310 card, 4 GB of DRAM, 32 GB of main RAM, with the i915 driver, and kernel 6.7.

I get it that you build Resolve for CentOS, but that OS doesn't exist anymore. And I won't support Red Hat due to its GPL antics, and by extension and association, Fedora/Alma/Rocky Linux.

$ /opt/resolve/bin/resolve %u
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
19.0.0b.0025 Linux/Clang x86_64
Main thread starts: 71E6E000
Failed to load config file "%u".resolve: /home/jenkins/jenkins/workspace/resolve/Resolve/Cyclone/Main/AppConfig.cpp:294: void AppConfig::LoadAllSiteInfo(): Assertion `m_SiteEnabledIdx > 0' failed.
log4cxx: No appender could be found for logger (Main).
log4cxx: Please initialize the log4cxx system properly.


==========[CRASH DUMP]==========
#TIME Thu May 9 14:35:38 2024 - Uptime 00:00:00 (hh:mm:ss)
#PROGRAM_NAME DaVinci Resolve v19.0.0b.0025 (Linux/Clang x86_64)
#BMD_ARCHITECTURE x86_64
#BMD_BUILD_UUID 88acbfd5-393c-453d-881a-1c63ef8f53c2
#BMD_GIT_COMMIT f057cdef01e5b87270cf5f340f4bfc327b120064
#BMD_UTIL_VERSION 19.0.0b.0025
#OS Linux

/opt/resolve/bin/resolve() [0x4c923e9]
/opt/resolve/bin/resolve() [0x271c223]
/lib/x86_64-linux-gnu/libc.so.6(+0x3d1a0) [0x7fd97ea591a0]
/lib/x86_64-linux-gnu/libc.so.6(+0x8b0ec) [0x7fd97eaa70ec]
/lib/x86_64-linux-gnu/libc.so.6(raise+0x12) [0x7fd97ea59102]
/lib/x86_64-linux-gnu/libc.so.6(abort+0xd3) [0x7fd97ea424f2]
/lib/x86_64-linux-gnu/libc.so.6(+0x26415) [0x7fd97ea42415]
/lib/x86_64-linux-gnu/libc.so.6(+0x35d32) [0x7fd97ea51d32]
/opt/resolve/bin/resolve() [0x274d36e]
/opt/resolve/bin/resolve() [0x274a349]
/opt/resolve/bin/resolve() [0x2749c78]
/opt/resolve/bin/resolve() [0x44fbfe8]
/opt/resolve/bin/resolve() [0x3e5ed76]
/opt/resolve/bin/resolve() [0x3e5eb67]
/opt/resolve/bin/resolve() [0x27706b8]
/opt/resolve/bin/resolve() [0x27705c1]
/opt/resolve/bin/resolve() [0x271aad2]
/opt/resolve/bin/resolve() [0x2714b3e]
/lib/x86_64-linux-gnu/libc.so.6(+0x27b8a) [0x7fd97ea43b8a]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0x85) [0x7fd97ea43c45]
/opt/resolve/bin/resolve() [0x271322b]
Signal Number = 6

================================
resolve: /home/jenkins/jenkins/workspace/resolve/Resolve/Cyclone/Main/AppConfig.cpp:294: void AppConfig::LoadAllSiteInfo(): Assertion `m_SiteEnabledIdx > 0' failed.


==========[CRASH DUMP]==========
#TIME Thu May 9 14:35:38 2024 - Uptime 00:00:00 (hh:mm:ss)
#PROGRAM_NAME DaVinci Resolve v19.0.0b.0025 (Linux/Clang x86_64)
#BMD_ARCHITECTURE x86_64
#BMD_BUILD_UUID 88acbfd5-393c-453d-881a-1c63ef8f53c2
#BMD_GIT_COMMIT f057cdef01e5b87270cf5f340f4bfc327b120064
#BMD_UTIL_VERSION 19.0.0b.0025
#OS Linux

/opt/resolve/bin/resolve() [0x4c923e9]
/opt/resolve/bin/resolve() [0x271c223]
/lib/x86_64-linux-gnu/libc.so.6(+0x3d1a0) [0x7fd97ea591a0]
/lib/x86_64-linux-gnu/libc.so.6(+0x8b0ec) [0x7fd97eaa70ec]
/lib/x86_64-linux-gnu/libc.so.6(raise+0x12) [0x7fd97ea59102]
/lib/x86_64-linux-gnu/libc.so.6(abort+0xd3) [0x7fd97ea424f2]
/lib/x86_64-linux-gnu/libc.so.6(+0x26415) [0x7fd97ea42415]
/lib/x86_64-linux-gnu/libc.so.6(+0x35d32) [0x7fd97ea51d32]
/opt/resolve/bin/resolve() [0x274d36e]
/opt/resolve/bin/resolve() [0x274a349]
/opt/resolve/bin/resolve() [0x2749c78]
/opt/resolve/bin/resolve() [0x2761006]
/opt/resolve/bin/resolve() [0x271c437]
/lib/x86_64-linux-gnu/libc.so.6(+0x3d1a0) [0x7fd97ea591a0]
/lib/x86_64-linux-gnu/libc.so.6(+0x8b0ec) [0x7fd97eaa70ec]
/lib/x86_64-linux-gnu/libc.so.6(raise+0x12) [0x7fd97ea59102]
/lib/x86_64-linux-gnu/libc.so.6(abort+0xd3) [0x7fd97ea424f2]
/lib/x86_64-linux-gnu/libc.so.6(+0x26415) [0x7fd97ea42415]
/lib/x86_64-linux-gnu/libc.so.6(+0x35d32) [0x7fd97ea51d32]
/opt/resolve/bin/resolve() [0x274d36e]
/opt/resolve/bin/resolve() [0x274a349]
/opt/resolve/bin/resolve() [0x2749c78]
/opt/resolve/bin/resolve() [0x44fbfe8]
/opt/resolve/bin/resolve() [0x3e5ed76]
/opt/resolve/bin/resolve() [0x3e5eb67]
/opt/resolve/bin/resolve() [0x27706b8]
/opt/resolve/bin/resolve() [0x27705c1]
/opt/resolve/bin/resolve() [0x271aad2]
/opt/resolve/bin/resolve() [0x2714b3e]
/lib/x86_64-linux-gnu/libc.so.6(+0x27b8a) [0x7fd97ea43b8a]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0x85) [0x7fd97ea43c45]
/opt/resolve/bin/resolve() [0x271322b]
Signal Number = 6

================================
Aborted
Attachments
log_archive_2024-05-09_145520.tgz
Logs
(12.92 KiB) Downloaded 36 times
Illustration/collage artist now, music video filmmaker 10 years ago, programmer/tech journalist 20 years ago.
Offline

smunaut

  • Posts: 523
  • Joined: Sat Jan 30, 2021 6:15 pm
  • Real Name: Sylvain Munaut

Re: Resolve doesn't run on Linux

PostThu May 09, 2024 8:11 pm

First Intel Arc isn't supported see viewtopic.php?p=1045260#p1045260

Although your issue doesn't even get that far.

You can try `export NEOReadDebugKeys=1 DisableDeepBind=1`
Resolve Studio - Ryzen 5800X3D - AMD RX6600 / NVidia RTX 4070 (switching between the 2) - Linux
Offline
User avatar

Eugenia Loli

  • Posts: 362
  • Joined: Mon May 04, 2015 6:47 am
  • Location: Preveza, Greece

Re: Resolve doesn't run on Linux

PostFri May 10, 2024 12:34 pm

Thank you for the reply. I moved to the Intel card *from* an 8 GB nVidia card, because nvidia was catastrophic with Wayland on my Debian system. Even when running it under X11, and the artifacts were fewer, it wouldn't wake up half the time after suspend (drivers 535, as supported by Debian). And I know that it wasn't my motherboard's firmware to blame, because the non-accelerated open source Nouveau nvidia drivers (and the intel drivers) don't have that bug.

So I have to use Intel, even if my workstation's firmware doesn't support ReBar. It was still a better deal than having to deal with nvidia under Linux. Also, I'm using the quite robust Intel i915 drivers btw, not the half-baked xe or xe2 drivers.

I'll try your suggestion about Resolve env variables later tonight, thx.

EDIT: Indeed, using the env var, the app progressed more without crashing, and loaded the preferences panel, only to tell me that it doesn't support Intel cards (arguably the BEST cards for encoding/decoding video -- just not great at compute).
Illustration/collage artist now, music video filmmaker 10 years ago, programmer/tech journalist 20 years ago.
Offline

smunaut

  • Posts: 523
  • Joined: Sat Jan 30, 2021 6:15 pm
  • Real Name: Sylvain Munaut

Re: Resolve doesn't run on Linux

PostMon May 13, 2024 8:02 am

If you install the latest intel-compute-runtime (at least 24.13.xxx, not sure if it's packaged for Debian ...), it will go a bit further ... but still won't be usable for the bug mentioned in the other thread.

Note that any video decode/encode accelerator on the card would be unused by resolve anyway, there is no support for VA-API or anything like that in resolve, it only uses the "compute" capability of the card.


Weird about your NVIDIA card, I don't have any issue with mine. One thing about wakeup is that my monitor needs to be on before I wakeup the PC, else the DP link doesn't come up and X11 ends up with no display. (Fixable by SSH'ing in the machine and using `xrandr` but not practical). But I think that's more an issue with my monitor DP than the card because I had the issue with an AMD card too.
Resolve Studio - Ryzen 5800X3D - AMD RX6600 / NVidia RTX 4070 (switching between the 2) - Linux
Offline
User avatar

Eugenia Loli

  • Posts: 362
  • Joined: Mon May 04, 2015 6:47 am
  • Location: Preveza, Greece

Re: Resolve doesn't run on Linux

PostFri Nov 08, 2024 1:18 pm

I'm glad to report that Resolve 19.0.3 now runs with Intel ARC GPUs on Linux (on Debian-based systems). It required the following to get it working with my Intel Arc A310 card (dedicated card, not sure for iGPUs).

From Intel's github releases page (scattered under 3 different repositories), you need to download:
intel-igc-core
intel-igc-media
intel-igc-opecl
intel-level-zero-gpu
intel-opencl-icd
level-zero (loader, this is more useful for Blender than Resolve though, it's good to have too)

The version of the intel-opencl-icd must absolutely be 24.39 or greater. Older versions don't work.

Put all these .deb packages under a folder (e.g. ~/Downloads/Intel/), navigate there with the terminal, and run: sudo dpkg -i *.deb

Then install Resolve from the extracted file you downloaded from blackmagic, like this: SKIP_PACKAGE_CHECK=1 ./DaVinci_Resolve_19.0_Linux.run
Then move Resolve's libraries out of the way (the app won't load otherwise on debian):
cd /opt/resolve/libs
sudo mkdir old-libs
sudo mv libgio* libglib* libgmodule* old-libs

Now you can launch Resolve from /opt/bin/resolve from the terminal. To get a launcher on your menu, you need to get the launcher file from /opt/resolve/share/DaVinciResolve.desktop and copy it on /usr/share/applications (you might need to edit it first to give it the path of the installation at /opt/resolve).

Arch Linux users can install the latest intel compute libraries from AUR's "extras" repo. That's the one that has the latest intel-compute version.

No idea about Fedora (maybe rawhide has the right rpms)?

Now I can use again my BMPCC4k and the Resolve license that came with it. I had spent a year without Resolve, and it hurt me using other video editors... None comes close to Resolve. :-)

Here's proof that it runs on Gnome/Wayland (Resolve incorrectly thinks that this GPU is integrated, but it's in fact dedicated):
Image
Illustration/collage artist now, music video filmmaker 10 years ago, programmer/tech journalist 20 years ago.

Return to DaVinci Resolve

Who is online

Users browsing this forum: Google [Bot], mpetech, tippytaps and 192 guests