Bug 96843

Summary: Crash with virgl+piglit
Product: Mesa Reporter: Marc-Andre Lureau <marcandre.lureau>
Component: Drivers/DRI/i965Assignee: Matt Turner <mattst88>
Status: RESOLVED FIXED QA Contact: Intel 3D Bugs Mailing List <intel-3d-bugs>
Severity: normal    
Priority: medium    
Version: git   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description Marc-Andre Lureau 2016-07-07 11:53:33 UTC
Running virglrenderer: 

vtest/virgl_test_server --no-fork

and 

LIBGL_ALWAYS_SOFTWARE=y GALLIUM_DRIVER=virpipe  /usr/lib64/piglit/bin/shader_runner /usr/lib64/piglit/tests/spec/glsl-1.30/execution/switch/vs-uniform.shader_test -auto

Will lead to this crash:

brw_shader.cpp:1087: void backend_instruction::remove(bblock_t*): Assertion `inst_is_in_block(block, this) || !"Instruction not in block"' failed
Comment 1 Matt Turner 2017-02-24 01:16:13 UTC
I tried to reproduce this, but I think I'm not running something correctly:

LIBGL_DRIVERS_PATH=~/projects/mesa-gallium/lib LD_LIBRARY_PATH=~/projects/mesa-gallium/lib vtest/virgl_test_server --no-fork

mattst88@macbook piglit % LIBGL_DRIVERS_PATH=~/projects/mesa-gallium/lib LD_LIBRARY_PATH=~/projects/mesa-gallium/lib/gallium LIBGL_ALWAYS_SOFTWARE=y GALLIUM_DRIVER=virpipe  bin/shader_runner tests/spec/glsl-1.30/execution/switch/vs-uniform.shader_test -auto
libGL error: core dri extension not found
libGL error: failed to load driver: swrast
GLSL not supported.
PIGLIT: {"result": "skip" }

Any ideas what's going on? Maybe it's possible to make an apitrace?
Comment 2 Marc-Andre Lureau 2017-02-24 15:31:56 UTC
I never tested virgl on Mac, the vtest server is likely not going to work.

But this no longer crashes, so closing

thanks
Comment 3 Matt Turner 2017-02-24 19:04:23 UTC
(In reply to Marc-Andre Lureau from comment #2)
> I never tested virgl on Mac, the vtest server is likely not going to work.

Oh, no, I'm on Linux. The hostname is just macbook because I'm uncreative :)

> But this no longer crashes, so closing
> 
> thanks

Oh, okay. Thanks, and sorry for not investigating sooner.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.