yuq / mesa-lima

Deprecated, new place: https://gitlab.freedesktop.org/lima
https://github.com/yuq/mesa-lima/wiki
165 stars 18 forks source link

multiple fails and crashes when running piglit #39

Open Icenowy opened 6 years ago

Icenowy commented 6 years ago

I have tried to run piglit with lima, and most tests (if not skipped) fail or crash.

Here's the piglit result: (running "gpu" testsuite)

results.json.gz

Note: the following tests hangs when running, I manually killed them or excluded them to continue the test:

glsl-fs-texture2d-dependent-4 glsl-deadcode-varying glsl-fs-convolution-1 glsl-vs-mat-sub-1 glsl-vs-mat-add-1 glsl-fs-convolution-2 glsl-vs-mat-mul-1 glsl-clamp-vertex-color glsl-vs-dot-vec2 infinity_and_nan mad add max min mul_with_swizzle_and_masking sub_with_swizzle gl-2.0-large-point-fs gl_rgba8-render-sanity
yuq commented 6 years ago

Thanks, I see the results: 486/3484.

Icenowy commented 6 years ago

There's also some programs that uses depth/stencil buffer which will fail to eglChooseConfig and be considered as skipped, and I manually ignored some hanging tests, so the real test number suitable for Mali Utgard is bigger than 3484.

Icenowy commented 6 years ago

@yuq is there any debugging environment variables that I can use to run piglit again (to capture more details)?

yuq commented 6 years ago

For lima you can find two: LIMA_SHADER_DEBUG LIMA_DUMP_COMMAND_STREAM https://github.com/yuq/mesa-lima/blob/lima-17.3/src/gallium/drivers/lima/lima_screen.c#L325

For mesa there are many: https://www.mesa3d.org/envvars.html

Icenowy commented 6 years ago

OK it may be interesting to set LIMA_SHADER_DEBUG when running piglit.