No output to AMD GPU (AMD/AMD)

APU: Ryzen 7 5700G
GPU: RX 6600 8GB
MB: B550-i
Kernel: 5.15.41-1-MANJARO
Driver: video-linux

I have Manjaro KDE Plasma installed, but everytime I try to output through my AMD GPU, but it’s a black screen. I dual boot with windows on another drive and know it’s not the graphics card. My integrated graphics works fine. After starting up my PC into Manjaro the GPU fans are not on and if I switch to my dGPU outputs after boot the desktop and games are very sluggish running at 10 FPS. Are there other steps I have to do to use the dGPU at full performance?

I am also new to linux. Only been using for about a year.

03:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Navi 23 [Radeon RX 6600/6600 XT/6600M] (rev c7)
        Subsystem: Tul Corporation / PowerColor Device 2413
        Kernel driver in use: amdgpu
        Kernel modules: amdgpu

lspci | grep -i vga
03:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Navi 23 [Radeon RX 6600/6600 XT/6600M] (rev c7)
0b:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Cezanne (rev c8)
xrandr --listproviders
Providers: number : 2
Provider 0: id: 0x54 cap: 0xf, Source Output, Sink Output, Source Offload, Sink Offload crtcs: 4 outputs: 2 associated providers: 1 name:Unknown AMD Radeon GPU @ pci:0000:0b:00.0
Provider 1: id: 0x94 cap: 0xf, Source Output, Sink Output, Source Offload, Sink Offload crtcs: 5 outputs: 4 associated providers: 1 name:Unknown AMD Radeon GPU @ pci:0000:03:00.0
glxinfo | grep "OpenGL renderer"
OpenGL renderer string: AMD RENOIR (LLVM 13.0.1, DRM 3.42, 5.15.41-1-MANJARO)
inxi
CPU: 8-core AMD Ryzen 7 5700G with Radeon Graphics (-MT MCP-)
speed/min/max: 2270/1400/4672 MHz Kernel: 5.15.41-1-MANJARO x86_64 Up: 9m
Mem: 1927.6/15349.5 MiB (12.6%) Storage: 1.82 TiB (19.8% used) Procs: 366
Shell: Zsh inxi: 3.3.17
mhwd -li
> Installed PCI configs:
--------------------------------------------------------------------------------
                  NAME               VERSION          FREEDRIVER           TYPE
--------------------------------------------------------------------------------
           video-linux            2018.05.04                true            PCI


Warning: No installed USB configs!

can you return

inxi -Fza

can you add these kernels

sudo mhwd-kernel - i linux517
sudo mhwd-kernel - i linux518

update your Grub menu

GRUB_TIMEOUT_STYLE=menu

sudo nano /etc/default/grub
sudo update-grub

add theses options on boot
update your Grub menu

GRUB_TIMEOUT_STYLE=menu

sudo nano /etc/default/grub
sudo update-grub

on line GRUB_CMDLINE_LINUX_DEFAULT=
add theses options
“amd_iommu=on iommu=pt processor.max_cstate=5 rcu_nocbs=0_11 systemd.unified_cgroup_hierarchy=true scsi_mod.use_blk_mq=1”

see this for your video card
https://bbs.archlinux.org/viewtopic.php?pid=2003723#p2003723

I did happen to change the kernel to 5.10 going off someone else’s solution (which didn’t help for my case), but now I can see my GPU in xrandr --listprovider. Here’s the inxi -Fza:

System:
  Kernel: 5.10.117-1-MANJARO arch: x86_64 bits: 64 compiler: gcc v: 12.1.0
    parameters: BOOT_IMAGE=/boot/vmlinuz-5.10-x86_64
    root=UUID=2ccab4d3-af93-4e78-88db-fec83a9d7600 rw quiet apparmor=1
    security=apparmor udev.log_priority=3
  Desktop: KDE Plasma v: 5.24.5 tk: Qt v: 5.15.4 wm: kwin_x11 vt: 1
    dm: SDDM Distro: Manjaro Linux base: Arch Linux
Machine:
  Type: Desktop System: ASUS product: N/A v: N/A serial: <superuser required>
  Mobo: ASUSTeK model: ROG STRIX B550-I GAMING v: Rev X.0x
    serial: <superuser required> UEFI: American Megatrends v: 2423
    date: 08/11/2021
Battery:
  Device-1: hidpp_battery_0
    model: Logitech G305 Lightspeed Wireless Gaming Mouse serial: <filter>
    charge: 100% (should be ignored) rechargeable: yes status: discharging
CPU:
  Info: model: AMD Ryzen 7 5700G with Radeon Graphics bits: 64 type: MT MCP
    arch: Zen 3 gen: 4 built: 2021-22 process: TSMC n7 (7nm) family: 0x19 (25)
    model-id: 0x50 (80) stepping: 0 microcode: 0xA50000C
  Topology: cpus: 1x cores: 8 tpc: 2 threads: 16 smt: enabled cache:
    L1: 512 KiB desc: d-8x32 KiB; i-8x32 KiB L2: 4 MiB desc: 8x512 KiB
    L3: 16 MiB desc: 1x16 MiB
  Speed (MHz): avg: 1954 high: 2993
    min/max: 1400/5091:5514:4813:4672:5232:4950:5373 boost: enabled scaling:
    driver: acpi-cpufreq governor: schedutil cores: 1: 1902 2: 1545 3: 1601
    4: 2235 5: 1430 6: 1772 7: 1396 8: 1564 9: 2993 10: 2395 11: 2395
    12: 2395 13: 2083 14: 2068 15: 2088 16: 1413 bogomips: 121416
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
  Vulnerabilities:
  Type: itlb_multihit status: Not affected
  Type: l1tf status: Not affected
  Type: mds status: Not affected
  Type: meltdown status: Not affected
  Type: spec_store_bypass
    mitigation: Speculative Store Bypass disabled via prctl and seccomp
  Type: spectre_v1
    mitigation: usercopy/swapgs barriers and __user pointer sanitization
  Type: spectre_v2 mitigation: Retpolines, IBPB: conditional, IBRS_FW,
    STIBP: always-on, RSB filling
  Type: srbds status: Not affected
  Type: tsx_async_abort status: Not affected
Graphics:
  Device-1: AMD Navi 23 [Radeon RX 6600/6600 XT/6600M]
    vendor: Tul / PowerColor driver: N/A arch: RDNA 2 process: TSMC n7 (7nm)
    built: 2020-22 pcie: gen: 4 speed: 16 GT/s lanes: 16 bus-ID: 03:00.0
    chip-ID: 1002:73ff class-ID: 0300
  Device-2: AMD Cezanne vendor: ASUSTeK driver: amdgpu v: kernel
    arch: GCN 5.1 process: TSMC n7 (7nm) built: 2018-21 pcie: gen: 3
    speed: 8 GT/s lanes: 16 link-max: gen: 4 speed: 16 GT/s ports:
    active: DP-1 empty: HDMI-A-1 bus-ID: 0b:00.0 chip-ID: 1002:1638
    class-ID: 0300
  Display: x11 server: X.Org v: 21.1.3 compositor: kwin_x11 driver: X:
    loaded: amdgpu unloaded: modesetting,radeon alternate: fbdev,vesa
    gpu: amdgpu display-ID: :0 screens: 1
  Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 508x285mm (20.00x11.22")
    s-diag: 582mm (22.93")
  Monitor-1: DP-1 mapped: DisplayPort-0 model: Samsung S27R35x
    serial: <filter> built: 2021 res: 1920x1080 hz: 60 dpi: 82 gamma: 1.2
    size: 598x336mm (23.54x13.23") diag: 686mm (27") ratio: 16:9 modes:
    max: 1920x1080 min: 720x400
  OpenGL: renderer: AMD RENOIR (LLVM 13.0.1 DRM 3.40 5.10.117-1-MANJARO)
    v: 4.6 Mesa 22.0.4 direct render: Yes
Audio:
  Device-1: AMD Navi 21/23 HDMI/DP Audio driver: snd_hda_intel v: kernel
    pcie: gen: 4 speed: 16 GT/s lanes: 16 bus-ID: 03:00.1 chip-ID: 1002:ab28
    class-ID: 0403
  Device-2: AMD Renoir Radeon High Definition Audio vendor: ASUSTeK
    driver: snd_hda_intel v: kernel pcie: gen: 3 speed: 8 GT/s lanes: 16
    link-max: gen: 4 speed: 16 GT/s bus-ID: 0b:00.1 chip-ID: 1002:1637
    class-ID: 0403
  Device-3: AMD Family 17h/19h HD Audio vendor: ASUSTeK
    driver: snd_hda_intel v: kernel pcie: gen: 3 speed: 8 GT/s lanes: 16
    link-max: gen: 4 speed: 16 GT/s bus-ID: 0b:00.6 chip-ID: 1022:15e3
    class-ID: 0403
  Sound Server-1: ALSA v: k5.10.117-1-MANJARO running: yes
  Sound Server-2: JACK v: 1.9.21 running: no
  Sound Server-3: PulseAudio v: 15.0 running: yes
  Sound Server-4: PipeWire v: 0.3.51 running: yes
Network:
  Device-1: Intel Wi-Fi 6 AX200 driver: iwlwifi v: kernel pcie: gen: 2
    speed: 5 GT/s lanes: 1 bus-ID: 08:00.0 chip-ID: 8086:2723 class-ID: 0280
  IF: wlp8s0 state: down mac: <filter>
  Device-2: Intel Ethernet I225-V vendor: ASUSTeK driver: igc v: kernel
    pcie: gen: 2 speed: 5 GT/s lanes: 1 port: N/A bus-ID: 09:00.0
    chip-ID: 8086:15f3 class-ID: 0200
  IF: enp9s0 state: up speed: 2500 Mbps duplex: full mac: <filter>
Bluetooth:
  Device-1: Intel AX200 Bluetooth type: USB driver: btusb v: 0.8
    bus-ID: 1-5:3 chip-ID: 8087:0029 class-ID: e001
  Report: rfkill ID: hci0 rfk-id: 1 state: up address: see --recommends
Drives:
  Local Storage: total: 1.82 TiB used: 11.17 GiB (0.6%)
  SMART Message: Unable to run smartctl. Root privileges required.
  ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Western Digital
    model: WD BLACK SN770 1TB size: 931.51 GiB block-size: physical: 512 B
    logical: 512 B speed: 63.2 Gb/s lanes: 4 type: SSD serial: <filter>
    rev: 731030WD temp: 49.9 C scheme: GPT
  ID-2: /dev/nvme1n1 maj-min: 259:3 vendor: Western Digital
    model: WD BLACK SN770 1TB size: 931.51 GiB block-size: physical: 512 B
    logical: 512 B speed: 63.2 Gb/s lanes: 4 type: SSD serial: <filter>
    rev: 731030WD temp: 34.9 C scheme: GPT
Partition:
  ID-1: / raw-size: 931.22 GiB size: 915.53 GiB (98.32%)
    used: 11.17 GiB (1.2%) fs: ext4 dev: /dev/nvme0n1p2 maj-min: 259:2
  ID-2: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%)
    used: 288 KiB (0.1%) fs: vfat dev: /dev/nvme0n1p1 maj-min: 259:1
Swap:
  Alert: No swap data was found.
Sensors:
  System Temperatures: cpu: N/A mobo: N/A gpu: amdgpu temp: 37.0 C
  Fan Speeds (RPM): N/A
Info:
  Processes: 365 Uptime: 1m wakeups: 3 Memory: 14.99 GiB
  used: 1.64 GiB (10.9%) Init: systemd v: 250 default: graphical
  tool: systemctl Compilers: gcc: 12.1.0 clang: 13.0.1 Packages: pacman: 1222
  lib: 338 flatpak: 0 Shell: Zsh v: 5.9 default: Bash v: 5.1.16
  running-in: konsole inxi: 3.3.17

Also trying the link you posted now

When pasting terminal output, add three backticks ` OR 3 tilde ~ above and below the text:

text

I did it this time for you. Please do it like this in the future.

Thank you :bowing_man:

Okay yeah for sure! Sorry about that new to the forum will make sure in the future.

Well anyways after following that link I see that I’m in 3D_FULL_SCREEN and here’s the cat command output:

 0 BOOTUP_DEFAULT :
                    0(       GFXCLK)       0       5       1       0       4     800 4587520  -65536       0
                    1(       SOCCLK)       0       5       1       0       1       0 3276800   -6553   -6553
                    2(        MEMLK)       0       5       1       0       4     800  327680  -65536       0
 1 3D_FULL_SCREEN*:
                    0(       GFXCLK)       0       5       1       0       4     650 4587520   -3276  -65536
                    1(       SOCCLK)       0       5       1       0       1       0  655360   -6553   -6553
                    2(        MEMLK)       0       5       4     850       4     800  327680  -65536       0
 2   POWER_SAVING :
                    0(       GFXCLK)       0       5       1       0       3       0 5898240  -65536       0
                    1(       SOCCLK)       0       5       1       0       1       0 3407872   -6553   -6553
                    2(        MEMLK)       0       5       1       0       3       0 1966080  -65536       0
 3          VIDEO :
                    0(       GFXCLK)       0       5       1       0       4     500 4587520  -65536       0
                    1(       SOCCLK)       0       5       1       0       1       0 3473408   -6553   -6553
                    2(        MEMLK)       0       5       1       0       4     500 1966080  -65536       0
 4             VR :
                    0(       GFXCLK)       0       5       4    1000       1       0 3932160       0       0
                    1(       SOCCLK)       0       5       1       0       1       0  655360   -6553   -6553
                    2(        MEMLK)       0       5       1       0       4     800  327680  -65536       0
 5        COMPUTE :
                    0(       GFXCLK)       0       5       4    1000       1       0 3932160       0       0
                    1(       SOCCLK)       0       5       1       0       1       0  655360   -6553   -6553
                    2(        MEMLK)       0       5       4     850       3       0  327680  -65536  -32768
 6         CUSTOM :
                    0(       GFXCLK)       0       5       1       0       4     800 4587520  -65536       0
                    1(       SOCCLK)       0       5       1       0       1       0 3276800   -6553   -6553
                    2(        MEMLK)       0       5       1       0       4     800  327680  -65536       0

I will say that even though my mouse does not lag everything in my desktop lags if using my dGPU output.

1 Like

Its a bit strange here:

Looks like the driver was not loaded for the internal GPU. driver: N/A

But here it is loaded?

Ok both must work… maybe try to create xorg config like this:
File: /etc/X11/xorg.conf.d/20-amdgpu.conf

Section "Device"
	Identifier	"Navi23"
	driver		"amdgpu"
	BusID		"PCI:3:0:0"
EndSection

Section "Device"
	Identifier	"Cezanne"
	driver		"amdgpu"
	BusID		"PCI:11:0:0"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Navi23"
EndSection

Section "Screen"
    Identifier     "Screen1"
    Device         "Cezanne"
EndSection

Also worth to look at:

journalctl --dmesg --boot 0 --no-hostname --no-pager
cat /var/log/Xorg.0.log
Jun 11 00:39:49 kernel: Linux version 5.18.0-1-MANJARO (builduser@fv-az460-98) (gcc (GCC) 12.1.0, GNU ld (GNU Binut>
Jun 11 00:39:49 kernel: Command line: BOOT_IMAGE=/boot/vmlinuz-5.18-x86_64 root=UUID=2ccab4d3-af93-4e78-88db-fec83a>
Jun 11 00:39:49 kernel: x86/fpu: Supporting XSAVE feature 0x001: 'x87 floating point registers'
Jun 11 00:39:49 kernel: x86/fpu: Supporting XSAVE feature 0x002: 'SSE registers'
Jun 11 00:39:49 kernel: x86/fpu: Supporting XSAVE feature 0x004: 'AVX registers'
Jun 11 00:39:49 kernel: x86/fpu: Supporting XSAVE feature 0x200: 'Protection Keys User registers'
Jun 11 00:39:49 kernel: x86/fpu: xstate_offset[2]:  576, xstate_sizes[2]:  256
Jun 11 00:39:49 kernel: x86/fpu: xstate_offset[9]:  832, xstate_sizes[9]:    8
Jun 11 00:39:49 kernel: x86/fpu: Enabled xstate features 0x207, context size is 840 bytes, using 'compacted' format.
Jun 11 00:39:49 kernel: signal: max sigframe size: 3376
Jun 11 00:39:49 kernel: BIOS-provided physical RAM map:
Jun 11 00:39:49 kernel: BIOS-e820: [mem 0x0000000000000000-0x000000000009ffff] usable
Jun 11 00:39:49 kernel: BIOS-e820: [mem 0x00000000000a0000-0x00000000000fffff] reserved
Jun 11 00:39:49 kernel: BIOS-e820: [mem 0x0000000000100000-0x0000000009d1efff] usable
Jun 11 00:39:49 kernel: BIOS-e820: [mem 0x0000000009d1f000-0x0000000009ffffff] reserved
Jun 11 00:39:49 kernel: BIOS-e820: [mem 0x000000000a000000-0x000000000a1fffff] usable
Jun 11 00:39:49 kernel: BIOS-e820: [mem 0x000000000a200000-0x000000000a20efff] ACPI NVS
Jun 11 00:39:49 kernel: BIOS-e820: [mem 0x000000000a20f000-0x000000000affffff] usable
Jun 11 00:39:49 kernel: BIOS-e820: [mem 0x000000000b000000-0x000000000b01ffff] reserved
Jun 11 00:39:49 kernel: BIOS-e820: [mem 0x000000000b020000-0x00000000a3b32fff] usable
Jun 11 00:39:49 kernel: BIOS-e820: [mem 0x00000000a3b33000-0x00000000a3e95fff] reserved
Jun 11 00:39:49 kernel: BIOS-e820: [mem 0x00000000a3e96000-0x00000000a4067fff] ACPI data
Jun 11 00:39:49 kernel: BIOS-e820: [mem 0x00000000a4068000-0x00000000a579dfff] ACPI NVS
Jun 11 00:39:49 kernel: BIOS-e820: [mem 0x00000000a579e000-0x00000000a6954fff] reserved
Jun 11 00:39:49 kernel: BIOS-e820: [mem 0x00000000a6955000-0x00000000a69fefff] type 20
Jun 11 00:39:49 kernel: BIOS-e820: [mem 0x00000000a69ff000-0x00000000a7ffffff] usable
Jun 11 00:39:49 kernel: BIOS-e820: [mem 0x00000000a8000000-0x00000000aaffffff] reserved
Jun 11 00:39:49 kernel: BIOS-e820: [mem 0x00000000af000000-0x00000000afffffff] reserved
Jun 11 00:39:49 kernel: BIOS-e820: [mem 0x00000000f0000000-0x00000000f7ffffff] reserved
Jun 11 00:39:49 kernel: BIOS-e820: [mem 0x00000000fd200000-0x00000000fd2fffff] reserved
Jun 11 00:39:49 kernel: BIOS-e820: [mem 0x00000000fd600000-0x00000000fd6fffff] reserved
Jun 11 00:39:49 kernel: BIOS-e820: [mem 0x00000000fea00000-0x00000000fea0ffff] reserved
Jun 11 00:39:49 kernel: BIOS-e820: [mem 0x00000000feb80000-0x00000000fec01fff] reserved
Jun 11 00:39:49 kernel: BIOS-e820: [mem 0x00000000fec10000-0x00000000fec10fff] reserved
Jun 11 00:39:49 kernel: BIOS-e820: [mem 0x00000000fec30000-0x00000000fec30fff] reserved
Jun 11 00:39:49 kernel: BIOS-e820: [mem 0x00000000fed00000-0x00000000fed00fff] reserved
Jun 11 00:39:49 kernel: BIOS-e820: [mem 0x00000000fed40000-0x00000000fed44fff] reserved
Jun 11 00:39:49 kernel: BIOS-e820: [mem 0x00000000fed80000-0x00000000fed8ffff] reserved
Jun 11 00:39:49 kernel: BIOS-e820: [mem 0x00000000fedc2000-0x00000000fedcffff] reserved
Jun 11 00:39:49 kernel: BIOS-e820: [mem 0x00000000fedd4000-0x00000000fedd5fff] reserved
Jun 11 00:39:49 kernel: BIOS-e820: [mem 0x00000000ff000000-0x00000000ffffffff] reserved
Jun 11 00:39:49 kernel: BIOS-e820: [mem 0x0000000100000000-0x000000042e2fffff] usable
Jun 11 00:39:49 kernel: BIOS-e820: [mem 0x000000042e300000-0x000000044fffffff] reserved
Jun 11 00:39:49 kernel: NX (Execute Disable) protection: active
Jun 11 00:39:49 kernel: efi: EFI v2.70 by American Megatrends
Jun 11 00:39:49 kernel: efi: ACPI=0xa4067000 ACPI 2.0=0xa4067014 TPMFinalLog=0xa4753000 SMBIOS=0xa67fb000 SMBIOS 3.>
Jun 11 00:39:49 kernel: SMBIOS 3.3.0 present.
Jun 11 00:39:49 kernel: DMI: ASUS System Product Name/ROG STRIX B550-I GAMING, BIOS 2423 08/11/2021
Jun 11 00:39:49 kernel: tsc: Fast TSC calibration using PIT
Jun 11 00:39:49 kernel: tsc: Detected 3792.864 MHz processor
Jun 11 00:39:49 kernel: e820: update [mem 0x00000000-0x00000fff] usable ==> reserved
Jun 11 00:39:49 kernel: e820: remove [mem 0x000a0000-0x000fffff] usable
Jun 11 00:39:49 kernel: last_pfn = 0x42e300 max_arch_pfn = 0x400000000

Sorry, there is a pager by default. Use arrow keys or --no-pager param.

These are highlighted in yellow:


Jun 11 00:39:49 kernel: pci 0000:00:00.2: PCI INT A: not connected

Jun 11 00:39:49 kernel: clocksource: timekeeping watchdog on CPU4: Marking clocksource 'tsc' as unstable because the skew is too large:

Jun 11 00:39:49 kernel: clocksource:                       'hpet' wd_nsec: 510217639 wd_now: 2520917 wd_last: 1e2906b mask: ffffffff

Jun 11 00:39:49 kernel: clocksource:                       'tsc' cs_nsec: 506660775 cs_now: 1536f4f4de cs_last: 14c39c492a mask: ffffffffffffffff

Jun 11 00:39:49 kernel: clocksource:                       'tsc' is current clocksource.

Jun 11 00:39:49 kernel: tsc: Marking TSC unstable due to clocksource watchdog

Jun 11 00:39:49 kernel: TSC found unstable after boot, most likely due to broken BIOS. Use 'tsc=unstable'.

Jun 11 00:39:49 kernel: sched_clock: Marking unstable (2599000546, 286096)<-(2788108781, -188822865)

Jun 11 00:39:49 kernel: clocksource: Checking clocksource tsc synchronization from CPU 1 to CPUs 0,2.

Jun 11 00:39:49 systemd-journald[371]: File /var/log/journal/23eaa28111354337aec329a79a7dcac5/system.journal corrupted or uncleanly shut down, renaming and replacing.

Jun 11 00:39:50 kernel: amdgpu 0000:03:00.0: amdgpu: PSP runtime database doesn't exist

Jun 11 00:39:52 kernel: amdgpu 0000:03:00.0: amdgpu: SMU driver if version not matched

Jun 11 00:39:52 kernel: amdgpu 0000:0b:00.0: amdgpu: PSP runtime database doesn't exist

Jun 11 00:39:53 kernel: amdgpu: SRAT table not found

Then please like this:

journalctl --dmesg --boot 0 --no-hostname --no-pager --grep "amdgpu"

Okay I just rebooted to test if that would apply the .conf file and now I can output through my GPU ports! Now I’ll test some games, but hopefully they work at expected performance. Thanks for the help everyone! Will keep posted on how performance is on GPU

Update this does run my games at the expected performance. Thank you everyone for helping! I hope this helps others in the future for similar builds.

Okay so I’m back and so I both my ports don’t output now. It was working fine and I didn’t update anything. Decided to reset my cmos because sometimes that has helped in the past. It did not. I can still boot into tty if I edit the grub options via the grub. Since I’m on my phone I can only take pictures since the desktop environment isn’t loading. From other posts I assume the driver isn’t loading properly.

Sorry for image again but I tried the journalctl command above

Okay found the other solution