Bug 96843 - Crash with virgl+piglit
Summary: Crash with virgl+piglit
Status: RESOLVED FIXED
Alias: None
Product: Mesa
Classification: Unclassified
Component: Drivers/DRI/i965 (show other bugs)
Version: git
Hardware: Other All
: medium normal
Assignee: Matt Turner
QA Contact: Intel 3D Bugs Mailing List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-07-07 11:53 UTC by Marc-Andre Lureau
Modified: 2017-02-24 19:04 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

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.