<div dir="ltr">Also with the intel DDX I was seeing a black screen after the monitor switches itself off (I can still see the cursor) VT switching away and back again fixes the issue<div><br></div><div>I'm going to ask again that 1.20 isn't cut until at least some of these issues are resolved</div></div><br><div class="gmail_quote"><div dir="ltr">On Mon, 30 Apr 2018 at 11:36 Mike Lothian <<a href="mailto:mike@fireburn.co.uk">mike@fireburn.co.uk</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi<div><br></div><div>I'll get one raised just for that</div><div><br></div><div>After further testing the above patch with the intel ddx I notice vulkan programs don't run, they exit with an assert in the mesa code something to do with modifiers chain</div><div><br></div><div>I'll raise a separate bug for that, it happens with smoketest and Rise of the Tomb Raider</div></div><br><div class="gmail_quote"><div dir="ltr">On Mon, 30 Apr 2018 at 08:26 Mario Kleiner <<a href="mailto:mario.kleiner.de@gmail.com" target="_blank">mario.kleiner.de@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Wed, Apr 25, 2018 at 2:23 AM, Mike Lothian <<a href="mailto:mike@fireburn.co.uk" target="_blank">mike@fireburn.co.uk</a>> wrote:<br>
><br>
> The plasmashell & steam freezes aren't present with the Intel or AMDGPU<br>
> DDXs, only modesetting<br>
><br>
> I'm quite happy to mark <a href="https://bugs.freedesktop.org/show_bug.cgi?id=105851" rel="noreferrer" target="_blank">https://bugs.freedesktop.org/show_bug.cgi?id=105851</a><br>
> as resolved and look into the modesetting freezes seperately<br>
><br>
> Cheers again<br>
><br>
> Mike<br>
<br>
Mike, a bug report about those freezes would be good. I see the same<br>
annoying freezes of the KDE panel randomly on my old KUbuntu 16.04<br>
plasmashell, only with modesetting on server 1.20, but on all gpu's.<br>
So far i was mostly unsuccessful in finding the cause. The only thing<br>
i found so far is that Mesa's dri3 loader always gets stuck trying to<br>
get a new back buffer in dri3_find_back, apparently waiting for a<br>
reply from the server that it never receives, like in this stacktrace:<br>
<br>
plasmashell stuck, modesetting ddx, dri3, normal or with<br>
dmabuf_modifiers, raw or composited/egl - bt:<br>
<br>
#0 0x00007feb6f5f074d in poll () at ../sysdeps/unix/syscall-template.S:84<br>
#1 0x00007feb736b8172 in poll (__timeout=-1, __nfds=1,<br>
__fds=0x7ffdb6c2baf0) at /usr/include/x86_64-linux-gnu/bits/poll2.h:46<br>
#2 _xcb_conn_wait (c=c@entry=0xc25390, cond=cond@entry=0x36a40d8,<br>
vector=vector@entry=0x0, count=count@entry=0x0) at xcb_conn.c:479<br>
#3 0x00007feb736b9e69 in xcb_wait_for_special_event (c=0xc25390,<br>
se=0x36a40b0) at xcb_in.c:795<br>
#4 0x00007feb6b82b246 in dri3_wait_for_event_locked (draw=0x43d6358)<br>
at loader_dri3_helper.c:454<br>
#5 0x00007feb6b82b3b8 in dri3_find_back (draw=draw@entry=0x43d6358)<br>
at loader_dri3_helper.c:580<br>
#6 0x00007feb6b82c506 in dri3_get_buffer (format=format@entry=4107,<br>
buffer_type=buffer_type@entry=loader_dri3_buffer_back,<br>
draw=draw@entry=0x43d6358, driDrawable=0x405b4c0) at<br>
loader_dri3_helper.c:1656<br>
#7 0x00007feb6b82d291 in loader_dri3_get_buffers<br>
(driDrawable=driDrawable@entry=0x405b4c0, format=4107,<br>
stamp=stamp@entry=0x405b4f0,<br>
loaderPrivate=loaderPrivate@entry=0x43d6358, buffer_mask=<optimized<br>
out>, buffer_mask@entry=1, buffers=buffers@entry=0x7ffdb6c2bde0)<br>
at loader_dri3_helper.c:1861<br>
#8 0x00007feb4b54681d in intel_update_image_buffers<br>
(drawable=0x405b4c0, brw=0x16aaec0) at brw_context.c:1753<br>
#9 intel_update_renderbuffers (context=context@entry=0x15bc840,<br>
drawable=drawable@entry=0x405b4c0) at brw_context.c:1429<br>
#10 0x00007feb4b546cf1 in intel_prepare_render<br>
(brw=brw@entry=0x16aaec0) at brw_context.c:1450<br>
#11 0x00007feb4b5419ea in brw_clear (ctx=0x16aaec0, mask=50) at brw_clear.c:300<br>
#12 0x00007feb72f4049a in QSGBatchRenderer::Renderer::renderBatches()<br>
() from /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5<br>
#13 0x00007feb72f45e82 in QSGBatchRenderer::Renderer::render() () from<br>
/usr/lib/x86_64-linux-gnu/libQt5Quick.so.5<br>
#14 0x00007feb72f51b6f in QSGRenderer::renderScene(QSGBindable const&)<br>
() from /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5<br>
#15 0x00007feb72f523bb in QSGRenderer::renderScene(unsigned int) ()<br>
from /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5<br>
#16 0x00007feb72f6287e in<br>
QSGRenderContext::renderNextFrame(QSGRenderer*, unsigned int) () from<br>
/usr/lib/x86_64-linux-gnu/libQt5Quick.so.5<br>
#17 0x00007feb72fad0db in QQuickWindowPrivate::renderSceneGraph(QSize<br>
const&) () from /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5<br>
#18 0x00007feb72f7d19b in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5<br>
#19 0x00007feb72f7e2a1 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5<br>
#20 0x00007feb709ca05c in QApplicationPrivate::notify_helper(QObject*,<br>
QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5<br>
#21 0x00007feb709cf516 in QApplication::notify(QObject*, QEvent*) ()<br>
from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5<br>
#22 0x00007feb6fec738b in QCoreApplication::notifyInternal(QObject*,<br>
QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5<br>
#23 0x00007feb6ff1c5ed in QTimerInfoList::activateTimers() () from<br>
/usr/lib/x86_64-linux-gnu/libQt5Core.so.5<br>
#24 0x00007feb6ff1caf1 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5<br>
#25 0x00007feb6c384197 in g_main_context_dispatch () from<br>
/lib/x86_64-linux-gnu/libglib-2.0.so.0<br>
#26 0x00007feb6c3843f0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0<br>
#27 0x00007feb6c38449c in g_main_context_iteration () from<br>
/lib/x86_64-linux-gnu/libglib-2.0.so.0<br>
#28 0x00007feb6ff1d7eb in<br>
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)<br>
() from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5<br>
#29 0x00007feb6fec4b4a in<br>
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from<br>
/usr/lib/x86_64-linux-gnu/libQt5Core.so.5<br>
#30 0x00007feb6feccbec in QCoreApplication::exec() () from<br>
/usr/lib/x86_64-linux-gnu/libQt5Core.so.5<br>
#31 0x0000000000432d4a in main ()<br>
<br>
Anyway this would need to go into that bug report of yours.<br>
<br>
thanks,<br>
-mario<br>
</blockquote></div></blockquote></div>