[Mesa-dev] [Bug 107986] Black window when HiZ enabled

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Sep 18 22:46:25 UTC 2018


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

            Bug ID: 107986
           Summary: Black window when HiZ enabled
           Product: Mesa
           Version: git
          Hardware: x86-64 (AMD64)
                OS: Linux (All)
            Status: NEW
          Severity: normal
          Priority: medium
         Component: Drivers/Vulkan/radeon
          Assignee: mesa-dev at lists.freedesktop.org
          Reporter: programmerjake at gmail.com
        QA Contact: mesa-dev at lists.freedesktop.org

Created attachment 141649
  --> https://bugs.freedesktop.org/attachment.cgi?id=141649&action=edit
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
https://github.com/programmerjake/hashlife3d 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.

-- 
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/20180918/e9043718/attachment.html>


More information about the mesa-dev mailing list