<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 - Black window when HiZ enabled"
href="https://bugs.freedesktop.org/show_bug.cgi?id=107986">107986</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Black window when HiZ enabled
</td>
</tr>
<tr>
<th>Product</th>
<td>Mesa
</td>
</tr>
<tr>
<th>Version</th>
<td>git
</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>programmerjake@gmail.com
</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=141649" name="attach_141649" title="vktrace vulkan api trace">attachment 141649</a> <a href="attachment.cgi?id=141649&action=edit" title="vktrace vulkan api trace">[details]</a></span>
vktrace vulkan api trace
I'm building a Vulkan game, and I get a black window when I don't use
RADV_DEBUG=nohiz unless the window area is less than about 250k px^2. If I
resize the window to smaller than that, then it seems to work fine (except
maybe for some probably unrelated sRGB/gamma issues) even if it's really tall
and narrow or really wide and short.
It's possible I'm doing something wrong with the Vulkan API but I have not been
able to find where I'm messing up.
I'd guess that there is a memory allocation issue when allocating more than a
256k px depth buffer.
I have a RX 580 8GB.
I'm running on Ubuntu Linux 18.04 with kernel 4.15.0-34-generic
I'm using Mesa git from oibaf's ppa using version
18.3~git1809181930.c9dbe5~oibaf~b
I have Xorg version 1:7.7+19ubuntu7.1
I've attached a vktrace using LunarG's Vulkan SDK at version 1.1.77.0
I can reproduce the problem using just the vktrace, but for those who are
interested, my source code is available at
<a href="https://github.com/programmerjake/hashlife3d">https://github.com/programmerjake/hashlife3d</a> at commit
9d43f3ba82ba5d3d721a81e61da4dfed20a2926b
I am using SDL 2.0.8 built from source as until recently, SDL's vulkan bindings
were disabled in Debian's package.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the QA Contact for the bug.</li>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>