Public bug reported:
[Impact]
On gfx10.3 APUs (Raphael/Granite Ridge/Fire Range, Rembrandt, Mendocino),
radeonsi reads stale descriptors through K$ when an IB starts while the
previous one is still running. The result is a `[gfxhub] page fault ... SQC
(data)` at `0x0` or `0x3f800000`, then a ring or MODE2 reset. Chromium and
Electron apps trigger it, and a reset on the compositor ring ends the GNOME
session.
Upstream: drm/amd#5920 (dups #5937, #6187), mesa#15890.
Fix: mesa!44933, commit 57fd1125 (26.2 branch: c9232714, first released in
26.2.5). One hunk in `si_begin_new_gfx_cs()`, Cc: mesa-stable, reviewed by AMD.
Affected: 26.0.8-1ubuntu0.3, and 26.2.4-1ubuntu1~26.04.1 in -proposed (LP:
#2167673).
[Test Plan]
Run kcache_repro (attached; from mesa!44933) on a gfx10.3 APU:
kcache_repro --mode overlap-ubo --g1 64 --iters 30000 --sleep-us 300
--trials 1000
kcache_repro --mode overlap-desc --g1 262144 --iters 64 --sleep-us 300
--trials 1000
Ryzen 9 9955HX (1002:13c0), kernel 7.0.0-43:
- 26.0.8-1ubuntu0.3: 996/1000 and 418/1000 stale.
- With the fix: 0 and 0.
`seq-ubo` stays at 0 in both.
[Where problems could occur]
The fix adds an I$/SMEM$/VMEM$ invalidation at every gfx IB start on gfx10–11.
gfx6–9 and gfx12 already do this. Upstream measured no overhead.
** Affects: mesa (Ubuntu)
Importance: Undecided
Status: New
** Attachment added: "kcache_repro.c"
https://bugs.launchpad.net/bugs/2175693/+attachment/6020549/+files/kcache_repro.c
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2175693
Title:
Backport mesa!44933 to resolute: radeonsi SQC page faults / GPU resets
on gfx10.3 APUs
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mesa/+bug/2175693/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs