[Bug 1202707] New: Mesa update breaks VAAPI? (VA-API) incorrect video output
http://bugzilla.opensuse.org/show_bug.cgi?id=1202707 Bug ID: 1202707 Summary: Mesa update breaks VAAPI? (VA-API) incorrect video output Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: x86-64 OS: openSUSE Tumbleweed Status: NEW Severity: Normal Priority: P5 - None Component: X.Org Assignee: gfx-bugs@suse.de Reporter: reiokorn@tutanota.com QA Contact: gfx-bugs@suse.de Found By: --- Blocker: --- I noticed that the video output is incorrect when using VAAPI. Screenshot 1: Using VAAPI: https://ibb.co/sKJBV7k Screenshot 2: Without VAAPI: https://ibb.co/dr5JpRw -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1202707 http://bugzilla.opensuse.org/show_bug.cgi?id=1202707#c1 --- Comment #1 from B <reiokorn@tutanota.com> --- vainfo libva info: VA-API version 1.15.0 libva info: Trying to open /usr/lib64/dri/radeonsi_drv_video.so libva info: Found init function __vaDriverInit_1_15 libva info: va_openDriver() returns 0 vainfo: VA-API version: 1.15 (libva 2.15.0) vainfo: Driver version: Mesa Gallium driver 22.1.6 for AMD Radeon RX 6900 XT (sienna_cichlid, LLVM 14.0.6, DRM 3.47, 5.19.2-1-default) vainfo: Supported profile and entrypoints VAProfileMPEG2Simple : VAEntrypointVLD VAProfileMPEG2Main : VAEntrypointVLD VAProfileVC1Simple : VAEntrypointVLD VAProfileVC1Main : VAEntrypointVLD VAProfileVC1Advanced : VAEntrypointVLD VAProfileH264ConstrainedBaseline: VAEntrypointVLD VAProfileH264ConstrainedBaseline: VAEntrypointEncSlice VAProfileH264Main : VAEntrypointVLD VAProfileH264Main : VAEntrypointEncSlice VAProfileH264High : VAEntrypointVLD VAProfileH264High : VAEntrypointEncSlice VAProfileHEVCMain : VAEntrypointVLD VAProfileHEVCMain : VAEntrypointEncSlice VAProfileHEVCMain10 : VAEntrypointVLD VAProfileHEVCMain10 : VAEntrypointEncSlice VAProfileJPEGBaseline : VAEntrypointVLD VAProfileVP9Profile0 : VAEntrypointVLD VAProfileVP9Profile2 : VAEntrypointVLD VAProfileAV1Profile0 : VAEntrypointVLD VAProfileNone : VAEntrypointVideoProc -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1202707 http://bugzilla.opensuse.org/show_bug.cgi?id=1202707#c2 Stefan Dirsch <sndirsch@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 - None |P3 - Medium Status|NEW |IN_PROGRESS CC| |reiokorn@tutanota.com Flags| |needinfo?(reiokorn@tutanota | |.com) --- Comment #2 from Stefan Dirsch <sndirsch@suse.com> --- Do you which TW or Mesa version still worked? -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1202707 http://bugzilla.opensuse.org/show_bug.cgi?id=1202707#c3 --- Comment #3 from Stefan Dirsch <sndirsch@suse.com> --- (In reply to Stefan Dirsch from comment #2)
Do you which TW or Mesa version still worked?
Do you know ... -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1202707 http://bugzilla.opensuse.org/show_bug.cgi?id=1202707#c4 B <reiokorn@tutanota.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Flags|needinfo?(reiokorn@tutanota | |.com) | --- Comment #4 from B <reiokorn@tutanota.com> --- (In reply to Stefan Dirsch from comment #2)
Do you [know] which TW or Mesa version still worked?
Sorry, no idea, and the earliest snapshot I have left is from 21.08.2022. so I can't go back to a much earlier state to check it. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1202707 http://bugzilla.opensuse.org/show_bug.cgi?id=1202707#c5 --- Comment #5 from B <reiokorn@tutanota.com> --- the newest update released today to 22.1.7 didn't fix it -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1202707 http://bugzilla.opensuse.org/show_bug.cgi?id=1202707#c6 --- Comment #6 from Stefan Dirsch <sndirsch@suse.com> --- ok. Thanks nevertheless ... -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1202707 http://bugzilla.opensuse.org/show_bug.cgi?id=1202707#c7 --- Comment #7 from B <reiokorn@tutanota.com> --- Created attachment 861112 --> http://bugzilla.opensuse.org/attachment.cgi?id=861112&action=edit dmesg.log -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1202707 http://bugzilla.opensuse.org/show_bug.cgi?id=1202707#c8 --- Comment #8 from B <reiokorn@tutanota.com> --- Created attachment 861113 --> http://bugzilla.opensuse.org/attachment.cgi?id=861113&action=edit glxinfo.log -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1202707 http://bugzilla.opensuse.org/show_bug.cgi?id=1202707#c9 --- Comment #9 from B <reiokorn@tutanota.com> --- so I've used the history repos for OSS to downgrade my system to get any clue. (I've sticked to the same 5.19.2-1-default kernel) Tried: 20220809 - same faulty playback 20220805 - fixed it. I noticed that the kernel firmware was downgraded to 20220714. So this would suggest, that the error is kernel related and not mesa? -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1202707 http://bugzilla.opensuse.org/show_bug.cgi?id=1202707#c10 --- Comment #10 from Stefan Dirsch <sndirsch@suse.com> --- Date: Wed, 10 Aug 2022 15:00:45 +0000 From: Dominique Leuenberger <dimstar@suse.de> To: factory@lists.opensuse.org Subject: New Tumbleweed snapshot 20220809 released! Packages changed: [...] kernel-firmware (20220714 -> 20220804) [...] -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1202707 http://bugzilla.opensuse.org/show_bug.cgi?id=1202707#c11 --- Comment #11 from Stefan Dirsch <sndirsch@suse.com> --- I guess this then would be kernel-firmware-amdgpu or kernel-firmware-radeon. Could you try to donwgrade these packages to the ones of pre-TW 20220809 (version 20220714) on your current TW install? -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1202707 http://bugzilla.opensuse.org/show_bug.cgi?id=1202707#c12 --- Comment #12 from B <reiokorn@tutanota.com> --- (In reply to Stefan Dirsch from comment #11)
I guess this then would be kernel-firmware-amdgpu or kernel-firmware-radeon. Could you try to donwgrade these packages to the ones of pre-TW 20220809 (version 20220714) on your current TW install?
OK, downgraded those two packages to version 20220714, and that fixed the issue for me -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1202707 http://bugzilla.opensuse.org/show_bug.cgi?id=1202707#c13 Stefan Dirsch <sndirsch@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|Mesa update breaks VAAPI? |kernel-firmare-{amdgpu,rade |(VA-API) incorrect video |on} update breaks VA-API: |output |Incorrect video output on | |Radeon RX 6900 (Navi 21) --- Comment #13 from Stefan Dirsch <sndirsch@suse.com> --- Thanks. AMD Radeon RX 6900 XT appears to be "Navi 21", but I only see amdgpu updates for "Navi 14" or older in the changelog. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1202707 Stefan Dirsch <sndirsch@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |tiwai@suse.com Component|X.Org |Kernel Assignee|gfx-bugs@suse.de |kernel-bugs@opensuse.org QA Contact|gfx-bugs@suse.de |qa-bugs@suse.de -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1202707 Stefan Dirsch <sndirsch@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |sndirsch@suse.com -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1202707 http://bugzilla.opensuse.org/show_bug.cgi?id=1202707#c14 --- Comment #14 from Takashi Iwai <tiwai@suse.com> --- Please report it to AMD. I guess at best via gitlab.freedesktop.org Issues. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1202707 http://bugzilla.opensuse.org/show_bug.cgi?id=1202707#c15 --- Comment #15 from Stefan Dirsch <sndirsch@suse.com> --- ------------------------------------------------------------------- Fri Aug 05 06:02:43 UTC 2022 - tiwai@suse.com - Update to version 20220804 (git commit e6185d5197fd): * linux-firmware: Update firmware file for Intel Bluetooth 9462 * linux-firmware: Update firmware file for Intel Bluetooth 9462 * linux-firmware: Update firmware file for Intel Bluetooth 9560 * linux-firmware: Update firmware file for Intel Bluetooth 9560 * linux-firmware: Update firmware file for Intel Bluetooth AX201 * linux-firmware: Update firmware file for Intel Bluetooth AX201 * linux-firmware: Update firmware file for Intel Bluetooth AX211 * linux-firmware: Update firmware file for Intel Bluetooth AX211 * linux-firmware: Update firmware file for Intel Bluetooth AX210 * linux-firmware: Update firmware file for Intel Bluetooth AX200 * linux-firmware: Update firmware file for Intel Bluetooth AX201 * Mellanox: Add new mlxsw_spectrum firmware xx.2010.3020 * linux-firmware: Add firmware for Cirrus CS35L41 * i915: Add GuC v70.4.1 for DG2 * i915: Add DMC v2.07 for DG2 * amdgpu partially revert "amdgpu: update beige goby to release 22.20" * mediatek: Update mt8183/mt8192/mt8195 SCP firmware * amdgpu: update renoir to release 22.20 * amdgpu: update beige goby to release 22.20 * amdgpu: update yellow carp to release 22.20 * amdgpu: update dimgrey cavefish to release 22.20 * amdgpu: update vega20 to release 22.20 * amdgpu: update vega12 to release 22.20 * amdgpu: update raven to release 22.20 * amdgpu: update navy flounder to release 22.20 * amdgpu: update vega10 to release 22.20 * amdgpu: update sienna cichlid to release 22.20 * amdgpu: update navi14 to release 22.20 * amdgpu: update green sardine to release 22.20 * amdgpu: update vangogh to release 22.20 * amdgpu: update navi12 to release 22.20 * amdgpu: update navi10 to release 22.20 * amdgpu: update picasso to release 22.20 * amdgpu: update aldebaran to release 22.20 * amdgpu: update psp 13.0.8 TA firmware * WHENCE: Fix the dangling symlinks fix - Revert the previous rtw88/rtw8822c_fw.bin change due to regression on HP Pavilion 15 (bsc#1202152) - Update alias from 5.19 ------------------------------------------------------------------- Mon Jul 18 07:10:06 UTC 2022 - tiwai@suse.com - Update to version 20220714 (git commit 84661a3ba62f): -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1202707 http://bugzilla.opensuse.org/show_bug.cgi?id=1202707#c16 --- Comment #16 from Stefan Dirsch <sndirsch@suse.com> --- @Takashi Do you happen to know where I find the gitlab tracker for this. I could only find git repo https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/ -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1202707 http://bugzilla.opensuse.org/show_bug.cgi?id=1202707#c17 --- Comment #17 from Takashi Iwai <tiwai@suse.com> --- Let's try this one: https://gitlab.freedesktop.org/drm/amd/-/issues AMD don't care much about the reports on bugzilla.kernel.org nowadays. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1202707 http://bugzilla.opensuse.org/show_bug.cgi?id=1202707#c18 --- Comment #18 from Stefan Dirsch <sndirsch@suse.com> --- Just found this in the log above [ 2.318517] [drm] initializing kernel modesetting (SIENNA_CICHLID 0x1002:0x73BF 0x1EAE:0x6901 0xC0). So seems it's CHIP_SIENNA_CICHLID. So it would be this commit. commit 8da4640a37b84f139a5e0148b4a0243ec1c8f029 Author: Alex Deucher <alexander.deucher@amd.com> Date: Mon Jul 18 14:12:31 2022 -0400 amdgpu: update sienna cichlid to release 22.20 from internal commit: bf6c92c6d66df608a113a20b074b180e370a1b46 Signed-off-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Josh Boyer <jwboyer@kernel.org> I've contacted Alex Deucher directly via email. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1202707 Stefan Dirsch <sndirsch@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Flags| |needinfo?(sndirsch@suse.com | |) -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1202707 Stefan Dirsch <sndirsch@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|kernel-firmare-{amdgpu,rade |kernel-firmare-{amdgpu,rade |on} update breaks VA-API: |on} update breaks VA-API: |Incorrect video output on |Incorrect video output on |Radeon RX 6900 (Navi 21) |Radeon RX 6900 (Navi | |21/CHIP_SIENNA_CICHLID) -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1202707 http://bugzilla.opensuse.org/show_bug.cgi?id=1202707#c21 --- Comment #21 from B <reiokorn@tutanota.com> --- (In reply to Takashi Iwai from comment #14)
Please report it to AMD. I guess at best via gitlab.freedesktop.org Issues.
Created a bug report https://gitlab.freedesktop.org/drm/amd/-/issues/2139 -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1202707 B <reiokorn@tutanota.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|kernel-firmare-{amdgpu,rade |kernel-firmware-{amdgpu,rad |on} update breaks VA-API: |eon} update breaks VA-API: |Incorrect video output on |Incorrect video output on |Radeon RX 6900 (Navi |Radeon RX 6900 (Navi |21/CHIP_SIENNA_CICHLID) |21/CHIP_SIENNA_CICHLID) -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1202707 http://bugzilla.opensuse.org/show_bug.cgi?id=1202707#c22 --- Comment #22 from Stefan Dirsch <sndirsch@suse.com> --- Thanks. Watching now ... -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1202707 http://bugzilla.opensuse.org/show_bug.cgi?id=1202707#c23 --- Comment #23 from Stefan Dirsch <sndirsch@suse.com> --- Alex Deucher already commented on the upstream gitlab issue. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1202707 Stefan Dirsch <sndirsch@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- URL| |https://gitlab.freedesktop. | |org/drm/amd/-/issues/2139 -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1202707 http://bugzilla.opensuse.org/show_bug.cgi?id=1202707#c24 --- Comment #24 from B <reiokorn@tutanota.com> --- As it turns out it certainly is a firmware regression issue and the AMD(?) FW team is working on the fix which is expected to be available soon. See also: https://gitlab.freedesktop.org/drm/amd/-/issues/2139#note_1530287 -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1202707 http://bugzilla.opensuse.org/show_bug.cgi?id=1202707#c25 --- Comment #25 from B <reiokorn@tutanota.com> --- looks like they have a fix ready: https://gitlab.freedesktop.org/drm/amd/-/issues/2139#note_1534157 How can I try out this fix? -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1202707 http://bugzilla.opensuse.org/show_bug.cgi?id=1202707#c26 --- Comment #26 from Stefan Dirsch <sndirsch@suse.com> --- You can overwrite the existing firmware file /lib/firmware/amdgpu/sienna_cichlid_vcn.bin.xz with the new one. But you need to compress it first with 'xz'. Also you need to add it to the initrd by running 'mkinitrd' I assume. Is this correct, Takashi? -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1202707 http://bugzilla.opensuse.org/show_bug.cgi?id=1202707#c27 --- Comment #27 from Stefan Dirsch <sndirsch@suse.com> --- Then reboot of course ... -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1202707 http://bugzilla.opensuse.org/show_bug.cgi?id=1202707#c28 --- Comment #28 from B <reiokorn@tutanota.com> --- (In reply to Stefan Dirsch from comment #27)
Then reboot of course ...
OK, I tried this and was greeted by a black screen, the monitor received no signal - had to reset via snapshot. If this was the correct method to test the fix, then it must be faulty? -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1202707 http://bugzilla.opensuse.org/show_bug.cgi?id=1202707#c29 --- Comment #29 from Takashi Iwai <tiwai@suse.com> --- The XZ compression requires some specific options. So just put the file as is without compression after removing the old firmware file, then rebuild initrd and retest. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1202707 http://bugzilla.opensuse.org/show_bug.cgi?id=1202707#c30 --- Comment #30 from Stefan Dirsch <sndirsch@suse.com> --- I apologize for having brought you in this situation! In case this happens again you can boot with kernel boot option 'nomodeset'. With that you still have a desktop running (slow though) and can easily bring back the old firmware file and then reboot again regularly. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1202707 http://bugzilla.opensuse.org/show_bug.cgi?id=1202707#c31 --- Comment #31 from B <reiokorn@tutanota.com> --- (In reply to Stefan Dirsch from comment #30)
I apologize for having brought you in this situation! In case this happens again you can boot with kernel boot option 'nomodeset'. With that you still have a desktop running (slow though) and can easily bring back the old firmware file and then reboot again regularly.
Everything is fine, I had created a snapshot before. I knew that something like this could happen. thanks for the info as a alternative to it. @takashi will try that out right away. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1202707 http://bugzilla.opensuse.org/show_bug.cgi?id=1202707#c32 --- Comment #32 from B <reiokorn@tutanota.com> --- So, I tried this fix out now, and it does fix my video playback issues with VAAPI enabled -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1202707 http://bugzilla.opensuse.org/show_bug.cgi?id=1202707#c33 Stefan Dirsch <sndirsch@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Flags|needinfo?(sndirsch@suse.com | |) | --- Comment #33 from Stefan Dirsch <sndirsch@suse.com> --- Thanks a lot for reporting it upstream and testing! I think Takashi will update the fimrware packages once the fix is in git. -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@suse.com