[pkg-nvidia-devel] RFC [patch 195xx] [13/k] package libOpenCL.so

Tomasz Rybak bogomips at post.pl
Mon Jun 7 15:39:55 UTC 2010


Dnia 2010-06-02, śro o godzinie 21:27 +0200, Andreas Beckmann pisze:
> Tomasz Rybak wrote:
> > I have one question however - should packages depend
> > and build-depend on nvidia-libopencl1 or libopencl1?
> > The latter is provided by nvidia-libopencl1.
> 
> Putting a dependency on nvidia-libopencl1 (non-free) keeps PyOpenCL (MIT
> license) out of main, which you probably don't want. Currently I don't
> know of a "free" libopencl1 (that is also compatible with the nvidia
> one), but I did not do extensive research. But I've seen two variants of
> PyOpenCL linked from the wiki:OpenCL page :-)
> But I hope that some day a free variant of libopencl1 (which is just
> some kind of a wrapper library) will show up and maybe nvidia-libopencl1
> can go (like it happened for VDPAU). So I set up the packages to be
> prepared for that event.
> 
> I'd go for libopencl1-dev, but lintian will probably ask you to use
>   nvidia-libopencl1-dev | libopencl1-dev
> instead. Anyway, you can't go for main right now.
> 

Can anyone run OpenCL programs?
I have tried NVIDIA toolkit programs on two machines (both AMD64)
and on both they crash on functions related to compiling OpenCL
code:

./oclSimpleGL Starting...

Calling InitGL...

Using CL-GL Interop...

Device # 0,  Device GeForce 9500 GT

 !!! Error # -11 at file oclSimpleGL.cpp, line 268

Segmentation fault


Lines around 268 are:
The same program (simpleGL) from CUDA branch works without
problems.

The same error occurs when I try to run PyOpenCL programs - after
clGetProgramBuildInfo I get segmentation fault.

I am wondering if problem is related to strange NVIDIA compiler
packages.


-- 
Tomasz Rybak <bogomips at post.pl> GPG/PGP key ID: 2AD5 9860
Fingerprint A481 824E 7DD3 9C0E C40A  488E C654 FB33 2AD5 9860
http://member.acm.org/~tomaszrybak
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part
URL: <http://lists.alioth.debian.org/pipermail/pkg-nvidia-devel/attachments/20100607/eb68840d/attachment.pgp>


More information about the Pkg-nvidia-devel mailing list