Diolinux/amd-opencl-pro-linux-resolve

CL/GL interop not working

smunaut opened this issue · 0 comments

Hi,

I just ran the script, all worked fine and clInfo properly lists the device.

However OpenCL / OpenGL interop doesn't work. I can see that in one of my own application, but also in Resolve.
It starts, but as soon as it tries to display any media, it crashes and the log shows :

[0x7fdc8e1e1700] | DVIP                 | ERROR | 2021-01-14 22:44:35,993 | Failed to register OpenGL object for OpenCL interop: CL_INVALID_CONTEXT.
[0x7fdc8e1e1700] | UI.GLTexPool         | ERROR | 2021-01-14 22:44:35,993 | Failed to register OpenGL texture to compute API.

I've previously (before trying the script) made an install using a similar procedure as what the script does but manually, and had the exact same results. CL and GL works independently but the interop between them doesn't.