[Bug 105509] SIGBUS, Bus error during command buffer recording
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Wed Mar 14 15:22:49 UTC 2018
https://bugs.freedesktop.org/show_bug.cgi?id=105509
Bug ID: 105509
Summary: SIGBUS, Bus error during command buffer recording
Product: Mesa
Version: git
Hardware: x86-64 (AMD64)
OS: Linux (All)
Status: NEW
Severity: normal
Priority: medium
Component: Drivers/Vulkan/intel
Assignee: intel-3d-bugs at lists.freedesktop.org
Reporter: ytriffy at gmail.com
QA Contact: intel-3d-bugs at lists.freedesktop.org
CC: jason at jlekstrand.net
Created attachment 138110
--> https://bugs.freedesktop.org/attachment.cgi?id=138110&action=edit
vulkaninfo
My system is Linux archlinux 4.15.8-1-ARCH #1 SMP PREEMPT Sat Mar 10 00:00:33
UTC 2018 x86_64 GNU/Linux.
My gpu is intel hd graphics 630.
I installed latest mesa from git (18.1.0_devel.100894.fcf267ba08)
When recording command buffer I get error:
Program received signal SIGBUS, Bus error.
anv_state_stream_alloc (stream=stream at entry=0x55559dbf9dd8, size=64,
alignment=alignment at entry=32) at vulkan/anv_allocator.c:913
913 VG_NOACCESS_WRITE(&sb->block, stream->block);
0 in anv_state_stream_alloc of vulkan/anv_allocator.c:913
1 in anv_cmd_buffer_alloc_dynamic_state of vulkan/anv_batch_chain.c:654
2 in anv_cmd_buffer_push_constants of vulkan/anv_cmd_buffer.c:729
3 in cmd_buffer_flush_push_constants of vulkan/genX_cmd_buffer.c:2420
4 in gen9_cmd_buffer_flush_state of vulkan/genX_cmd_buffer.c:2571
5 in gen9_CmdDrawIndexed of vulkan/genX_cmd_buffer.c:2709
6 in ?? of /usr/lib/libVkLayer_core_validation.so
7 in ?? of /usr/lib/libVkLayer_parameter_validation.so
8 in ?? of /usr/lib/libVkLayer_threading.so
9 in vkcmd_create_secondary_command_buffer of vkcmd.c:207
10 in vkcmd_create_secondary_command_buffer_for_inst of vkcmd.c:88
11 in scn_load_scene of scene.c:407
12 in create_scene of main.c:903
13 in main of main.c:583
I send push constants with matrix and color (80 bytes) for both stages. The
limit is 128 bytes so it should be fine. I get no validation output from
standard layer.
The function that creates secondary command buffer:
https://pastebin.com/vN2WjA1W
--
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/20180314/35cad5d1/attachment.html>
More information about the intel-3d-bugs
mailing list