-
Notifications
You must be signed in to change notification settings - Fork 142
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Broken OpenGL/OpenCL interoperability support #778
Comments
Any news on this? I have the same problem regarding OpenCL sharing, same error message. Sharing CUDA<->OpenGL works, so I assume my system configuration is correct. I use Arch Linux, with nvidia driver 370.28-1. |
Still experiencing the same issue, also on ArchLinux:
|
I can prevent my program from crashing by exporting This happens regardless of whether I set DISPLAY outside or inside primusrun:
|
A customer reported a similar issue to me in the context of using a commercial OpenGL application with VirtualGL and TurboVNC. I was able to reproduce the issue with the OpenCL Marching Cubes Isosurfaces example from https://developer.nvidia.com/opencl. I don't know if you're experiencing exactly the same symptoms, but in our case, the crash occurs within the body of |
After a recent update, I cannot use OpenGL/OpenCL interoperability, though it had been working for about 2 years with no issue.
Note that OpenGL by itself still runs well on the Nvidia card, so does OpenCL, but as soon as I try to share data between the two, I get the following error message:
Xlib: extension "NV-GLX" missing on display ":0.0".
I'm not sure if a recent change in bumblebee is responsible for this, or if I need to reconfigure something. From what I get, the error is raised as soon as I use the "enqueueAcquireGLObjects" function from OpenCL.
I understand that the nvidia card actually runs on the display :8 by default, one workaround might be to tell OpenCL to run on this display as well, but I can't find how to do so.
The text was updated successfully, but these errors were encountered: