Source: mesa Version: 26.1.6-1 Severity: normal Radeon RX 6900 XT (RDNA 2)
Wayland, Gnome Shell 4K HDR display over Display Port. The issue started showing up few months ago, mostly when playing Youtube videos in Firefox. Usually when playing high resolution videos. It does not matter if the video is full screen, or smaller window. It can also be reproduced in mpv video player. It presents usually as a right side of the video having slightly different shade, and a distinct separation in the middle that between two halves. I know it is mesa issue, as using mesa from git, shows no issues. I was also able to reproduce this with mpv and hwdec using both vaapi and vulkan video decode. The issue does show up also with newer Firefox, like Firefox nightly, with both vaapi, and vulkan video decodes. The issue can be also reproduced on a number of lower resolution videos. >From what I can see, the issue only shows up on AV1 decode. H264 and H265 does not appear to be affected. Easiest way to reproduce is to have RDNA 2 GPU, and for example mpv 0.42.0-3. Then play first 3 minutes of this youtube video at AV1 4k60 format (401 3840x2160). https://www.youtube.com/watch?v=V9trHOJOagk This particular video also show sever artifacts even at lower resolutions. mpv --hwdec=vaapi --vo=gpu-next --gpu-api=vulkan --ytdl-format=401 "https://youtube.com/watch?v=V9trHOJOagk" or mpv --hwdec=vulkan --vo=gpu-next --gpu-api=vulkan --ytdl-format=401 "https://youtube.com/watch?v=V9trHOJOagk" or yt-dltp 'https://www.youtube.com/watch?v=V9trHOJOagk' mpv --hwdec=vaapi --vo=gpu-next --gpu-api=vulkan Introducing\ The\ RetroTINK\ 6x\ CE\ \[V9trHOJOagk\].webm mpv --hwdec=vulkan --vo=gpu-next --gpu-api=vulkan Introducing\ The\ RetroTINK\ 6x\ CE\ \[V9trHOJOagk\].webm Specific timestamps to look at: 00:22 - black t-shirt having two shades (darker on left, brither on right) 00:25 - similar, even more visible (t-shirt, and skin tone) 00:54 - totally broken colors, 4 separate vertical columns, which should all be the same, show visible green and red discolorations 01:04 - 4 vertical columns again (harder to see) 01:46 - similar (harder to see) 01:58 - strongly visibe in the middle with dark blue 02:12 - visible too 02:29 - strongly visible 02:45 - total breakdown 02:51 - ditto 02:58 - even worse 04:55 - most of the screen is incorrectly green, and other artifacts These all reproduce also in Firefox, and also using smaller resolution AV1 compressed files (i.e. format 400, 2560x1440; Or even 720p60). I am mentioning this because Firefox might refuse to use VAAPI on 3840x2160 @ 60 fps on RDNA 2, and fallback to dav1d CPU decode. But 2560x1440 @ 60 fps should work fine. This is because RDNA 2 appearnly does not officially support AV1 decode at 3840x2160 @ 60 fps, and VAAPI refuses (but experimental Vulkan in Firefox Nightly works fine). The VP9 (i.e. format 315 3840x2160) and H.264 / H.265 do appear to not be affected. Upgrading to latest Mesa (git with custom build) fixes the issue, both in VAAPI and Vulkan accelerated decode. It was like that for months. Often it is not visible, but some videos show the artifacts more frequently than others. Many AV1 4K test files freely available on the Internet do not show these vertical artifacts either. I do believe this is a regression, because in the past before on exactly same hardware there were no artifacts. I was able to bisect upstream mesa git repo, and find a commit that fixed the issue there: 3c4d3e46d19f2f4e951f3ae059543b03592f7944 is the first fixed commit commit 3c4d3e46d19f2f4e951f3ae059543b03592f7944 Author: David Rosca <[email protected]> Date: Sat Aug 15 12:47:28 2026 +0200 radeonsi/mm: Fix AV1 decode qmatrix params There's been a FW change and the high 4 bits are no longer ignored. Cc: mesa-stable Closes: https://gitlab.freedesktop.org/mesa/mesa/-/work_items/16090 Reviewed-by: Benjamin Cheng <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/43787> src/gallium/drivers/radeonsi/mm/si_video_dec.c | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) The issue does show up in 26.1.6-1 packages. Mesa 26.2.1 (from 2026-08-20) appears to be the first release mentioning inclusion of this fix commit - https://docs.mesa3d.org/relnotes/26.2.1.html PS. Updating to mesa 26.2.7-1 from Debian testing also solves the issue. (It looks like it transitioned to testing just yesterday. So maybe now it is just a concern for Debian stable, and backports). -- System Information: Debian Release: forky/sid APT prefers testing-debug APT policy: (500, 'testing-debug'), (500, 'testing') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 7.4.0-rc4 (SMP w/32 CPU threads; PREEMPT) Kernel taint flags: TAINT_CPU_OUT_OF_SPEC, TAINT_UNSIGNED_MODULE Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system)

