Help with Ryzen 8600g graphics

Hi everyone, I just installed my new computer with fedora 39 and I cant get proper graphics.

I know I should be using the latest amdgpu firmware from the linux firmware git (as stated in the phoronix review) but I do not know how to do that and could not find information.

Could anyone point me in the correct direction please?

Welcome to Fedora @agneau

Please have a look here Start Here to see what kind of information we do need to help you.

Laptop/Desktop ? Make/Model ?

According to the article, Phoronix is uing
Linux 6.7 kernel and Mesa 24.1-devel via the Oibaf PPA.

Post your info of these commands :

dnf list mesa*

glxinfo | grep OpenGL.version

The latest amdgpu firmware is installed by default and will be also
updated by default. AMD contributes it upstream at the kernel community
and then developers and testers bring it downstream to your Fedora. So
the tasks you are referring to are already done by others, you just have
to keep your Fedora up to date and make your release upgrade once or
twice a year (and don’t remove packages that are installed by default
unless you know for sure what you do) :wink:

Concerning your actual issue: as the others already stated, to identify
your verify issue, more information will be necessary.

1 Like

hi all sorry for the missing informations and delays,

I just assembled my new computer and installed a fedora 39 on it.

It is a custom build using an asrock b650 m2 HDV and a ryzen 5 8600G (32GB ram and a samsung M2 drive). I am using the onboard graphics.

The output of the “dnf list mesa*” command :

installed :

mesa-dri-drivers.x86_64 23.3.5-1.fc39 @updates
mesa-filesystem.x86_64 23.3.5-1.fc39 @updates
mesa-libEGL.x86_64 23.3.5-1.fc39 @updates
mesa-libGL.x86_64 23.3.5-1.fc39 @updates
mesa-libgbm.x86_64 23.3.5-1.fc39 @updates
mesa-libglapi.x86_64 23.3.5-1.fc39 @updates
mesa-libxatracker.x86_64 23.3.5-1.fc39 @updates
mesa-va-drivers-freeworld.x86_64 23.3.5-1.fc39 @rpmfusion-free-updates
mesa-vdpau-drivers-freeworld.x86_64 23.3.5-1.fc39 @rpmfusion-free-updates
mesa-vulkan-drivers.x86_64 23.3.5-1.fc39 @updates

available :

mesa-demos.x86_64 9.0.0-3.fc39 fedora
mesa-dri-drivers.i686 23.3.5-1.fc39 updates
mesa-filesystem.i686 23.3.5-1.fc39 updates
mesa-libEGL.i686 23.3.5-1.fc39 updates
mesa-libEGL-devel.i686 23.3.5-1.fc39 updates
mesa-libEGL-devel.x86_64 23.3.5-1.fc39 updates
mesa-libGL.i686 23.3.5-1.fc39 updates
mesa-libGL-devel.i686 23.3.5-1.fc39 updates
mesa-libGL-devel.x86_64 23.3.5-1.fc39 updates
mesa-libGLU.i686 9.0.3-1.fc39 fedora
mesa-libGLU.x86_64 9.0.3-1.fc39 fedora
mesa-libGLU-devel.i686 9.0.3-1.fc39 fedora
mesa-libGLU-devel.x86_64 9.0.3-1.fc39 fedora
mesa-libGLw.i686 8.0.0-26.fc39 fedora
mesa-libGLw.x86_64 8.0.0-26.fc39 fedora
mesa-libGLw-devel.i686 8.0.0-26.fc39 fedora
mesa-libGLw-devel.x86_64 8.0.0-26.fc39 fedora
mesa-libOSMesa.i686 23.3.5-1.fc39 updates
mesa-libOSMesa.x86_64 23.3.5-1.fc39 updates
mesa-libOSMesa-devel.i686 23.3.5-1.fc39 updates
mesa-libOSMesa-devel.x86_64 23.3.5-1.fc39 updates
mesa-libOpenCL.i686 23.3.5-1.fc39 updates
mesa-libOpenCL.x86_64 23.3.5-1.fc39 updates
mesa-libOpenCL-devel.i686 23.3.5-1.fc39 updates
mesa-libOpenCL-devel.x86_64 23.3.5-1.fc39 updates
mesa-libd3d.i686 23.3.5-1.fc39 updates
mesa-libd3d.x86_64 23.3.5-1.fc39 updates
mesa-libd3d-devel.i686 23.3.5-1.fc39 updates
mesa-libd3d-devel.x86_64 23.3.5-1.fc39 updates
mesa-libgbm.i686 23.3.5-1.fc39 updates
mesa-libgbm-devel.i686 23.3.5-1.fc39 updates
mesa-libgbm-devel.x86_64 23.3.5-1.fc39 updates
mesa-libglapi.i686 23.3.5-1.fc39 updates
mesa-libxatracker.i686 23.3.5-1.fc39 updates
mesa-libxatracker-devel.i686 23.3.5-1.fc39 updates
mesa-libxatracker-devel.x86_64 23.3.5-1.fc39 updates
mesa-omx-drivers.x86_64 23.3.5-1.fc39 updates
mesa-va-drivers.i686 23.3.5-1.fc39 updates
mesa-va-drivers.x86_64 23.3.5-1.fc39 updates
mesa-va-drivers-freeworld.i686 23.3.5-1.fc39 rpmfusion-free-updates
mesa-vdpau-drivers.i686 23.3.5-1.fc39 updates
mesa-vdpau-drivers.x86_64 23.3.5-1.fc39 updates
mesa-vdpau-drivers-freeworld.i686 23.3.5-1.fc39 rpmfusion-free-updates
mesa-vulkan-drivers.i686 23.3.5-1.fc39 updates
mesaflash.x86_64 3.4.9-1.20231017gitrelease.3.4.9.fc39
updates

The output of “glxinfo | grep OpenGL.version” :

MESA: error: ZINK: failed to choose pdev
glx: failed to create drisw screen
failed to load driver: zink
OpenGL version string: 4.5 (Compatibility Profile) Mesa 23.3.5

I am on an updated system (sudo dnf upgrade --refresh) so I am running the latest kernel and mesa packages in the official repository.

I found out that you could run the latest linux-firmware from git on Arch using an AUR, and though I do not expect the exact same to be possible on fedora, I wanted to know if something similar could be done to wait for proper support (and get more usable graphics for the time being…)

Thanks

Fedora provides:

amd-gpu-firmware.noarch : Firmware for AMD GPUs
amd-ucode-firmware.noarch : Microcode updates for AMD CPUs

Can you elaborate what the actual problem is? When does the problem occur? Does it always occur in the given circumstances? How does it manifest / how does it look like?

Feel free to let us know logs of a boot that contains the error and let us know at which time the issue became apparent in order to know where to start looking at in the logs: sudo journalctl --boot=0 -k
boot=0 means the logs of the current boot, so the one you are running while entering the command. If the relevant logs are those of the last boot, use instead --boot=-1 within the command
→ feel free to also give us an output of the same but without -k, which contains more information, but which also contains some information some people consider private (such as MAC addresses or usernames → feel free to anonymize if you want). But it is ok to start with -k and see if that is sufficient

Please also let us know the output of cat /proc/sys/kernel/tainted

I think we should evaluate the problem before elaborating a potential solution.

Also, additional to my comment 15 minutes ago, feel free to let us know the phoronix article which you think indicates the problem and the solution (and also the upstream patch that you think will solve your issue)

Hi,

The problem is I can’t set screen settings. Dual screen doesn’t work, my resolution is blocked at 600x800 px and I can’t change anything about the display :frowning:
I’ve attached a screenshot with this message if it can help. This problem is always here, at every moment, it’s like if my computer stays in troubleshooting mode.

The output of the “sudo journalctl --boot=0 -k” command :

https://github.com/AgneauAntoine/bootlog/blob/main/bootlogs.txt

The output of the “cat /proc/sys/kernel/tainted” command :

0

phoronix article : AMD Ryzen 7 8700G Linux Performance Review - Phoronix

The one possible caveat to be aware of may be the need to be using linux-firmware.git for having the very latest AMDGPU firmware files. Initially when I started my 8600G/8700G testing I was encountering hangs and AMDGPU errors when engaging various graphics benchmarks. Once being provided with the latest AMDGPU firmware, those problems went away. It’s not clear that all systems/motherboards will be needing the very latest firmware but in any event be aware of checking on new linux-firmware.git should you be buying one of these new processors and hit any graphics issues.

upstream patch : ???

Thanks

It seems you run a very old kernel, while your graphics card is very new. In short, your kernel is older than your card :wink: I assume you run still the kernel with which Fedora was originally installed.

You need to update your system, and you should do this regularly (at the best, daily).

Please do sudo dnf update in a terminal, proceed as dnf asks you to, and then reboot. And keep in mind that updates can be automated.

After rebooting, if the problem persists, please add a new log. Otherwise, feel free to mark a solution.

Any change on the kernel is a patch: it can be an addition but also a removal. Patches are stored and logged using git:

This indicated that you want to patch your kernel yourself from the newest git patches.

Upstream/downstream: Patches come from upstream and go downstream: from the original developer of the patch down to the maintainer of the kernel that you use.

To add just a bit to what Chris just said.
Not only is your kernel the version that was released with fedora 39 back in November, it also appears that the firmware packages installed may be the same vintage, meaning that you have missed at least 4 firmware updates (which occur about monthly) over the time since november.

A single upgrade as suggested sudo dnf upgrade will get the latest updates for all installed software, and will ensure that we are not chasing something that has already been fixed with routine updates.

Let us know the outcome and please mark the post that provides the solution if the issue is resolved.

Hi,

There was an unknown bug with my first installation. I’ve reinstall the entire system and it works fine now. I would like to thank you for your help and the time you gave me.

Thx again