OpenCL / GL interop crash
I'm experiencing GPU crashes/freezes when the number of objects in a VBO, used in CL/GL interop, is exceeding ~32k objects.
The VBO stores the world transforms of instanced objects, rendered using glDrawElementsInstanced/GLSL.

When using glBufferSubData to initialize part of the VBO more objects can be handled, but occasional crashes still happen.
It is not clear if the problem is in my implementation or a bug in NVIDIA's OpenCL-GL interop implementation.
This is using a Geforce GTX260, with latest graphics driver 275.33 WHQL (released 2011.06.01), and CUDA/OpenCL SDK cudatoolkit_4.0.17_win_64 (Windows 7, 64bit).

Does anyone have similar experience? Can someone verify attached testbed?
Just open the Visual Studio 2008 solution in build\nvidia_vs2008\0MySolution.sln and build/run. Increase the number of objects by uncommenting line 8 in opencl\opengl_interop\main.cpp
Thanks!
Erwin
I'm experiencing GPU crashes/freezes when the number of objects in a VBO, used in CL/GL interop, is exceeding ~32k objects.

The VBO stores the world transforms of instanced objects, rendered using glDrawElementsInstanced/GLSL.



When using glBufferSubData to initialize part of the VBO more objects can be handled, but occasional crashes still happen.

It is not clear if the problem is in my implementation or a bug in NVIDIA's OpenCL-GL interop implementation.

This is using a Geforce GTX260, with latest graphics driver 275.33 WHQL (released 2011.06.01), and CUDA/OpenCL SDK cudatoolkit_4.0.17_win_64 (Windows 7, 64bit).



Does anyone have similar experience? Can someone verify attached testbed?

Just open the Visual Studio 2008 solution in build\nvidia_vs2008\0MySolution.sln and build/run. Increase the number of objects by uncommenting line 8 in opencl\opengl_interop\main.cpp

Thanks!

Erwin

#1
Posted 06/05/2011 04:36 AM   
in case someone is interested: it was just some user error, it is working great now.
in case someone is interested: it was just some user error, it is working great now.

#2
Posted 04/28/2012 06:56 PM   
Scroll To Top