gr-fosphor: n00b run-time errors with benchmark tool and sink block on AMD APU

Sylvain Munaut 246tnt at gmail.com
Sun May 8 18:18:34 UTC 2016


Hi,


>> libEGL warning: DRI2: failed to authenticate
>> [+] Selected device: Devastator
>> libGL error: No matching fbConfigs or visuals found
>> libGL error: failed to load driver: swrast
>> X Error of failed request:  BadMatch (invalid parameter attributes)
>>   Major opcode of failed request:  157 (GLX)
>>   Minor opcode of failed request:  5 (X_GLXMakeCurrent)
>>   Serial number of failed request:  30
>>   Current serial number in output stream:  30C

Your GL setup seems broken ...

Post the output of glxinfo and clinfo


>> libEGL warning: DRI2: failed to find _glapi_get_proc_address

Again, something seems broken in your OpenGL setup


>> [+] Selected device: Devastator
>> [!] CL Error (-34, /home/stu/gr-fosphor/lib/fosphor/cl.c:464): Unable to
>> share waterfall texture into OpenCL context

So you GL/CL drivers reported that they could share info and it
allowed fosphor to create a context for it, then when asked to
actually share info, it refuses wit CL_INVALID_CONTEXT ...

Look in lib/fosphor/cl.c in the cl_do_init function at the very
beginning of the function and comment out : " self->flags |=
FLG_FOSPHOR_USE_CLGL_SHARING; "

This will prevent it to try and share data between CL and GL ...


Cheers,

    Sylvain


More information about the osmocom-sdr mailing list