assertion failure when running piglit over virgl
Submitted by Erik Faye-Lund
Assigned to Intel 3D Bugs Mailing List
If I run piglit inside QEMU with virgl, I get an assert inside the i965 driver like so:
../src/intel/compiler/brw_fs_visitor.cpp:449: void fs_visitor::emit_fb_writes(): Assertion `!prog_data->dual_src_blend || key->nr_color_regions == 1' failed.
To avoid running the complete test-suite, you can run this to reproduce it instead:
piglit run quick_gl -t ".*arb_blend_func_extended-fbo-extended-blend-pattern_gles2" results/quick_gl/
What you'll see is the whole VM crashing, due to the VM process calling abort().
This obviously requires an assert-enabled build of mesa to reproduce.
It also seems I'm not the only one who has this problem: https://dri.freedesktop.org/~cbrill/dri-log/?channel=intel-gfx&highlight_names=&date=2018-06-22