17b7 crash when displaying media (linux)

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

smunaut

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

17b7 crash when displaying media (linux)

PostSat Jan 30, 2021 7:01 pm

Hi,


I experience crash on Resolve 17 as soon as it tries to display any media (so just scrubbing something in the media pool or anything).

This is what can be found in the logs :

Code: Select all
[0x7fcfc90ab700] | DVIP                 | ERROR | 2021-01-30 18:18:16,499 | Failed to register OpenGL object for OpenCL interop: CL_INVALID_CONTEXT.
[0x7fcfc90ab700] | UI.GLTexPool         | ERROR | 2021-01-30 18:18:16,499 | Failed to register OpenGL texture to compute API.


I'v also attached the full ResolveDebug.txt.

A few more infos :

* I'm new to Resolve but I just used version 16 just fine to make a project and that worked fine with the exact same config / machine. I had to disable "GPU scopes" (they were showing nothing) but except for that it worked. Given it was a pretty good experience I'm considering going to the Studio version (to get h264 support mostly) but if I can't get newer versions running on my setup, there isn't much point.

* I know OpenCL / OpenGL interop does _not_ work on this machine, you can't share objects. I spent month trying to get it to work, to no avail. At least for v16 it was able to fallback to manually copy/upload textures (which is what I do in my own projects using CL/GL), has this been removed from v17 ? Is there a way to force it not to use / rely on CL/GL interop ?

* That system also has a NVIDIA GPU, usually it's completely invisible (passed through to a VM so no driver/device/... visible to to the host at all) to the host, but for testing I tried enabling it and running Resolve using that and that seems to work, (at least I could add a media to the timeline and play it, I didn't really try anything else). So this really seem to be the CL/GL interop issue on the AMD GPU.


Cheers,

Sylvain
Attachments
ResolveDebug.zip
(5.29 KiB) Downloaded 20 times
Resolve Studio - Ryzen 5800X3D - AMD RX6600 / NVidia RTX 4070 (switching between the 2) - Linux
Offline

smunaut

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

Re: 17b7 crash when displaying media (linux)

PostMon Feb 01, 2021 8:53 am

At least some of the strings in the binary suggest that disabling GL Interop is an option.
Haven't managed to trigger that code path though :/

I don't even see where it tries to enable interop at all, AFAICT the CL context is always created with no attributes.
Resolve Studio - Ryzen 5800X3D - AMD RX6600 / NVidia RTX 4070 (switching between the 2) - Linux

Return to DaVinci Resolve

Who is online

Users browsing this forum: Bing [Bot], Google [Bot], Mads Johansen, panos_mts, sjubussen and 297 guests