FS#77595 - [linux] 6.2-1 Black screen amdgpu / iommu related

Attached to Project: Arch Linux
Opened by Frederic Bezies (fredbezies) - Tuesday, 21 February 2023, 09:05 GMT
Last edited by Jan Alexander Steffens (heftig) - Sunday, 26 February 2023, 04:24 GMT
Task Type Bug Report
Category Packages: Testing
Status Closed
Assigned To Jan Alexander Steffens (heftig)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description: I updated this morning the kernel to its version 6.2-1. When I try to boot, it ends with an idle screen. I'm not able to get a working resolution to be used.

The workaround was to downgrade to previous linux kernel. I'll switch to 6.1 lts soon.

I'm using amdgpu driver with my Ryzen3 2200G.

Additional info:
* linux 6.2-1

Steps to reproduce:

See description.
This task depends upon

Closed by  Jan Alexander Steffens (heftig)
Sunday, 26 February 2023, 04:24 GMT
Reason for closing:  Fixed
Additional comments about closing:  linux 6.2.1.arch1-1
Comment by Frederic Bezies (fredbezies) - Tuesday, 21 February 2023, 10:45 GMT
Bug reported upstream: https://bugzilla.kernel.org/show_bug.cgi?id=217065

Edit: I was asked to report this bug on freedesktop gitlab; https://gitlab.freedesktop.org/drm/amd/-/issues/2420
Comment by Peter Jung (ptr1337) - Tuesday, 21 February 2023, 11:06 GMT
I did also faced issues with my nvidia card.I had a lot of dmesg regressions.
Disabling CONFIG_SYSFB_SIMPLEFB does fix the issue.

I've also disabled CONFIG_DRM_ACCEL.
Comment by Frederic Bezies (fredbezies) - Tuesday, 21 February 2023, 11:50 GMT
@Peter: I'll try to disable CONFIG_SYSFB_SIMPLEFB and build a new kernel to see if it is fixing my issue.

Edit: disabling CONFIG_SYSFB_SIMPLEFB does not work for me :(
Comment by Frederic Bezies (fredbezies) - Tuesday, 21 February 2023, 16:27 GMT
Found a workaround - thanks to a friend - for this bug. You have to add amd_iommu=off in grub command line. Weird!
Comment by loqs (loqs) - Tuesday, 21 February 2023, 21:31 GMT
If you revert 201007ef707a8bb5592cd07dd46fc9222c48e0b9 [1][2] which was identified as the cause in [3][4] can you then boot with amd_iommu=on ?

[1] https://drive.google.com/file/d/1JNdi0TuzvEwWUXv8BCJoM-x66IFd6qdP/view?usp=share_link linux-6.2.arch1-1.1-x86_64.pkg.tar.zst
[2] https://drive.google.com/file/d/1lNc5GU2sOgpga6JHciWwpaUtjOMQScPA/view?usp=share_link linux-headers-6.2.arch1-1.1-x86_64.pkg.tar.zst
[3] https://gitlab.freedesktop.org/drm/amd/-/issues/2319
[4] https://bugzilla.kernel.org/show_bug.cgi?id=216865
Comment by Frederic Bezies (fredbezies) - Wednesday, 22 February 2023, 07:43 GMT
I installed your modified kernel, remove amd_iommu=off in /etc/default/grub, generated a new /boot/grub/grub.cfg file.

When I tried to boot, it worked flawlessly. So it is OK for me.
Comment by loqs (loqs) - Wednesday, 22 February 2023, 12:29 GMT Comment by Frederic Bezies (fredbezies) - Thursday, 23 February 2023, 08:28 GMT
It works perfectly. Can't wait to see it landing in testing repository.
Comment by Toolybird (Toolybird) - Friday, 24 February 2023, 02:58 GMT
Thank you @loqs for working on this one! Hopefully these patches will find their way into the stable tree soon...

Loading...