AnsweredAssumed Answered

PLEASE fix Linux opengl/opencl interop

Question asked by fesc2000 on Nov 17, 2015
Latest reply on Nov 23, 2015 by fesc2000



I have posted this issue years (?) ago and even opened a ticket at the debian fglrx packet maintainer.

Whatever the cause, it is STILL not fixed:


When using opengl/opencl interop, the opencl library apparently dlopens, whereas my application is linked against

But /usr/lib/x86_64-linux-gnu/ and are different binaries.

This eventually leads to a crash (X error).


Every time i do an upgrade of packages, i have to manually link to so that my application works again.


PLEASE AMD: You are not supposed to dlopen(""), use dlopen("")!

By the way, why do you have to open libGL again at all? If i have an application does gl/cl interop than it has to be linked to the correct libGL anyway. Otherwise it couldn't provide the context information ...