gr-fosphor CL_INVALID_VALUE in clEnqueueFillBuffer call

Raj Bhattacharjea raj.b at
Sun Feb 5 19:36:46 UTC 2017

On Sat, Feb 4, 2017 at 4:44 AM, Sylvain Munaut <246tnt at> wrote:

> Hi,
> >> I'm using the latest fosphor from git
> >> (7b6b9961bc2d9b84daeb42a5c8f8aeba293d207c) and am seeing two weird
> (and I
> >> believe related) issues. Firstly, I see the following error:
> >>
> >> [+] Selected device: TITAN X (Pascal)
> >> [!] CL Error (-30, /home/user/gr-fosphor/lib/fosphor/cl.c:409): Unable
> to
> >> queue clear of spectrum buffer
> >
> > That's really weird indeed. Although I've seen it before. Can't
> > remember exactly what it was though ...
> Actually the reason I'm not seeing it anymore on my setup is because I
> don't have any machine with CL/GL sharing working any more ... I
> changed laptop since and I can't get CL/GL sharing working with
> optirun and recent nvidia drivers ...
> One thing I would point out though is that if you have CL/GL sharing
> working, you can pretty much comment the entire call to
> cl_queue_clear_buffers because the GL side of things will clear the
> buffers already and they are the same. The independent clearing of the
> CL buffers only matter if they're different.

I'll comment out that call for my purposes and let you know how that goes.
My guess is that resolves the -30 error but not the blocky/pixelated
spectrum histogram.

Raj Bhattacharjea, PhD
Georgia Tech Research Institute
Information and Communications Laboratory
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the osmocom-sdr mailing list