среда

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

* Added jammy-proposed to the gnome-42-2204 snapcraft recipe
package-repositories:
- type: apt
url: http://archive.ubuntu.com/ubuntu
suites: [jammy-proposed]
components: [main, universe]
key-id: F6ECB3762474EDA9D21B7022871920D1991BC93C
key-server: keyserver.ubuntu.com

$ snapcraft --verbosity debug
[...]
2024-11-20 14:37:59.284 Downloading package: mesa-va-drivers
2024-11-20 14:37:59.585 Get: 124 mesa-va-drivers_23.2.1-1ubuntu3.1~22.04.3_amd64.deb [4100 kB]
[...]
2024-11-20 14:39:22.398 Extracting stage package: mesa-va-drivers
[...]

$ sudo snap install --dangerous
./gnome-42-2204_0+git.682b718-dirty_amd64.snap

Then performed the test plan, ensuring that VAAPI is actually used.
Can confirm no more green artifacts or crashes.


** Tags removed: verification-needed verification-needed-jammy
** Tags added: verification-done verification-done-jammy

--
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:
Fix Committed
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

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

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