[Bug 107844] assertion failure when running piglit over virgl

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Mar 14 17:49:32 UTC 2019


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

--- Comment #10 from Marc-Andre Lureau <marcandre.lureau at gmail.com> ---
I compiled mesa git on the host, reproduced the crash

Host virgl, qemu, mesa, are git master version.
Guest mesa is git master version.

I run in f29 VM started as multi-user target, and run Xorg and mutter manually
(Xorg -nolisten tcp -noreset :42 vt5 -auth /tmp/xauth). xorg 1.20.3-3.fc29
mutter-3.30.2-2.fc29


Thread 1 "qemu-system-x86" received signal SIGABRT, Aborted.
__GI_raise (sig=sig at entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50
50        return ret;
(gdb) bt
#0  0x00007f162bd9e53f in __GI_raise (sig=sig at entry=6) at
../sysdeps/unix/sysv/linux/raise.c:50
#1  0x00007f162bd88895 in __GI_abort () at abort.c:79
#2  0x00007f162bd88769 in __assert_fail_base (fmt=0x7f162beefe90 "%s%s%s:%u:
%s%sAssertion `%s' failed.\n%n", assertion=0x7f1628c726e8
"!prog_data->dual_src_blend || key->nr_color_regions == 1", file=0x7f1628c72628
"../src/intel/compiler/brw_fs_visitor.cpp", line=449, function=<optimized out>)
at assert.c:92
#3  0x00007f162bd969f6 in __GI___assert_fail
(assertion=assertion at entry=0x7f1628c726e8 "!prog_data->dual_src_blend ||
key->nr_color_regions == 1", file=file at entry=0x7f1628c72628
"../src/intel/compiler/brw_fs_visitor.cpp", line=line at entry=449,
function=function at entry=0x7f1628c72d60
<fs_visitor::emit_fb_writes()::__PRETTY_FUNCTION__> "void
fs_visitor::emit_fb_writes()") at assert.c:101
#4  0x00007f1628a350b5 in fs_visitor::emit_fb_writes()
(this=this at entry=0x7ffc349e4e00) at
../src/intel/compiler/brw_fs_visitor.cpp:449
#5  0x00007f16289f5c7c in fs_visitor::run_fs(bool, bool)
(this=this at entry=0x7ffc349e4e00, allow_spilling=allow_spilling at entry=true,
do_rep_send=do_rep_send at entry=false) at ../src/intel/compiler/brw_fs.cpp:7452
#6  0x00007f16289f6c35 in brw_compile_fs(brw_compiler const*, void*, void*,
brw_wm_prog_key const*, brw_wm_prog_data*, nir_shader*, gl_program*, int, int,
int, bool, bool, brw_vue_map*, char**) (compiler=<optimized out>,
log_data=log_data at entry=0x56304045d9a0, mem_ctx=mem_ctx at entry=0x56304031da10,
key=key at entry=0x7ffc349e6630, prog_data=prog_data at entry=0x7ffc349e6300,
shader=<optimized out>, shader at entry=0x5630402379e0, prog=<optimized out>,
shader_time_index8=<optimized out>, shader_time_index16=<optimized out>,
shader_time_index32=<optimized out>, allow_spilling=<optimized out>,
use_rep_send=<optimized out>, vue_map=<optimized out>, error_str=<optimized
out>) at ../src/intel/compiler/brw_fs.cpp:7803
#7  0x00007f162850ca43 in brw_codegen_wm_prog (brw=brw at entry=0x56304045d9a0,
fp=fp at entry=0x563040234880, key=key at entry=0x7ffc349e6630,
vue_map=0x7ffc349e6550) at ../src/mesa/drivers/dri/i965/brw_wm.c:184
#8  0x00007f162850e9e2 in brw_fs_precompile (ctx=ctx at entry=0x56304045d9a0,
prog=0x563040234880) at ../src/mesa/drivers/dri/i965/brw_wm.c:705
#9  0x00007f16284f8144 in brw_shader_precompile (sh_prog=0x563040314520,
ctx=0x56304045d9a0) at ../src/mesa/drivers/dri/i965/brw_link.cpp:56
#10 0x00007f16284f8144 in brw_link_shader(gl_context*, gl_shader_program*)
(ctx=0x56304045d9a0, shProg=0x563040314520) at
../src/mesa/drivers/dri/i965/brw_link.cpp:377
#11 0x00007f16286ff7f9 in _mesa_glsl_link_shader(gl_context*,
gl_shader_program*) (ctx=ctx at entry=0x56304045d9a0,
prog=prog at entry=0x563040314520) at ../src/mesa/program/ir_to_mesa.cpp:3170
#12 0x00007f16285c19d9 in link_program (no_error=<optimized out>,
shProg=<optimized out>, ctx=<optimized out>) at
../src/mesa/main/shaderapi.c:1206
#13 0x00007f16285c19d9 in link_program_error (shProg=0x563040314520,
ctx=0x56304045d9a0) at ../src/mesa/main/shaderapi.c:1286
#14 0x00007f16285c19d9 in link_program_error (ctx=0x56304045d9a0,
shProg=0x563040314520) at ../src/mesa/main/shaderapi.c:1284
#15 0x00007f162e4a23e0 in add_shader_program () at
/home/user/src/virgl/lib/libvirglrenderer.so.0
#16 0x00007f162e4aa8e9 in vrend_draw_vbo () at
/home/user/src/virgl/lib/libvirglrenderer.so.0
#17 0x00007f162e4d5700 in vrend_decode_draw_vbo () at
/home/user/src/virgl/lib/libvirglrenderer.so.0
#18 0x00007f162e4d83f0 in vrend_decode_block () at
/home/user/src/virgl/lib/libvirglrenderer.so.0
#19 0x00007f162e49e704 in virgl_renderer_submit_cmd () at
/home/user/src/virgl/lib/libvirglrenderer.so.0

-- 
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/20190314/1fe5f4f8/attachment.html>


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