<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW - Desktop-wide input freeze when vulkan (radv)"
href="https://bugs.freedesktop.org/show_bug.cgi?id=105119">105119</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Desktop-wide input freeze when vulkan (radv)
</td>
</tr>
<tr>
<th>Product</th>
<td>Mesa
</td>
</tr>
<tr>
<th>Version</th>
<td>17.3
</td>
</tr>
<tr>
<th>Hardware</th>
<td>x86-64 (AMD64)
</td>
</tr>
<tr>
<th>OS</th>
<td>Linux (All)
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>medium
</td>
</tr>
<tr>
<th>Component</th>
<td>Drivers/Vulkan/radeon
</td>
</tr>
<tr>
<th>Assignee</th>
<td>mesa-dev@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>jakub@okonski.org
</td>
</tr>
<tr>
<th>QA Contact</th>
<td>mesa-dev@lists.freedesktop.org
</td>
</tr></table>
<p>
<div>
<pre>Created <span class=""><a href="attachment.cgi?id=137384" name="attach_137384" title="trace #1 with long vkDeviceWaitIdle">attachment 137384</a> <a href="attachment.cgi?id=137384&action=edit" title="trace #1 with long vkDeviceWaitIdle">[details]</a></span>
trace #1 with long vkDeviceWaitIdle
I'm experimenting with vulkan, and, after my application exits cleanly,
keyboard input is ignored until I switch to another window using my mouse (that
I can still use).
This is not the main problem though, I found a sequence of commands that
triggers a desktop-wide freeze. I can still move my mouse, but windows don't
redraw as far as I can tell. I also cannot focus other windows with
mouse/keyboard, I cannot use ctrl+alt+f[1-9] to jump back to tty. Because I
have a physical tachometer on the GPU, I also noticed that it is being utilized
100%, at least that's what the LEDs say.
I tried doing a vulkan trace and replay, but the replay does not trigger it.
I'm attaching two vktrace files, first one is my original case, where I render
two frames and exit cleanly (or at least try to). Of note is the never-ending
vkDeviceWaitIdle call (it actually does end as soon as I press the power button
on my PC, more on this in a second). The second trace I attached is one where I
only render one frame and then exit the application (cleanly). Interestingly,
in this case there is no failure
So after the desktop is frozen, I can only press the power button, which
immediately exits xorg server, I again see my tty (I launch startx directly
from tty, no GUI login manager). The control is never yielded back to my tty
though, I can see a snippet of xorg logs but the process has not exited (and
the GPU leds show 100% utilisation still).
Mesa, radv 17.3.3, xorg 1.19.6, linux 4.15.3 with RX Vega 64 GPU.
Let me know if there are additional debugging steps I can take, I can also
provide source code for reproduction steps.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
<li>You are the QA Contact for the bug.</li>
</ul>
</body>
</html>