<div dir="ltr"><div><div><div>glxinfo ><br><a href="https://drive.google.com/file/d/0B4pXeWtf9qhpN3ViLWpTNlRJWEU/view?usp=sharing">https://drive.google.com/file/d/0B4pXeWtf9qhpN3ViLWpTNlRJWEU/view?usp=sharing</a><br><br>clinfo ><br><a href="https://drive.google.com/file/d/0B4pXeWtf9qhpYlZQXzJHZWxHMXc/view?usp=sharing">https://drive.google.com/file/d/0B4pXeWtf9qhpYlZQXzJHZWxHMXc/view?usp=sharing</a><br><br></div>Commenting out the CLGL sharing flag and rebuilding the benchmark tool still yields the first two lines of the previous error messages:<br>libEGL warning: DRI2: failed to authenticate<br>[+] Selected device: Devastator<br><br></div>Behavior of sink block in GRC is, of course, unchanged, as I have not yet changed any code there.<br><br></div>Comparing the remaining error running the benchmark tool with that running the sink block in GRC, it appears we are down to a single error, common to both run times.<br><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, May 8, 2016 at 2:18 PM, Sylvain Munaut <span dir="ltr"><<a href="mailto:246tnt@gmail.com" target="_blank">246tnt@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<span class=""><br>
<br>
>> libEGL warning: DRI2: failed to authenticate<br>
>> [+] Selected device: Devastator<br>
>> libGL error: No matching fbConfigs or visuals found<br>
>> libGL error: failed to load driver: swrast<br>
>> X Error of failed request:  BadMatch (invalid parameter attributes)<br>
>>   Major opcode of failed request:  157 (GLX)<br>
>>   Minor opcode of failed request:  5 (X_GLXMakeCurrent)<br>
>>   Serial number of failed request:  30<br>
>>   Current serial number in output stream:  30C<br>
<br>
</span>Your GL setup seems broken ...<br>
<br>
Post the output of glxinfo and clinfo<br>
<span class=""><br>
<br>
>> libEGL warning: DRI2: failed to find _glapi_get_proc_address<br>
<br>
</span>Again, something seems broken in your OpenGL setup<br>
<span class=""><br>
<br>
>> [+] Selected device: Devastator<br>
>> [!] CL Error (-34, /home/stu/gr-fosphor/lib/fosphor/cl.c:464): Unable to<br>
>> share waterfall texture into OpenCL context<br>
<br>
</span>So you GL/CL drivers reported that they could share info and it<br>
allowed fosphor to create a context for it, then when asked to<br>
actually share info, it refuses wit CL_INVALID_CONTEXT ...<br>
<br>
Look in lib/fosphor/cl.c in the cl_do_init function at the very<br>
beginning of the function and comment out : " self->flags |=<br>
FLG_FOSPHOR_USE_CLGL_SHARING; "<br>
<br>
This will prevent it to try and share data between CL and GL ...<br>
<br>
<br>
Cheers,<br>
<br>
    Sylvain<br>
</blockquote></div><br></div>