Bug 103762 - [swr] piglit ext_transform_feedback-immediate-reuse-uniform-buffer has a ~5% pass rate
Summary: [swr] piglit ext_transform_feedback-immediate-reuse-uniform-buffer has a ~5% ...
Status: RESOLVED MOVED
Alias: None
Product: Mesa
Classification: Unclassified
Component: Drivers/Gallium/swr (show other bugs)
Version: 17.2
Hardware: Other All
: medium normal
Assignee: Bruce Cherniak
QA Contact: mesa-dev
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-11-15 14:07 UTC by Andrés Gómez García
Modified: 2019-09-18 18:24 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Andrés Gómez García 2017-11-15 14:07:40 UTC
When running the complete "all" profile in piglit against mesa's swr driver, ext_transform_feedback-immediate-reuse-uniform-buffer most of the time fails, but not always.

It seems its pass rate is ~5%.

AFAIK, this is not new for 17.2.x not a recent regression.

A typical piglit report is as follows, although varies from failed run to run:


Detail      |   Value
------------+---------------
Returncode  |   1
------------+---------------
Time        |   0:00:00.211612
------------+---------------
Stdout      | Probe color at (224,0)
            |   Expected: 223 31 223
            |   Observed: 0 0 0
            | Probe color at (240,0)
            |   Expected: 239 15 239
            |   Observed: 0 0 0
------------+---------------
Stderr      | WR detected AVX2 
            | vert shader  0x7f492c287000
            | frag shader  0x7f492c285000
            | so shader    0x7f492c283000
            | fetch shader 0x7f492c281000
            | fetch shader 0x7f492c27f000
            | SWR destroy screen!
------------+---------------
Environment | PIGLIT_PLATFORM="mixed_glx_egl" PIGLIT_SOURCE_DIR="/home/local/piglit"
------------+---------------
Command     | /home/local/piglit/bin/ext_transform_feedback-immediate-reuse-uniform-buffer -auto -fbo
------------+---------------
dmesg	    |
----------------------------

Environment is an Ubuntu Xenial with custom LLVM packages installed and locally compiled mesa and mesa dependencies. If needed, I can provide a docker image with which to test.
Comment 1 Andrés Gómez García 2017-11-15 14:09:18 UTC
bug 90081 could be related (?)
Comment 2 Bruce Cherniak 2017-11-30 17:16:42 UTC
Ilia had mentioned many moons ago that this fails when SWR is multithreaded, but with KNOB_SINGLE_THREADED=1 it passes.  I had completely forgotten about his sage advice, but this gives me some ideas.
Comment 3 GitLab Migration User 2019-09-18 18:24:17 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/mesa/mesa/issues/193.


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.