Public bug reported:
[Impact]
On gfx11 APUs such as Strix Halo (gfx1151, Ryzen AI Max+ 395), the GPU
stays at 100% busy and top sclk, drawing about 28 W instead of 3-4 W,
whenever two or more processes hold GPU queues, even with no work
submitted. The cause is the MES oversubscription timer. Mainline fixed
it in v7.4-rc1 with
commit 590e26626106533d15fed808ac92f7135b2c909b
drm/amdkfd: workaround 100% gpu usage issue for gfx11
That fix is in neither the 26.04 kernel (7.0.0-44-generic) nor linux-
oem-26.04b (7.3.0-1004-oem). For machines that keep several GPU
workloads resident (inference servers, desktop plus compute), this costs
about 24 W around the clock.
[Test Plan]
Hardware: Ryzen AI Max+ 395 / Radeon 8060S (gfx1151), 128 GB, Ubuntu
26.04.1, linux-firmware 20260319 (MES 0x86).
1. Start two idle processes with GPU queues, e.g. two `llama-server -ngl 999`
(HIP), and send each one request.
2. Read `gpu_busy_percent`, hwmon `power1_input` and the active `pp_dpm_sclk`
level while both are idle.
Results (all processes idle):
| Kernel | 1 HIP process | 2 HIP processes | HIP + process with DRM user queues
|
|---|---|---|---|
| 7.0.0-44-generic | 0%, 3 W, 600 MHz | 100%, 28 W, 2900 MHz | 100%, 28-31 W,
2900 MHz |
| 7.3.0-1004-oem | 0%, 3 W, 600 MHz | 100%, 28 W, 2900 MHz | 100%, 28 W, 2900
MHz |
| mainline 7.4.0-rc5 (contains the fix) | 0%, 3 W, 600 MHz | 6%, 8-9 W,
2100-2350 MHz | 5-6%, 9-10 W, 2100-2270 MHz |
Expected with the fix: 2 idle processes stay near idle (single-digit
busy %, about 10 W or less).
[Where problems could occur]
The patch disables the MES oversubscription timer and replaces it with a
timer in amdkfd. A regression would show up as unfair scheduling or
starvation between processes that oversubscribe the hardware queues on
gfx11 (several concurrent ROCm processes under load). On 7.4-rc5, HIP
(KFD) workloads and a runtime using DRM user queues ran correctly
together.
[Other Info]
Workaround without the fix: `amdgpu.sched_policy=1` stops the idle load
for KFD processes. But it taints the kernel and breaks DRM user queue
creation (PERMISSION_DENIED), so it's not usable everywhere.
Disclosure: Claude helped debug this and ran the measurements on my
system. It also drafted this report.
ProblemType: Bug
DistroRelease: Ubuntu 26.04
Package: linux-image-7.0.0-44-generic 7.0.0-44.44
ProcVersionSignature: Ubuntu 7.0.0-44.44-generic 7.0.14
Uname: Linux 7.0.0-44-generic x86_64
AlsaVersion: Advanced Linux Sound Architecture Driver Version k7.0.0-44-generic.
AplayDevices: Error: [Errno 2] No such file or directory: 'aplay'
ApportVersion: 2.34.1-0ubuntu0.1
Architecture: amd64
ArecordDevices: Error: [Errno 2] No such file or directory: 'arecord'
AudioDevicesInUse: Error: command ['fuser', '-v', '/dev/snd/controlC1',
'/dev/snd/hwC1D0', '/dev/snd/pcmC1D0c', '/dev/snd/pcmC1D0p',
'/dev/snd/by-path', '/dev/snd/controlC0', '/dev/snd/hwC0D0',
'/dev/snd/pcmC0D9p', '/dev/snd/pcmC0D8p', '/dev/snd/pcmC0D7p',
'/dev/snd/pcmC0D3p', '/dev/snd/seq', '/dev/snd/timer'] failed with exit code 1:
CRDA: N/A
Card0.Amixer.info: Error: [Errno 2] No such file or directory: 'amixer'
Card0.Amixer.values: Error: [Errno 2] No such file or directory: 'amixer'
Card1.Amixer.info: Error: [Errno 2] No such file or directory: 'amixer'
Card1.Amixer.values: Error: [Errno 2] No such file or directory: 'amixer'
CasperMD5CheckResult: pass
Date: Thu Dec 3 19:53:25 2026
InstallationDate: Installed on 2026-11-23 (10 days ago)
InstallationMedia: Ubuntu-Server 26.04 "Resolute Raccoon" - Release amd64
(20260420.1)
MachineType: Framework Desktop (AMD Ryzen AI Max 300 Series)
ProcFB: 0 amdgpudrmfb
ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-7.0.0-44-generic
root=/dev/mapper/ubuntu--vg-ubuntu--lv ro cgroup_enable=memory swapaccount=1
amdgpu.gttsize=126976 ttm.pages_limit=32505856 kho=off
ttm.page_pool_size=32505856 amdgpu.lockup_timeout=10000,60000,10000,10000
RfKill: Error: [Errno 2] No such file or directory: 'rfkill'
SourcePackage: linux
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 07/13/2026
dmi.bios.release: 3.6
dmi.bios.vendor: INSYDE Corp.
dmi.bios.version: 03.06
dmi.board.asset.tag: *
dmi.board.name: FRANMFCP06
dmi.board.vendor: Framework
dmi.board.version: A6
dmi.chassis.asset.tag: FRAMDACPA66445000Z
dmi.chassis.type: 35
dmi.chassis.vendor: Framework
dmi.chassis.version: A6
dmi.modalias:
dmi:bvnINSYDECorp.:bvr03.06:bd07/13/2026:br3.6:svnFramework:pnDesktop(AMDRyzenAIMax300Series):pvrA6:rvnFramework:rnFRANMFCP06:rvrA6:cvnFramework:ct35:cvrA6:skuFRAMDACP06:pfaDesktop:
dmi.product.family: Desktop
dmi.product.name: Desktop (AMD Ryzen AI Max 300 Series)
dmi.product.sku: FRAMDACP06
dmi.product.version: A6
dmi.sys.vendor: Framework
** Affects: linux (Ubuntu)
Importance: Undecided
Status: New
** Tags: amd64 apport-bug resolute
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2187282
Title:
[SRU] Backport "drm/amdkfd: workaround 100% gpu usage issue for gfx11"
(590e26626106) to the 26.04 7.0 kernel
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2187282/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs