Hi Peter,

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
>
> or
>
> 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:
- http://forums.nvidia.com/index.php?showtopic=58779&hl=cuGLInit

If you're still not having any luck, I'll try to get some help from Nvidia.

Andreas

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
PyCuda mailing list
PyCuda@tiker.net
http://tiker.net/mailman/listinfo/pycuda_tiker.net

Reply via email to