From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wm1-f44.google.com (mail-wm1-f44.google.com [209.85.128.44]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id EE09C3AD52A for ; Tue, 11 Aug 2026 07:46:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.44 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786434420; cv=none; b=EmdVBo/vhZYC8V3wCHhceV/okU4ecX+0yidh+vAHEhXdkZ0llxSzidFNC3ENPj0kSrpmcgWjG1Sce1mE8agzIOS5xuc+Nls4FSNGOzdwNPDtkwFsEZm6bJKpHqIuhb1Qd2wGtv01ZLzVNlctREDOSb3nTIfIg+knSPczDlCIPAY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786434420; c=relaxed/simple; bh=gh28cZ/JOE/QjfFZwgADfO812BSRMhjlzTaQe5JzexE=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=Zsue8lWhatIJhZIdogsV+lkQ4d31i459+dKVkdJ7+/2TNzdEu+qfSPb56BgX+SMBm1wSBzlqI0PnrjFfY+ZyJrraxE/2PCKBkuDFbMyQM4v3qwOWOlllnqLzma5tp+z+fwjCMHYM86Uvxuu+1Zml/iFuped6Vg9BQ5f9aJwTe7g= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=ursulin.net; spf=pass smtp.mailfrom=ursulin.net; dkim=pass (2048-bit key) header.d=ursulin.net header.i=@ursulin.net header.b=O2cW2p1o; arc=none smtp.client-ip=209.85.128.44 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=ursulin.net Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=ursulin.net Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=ursulin.net header.i=@ursulin.net header.b="O2cW2p1o" Received: by mail-wm1-f44.google.com with SMTP id 5b1f17b1804b1-4954aff6088so23570265e9.3 for ; Tue, 11 Aug 2026 00:46:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ursulin.net; s=google; t=1786434417; x=1787039217; darn=vger.kernel.org; h=content-transfer-encoding:content-type:in-reply-to:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:from:to:cc:subject:date:message-id:reply-to :content-type; bh=Lb5ET+WzzMHF6IHDftmOMyIKThUmSRKYzy1eFtIR7Vs=; b=O2cW2p1otFqRYH7Q8s6wBlx3F59j50axhsQ/d+lAIyTJuLQvf7mD3IIEOvQ2JyKBhg st/88Eml/Bg2p4hWx64WvXZsyksivelk+r/kq6kmPzU8PtI/Z09O+JP1G1FI4NHfWuLE H5DLdB/U8lO62nxv9i1IhyyhejdMYu3XmudwsDIy51Hss9CXM2qZSBGdMvqa92MJG49O iEs3dXcyfFMtW3DFMFWB34xxXhg8dPFYDuhC4g0PoqMzPkZTsrTUD017rNFH4ektb11c S3k4jjcVcb6TUnHpvJMDW+o86CyqRlOekAJTMIbxTINUS6aGkN5XOaceBEU3zWN2u3sU pf9w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1786434417; x=1787039217; h=content-transfer-encoding:content-type:in-reply-to:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to:content-type; bh=Lb5ET+WzzMHF6IHDftmOMyIKThUmSRKYzy1eFtIR7Vs=; b=S4UrxK9zBuhq+Kr3yp5MufcjZynt583XVBzgoT7k8LUZZoTO6uUH8phTcYySr/UrRB +Ooew7Ym9kttbM3bTGXn0y6y157M0CgESY9j4jd1KsCCc1gcjTdn76d0aQplmox9iOOn 3hYDyhvNQ99jFQZ1jB+VA19qvIzcvSzQLD2al3A283vk4OH9HV1EwY7niuvJWWsegeEe nCWLiGnCmtmr4ck9lZYudJ9ANTbvV6T13KJu95Z3AfWIKskX85iY8uLjtdjA1hEov/K7 hjhsS3NQT1fd+5IqFoj275rVRjmgCwYKaH31S8JWjKb+vMnzJ5M8gP1d22jYFs0ZB+BP 3Vug== X-Forwarded-Encrypted: i=1; AHgh+RoGwPd8ZF6d6fbN9QvDocm2OEZpyAUURRZYYtNLF+zuKijc+qkQa0GB+35R2AmE9eeaXQeigQ5YuXt95Vg=@vger.kernel.org X-Gm-Message-State: AOJu0YzjhO+0R6kOW9SmmnrQssFcCarHDX49D8ElJmuGhZYKJAFFVL9T TMgJyRVfIF/1ss+YpwtTJx3nJKlujHuT6qzUfkUqxFg6J0r2eRf6sr8ehK8INQm7F3U= X-Gm-Gg: AR+sD12ZVHXp28cbBJSNsChbww1tPLUohI67ciJwFgpd7K3r+5CtlwIR2V+sKDHm8FC SdCukMVJiKMTc1+uZQ8FvRyv/PaTPJaHWjN5EJZtNSIsBuPiuURdhvGygymYzKsPlH7iWylQ2s1 H6acQAxVd+ao+hpxdlNGDk1QqNIoLIa/RSlanZ5a48PyW5Y2RDF/NRu+6KIRL7z3bq08MmtP992 WdMicYsi5gcDMDIn3XLON1LeOMcSK5p/ZxEa42BurIXaCcOUv+gE/XG0HdEWbC0bgkouqqqFIsl Inh6+TlGecxZwWlLUT5H3MW5ICiN1VbZiEZZlpLSLow/TJQ1CRVx4r5EwQsz+DUSgj54/QDiTmd 6gdZkgVyxDPoAfwYvoUZCPRz/aBQtw+9As0EWyLBgO8QIBDXIIr5R3PFhjMccM5A52lm70uffDg Wl6Gz3KjUtDDbBH5OVyqa8YFw8HYsTiBXuofm+oKOCeJOyZmSwTbQ4YvO20pxQakXSZcYMvbQSU 3/NhB43oQ== X-Received: by 2002:a05:600c:3114:b0:495:6e68:5df2 with SMTP id 5b1f17b1804b1-4997844f628mr20367895e9.12.1786434416734; Tue, 11 Aug 2026 00:46:56 -0700 (PDT) Received: from [192.168.0.116] ([90.249.211.112]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-49977e647acsm21670595e9.3.2026.08.11.00.46.55 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 11 Aug 2026 00:46:55 -0700 (PDT) Message-ID: <938ef65f-231f-40e9-a9b1-327d5d91e53a@ursulin.net> Date: Tue, 11 Aug 2026 08:46:54 +0100 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [REGRESSION] drm/sched: FAIR policy causes serious performance degradation at max GPU load on 9070XT To: Luke.Wildhardt@proton.me, "matthew.brost@intel.com" , "dakr@kernel.org" , "phasta@kernel.org" , "ckoenig.leichtzumerken@gmail.com" , "dri-devel@lists.freedesktop.org" Cc: "regressions@lists.linux.dev" , "amd-gfx@lists.freedesktop.org" , "linux-kernel@vger.kernel.org" References: Content-Language: en-GB From: Tvrtko Ursulin In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 09/08/2026 00:33, 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. Was there anything interesting in dmesg then the total UI lockup happened? > > 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. What exactly did you mean by not revealing discrepancy? Game is at 10fps and HUD shows 10fps? Or game appears to stutter but HUD shows "normal" fps? > 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. Could you list the other titles which showed the issue? Regards, Tvrtko > > 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. > > 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. >