<div dir="ltr"><div>Hi Syvain,</div><div><br></div><div>Got it working installing gnuradio from pybombs and gr-fosphor from source, indeed had to change FLG_FOSPHOR_USE_CLGL_SHARING to 0</div><div><br></div><div>Just for info:</div><div>>
No idea what version is packaged ...</div><div><span class="gmail-im">Ubuntu 18.04 packs</span>: gr-fosphor (3.7.0.2.7b6b996-2)</div><div><br></div><div>>You can't mix a gnuradio package install with a source fosphor build.<br>
>That won't work.<span class="gmail-im"><br></span></div><div>did the source build on fresh install gnuradio from package manager and gr-fosphor from source</div><div><br></div><div>The qt/wx errors where the same on :</div><div>Package manager version:: gnuradio (3.7.11-10)</div><div>pybombs version : 3.7.13.5</div><div>Havent tried the 3.8 for this</div><div><br></div><div>Br Paul<br></div><div><span class="gmail-im"></span></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Op zo 15 sep. 2019 om 13:20 schreef Sylvain Munaut <<a href="mailto:246tnt@gmail.com">246tnt@gmail.com</a>>:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi,<br>
<br>
<br>
> I'm experiencing trouble installing gr-fosphor on my new laptop using ubuntu 18.04 LTS<br>
> Fist installed opengl/cl drivers, gnu-radio over the package manager, and gr-fosphor also with package manager,\<br>
<br>
No idea what version is packaged ...<br>
<br>
<br>
> After that tried building gr-fosphor from source like described in the osmocom wiki.<br>
<br>
You can't mix a gnuradio package install with a source fosphor build.<br>
That won't work.<br>
<br>
<br>
> Press Enter to quit: [+] Selected device: GeForce MX250<br>
> [!] CL Error (-5, /build/gr-fosphor-D4UWhK/gr-fosphor-3.7.0.2.7b6b996/lib/fosphor/cl.c:480): Unable to share spectrum VBO into OpenCL context<br>
<br>
This should definitely be fixed with the FLG_FOSPHOR_USE_CLGL_SHARING<br>
patch ... if this is set to 0, then the codepath where that error is<br>
printed is not even called ...<br>
<br>
<br>
> QT Gui error:<br>
> Executing: /usr/bin/python -u /home/paul/top_block.py<br>
><br>
>  File "/home/paul/top_block.py", line 75<br>
>    self.fosphor_qt_sink_c_0 = Template error: #set $win = 'self._%s_win'%$id<br>
>                            ^<br>
> SyntaxError: invalid syntax<br>
<br>
GRC generated a bad file ... report that to the GRC team I guess.<br>
<br>
What version of GNURadio is this ?<br>
<br>
<br>
> WX Gui error:<br>
> Executing: /usr/bin/python -u /home/paul/top_block.py<br>
><br>
> Warning: failed to XInitThreads()<br>
> [xcb] Unknown request in queue while dequeuing<br>
> [xcb] Most likely this is a multi-threaded client and XInitThreads has not been called<br>
> [xcb] Aborting, sorry about that.<br>
> python: ../../src/xcb_io.c:165: dequeue_pending_request: Assertion `!xcb_xlib_unknown_req_in_deq' failed.<br>
<br>
Make sure that the XInitThreads call is first in the generated py file.<br>
<br>
<br>
Cheers,<br>
<br>
    Sylvain<br>
</blockquote></div>