Fedora 38 - Kernel 6.3.X - AMDGPU Display Not Working Correctly

lscpu;
Model name: AMD Ryzen 7 5700G with Radeon Graphics

Since kernel 6.3.x release my system boots up into a corrupt video mode as the only way to describe it. The text mode, graphical mode, even the ASUS screen when restarting is affected. The last known working kernel is 6.2.15-300.

The system appears to work fine other than the display is corrupt and nearly unusable.

Uploading image of restart screen as example of what is happening as it is very difficult to describe.

Any ideas?

1 Like

My setting:

$ inxi --cpu --graphics --system

System:
  Host: ****** Kernel: 6.3.7-100.fc37.x86_64 arch: x86_64 bits: 64
    Console: pty pts/0 Distro: Fedora release 37 (Thirty Seven)
CPU:
  Info: 6-core model: AMD Ryzen 5 5600G with Radeon Graphics bits: 64
    type: MT MCP cache: L2: 3 MiB
  Speed (MHz): avg: 1608 min/max: 1400/4464 cores: 1: 1400 2: 1400 3: 1400
    4: 1400 5: 1400 6: 1400 7: 3900 8: 1400 9: 1400 10: 1400 11: 1400 12: 1400
Graphics:
  Device-1: AMD Cezanne [Radeon Vega Series / Radeon Mobile Series]
    driver: amdgpu v: kernel
  Device-2: Logitech HD Pro Webcam C920 driver: snd-usb-audio,uvcvideo
    type: USB
  Display: server: X.Org v: 22.1.9 with: Xwayland v: 22.1.9 driver: X:
    loaded: amdgpu unloaded: fbdev,modesetting,vesa dri: radeonsi gpu: amdgpu
    resolution: 3840x2160~60Hz
  API: OpenGL v: 4.6 Mesa 23.0.3 renderer: AMD Radeon Graphics (renoir LLVM
    15.0.7 DRM 3.52 6.3.7-100.fc37.x86_64)

I’m not having that issue on kernel 6.3.7 (on FC37). What specific version of the kernel you have? Could you please run the same command I used?

Thanks for the response.

Here is the output on the working 6.2 kernel.

$ inxi --cpu --graphics --system
System:
  Host: ***** Kernel: 6.2.15-300.fc38.x86_64 arch: x86_64 bits: 64
    Desktop: GNOME v: 44.2 Distro: Fedora release 38 (Thirty Eight)
CPU:
  Info: 8-core model: AMD Ryzen 7 5700G with Radeon Graphics bits: 64
    type: MT MCP cache: L2: 4 MiB
  Speed (MHz): avg: 1712 min/max: 1400/4672 cores: 1: 1400 2: 1400 3: 1400
    4: 2566 5: 1400 6: 1400 7: 1400 8: 1400 9: 2840 10: 1400 11: 1400 12: 1400
    13: 1400 14: 1400 15: 3800 16: 1400
Graphics:
  Device-1: AMD Cezanne [Radeon Vega Series / Radeon Mobile Series]
    driver: amdgpu v: kernel
  Device-2: Anker PowerConf C200
    driver: hid-generic,snd-usb-audio,usbhid,uvcvideo type: USB
  Display: wayland server: X.Org v: 22.1.9 with: Xwayland v: 22.1.9
    compositor: gnome-shell driver: dri: radeonsi gpu: amdgpu
    resolution: 1920x1200~60Hz
  API: OpenGL v: 4.6 Mesa 23.1.2 renderer: AMD Radeon Graphics (renoir LLVM
    16.0.5 DRM 3.49 6.2.15-300.fc38.x86_64)

All 6.3 kernels have been affected by this. Currently 6.3.6 and 6.3.7 kernels are installed.

Sorry, Geoff, I have been super busy. When you switch to kernel 6.3, what information about the Graphics API you get?
This part but when you boot with a 6.3 kernel:

API: OpenGL v: 4.6 Mesa 23.1.2 renderer: AMD Radeon Graphics (renoir LLVM
    16.0.5 DRM 3.49 6.2.15-300.fc38.x86_64)

Also, did you update from 37 to 38 or is it a clean install? If you updated from 37 to 38, did you run the rpmconf? (DNF System Upgrade :: Fedora Docs)

Is the issue the same when logging in using xorg as it is with wayland.

Yes, this is an upgrade from 37 to 38. It’s a new install of 37 from about February. I did not run rpmconf, it is not installed.

Output under 6.3.7 kernel.

System:
  Host: beefy Kernel: 6.3.7-200.fc38.x86_64 arch: x86_64 bits: 64
    Desktop: GNOME v: 44.2 Distro: Fedora release 38 (Thirty Eight)
CPU:
  Info: 8-core model: AMD Ryzen 7 5700G with Radeon Graphics bits: 64
    type: MT MCP cache: L2: 4 MiB
  Speed (MHz): avg: 1669 min/max: 1400/4672 cores: 1: 1400 2: 1400 3: 1400
    4: 1400 5: 2992 6: 1400 7: 1400 8: 1400 9: 1400 10: 1400 11: 2527 12: 1400
    13: 2994 14: 1400 15: 1400 16: 1400
Graphics:
  Device-1: AMD Cezanne [Radeon Vega Series / Radeon Mobile Series]
    driver: amdgpu v: kernel
  Device-2: Anker PowerConf C200
    driver: hid-generic,snd-usb-audio,usbhid,uvcvideo type: USB
  Display: x11 server: X.Org v: 1.20.14 with: Xwayland v: 22.1.9 driver: X:
    loaded: amdgpu unloaded: fbdev,modesetting,vesa dri: radeonsi gpu: amdgpu
    resolution: 1920x1200~60Hz
  API: OpenGL v: 4.6 Mesa 23.1.2 renderer: AMD Radeon Graphics (renoir LLVM
    16.0.5 DRM 3.52 6.3.7-200.fc38.x86_64)

This is what I am dealing with logged in with 6.3.x kernels.

Text mode is also affected.

It appears to be in this mode until the system resets. This is the ASUS screen when I restart as it’s shutting down. When the system resets it’s back to normal until the 6.3.x login screen appears.

You should try running rpmconf in case there is some configuration that it is messing up the rendering.

# install
sudo dnf install rpmconf
# run and follow the instructions
sudo rpmconf -a

Do you have any logs from the kernel showing errors or warnings?

sudo journalctl -b 0 --grep "amdgpu"

Good places where you can look for bugs or similar problem, and hopefully a workaround, is the project pages issue list, for example,

MESA project:

a possibly related issue: RadeonSI: glthread causes various graphical glitching on GNOME (#9141) · Issues · Mesa / mesa · GitLab

AMDGPU project:

When you search for your issues in those project pages, using terms from your logs (journatctl) can help you find relevant issues.

I have not had a deeper look on your elaborations, but there are fixes with regards to amdgpu in 6.3.8 while the related bugs are from kernels after 6.2.15. If you want to test it immediately, check out https://bodhi.fedoraproject.org/updates/FEDORA-2023-0d0eb153c9 → it is currently in testing and has already many positive results, so I assume it will be pushed to stable soon (if no issues come up, I expect beginning of next week).

Also, please check the tag kernel in case you can profit from some of the other topics (I added the tag to your topic here as well). If the issue can be enabled and disabled by switching kernels, then an origin in the kernel is likely.

I know your issue differs from the related bug-reports/ask.fedora-topics, but you could still try to boot once with module_blacklist=ucsi_acpi → maybe some modifications/drivers/configurations just make your system to create different “symptoms”, which is not unlikely when the actual bug is low level.

If module_blacklist=ucsi_acpi mitigates your issue, it can be expected that 6.3.8 will solve it permanently (module_blacklist=ucsi_acpi is not a permanent solution).

If 6.3.8 does not solve your issue, I suggest to open a bug report: Log in to Red Hat Bugzilla → please read the instructions carefully, elaborate the issue precisely and provide what is asked for in order to foster quick solving.

Thanks for your response.

6.3.8 did not solve the issue. Same distorted green display.

Thanks for the response.

I ran rpmconf and only OpenJDK and CUPS configurations were the only packages with rpm new files.

Nothing in the dmesg that stands out as errors. Both 6.2 and 6.3 kernels show the same information.

I checked out the Mesa GitLab issue and noticed the reporter said that screen recording resulted in a perfectly fine video. The 6.3.X kernels work, just do not display correctly and I got similar results in that the screen recording is perfectly fine.

In a last ditch effort I dung out a Samsung TV display and it is working correctly.

So it is something to do with the display monitor I am using, which is quite old.

NOT WORKING: Gateway FHD2400. Manufactured in 2007.

WORKING: Samsung UN32EH4003F. Manufactured in 2013.

Looks like will have to get a newer monitor.

Please post a bug report → Log in to Red Hat Bugzilla

The behavior of the issue is different, and we should not automatically presume a relation, but it might be worth to mention the bug report of @blindcant (this bug report, related to this ask.fedora topic) in your report, just that the related maintainer can have a look. Both could be linked to a bug with relations to HDMI (or something else with potential for graphics impact) - @snowblind2005 I assume you are using HDMI ? Or something else? Do you know which HDMI (or whatever you use) versions the two monitors and your machine support?

Yes, I am using HDMI.

The motherboard is an ASUS PRIME X570-P. The specs state v1.4b HDMI support.

The monitors are a different story as there seems to be no way other than guessing which version they are using.