[Mesa-dev] [vulkan][intel] SIGBUS, Bus error during command buffer recording
Vyacheslav Gonakhchyan
ytriffy at gmail.com
Wed Mar 14 14:57:58 UTC 2018
Hi!
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 enabled validation layers and everything is fine (no output). This
happens for push constants. I use 80 bytes size. I have 128 bytes on my
system. I send the same range for both stages. The function that records
buffer: https://pastebin.com/vN2WjA1W
I use Intel Corporation HD Graphics 630. I increased dedicated memory to
1024MB and nothing changed. I also tried to reduce push constant size to 64
(send only matrix) and it did not help. What could be the reason?
Thanks,
Vyacheslav
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20180314/fef7cc96/attachment-0001.html>
More information about the mesa-dev
mailing list