[PyCuda] opengl PBOs and pycuda
lists at informa.tiker.net
Thu Feb 12 00:41:06 PST 2009
one request: please keep the list cc'd--maybe somebody there knows something.
On Donnerstag 12 Februar 2009, Peter Berrington wrote:
> Still no dice, there is always an error initializing or making the gl
> context regardless of whatever I make a standard cuda context before, or
> whether I use pycuda.gl.init(), pycuda.gl.make_context(), or importing
> pycuda.gl.autoinit to try and set up a gl context, I always end up with
> these cryptic messages:
> pycuda._driver.Error: cuGLInit failed: unknown
> pycuda._driver.Error: cuGLCtxCreate failed: unknown
Does dmesg say anything?
> Do you have the cuda 2.0 SDK handy by any chance? I'm trying to recreate
> the behaviour of the postProcessGL program which is included, but I noticed
> they do not explicitly set up an opengl context in that code; there is a
> single call to cutilDeviceInit(argc, argv) as the program is initialized
> but I don't know whether that ends up calling cuGLInit or not, as its part
> of the cuda cutil library. Any ideas what might be wrong?
cutil source is included under common/, there's no GL stuff in there. There's
also no explicit GL interop initialization in the SDK--for the runtime API,
that's apparently not necessary.
Check this here, too:
If you're still not having any luck, I'll try to get some help from Nvidia.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 189 bytes
Desc: This is a digitally signed message part.
More information about the PyCUDA