[Bug 104346] Crash in vkCmdPipelineBarrier on ANV vulkan driver

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Dec 20 10:38:58 UTC 2017


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

            Bug ID: 104346
           Summary: Crash in vkCmdPipelineBarrier on ANV vulkan driver
           Product: Mesa
           Version: 17.3
          Hardware: x86-64 (AMD64)
                OS: Linux (All)
            Status: NEW
          Severity: critical
          Priority: medium
         Component: Drivers/Vulkan/intel
          Assignee: intel-3d-bugs at lists.freedesktop.org
          Reporter: hrydgard at gmail.com
        QA Contact: intel-3d-bugs at lists.freedesktop.org
                CC: jason at jlekstrand.net

Created attachment 136315
  --> https://bugs.freedesktop.org/attachment.cgi?id=136315&action=edit
Stack trace of crash

My PSP emulator PPSSPP has supported Vulkan for a while, working successfully
on many GPUs on Android and Windows. Recently started implementing support for
using Vulkan on Linux, which is of course just a matter of initializing it
properly, and then using the same code.

Only, it appears to crash on Intel ANV:
https://github.com/hrydgard/ppsspp/pull/10413#issuecomment-352527802 

The emulator manages to render the UI correctly but crashes when trying to go
in-game.

It crashes directly when calling vkCmdPipelineBarrier, transitioning an image
from UNDEFINED to TRANSFER_DST_OPTIMAL which should be a pretty standard
operation, so it's quite strange.

I've also attached that full stack trace to this bug as an attachment. Top 2
frames are:

#0  anv_reloc_list_add (list=list at entry=0x555556d62338, alloc=<optimized out>, 
    offset=16420, target_bo=0x0, delta=0) at vulkan/anv_batch_chain.c:159
#1  0x00007fffddaf9f6c in blorp_surface_reloc (batch=0x7fffffffc860, delta=0, 
    ss_offset=<optimized out>, address=...) at vulkan/genX_blorp_exec.c:60

To reproduce, clone (recursively) ppsspp from the branch referred to in the
pull request above, build, and run, on a machine with the Intel ANV vulkan
driver. Free homebrew games to try can be installed from the "Homebrew & Demos"
tab once the emulator is running.

Driver version in the bug report is 17.3.99.

-- 
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/intel-3d-bugs/attachments/20171220/f18ee538/attachment-0001.html>


More information about the intel-3d-bugs mailing list