[Mesa-dev] [Bug 100262] libswrAVX2.so Causes hang with QOpenGLWidget
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Thu Mar 30 22:26:33 UTC 2017
https://bugs.freedesktop.org/show_bug.cgi?id=100262
--- Comment #4 from chris at circlecvi.com ---
(In reply to Tim Rowley from comment #3)
> 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).
I am using the libgl-x11 version (--disable-dri option).
Thanks for the info, I will try and putz around with the threading library and
see if it helps.
--
You are receiving this mail because:
You are the assignee for the bug.
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20170330/196a6cae/attachment.html>
More information about the mesa-dev
mailing list