Keith Brafford <keith.brafford@...> writes:

> 
> NVidia Quadro 2000 laptop, gl interop does this:
> 
> C:\Users\Keith\Desktop\pyopencl-2011.2\examples>python gl_interop_demo.py
> Traceback (most recent call last):
>   File "gl_interop_demo.py", line 81, in <module>
>     initialize()
>   File "gl_interop_demo.py", line 42, in initialize
>     devices = [platform.get_devices()[0]])
> pyopencl.LogicError: Context failed: invalid gl sharegroup reference khr

Ah found the answer on one of enjalot's pages:

http://enja.org/2011/03/22/adventures-in-pyopencl-part-2-particles-with-pyopengl/

"I was however able to fix that by using the NVIDIA control panel and changing 
the Global settings to always use the NVIDIA GT555M card, instead of the 
integrated Optimus card. Then I was able to run the demo without the error 
message."


_______________________________________________
PyOpenCL mailing list
[email protected]
http://lists.tiker.net/listinfo/pyopencl

Reply via email to