Daniel Stone
8e5fc97be6
CI: Re-enable Panfrost T7x0 jobs
...
The hardware issue in the lab preventing jobs from being run on those
machines (and limiting T820 availability), leading to them being
disabled in !4965 , has been fixed.
Signed-off-by: Daniel Stone <daniels@collabora.com >
Fixes: 696bafac40 ("CI: Disable Panfrost T7x0 jobs")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5006 >
2020-05-12 11:33:06 +01:00
Daniel Stone
696bafac40
CI: Disable Panfrost T7x0 jobs
...
One of the dispatchers in the office (with all the T7x0 boards) has gone
AWOL, and we don't have physical access to restore it. Disable it until
we can get in and fix it.
Signed-off-by: Daniel Stone <daniels@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4965 >
2020-05-08 14:44:09 +01:00
Eric Anholt
2637961d29
ci: Fix the nick used in IRC reporting.
...
robclark found that we needed unique IDs when multiple runners were trying
to report flakes at the same time, but it turns out due to nick limits (16
chars on freenode) we were just getting all the runners appended with
"-142" (or whatever the prefix of the pipelines are these days). And, for
the new flake reporting from baremetal, all the runners ended up being
just "google-freedreno".
Reviewed-by: Rob Clark <robdclark@chromium.org >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4896 >
2020-05-06 18:34:38 +00:00
Eric Anholt
2c50176dfe
ci: Improve the flakes reports on IRC.
...
We were incorrectly taking the merge-request on non-MR pipelines (the
master build after merge) due to a missing '$'. And, for those pipelines,
it would be nice to note whether they're for master or a stable branch.
Reviewed-by: Rob Clark <robdclark@chromium.org >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4896 >
2020-05-06 18:34:38 +00:00
Eric Anholt
3b5e71cb18
ci: Enable IRC flake reporting on freedreno baremetal boards.
...
The IRC channel is useful for me to track and ban flaky tests before they
irritate people too much.
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/2654
Reviewed-by: Rob Clark <robdclark@chromium.org >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4896 >
2020-05-06 18:34:38 +00:00
Eric Anholt
c7bbc211d6
ci: Clean up setup of the job-specific env vars in baremetal testing.
...
Avoids copy and paste errors when adding more vars.
Reviewed-by: Rob Clark <robdclark@chromium.org >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4896 >
2020-05-06 18:34:38 +00:00
Dave Airlie
dab8803af4
llvmpipe: enable ARB_sample_shading
...
Reviewed-by: Roland Scheidegger <sroland@vmware.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4122 >
2020-05-06 06:20:38 +00:00
Dave Airlie
d237e03a16
llvmpipe: enable GL_ARB_shader_texture_image_samples
...
Reviewed-by: Roland Scheidegger <sroland@vmware.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4122 >
2020-05-06 06:20:38 +00:00
Dave Airlie
3cc50cabf1
llvmpipe: enable 4x sample MSAA + texture multisample
...
This enables proper support for 4xMSAA and for texture mulitsample
extension.
Reviewed-by: Roland Scheidegger <sroland@vmware.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4122 >
2020-05-06 06:20:38 +00:00
Dave Airlie
99fce3a6d7
llvmpipe: simple texture barrier implementation.
...
Just flush.
Reviewed-by: Roland Scheidegger <sroland@vmware.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4774 >
2020-05-06 15:09:42 +10:00
Alyssa Rosenzweig
a807c9e91d
panfrost: Update dEQP expectation list
...
These tests were recently fixed.
Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4852 >
2020-05-01 18:26:37 +00:00
Eric Anholt
b420d04e1f
freedreno/ir3: Fix register allocation assertion failures.
...
We were failing to tell the allocator about the restriction that scalar
texture instructions (allocated as scalar regs) couldn't be allocated such
that the start of the full unwritemasked vector started before r0. There
was a patch in select_reg_callback on a6xx that tried to work around that,
but you could still end up backed into a corner you shouldn't be because
we didn't tell the RA what it needed.
Fixes compiler assertion failures on a300-a400's blit_z shader, used for
Z32F gmem blits.
Looks like as a result we get tighter register allocation but more nops:
instructions in affected programs: 757945 -> 760356 (0.32%)
nops in affected programs: 317983 -> 320468 (0.78%)
non-nops in affected programs: 27525 -> 27451 (-0.27%)
mov in affected programs: 3098 -> 3023 (-2.42%)
dwords in affected programs: 109664 -> 110656 (0.90%)
last-baryf in affected programs: 112701 -> 112847 (0.13%)
full in affected programs: 4326 -> 4011 (-7.28%)
sstall in affected programs: 120550 -> 120836 (0.24%)
(ss) in affected programs: 13939 -> 13918 (-0.15%)
(sy) in affected programs: 3006 -> 2786 (-7.32%)
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4562 >
2020-05-01 16:26:32 +00:00
Samuel Pitoiset
7f130e76ea
ci: add lists of expected failures & skipped tests for RAVEN with ACO
...
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4848 >
2020-05-01 16:07:47 +02:00
Samuel Pitoiset
cc2c3b41b8
ci: fix reporting the number of unexpected/flakes
...
`wc -l $file` returns the number of lines and the filename.
Fixes: b8c66aeb93 ("ci: Clean up some excessive use of pipes in dEQP results processing.")
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com >
Reviewed-by: Andres Gomez <agomez@igalia.com >
Reviewed-by: Eric Anholt <eric@anholt.net >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4829 >
2020-05-01 07:51:44 +00:00
Michel Dänzer
23daa49d4c
gitlab-ci: Use YAML anchor for llvmpipe paths in virgl rules
...
Instead of duplicating them.
Reviewed-by: Eric Anholt <eric@anholt.net >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4808 >
2020-05-01 07:19:05 +00:00
Andres Gomez
5e9ae40430
gitlab-ci: update tracie README after changes in main script
...
v2:
- Update the default location for the traces when there is no
traces-db entry in the traces definition file (Alexandros).
Fixes: 90a39af5f6 "(ci: Drop the git dependency in tracie)"
Signed-off-by: Andres Gomez <agomez@igalia.com >
Reviewed-by: Alexandros Frantzis <alexandros.frantzis@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4640 >
2020-04-30 12:21:28 +00:00
Lionel Landwerlin
2a70fee7dc
ci: Add intel to shaderdb runs
...
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com >
Reviewed-by: Eric Anholt <eric@anholt.net >
Acked-by: Matt Turner <mattst88@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4594 >
2020-04-30 11:32:54 +03:00
Rhys Perry
9392ddab43
aco: consider blocks unreachable if they are in the logical cfg
...
unreachable was true if the last block is unreachable in the linear cfg,
but it should also be true if it is unreachable in the logical cfg.
Fixes dEQP-VK.graphicsfuzz.for-with-ifs-and-return
Signed-off-by: Rhys Perry <pendingchaos02@gmail.com >
Fixes: 8d8c864beb
('aco: improve check for unreachable loop continue blocks')
Reviewed-by: Daniel Schürmann <daniel@schuermann.dev >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4764 >
2020-04-29 11:07:09 +00:00
Samuel Pitoiset
2f6648dc3c
gitlab-ci: add a list of expected failures for FIJI with ACO
...
Timur has this chip now. The depth stencil resolve failures are
somehow unexpected.
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4805 >
2020-04-29 09:53:48 +02:00
Christian Gmeiner
7d476a1360
ci: bare-metal: power down device after tests
...
Helps to save electricity.
Signed-off-by: Christian Gmeiner <christian.gmeiner@gmail.com >
Reviewed-by: Eric Anholt <eric@anholt.net >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4754 >
2020-04-28 07:17:24 +00:00
Dave Airlie
0e135ca227
ci: add llvmpipe paths to virgl rules
...
since llvmpipe changes will affect virgl
Reviewed-by: Eric Anholt <eric@anholt.net >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4777 >
2020-04-28 09:55:49 +10:00
Eric Anholt
5082ac007d
ci/freedreno: Add a test run of a few driver options.
...
This lets us get coverage of corner cases of the driver that are tricky to
force a testcase to hit. We don't want to do a full run of the CTS with
each option because that's a lot of runner time, so stack a bunch of
fractional runs in one test job to amortize the test run setup overhead.
Reviewed-by: Tomeu Vizoso <tomeu.vizoso@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4621 >
2020-04-27 22:10:10 +00:00
Eric Anholt
b8c66aeb93
ci: Clean up some excessive use of pipes in dEQP results processing.
...
Given that we use set -x in the script, this actually makes the user
experience of viewing logs nicer.
Reviewed-by: Tomeu Vizoso <tomeu.vizoso@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4621 >
2020-04-27 22:10:10 +00:00
Eric Anholt
951e101fec
ci: Allow namespacing of dEQP run results files.
...
I want to do multiple runs of some bits of the CTS in one test job to test
some driver options, but I want to be able to see the results from any of
them.
Reviewed-by: Tomeu Vizoso <tomeu.vizoso@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4621 >
2020-04-27 22:10:10 +00:00
Eric Anholt
8b221e0914
ci: Add sanity checking that dEQP gets the expected GL_RENDERER.
...
It's easy to get something wrong in the driver build or container or
something that results in falling back to swrast, and then your only clue
was runtime and how your failure cases suspiciously match a swrast
driver's.
Reviewed-by: Tomeu Vizoso <tomeu.vizoso@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4621 >
2020-04-27 22:10:10 +00:00
Eric Anholt
a9e6a3ecc7
ci: Enable --compact-display false on all dEQP runs.
...
We always want to see status updates happening in the logs, otherwise it
can like maybe your machine hung until the run actually completes.
Reviewed-by: Tomeu Vizoso <tomeu.vizoso@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4621 >
2020-04-27 22:10:10 +00:00
Eric Anholt
6c01152c92
ci: Enable GLES 3.1 testing on db820c (a530).
...
The driver exposes GLES3.1, so let's make sure we're not regressing its
featureset.
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4685 >
2020-04-27 19:06:57 +00:00
Eric Anholt
b34ee185f4
freedreno: Fix derivatives without texturing on a3xx-a5xx.
...
The shader variant tells us if we should set the PIXLODENABLE flag.
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4685 >
2020-04-27 19:06:57 +00:00
Eric Anholt
fa49a5032f
ci: Enable GLES3 testing on db410c/db820c (freedreno a306 and a530).
...
We haven't had it enabled due tointermittent failures. Those failures
are, as far as I can tell, due to GPU faults from buffer overflows where a
failing test in a thread stomps an otherwise passing thread's buffers. By
running deqp single-threaded, we can get more consistent failures, at the
cost of needing to do a tiny subset of the tests to keep runtime down.
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4685 >
2020-04-27 19:06:57 +00:00
Samuel Pitoiset
b785ad5853
gitlab-ci: add lists of expected failures for RADV CI
...
Currently only supports PITCAIRN, POLARIS10, VEGA10 and NAVI10
with ACO only, but it's a start.
Unfortunately, we have to duplicate and we will have to try to
keep these lists up-to-date, but it's better than nothing.
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com >
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4689 >
2020-04-27 07:59:27 +00:00
Dave Airlie
8faa0e2c1b
gallivm: fix stencil border
...
Fixes:
dEQP-GLES31.functional.texture.border_clamp.unused_channels.depth32f_stencil8_sample_stencil
dEQP-GLES31.functional.texture.border_clamp.sampler.uint_stencil
Reviewed-by: Roland Scheidegger <sroland@vmware.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4574 >
2020-04-27 12:35:24 +10:00
Dave Airlie
65906d1331
llvmpipe/setup: add point size clamping
...
Fixes
dEQP-GLES2.functional.rasterization.limits.points
dEQP-VK.rasterization.primitive_size.points.point_size*
Reviewed-by: Roland Scheidegger <sroland@vmware.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4574 >
2020-04-27 12:35:24 +10:00
Dave Airlie
23efd323aa
gallivm/nir: add helper invocation support
...
Reviewed-by: Roland Scheidegger <sroland@vmware.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4574 >
2020-04-27 12:35:21 +10:00
Andres Gomez
cb055c6ca4
gitlab-ci: install winehq-stable to get 5.0 instead of 4.0
...
Additionally, purge the winehq-stable package and its dependencies to
avoid crashing when building for s390x.
v2:
- Remove winehq-stable and dependencies for s390x.
Closes: https://gitlab.freedesktop.org/mesa/mesa/issues/2657
Signed-off-by: Andres Gomez <agomez@igalia.com >
Reviewed-by: Daniel Stone <daniels@collabora.com > [v1]
Reviewed-by: Michel Dänzer <mdaenzer@redhat.com >
Acked-by: Jason Ekstrand <jason@jlekstrand.net >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4678 >
2020-04-24 20:01:31 +00:00
Tomeu Vizoso
8cba1a13fa
gitlab-ci: Test Virgl with traces
...
Signed-off-by: Tomeu Vizoso <tomeu.vizoso@collabora.com >
Reviewed-by: Eric Anholt <eric@anholt.net >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4659 >
2020-04-24 05:37:06 +00:00
Tomeu Vizoso
5a5316ee1b
gitlab-ci: Test OpenGL ES 3.1 on virgl
...
Signed-off-by: Tomeu Vizoso <tomeu.vizoso@collabora.com >
Reviewed-by: Eric Anholt <eric@anholt.net >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4659 >
2020-04-24 05:37:06 +00:00
Tomeu Vizoso
9b7c20b315
gitlab-ci: Allow test jobs to add options to the dEQP invocation
...
Signed-off-by: Tomeu Vizoso <tomeu.vizoso@collabora.com >
Reviewed-by: Eric Anholt <eric@anholt.net >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4659 >
2020-04-24 05:37:06 +00:00
Tomeu Vizoso
34ed5fff5b
gitlab-ci: Update virglrenderer in the x86_test-gl image
...
Signed-off-by: Tomeu Vizoso <tomeu.vizoso@collabora.com >
Reviewed-by: Eric Anholt <eric@anholt.net >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4659 >
2020-04-24 05:37:06 +00:00
Samuel Pitoiset
bca97abffa
gitlab-ci: add a list of excluded tests for RADV
...
Exclude WSI related tests in CI.
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com >
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4656 >
2020-04-22 09:11:53 +02:00
Andres Gomez
e4521aeafc
gitlab-ci: adapt query_traces_yaml to gitlab specific changes
...
This change was missing after acf7e73be5 "(gitlab-ci: make explicit
tracie is gitlab specific)".
Fixes: acf7e73be5 "(gitlab-ci: make explicit tracie is gitlab specific)".
Signed-off-by: Andres Gomez <agomez@igalia.com >
Reviewed-by: Alexandros Frantzis <alexandros.frantzis@collabora.com >
Reviewed-by: Rohan Garg <rohan.garg@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4638 >
2020-04-22 01:37:21 +03:00
Tomeu Vizoso
ad3ef6d0fc
gitlab-ci: Test virgl driver
...
Add virglrenderer to the container and use the vtest transport to test
the Gallium driver. On the "host", llvmpipe is used.
Signed-off-by: Tomeu Vizoso <tomeu.vizoso@collabora.com >
Reviewed-by: Eric Anholt <eric@anholt.net >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4433 >
2020-04-20 13:53:09 +00:00
Daniel Stone
adeef43d15
CI: Disable Lima jobs due to lab unhealthiness
...
The BayLibre LAVA host appears to be down.
Signed-off-by: Daniel Stone <daniels@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4631 >
2020-04-19 12:57:04 +01:00
Daniel Stone
e6c7bdc851
ci/windows: Make Chocolatey installs more reliable
...
Chocolatey installs depend on downloading binaries from SourceForge,
which is an unreliable host: container builds often fail because it
cannot pick up winflexbison.
Add a loop to retry chocolatey installs if any installs have failed, and
ensure Python is in the accessible PowerShell path rather than relying
on the path being externally refreshed.
Signed-off-by: Daniel Stone <daniels@collabora.com >
Reviewed-by: Eric Anholt <eric@anholt.net >
Reviewed-by: Jose Fonseca <jfonseca@vmware.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4631 >
2020-04-19 12:55:02 +01:00
Dave Airlie
381e9fe64a
draw: fix user culling pipeline order. (v2)
...
GL spec requires user culling, then clipping then face culling.
llvmpipe was doing clipping then user culling then face culling.
Fix the ordering by adding a new user_cull stage that does the user
culling
Fixes piglit clip_cull-4.shader_test
v2: simplify this a lot (Roland)
Reviewed-by: Roland Scheidegger <sroland@vmware.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4560 >
2020-04-15 14:26:29 +10:00
Andres Gomez
acf7e73be5
gitlab-ci: make explicit tracie is gitlab specific
...
Tracie main script and traces.yml file talk about repo(sitory) when it
actually means GitLab's project.
Since the script is GitLab's API specific, make it clear.
Signed-off-by: Andres Gomez <agomez@igalia.com >
Reviewed-by: Alexandros Frantzis <alexandros.frantzis@collabora.com >
Reviewed-by: Rohan Garg <rohan.garg@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4496 >
2020-04-14 16:07:28 +03:00
Andres Gomez
1ca91683e2
gitlab-ci: protect usage of shell variables with double quotes
...
Not really needed right now, but seems dangerous to have paths without
the double quote.
I went ahead and used in the rest of values too.
Signed-off-by: Andres Gomez <agomez@igalia.com >
Reviewed-by: Alexandros Frantzis <alexandros.frantzis@collabora.com >
Reviewed-by: Rohan Garg <rohan.garg@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4496 >
2020-04-14 16:07:19 +03:00
Andres Gomez
35782b6593
gitlab-ci: Vulkan tracie runner to return last command exit code
...
No need to cache the return value if there is only a single trace
execution call.
Signed-off-by: Andres Gomez <agomez@igalia.com >
Reviewed-by: Alexandros Frantzis <alexandros.frantzis@collabora.com >
Reviewed-by: Rohan Garg <rohan.garg@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4496 >
2020-04-14 16:06:51 +03:00
Alexandros Frantzis
4c6ce826af
gitlab-ci: Check the Mesa version used for tracie tests
...
Verify that the Mesa version used when running tracie tests is the
one that was built by CI, rather than any installed distro version.
Signed-off-by: Alexandros Frantzis <alexandros.frantzis@collabora.com >
Reviewed-by: Rohan Garg <rohan.garg@collabora.com >
Reviewed-by: Andres Gomez <agomez@igalia.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/3894 >
2020-04-14 11:34:02 +00:00
Rohan Garg
80c13a81b1
tracie: Reformat code to fix indentation
...
Signed-off-by: Rohan Garg <rohan.garg@collabora.com >
Reviewed-by: Alexandros Frantzis <alexandros.frantzis@collabora.com >
Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4435 >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4435 >
2020-04-07 18:21:32 +00:00
Rohan Garg
efbbf8bb81
tracie: Print results in a machine readable format
...
Signed-off-by: Rohan Garg <rohan.garg@collabora.com >
Reviewed-by: Alexandros Frantzis <alexandros.frantzis@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4435 >
2020-04-07 18:21:32 +00:00