From: Philipp Stanner <phasta@mailbox.org>
To: Luke.Wildhardt@proton.me,
"matthew.brost@intel.com" <matthew.brost@intel.com>,
"dakr@kernel.org" <dakr@kernel.org>,
"phasta@kernel.org" <phasta@kernel.org>,
"ckoenig.leichtzumerken@gmail.com"
<ckoenig.leichtzumerken@gmail.com>,
"dri-devel@lists.freedesktop.org"
<dri-devel@lists.freedesktop.org>
Cc: "regressions@lists.linux.dev" <regressions@lists.linux.dev>,
"amd-gfx@lists.freedesktop.org" <amd-gfx@lists.freedesktop.org>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
Tvrtko Ursulin <tvrtko.ursulin@igalia.com>
Subject: Re: [REGRESSION] drm/sched: FAIR policy causes serious performance degradation at max GPU load on 9070XT
Date: Mon, 10 Aug 2026 10:28:04 +0200 [thread overview]
Message-ID: <cef49cf329737e0af12ef5a90dd21f31e113d4c3.camel@mailbox.org> (raw)
In-Reply-To: <TfhgV1W0W5LI6RWUO6J35B3R8QIYH_FN3Eihzdo_9PH39hfn1AVByT-QBPHmWiAR-L0Kqi2sppM_EhFPKwZPGmb5pFgpF2MrzeFzkZDmpG8=@proton.me>
+Cc Tvrtko
On Sat, 2026-08-08 at 23:33 +0000, Luke.Wildhardt@proton.me wrote:
> Since the DRM scheduler default policy was switched to FAIR in 7.2, sustained 100% GPU load in-game on my RX 9070 XT causes severe performance degradation. In the example title running through Proton, Project Silverfish, the foreground application degrades to roughly 10 fps or freezes outright while audio continues, and the KDE Plasma Wayland session can lock up entirely, requiring a reboot or killing the compositor to recover. The problem is not limited to games. Running the game in the background + alt tabbing, then playing a YouTube video can also cause the entire desktop to freeze.
>
> Then, if the game starts to stutter, either alt-tabbing, or opening up a menu in game (which reduced the load on the GPU) immediately stops the stuttering.
>
> The issue is reliably reproducible under sustained GPU saturation, although the time-to-failure varies. Increasing shadow load (which decreases in-game frame rate) substantially shortens the time-to-failure.
>
> In game, MangoHud does not reveal any frametime discrepancy.
>
> Bisection / test matrix
>
> Reproducer: Project Silverfish (Proton) at settings that saturate the GPU, with a second GPU client active (browser video). Other titles show the same symptom under sustained load; I have not yet re-tested those specific titles against the fix.
>
> Kernel Result
> torvalds/master stock FAIR (default) FAIL
> same as above + reverts below gpu_sched.sched_policy=2 (FAIR) FAIL
> same as above + reverts below gpu_sched.sched_policy=1 (FIFO) PASS
> 7.1.5 release PASS
> drm-next FAIR (default) FAIL
>
> Reverted Commits:
>
> d09339388b77 drm/sched: Remove drm_sched_init_args->num_rqs
> 2833a0512b4c drm/sched: Remove drm_sched_init_args->num_rqs usage
> 16e7698bc04d drm/sched: Embed run queue singleton into the scheduler
> 77a6809f1dc3 drm/sched: Remove FIFO and RR and simplify to a single run queue
> 45c211ddf92a drm/sched: Switch default policy to fair
> 2462a0ce23b0 drm/amdgpu: Remove drm_sched_init_args->num_rqs usage
>
>
>
> Kernel (failing): 7.2.0-rc6 (stock), also current drm-next
> Kernel (working): 7.2.0-rc6-default-revert-00006-g7e5de9b07e3d with sched_policy=1
> 7.1 release
> Distro: Arch Linux
> Session: KDE Plasma 6.7.4 / Wayland (KWin), Qt 6.11.1, KF 6.28.0
> CPU: AMD Ryzen 9 9950X3D
> RAM: 64 GiB
> GPU: Sapphire Pulse Radeon RX 9070 XT
> 03:00.0 [1002:7550] rev c0, subsys Sapphire 1478
> Motherboard: ASUS (AM5 / 800-series chipset)
> Mesa: 26.1.6-arch1.1 (RADV, driverVersion 26.1.6)
> Vulkan: instance 1.4.357 / device 1.4.354
>
>
>
>
> On the same reverted kernel build, changing only gpu_sched.sched_policy from 2 (FAIR) to 1 (FIFO) changes the result from reliably failing to passing extended stress testing.
>
>
>
> Possible mitigation options
>
> Given that 7.2 is late in the release cycle and 77a6809f1dc3 removes FIFO/RR as selectable policies, there is currently no runtime workaround for affected systems.
>
>
> Revert 45c211ddf92a so FIFO remains the default while FAIR remains available for further testing.
That might be the wisest thing to do; but let's hear if Tvrtko has an
idea for a hotfix first.
>
> If necessary, also revert 77a6809f1dc3 and dependent changes to restore runtime policy selection.
>
> Alternatively, fix the underlying FAIR regression if a suitable fix can be identified in time for 7.2.
>
>
> I mention the revert options because the justification for removing FIFO/RR included the absence of known regressions relative to those policies. This report appears to provide at least one counterexample.
>
>
> I am willing to test patches responsively and collect data if necessary.
Thanks for your effort and help. I had dared to hope that we could get
this one through without a regression, but reality always catches up..
P.
next prev parent reply other threads:[~2026-08-10 8:28 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-08-08 23:33 Luke.Wildhardt
2026-08-10 8:28 ` Philipp Stanner [this message]
2026-08-10 12:45 ` Danilo Krummrich
2026-08-10 13:48 ` Tvrtko Ursulin
2026-08-10 16:40 ` Luke.Wildhardt
2026-08-11 7:29 ` Philipp Stanner
2026-08-11 7:49 ` Tvrtko Ursulin
2026-08-11 17:59 ` Luke.Wildhardt
2026-08-12 11:37 ` Tvrtko Ursulin
2026-08-12 11:58 ` Philipp Stanner
2026-08-12 12:29 ` Tvrtko Ursulin
2026-09-16 7:37 ` Philipp Stanner
2026-08-12 15:12 ` Luke.Wildhardt
2026-08-13 6:42 ` Luke.Wildhardt
2026-08-13 7:58 ` Tvrtko Ursulin
2026-08-13 14:27 ` Luke.Wildhardt
2026-08-14 6:49 ` Luke.Wildhardt
2026-08-14 8:32 ` Feng, Kenneth
2026-08-10 11:36 ` Tvrtko Ursulin
2026-08-11 7:46 ` Tvrtko Ursulin
2026-08-12 4:52 ` Luke.Wildhardt
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=cef49cf329737e0af12ef5a90dd21f31e113d4c3.camel@mailbox.org \
--to=phasta@mailbox.org \
--cc=Luke.Wildhardt@proton.me \
--cc=amd-gfx@lists.freedesktop.org \
--cc=ckoenig.leichtzumerken@gmail.com \
--cc=dakr@kernel.org \
--cc=dri-devel@lists.freedesktop.org \
--cc=linux-kernel@vger.kernel.org \
--cc=matthew.brost@intel.com \
--cc=phasta@kernel.org \
--cc=regressions@lists.linux.dev \
--cc=tvrtko.ursulin@igalia.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®