[Mesa-dev] [Bug 100262] libswrAVX2.so Causes hang with QOpenGLWidget

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Mar 30 21:43:55 UTC 2017


https://bugs.freedesktop.org/show_bug.cgi?id=100262

--- Comment #3 from Tim Rowley <timothy.o.rowley at intel.com> ---
Ok, looks like I need to check and make sure there hasn't been a regression for
this since Mesa 13.  Are you using the dri version of the driver, or libgl-x11?

Interesting that setting the variable fixed the problem for you.  We've seen
similar problems before with TBB (thread building blocks), where if we bound
threads inside swr, their threading code would think no cpus were available for
its use.  Previously the workaround we've suggested is to initialize the
threading library before creating an OpenGL context.  If that's possible in Qt
that would the cleanest way forward, though I could see that potentially being
hard to do since it renders the UI with OpenGL as well.

If used, for maximum performance MAX_KNOB_WORKER_THREADS should be the number
of cores minus one (we have an API thread that feeds the workers).

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20170330/ce261fb2/attachment.html>


More information about the mesa-dev mailing list