AMD Graphics related glitch-inxi -G says "No advanced graphics found"

I have been using Manjaro KDE on my Laptop. Sorry the post is too long since I can’t tell my problem in short.
Here are the specs:

[nikhil2@nikhil-hpnotebook ~]$ inxi -Fxz
System:    Kernel: 5.7.14-1-MANJARO x86_64 bits: 64 compiler: gcc v: 10.1.0 Desktop: KDE Plasma 5.19.4 Distro: Manjaro Linux 
Machine:   Type: Laptop System: HP product: HP Notebook v: Type1ProductConfigId serial: <filter> 
           Mobo: HP model: 81F6 v: 66.26 serial: <filter> UEFI [Legacy]: Insyde v: F.35 date: 05/27/2019 
Battery:   ID-1: BAT1 charge: 5.7 Wh condition: 34.4/34.4 Wh (100%) model: 131-42-6E HS04041 status: Discharging 
CPU:       Topology: Quad Core model: AMD A8-7410 APU with AMD Radeon R5 Graphics bits: 64 type: MCP arch: Puma rev: 1 
           L2 cache: 2048 KiB 
           flags: avx lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm bogomips: 17574 
           Speed: 1076 MHz min/max: 1000/2200 MHz Core speeds (MHz): 1: 1076 2: 1037 3: 1045 4: 1028 
Graphics:  Device-1: Advanced Micro Devices [AMD/ATI] Mullins [Radeon R4/R5 Graphics] vendor: Hewlett-Packard driver: amdgpu 
           v: kernel bus ID: 00:01.0 
           Device-2: AMD Sun XT [Radeon HD 8670A/8670M/8690M / R5 M330 / M430 / Radeon 520 Mobile] vendor: Hewlett-Packard 
           driver: amdgpu v: kernel bus ID: 01:00.0 
           Device-3: Suyin type: USB driver: uvcvideo bus ID: 3-1.1:3 
           Display: x11 server: X.Org 1.20.8 driver: amdgpu FAILED: ati unloaded: modesetting resolution: 1366x768~60Hz 
           OpenGL: renderer: AMD Radeon Graphics v: 4.6.14752 Core Profile Context direct render: Yes 
Audio:     Device-1: Advanced Micro Devices [AMD/ATI] Kabini HDMI/DP Audio vendor: Hewlett-Packard driver: snd_hda_intel 
           v: kernel bus ID: 00:01.1 
           Device-2: Advanced Micro Devices [AMD] FCH Azalia vendor: Hewlett-Packard driver: snd_hda_intel v: kernel 
           bus ID: 00:14.2 
           Sound Server: ALSA v: k5.7.14-1-MANJARO 
Network:   Device-1: Realtek RTL8723BE PCIe Wireless Network Adapter vendor: Hewlett-Packard driver: rtl8723be v: kernel 
           port: 3000 bus ID: 02:00.0 
           IF: wlo1 state: up mac: <filter> 
           Device-2: Realtek RTL810xE PCI Express Fast Ethernet vendor: Hewlett-Packard driver: r8169 v: kernel port: 2000 
           bus ID: 03:00.0 
           IF: enp3s0 state: down mac: <filter> 
Drives:    Local Storage: total: 931.51 GiB used: 72.84 GiB (7.8%) 
           ID-1: /dev/sda vendor: Western Digital model: WD10JPVX-60JC3T0 size: 931.51 GiB 
Partition: ID-1: / size: 392.72 GiB used: 72.84 GiB (18.5%) fs: ext4 dev: /dev/sda3 
Swap:      ID-1: swap-1 type: file size: 2.00 GiB used: 3.3 MiB (0.2%) file: /swapfile 
Sensors:   System Temperatures: cpu: 58.1 C mobo: 20.0 C 
           Fan Speeds (RPM): N/A 
           GPU: device: amdgpu temp: 52 C device: amdgpu temp: 60 C 
Info:      Processes: 187 Uptime: 29m Memory: 3.32 GiB used: 1.43 GiB (43.2%) Init: systemd Compilers: gcc: 10.1.0 
           Packages: 1421 Shell: Bash v: 5.0.18 inxi: 3.1.05 

Now initially I was using Radeon driver instead of amdgpu but the driver caused my system to freeze. After reading Archwiki I swapped the radeon driver for amdgpu. Now all the lags are over and the system feels more responsive but when I ran Gfxbench to test the GPU performance ,every time it doesn’t run any of the tests. It ran fine on the Radeon driver. So I installed amdgpu-proopengl (don’t know the actual package name) and vulkan amdgpu-pro package from AUR and now gfxbench ran well but it failed to load when I ran with DRI_PRIME command. It showed some segmentation fault error. Here are GPU details:

[nikhil2@nikhil-hpnotebook ~]$ DRI_PRIME=1 inxi -G
sh: line 1: 55245 Segmentation fault      (core dumped) /sbin/glxinfo 2> /dev/null
Graphics:
  Device-1: AMD Mullins [Radeon R4/R5 Graphics] driver: amdgpu v: kernel 
  Device-2: AMD Sun XT [Radeon HD 8670A/8670M/8690M / R5 M330 / M430 / Radeon 520 
  Mobile] 
  driver: amdgpu v: kernel 
  Device-3: Suyin type: USB driver: uvcvideo 
  Display: x11 server: X.Org 1.20.8 driver: amdgpu FAILED: ati unloaded: modesetting 
  resolution: 1366x768~60Hz 
  Message: No advanced graphics data found on this system. 

Here is the info for integrated one:

[nikhil2@nikhil-hpnotebook ~]$ inxi -G
Graphics:
  Device-1: AMD Mullins [Radeon R4/R5 Graphics] driver: amdgpu v: kernel 
  Device-2: AMD Sun XT [Radeon HD 8670A/8670M/8690M / R5 M330 / M430 / Radeon 520 
  Mobile] 
  driver: amdgpu v: kernel 
  Device-3: Suyin type: USB driver: uvcvideo 
  Display: x11 server: X.Org 1.20.8 driver: amdgpu FAILED: ati unloaded: modesetting 
  resolution: 1366x768~60Hz 

I want to stay with the configuration since it benefits me but I also want to play games on it. The benchmarks for the amdgpu on integrated one are better than with radeon on same.
Here’s the /etc/default/grub if it helps:

GRUB_DEFAULT=saved
GRUB_TIMEOUT=10
GRUB_TIMEOUT_STYLE=menu
GRUB_DISTRIBUTOR="Manjaro"
GRUB_CMDLINE_LINUX_DEFAULT="radeon.cik_support=0 amdgpu.cik_support=1 radeon.si_support=0 amdgpu.si_support=1 acpi_backlight=vendor modprobe.blacklist=radeon"
GRUB_CMDLINE_LINUX=""

# If you want to enable the save default function, uncomment the following
# line, and set GRUB_DEFAULT to saved.
GRUB_SAVEDEFAULT=true

# Preload both GPT and MBR modules so that they are not missed
GRUB_PRELOAD_MODULES="part_gpt part_msdos"

# Uncomment to enable booting from LUKS encrypted devices
#GRUB_ENABLE_CRYPTODISK=y

# Uncomment to use basic console
GRUB_TERMINAL_INPUT=console

# Uncomment to disable graphical terminal
#GRUB_TERMINAL_OUTPUT=console

# The resolution used on graphical terminal
# note that you can use only modes which your graphic card supports via VBE
# you can see them in real GRUB with the command 'videoinfo'
GRUB_GFXMODE=auto

# Uncomment to allow the kernel use the same resolution used by grub
GRUB_GFXPAYLOAD_LINUX=keep

# Uncomment if you want GRUB to pass to the Linux kernel the old parameter
# format "root=/dev/xxx" instead of "root=/dev/disk/by-uuid/xxx"
#GRUB_DISABLE_LINUX_UUID=true

# Uncomment to disable generation of recovery mode menu entries
GRUB_DISABLE_RECOVERY=true

# Uncomment and set to the desired menu colors.  Used by normal and wallpaper
# modes only.  Entries specified as foreground/background.
GRUB_COLOR_NORMAL="light-gray/black"
GRUB_COLOR_HIGHLIGHT="green/black"

# Uncomment one of them for the gfx desired, a image background or a gfxtheme
#GRUB_BACKGROUND="/usr/share/grub/background.png"
GRUB_THEME="/usr/share/grub/themes/manjaro/theme.txt"

# Uncomment to get a beep at GRUB start
#GRUB_INIT_TUNE="480 440 1"

Thanks in advance for any help.

Can anyone help me out. Sorry for repeating but I thought maybe you missed the post. I searched about it on web too but this problem is only mentioned of nvidia cards and not amd so it wont help me.
Also in the System info previously it showed AMD Kabini DRM3.37 but now it shows only AMD Radeon Graphics.
Previously using dri prime, inxi -G showed AMD Radeon R5 M330(although I have Radeon R5 M430 GPU) but now it is unable to recognize it.

pacman -Qqs amdgpu

inxi does not support DRI_PRIME as far as I know
your first inxi report shows that the card is detected and uses the amdgpu driver. The name means nothing :wink:

Try
DRI_PRIME=1 glxinfo | grep Device compared to glxinfo | grep Device

edit: Thanks to @cscs reply I noticed that part:

that is acutally bad. graphic driver related stuff from the AUR breaks Manjaros driver management. Undo those changes.

2 Likes

I tried it but no output is displayed

I edited my reply.

the amdgpu-pro driver is a very bad idea. It is only supported on enterprise distributions like RHEL/CentOS and UbuntuLTS and has worse performance compared to the regular open source drivers. You can get the regular amdgpu driver working on your cards without borking your installation if you really need to.

Ok, I removed them. Thanks @BS86 and @cscs for the reply. Just installing the amdgpu one.

mhwd-amdgpu
xf86-video-amdgpu

This is displayed when I run:

pacman -Qqs amdgpu

But now Benchmark tests or games won’t run as I mentioned in the prior context.
When I run it just freezes the screen and I have to force reboot it through tty2

Just now when I tried to run gfxbench it was hung. Even tty did not respond and so had to hard reset it :slightly_frowning_face:

what is the output of inxi now?

What does
DRI_PRIME=1 glxinfo | grep Device compared to glxinfo | grep Device
now say?

[nikhil2@nikhil-hpnotebook ~]$ DRI_PRIME=1 glxinfo | grep Device
Device: AMD Radeon (TM) R5 M330 (HAINAN, DRM 3.38.0, 5.8.0-2-MANJARO, LLVM 10.0.1) (0x6660)

[nikhil2@nikhil-hpnotebook ~]$ glxinfo | grep Device
Device: AMD KABINI (DRM 3.38.0, 5.8.0-2-MANJARO, LLVM 10.0.1) (0x9851)

Can you please check the Grub configuration I posted above too. My CPU is recognised as AMD Mullins(GCN 2) and the integrated GPU as Kabini (GCN 2) while I have dedicated Radeon R5 M430 but it recognises it as Radeon R5 M330. I doubt if I edited the grub_defaul_linux line wrong.

post the output of inxi :wink:
if it says amdgpu is used, everything is ok.

that shows that the switch is working.

Ok :slight_smile:

    [nikhil2@nikhil-hpnotebook ~]$ inxi
CPU: Quad Core AMD A8-7410 APU with AMD Radeon R5 Graphics (-MCP-) speed/min/max: 1003/1000/2200 MHz 
Kernel: 5.8.0-2-MANJARO x86_64 Up: 22m Mem: 1580.1/3392.7 MiB (46.6%) Storage: 931.51 GiB (7.8% used) 
Procs: 194 Shell: inxi: 3.1.05

that inxi report is the wrong one. I thought about using the same commands that you used in the first post, or alternatively inxi -Gxz

   Graphics:  Device-1: AMD Mullins [Radeon R4/R5 Graphics] vendor: Hewlett-Packard driver: amdgpu v: kernel 
           bus ID: 00:01.0 
           Device-2: AMD Sun XT [Radeon HD 8670A/8670M/8690M / R5 M330 / M430 / Radeon 520 Mobile] 
           vendor: Hewlett-Packard driver: amdgpu v: kernel bus ID: 01:00.0 
           Device-3: Suyin type: USB driver: uvcvideo bus ID: 3-1.1:3 
           Display: x11 server: X.Org 1.20.8 driver: amdgpu FAILED: ati unloaded: modesetting 
           resolution: 1366x768~60Hz 
           OpenGL: renderer: AMD KABINI (DRM 3.38.0 5.8.0-2-MANJARO LLVM 10.0.1) v: 4.6 Mesa 20.1.5 
           direct render: Yes
    [nikhil2@nikhil-hpnotebook ~]$ DRI_PRIME=1 inxi -Gxz
Graphics:  Device-1: AMD Mullins [Radeon R4/R5 Graphics] vendor: Hewlett-Packard driver: amdgpu v: kernel 
           bus ID: 00:01.0 
           Device-2: AMD Sun XT [Radeon HD 8670A/8670M/8690M / R5 M330 / M430 / Radeon 520 Mobile] 
           vendor: Hewlett-Packard driver: amdgpu v: kernel bus ID: 01:00.0 
           Device-3: Suyin type: USB driver: uvcvideo bus ID: 3-1.1:3 
           Display: x11 server: X.Org 1.20.8 driver: amdgpu FAILED: ati unloaded: modesetting 
           resolution: 1366x768~60Hz 
           OpenGL: renderer: AMD Radeon R5 M330 (HAINAN DRM 3.38.0 5.8.0-2-MANJARO LLVM 10.0.1) 
           v: 4.6 Mesa 20.1.5 direct render: Yes 

I posted this too if it helps :smiley:

looks like everything is working fine. You just need to tell games to run on the dedicated card with the DRI_PRIME=1 command.

I recently just 3-4 minutes back ran Gfxbench it ran fine using the integrated one but when I tried using the DRI_PRIME=1 the T-Rex benchmark froze and unfortunately I had to hard reset it. I don’t want to hard reset my laptop 10 times every day :slightly_frowning_face: