вторник

[Bug 2083538] Re: amdgpu: [mmhub] page fault (src_id:0 ring:8 vmid:6 pasid:32781 / Fence fallback timer expired on ring sdma0

Since the fix is not yet even in proposed, and I have a possible Z13 Gen
2 Lenovo pre-installed Ubuntu 22.04 LTS showing this problem (despite
switching to generic 6.8 kernel), I have a single purpose PPA at
https://launchpad.net/~timo-jyrinki/+archive/ubuntu/mesaprerelease (the
final release will overwrite the version in the PPA).

--
You received this bug notification because you are subscribed to linux
in Ubuntu.
Matching subscriptions: Bgg, Bmail, Nb
https://bugs.launchpad.net/bugs/2083538

Title:
amdgpu: [mmhub] page fault (src_id:0 ring:8 vmid:6 pasid:32781 / Fence
fallback timer expired on ring sdma0

Status in Linux:
Fix Released
Status in Mesa:
Fix Released
Status in firefox package in Ubuntu:
Triaged
Status in linux package in Ubuntu:
Invalid
Status in mesa package in Ubuntu:
Fix Released
Status in mesa source package in Jammy:
In Progress
Status in mesa source package in Noble:
In Progress

Bug description:
[ Impact ]

 * amdgpu changes in kernel 6.11 make VAAPI video playback crash the
GPU and bring down the whole system.

 * A fix was shipped in mesa 24.2, which is already in Oracular - the
only version with kernel 6.11 currently, but snaps bundle their own
version of mesa so core22 snaps like Firefox are affected. Firefox has
VAAPI disabled by default, but it can be enabled by the user.

* the fix for noble will be provided via the full version backport
from oracular

[ Test Plan ]

 * Set up a system with an AMD GPU running Ubuntu 24.10 with kernel
6.11

 * Open Firefox

 * Navigate to `about:config`

 * Search `media.ffmpeg.vaapi.enabled`

 * Enable the setting by clicking the toggle button

 * Restart Firefox

 * Play different videos on x.com or youtube.com
   (I don't have a reliable reproducer unfortunately)

 * Ensure that there are no green artifacts on the video playback

 * Ensure that the system didn't lock up

 * 10 minutes of scrolling through videos was generally enough to trigger
   the bug in my testing.
   Sometimes I could only get the green artifacts, other times I could get
   the system to lock up.

[ Where problems could occur ]

 * The scope of the change is limited to the VAAPI driver for AMD GPUs
   ( /usr/lib/x86_64-linux-gnu/dri/radeonsi_drv_video.so )
   An issue with the change may break video playback.
   But, as this bug demonstrated, a bug in the video acceleration driver
   may also bring down the whole system...

[ Original Description ]

It turns out that amdgpu in kernel 6.11 on the Ryzen 6850U is quite
crashy and laggy. I have attached the previous boot log which shows a
lot of errors.

It does not seem to like firefox.

Behavior visible is that it hangs, then tries resets, fails to reset
and then the screen is unusable so I sysrq reboot it.

ProblemType: Bug
DistroRelease: Ubuntu 24.10
Package: linux-image-6.11.0-8-generic 6.11.0-8.8
ProcVersionSignature: Ubuntu 6.11.0-8.8-generic 6.11.0
Uname: Linux 6.11.0-8-generic x86_64
ApportVersion: 2.30.0-0ubuntu3
Architecture: amd64
CasperMD5CheckResult: pass
CurrentDesktop: GNOME
Date: Wed Oct 2 19:06:47 2024
InstallationDate: Installed on 2022-11-26 (676 days ago)
InstallationMedia: Ubuntu 23.04 "Lunar Lobster" - Alpha amd64 (20221126)
IwConfig: Error: [Errno 2] No such file or directory: 'iwconfig'
MachineType: LENOVO 21CF004PGE
ProcFB: 0 amdgpudrmfb
ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-6.11.0-8-generic root=/dev/mapper/ubuntu-root ro rootflags=subvol=@next quiet splash crashkernel=2G-4G:320M,4G-32G:512M,32G-64G:1024M,64G-128G:2048M,128G-:4096M zswap.enabled=1 zswap.compressor=zstd zswap.max_pool_percent=20 zswap.zpool=zsmalloc vt.handoff=7
RebootRequiredPkgs: Error: path contained symlinks.
RelatedPackageVersions:
 linux-restricted-modules-6.11.0-8-generic N/A
 linux-backports-modules-6.11.0-8-generic N/A
 linux-firmware 20240913.gita34e7a5f-0ubuntu2
SourcePackage: linux
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 05/29/2024
dmi.bios.release: 1.53
dmi.bios.vendor: LENOVO
dmi.bios.version: R23ET77W (1.53 )
dmi.board.asset.tag: Not Available
dmi.board.name: 21CF004PGE
dmi.board.vendor: LENOVO
dmi.board.version: SDK0T76538 WIN
dmi.chassis.asset.tag: No Asset Information
dmi.chassis.type: 10
dmi.chassis.vendor: LENOVO
dmi.chassis.version: None
dmi.ec.firmware.release: 1.32
dmi.modalias: dmi:bvnLENOVO:bvrR23ET77W(1.53):bd05/29/2024:br1.53:efr1.32:svnLENOVO:pn21CF004PGE:pvrThinkPadT14Gen3:rvnLENOVO:rn21CF004PGE:rvrSDK0T76538WIN:cvnLENOVO:ct10:cvrNone:skuLENOVO_MT_21CF_BU_Think_FM_ThinkPadT14Gen3:
dmi.product.family: ThinkPad T14 Gen 3
dmi.product.name: 21CF004PGE
dmi.product.sku: LENOVO_MT_21CF_BU_Think_FM_ThinkPad T14 Gen 3
dmi.product.version: ThinkPad T14 Gen 3
dmi.sys.vendor: LENOVO

To manage notifications about this bug go to:
https://bugs.launchpad.net/linux/+bug/2083538/+subscriptions

Комментариев нет:

Отправить комментарий