0

I'm using Ubuntu 22.04LTS i followed the instructions from another post: how can I use "amdgpu" instead of "radeon" drivers on 20.04? But after rebooting I'm welcomed by this (see image) Console output before system freezes

Also i can see this weird line, probably related to the kernel driver: Weird graphical glitch

The output of the command: lspci -k | grep -EA3 'VGA|3D|Display' is

00:01.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Mullins [Radeon R4/R5 Graphics] (rev 05)
    DeviceName: Onboard IGD
    Subsystem: Hewlett-Packard Company Mullins [Radeon R4/R5 Graphics]
    Kernel driver in use: Radeon

I'm certain that my APU (AMD A8-6410 APU with Radeon R5 M330) is compatible with AMDGPU because i used it in Ubuntu 20.04LTS and in other distros like PopOS, but for some reason in Ubunut 22.04LTS im having issues with it.

General laptop Specs: enter image description here

Any assistance will be much appreciated (also sorry if my English is bad, I'm not a native speaker)

1 Answers1

2

just to share a workaround for this issue, because after digging up for a bit i realized that the kernel 5.19 has issues with legacy AMD hardware (2015 and early) that tried to use the AMDGPU kernel driver which crashes your system on boot up.

What i did was simply upgrade my kernel to 6.2.9-060209-generic by following the steps shared here: https://askubuntu.com/a/1388117/236992 In my case i used the shell script and it worked:

rodrigoal@rodrigoal-HP-Pavilion-14-Notebook-PC:~$ uname -r
6.2.9-060209-generic

Afterwards i edited my grub file: sudo gedit /etc/default/grub

I added the following after the "quiet splash" radeon.cik_support=0 amdgpu.cik_support=1 amdgpu.dc=1"

It looked like this:

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash radeon.cik_support=0 amdgpu.cik_support=1 amdgpu.dc=1"

For my hardware is was cik because my integrated gpu is a Radeon R5 M330.

Once that was done, i saved the edit and executed the following command:

sudo update-grub2

Once it finishes you reboot your PC/laptop.

Now the output of the command lspci -k | grep -EA3 'VGA|3D|Display' should be like mine:

00:01.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Mullins [Radeon R4/R5 Graphics] (rev 05)
    DeviceName: Onboard IGD
    Subsystem: Hewlett-Packard Company Mullins [Radeon R4/R5 Graphics]
    Kernel driver in use: amdgpu

Hope this helps anyone else who suffers from the same issue.