RX6800 slowly becomes unresponsive (growing lag)

I’ve got a very strange symptom here.
I run the latest stable Manjaro with two graphic cards (RX6800 and an older HD 6570).
At first after boot, everything runs fine. However, after some time (30 minutes), I notice that both the input and output lag get larger: I press a key or click the mouse and get my response later and later up to the point where the whole system is unusable.
Now here a some interesting facts:

  • that happens only on the monitor that is connected to the RX6800. So when I move the active window to the other monitor that is connected to the HD6570, I get again normal responsiveness. When I move it back, it’s slow again
  • mayby this observation is related to it, maybe not: the RX6800 is not recognized in the Hardware Configuration window. It is shown there as “unknown device name (ATI Technologies Inc” whereas the other graphic cards is shown correctly as “Turks PRO (HD 6570…)”.
    A lspci -v shows that other parts of my system recognize the card pretty well:
    13:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Navi 21 [Radeon RX 6800/6800 XT / 6900 XT] (rev c3) (prog-if 00 [VGA controller])
    Subsystem: Advanced Micro Devices, Inc. [AMD/ATI] Device 0e3a
    Flags: bus master, fast devsel, latency 0, IRQ 164, IOMMU group 35
    Memory at c0000000 (64-bit, prefetchable) [size=256M]
    Memory at d0000000 (64-bit, prefetchable) [size=2M]
    I/O ports at e000 [size=256]
    Memory at fc300000 (32-bit, non-prefetchable) [size=1M]
    Expansion ROM at fc400000 [disabled] [size=128K]
    Capabilities:
    Kernel driver in use: amdgpu
    Kernel modules: amdgpu
  • the RX6800 is connected to a UHD/4K display

That sounds like a very weird issue, I hope somebody can help.

:+1: Welcome to Manjaro! :+1:

  1. Please read this:
    How to provide good information
    and post some more information so we can see what’s really going on. Now we know the symptom of the disease, but we need some more probing to know where the origin lies…

  2. An inxi --admin --verbosity=7 --filter --no-host --width would be the minimum required information… (Personally Identifiable Information like serial numbers and MAC addresses will be filtered out by the above command)
    Also, please copy-paste that output in-between 3 backticks ``` at the beginning and end of the code/text.

  3. Is xorg using an entire core when this is happening?

:+1:

Yes, will do. Here it is:

  Kernel: 5.12.0-1-MANJARO x86_64 bits: 64 compiler: gcc v: 10.2.0 
  parameters: BOOT_IMAGE=/boot/vmlinuz-5.12-x86_64 
  root=UUID=bb267d09-c391-4a6d-9e56-9cce8aa5bc1d ro quiet apparmor=1 
  security=apparmor udev.log_priority=3 amd_iommu=on iommu=pt hugepages=2048 
  Desktop: KDE Plasma 5.21.3 tk: Qt 5.15.2 wm: kwin_x11 vt: 1 dm: SDDM 
  Distro: Manjaro Linux base: Arch Linux 
Machine:
  Type: Desktop Mobo: ASRock model: X570 Phantom Gaming X serial: N/A 
  UEFI: American Megatrends v: P4.00 date: 01/19/2021 
Battery:
  Device-1: hidpp_battery_0 model: Logitech Wireless Keyboard ERGO K860 
  serial: <filter> charge: 100% (should be ignored) rechargeable: yes 
  status: Discharging 
  Device-2: hidpp_battery_1 model: Logitech Wireless Mouse MX Master 
  serial: <filter> charge: 100% (should be ignored) rechargeable: yes 
  status: Discharging 
Memory:
  RAM: total: 62.73 GiB used: 7.37 GiB (11.8%) 
  Array-1: capacity: 128 GiB slots: 4 EC: None max-module-size: 32 GiB 
  note: est. 
  Device-1: DIMM 0 size: 32 GiB speed: 3200 MT/s type: DDR4 
  detail: synchronous unbuffered (unregistered) bus-width: 64 bits 
  total: 64 bits manufacturer: N/A part-no: CMK64GX4M2E3200C16 serial: N/A 
  Device-2: DIMM 1 size: No Module Installed 
  Device-3: DIMM 0 size: 32 GiB speed: 3200 MT/s type: DDR4 
  detail: synchronous unbuffered (unregistered) bus-width: 64 bits 
  total: 64 bits manufacturer: N/A part-no: CMK64GX4M2E3200C16 serial: N/A 
  Device-4: DIMM 1 size: No Module Installed 
CPU:
  Info: 12-Core model: AMD Ryzen 9 5900X socket: AM4 bits: 64 type: MT MCP 
  arch: Zen 3 family: 19 (25) model-id: 21 (33) stepping: N/A 
  microcode: A201009 cache: L1: 768 KiB L2: 6 MiB L3: 64 MiB bogomips: 177650 
  Speed: 3596 MHz min/max: 2200/3700 MHz base/boost: 3700/4950 boost: enabled 
  volts: 1.1 V ext-clock: 100 MHz Core speeds (MHz): 1: 3596 2: 3600 3: 2837 
  4: 2889 5: 3599 6: 3036 7: 2877 8: 2877 9: 2232 10: 3477 11: 3605 12: 2805 
  13: 2861 14: 2534 15: 2889 16: 2825 17: 2902 18: 2536 19: 2879 20: 2878 
  21: 3407 22: 2201 23: 2193 24: 2607 
  Flags: 3dnowprefetch abm adx aes aperfmperf apic arat avic avx avx2 bmi1 
  bmi2 bpext cat_l3 cdp_l3 clflush clflushopt clwb clzero cmov cmp_legacy 
  constant_tsc cpb cpuid cqm cqm_llc cqm_mbm_local cqm_mbm_total cqm_occup_llc 
  cr8_legacy cx16 cx8 de decodeassists erms extapic extd_apicid f16c 
  flushbyasid fma fpu fsgsbase fsrm fxsr fxsr_opt ht hw_pstate ibpb ibrs ibs 
  invpcid irperf lahf_lm lbrv lm mba mca mce misalignsse mmx mmxext monitor 
  movbe msr mtrr mwaitx nonstop_tsc nopl npt nrip_save nx ospke osvw 
  overflow_recov pae pat pausefilter pclmulqdq pdpe1gb perfctr_core 
  perfctr_llc perfctr_nb pfthreshold pge pku pni popcnt pse pse36 rdpid rdpru 
  rdrand rdseed rdt_a rdtscp rep_good sep sha_ni skinit smap smca smep ssbd 
  sse sse2 sse4_1 sse4_2 sse4a ssse3 stibp succor svm svm_lock syscall tce 
  topoext tsc tsc_scale umip v_vmsave_vmload vaes vgif vmcb_clean vme vmmcall 
  vpclmulqdq wbnoinvd wdt xgetbv1 xsave xsavec xsaveerptr xsaveopt xsaves 
  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: Full AMD retpoline, 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 Turks PRO [Radeon HD 6570/7570/8550] vendor: Hewlett-Packard 
  driver: radeon v: kernel bus-ID: 10:00.0 chip-ID: 1002:6759 class-ID: 0300 
  Device-2: AMD Ellesmere [Radeon RX 470/480/570/570X/580/580X/590] 
  vendor: Sapphire Limited driver: vfio-pci v: 0.2 alternate: amdgpu 
  bus-ID: 11:00.0 chip-ID: 1002:67df class-ID: 0300 
  Device-3: AMD Navi 21 [Radeon RX 6800/6800 XT / 6900 XT] driver: amdgpu 
  v: kernel bus-ID: 14:00.0 chip-ID: 1002:73bf class-ID: 0300 
  Display: x11 server: X.Org 1.20.10 compositor: kwin_x11 driver: 
  loaded: ati,modesetting,radeon alternate: fbdev,vesa display-ID: :0 
  screens: 1 
  Screen-1: 0 s-res: 6038x2520 s-dpi: 96 s-size: 1593x665mm (62.7x26.2") 
  s-diag: 1726mm (68") 
  Monitor-1: DisplayPort-1 res: 1920x1080 hz: 60 dpi: 102 
  size: 477x268mm (18.8x10.6") diag: 547mm (21.5") 
  Monitor-2: DP-1-3 res: 3840x2160 hz: 60 dpi: 110 
  size: 885x498mm (34.8x19.6") diag: 1015mm (40") 
  Monitor-3: HDMI-1-1 res: 2560x1440 hz: 60 dpi: 123 
  size: 527x296mm (20.7x11.7") diag: 604mm (23.8") 
  OpenGL: renderer: AMD TURKS (DRM 2.50.0 / 5.12.0-1-MANJARO LLVM 11.1.0) 
  v: 3.3 Mesa 20.3.4 compat-v: 3.1 direct render: Yes 
Audio:
  Device-1: AMD Turks HDMI Audio [Radeon HD 6500/6600 / 6700M Series] 
  vendor: Hewlett-Packard driver: snd_hda_intel v: kernel bus-ID: 10:00.1 
  chip-ID: 1002:aa90 class-ID: 0403 
  Device-2: AMD Ellesmere HDMI Audio [Radeon RX 470/480 / 570/580/590] 
  vendor: Sapphire Limited driver: vfio-pci v: 0.2 alternate: snd_hda_intel 
  bus-ID: 11:00.1 chip-ID: 1002:aaf0 class-ID: 0403 
  Device-3: AMD driver: snd_hda_intel v: kernel bus-ID: 14:00.1 
  chip-ID: 1002:ab28 class-ID: 0403 
  Device-4: AMD Starship/Matisse HD Audio vendor: ASRock driver: snd_hda_intel 
  v: kernel bus-ID: 16:00.4 chip-ID: 1022:1487 class-ID: 0403 
  Sound Server-1: ALSA v: k5.12.0-1-MANJARO running: yes 
  Sound Server-2: JACK v: 0.125.0 running: no 
  Sound Server-3: PulseAudio v: 14.2 running: yes 
  Sound Server-4: PipeWire v: 0.3.23 running: yes 
Network:
  Device-1: Solarflare SFC9020 10G Ethernet driver: sfc v: kernel port: c100 
  bus-ID: 04:00.0 chip-ID: 1924:0803 class-ID: 0200 
  IF: enp4s0f0np0 state: up speed: 10000 Mbps duplex: full mac: <filter> 
  IP v4: <filter> type: dynamic noprefixroute scope: global 
  broadcast: <filter> 
  IP v6: <filter> type: dynamic noprefixroute scope: global 
  IP v6: <filter> type: noprefixroute scope: link 
  Device-2: Solarflare SFC9020 10G Ethernet driver: sfc v: kernel port: c000 
  bus-ID: 04:00.1 chip-ID: 1924:0803 class-ID: 0200 
  IF: enp4s0f1np1 state: down mac: <filter> 
  Device-3: Intel Wi-Fi 6 AX200 driver: iwlwifi v: kernel port: c000 
  bus-ID: 07:00.0 chip-ID: 8086:2723 class-ID: 0280 
  IF: wlp7s0 state: down mac: <filter> 
  Device-4: Intel I211 Gigabit Network vendor: ASRock driver: igb v: kernel 
  port: b000 bus-ID: 09:00.0 chip-ID: 8086:1539 class-ID: 0200 
  IF: enp9s0 state: down mac: <filter> 
  Device-5: Broadcom BCM43602 802.11ac Wireless LAN SoC vendor: Apple 
  driver: brcmfmac v: kernel port: b000 bus-ID: 0b:00.0 chip-ID: 14e4:43ba 
  class-ID: 0280 
  IF: wlp11s0 state: down mac: <filter> 
  Device-6: Realtek RTL8125 2.5GbE vendor: ASRock driver: r8169 v: kernel 
  port: a000 bus-ID: 0c:00.0 chip-ID: 10ec:8125 class-ID: 0200 
  IF: enp12s0 state: down mac: <filter> 
  IF-ID-1: virbr0 state: down mac: <filter> 
  IP v4: <filter> scope: global broadcast: <filter> 
  WAN IP: <filter> 
Bluetooth:
  Device-1: Apple Bluetooth Host Controller type: USB 
  driver: btusb,hid-generic,usbhid bus-ID: 1-2.1.2:5 chip-ID: 05ac:8290 
  class-ID: fe01 
  Report: This feature requires one of these tools: hciconfig/bt-adapter 
  Device-2: Intel AX200 Bluetooth type: USB driver: btusb v: 0.8 bus-ID: 3-2:2 
  chip-ID: 8087:0029 class-ID: e001 
Logical:
  Message: No LVM data was found. 
RAID:
  Message: No RAID data was found. 
Drives:
  Local Storage: total: 9.21 TiB used: 1.28 TiB (13.9%) 
  ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Sabrent model: Rocket Q 
  size: 1.82 TiB block-size: physical: 512 B logical: 512 B speed: 31.6 Gb/s 
  lanes: 4 rotation: SSD serial: <filter> rev: RKT30Q.1 temp: 31 Celsius C 
  scheme: GPT 
  SMART: yes health: PASSED on: 83d 7h cycles: 585 
  read-units: 23,096,308 [11.8 TB] written-units: 9,802,795 [5.01 TB] 
  ID-2: /dev/sda maj-min: 8:0 vendor: Seagate model: ST8000DM004-2CX188 
  family: BarraCuda 3.5 size: 7.28 TiB block-size: physical: 4096 B 
  logical: 512 B sata: 3.1 speed: 6.0 Gb/s rotation: 5425 rpm serial: <filter> 
  rev: 0001 temp: 37 C scheme: GPT 
  SMART: yes state: enabled health: PASSED on: 363d 4h cycles: 9407 
  read: 89.39 TiB written: 6.8 TiB Pre-Fail: attribute: Spin_Retry_Count 
  value: 100 worst: 100 threshold: 97 
  ID-3: /dev/sdb maj-min: 8:16 vendor: A-Data model: ISSS332-128GTP 
  size: 119.24 GiB block-size: physical: 512 B logical: 512 B sata: 3.1 
  speed: 6.0 Gb/s rotation: SSD serial: <filter> rev: 5J temp: 27 C 
  scheme: GPT 
  SMART: yes state: enabled health: PASSED on: 22d 20h cycles: 1039 
  read: 28.3 MiB written: 74.3 MiB 
  Optical-1: /dev/sr0 vendor: ASUS model: BW-16D1HT rev: 1.01 dev-links: cdrom 
  Features: speed: 40 multisession: yes audio: yes dvd: yes 
  rw: cd-r,cd-rw,dvd-r,dvd-ram state: running 
Partition:
  ID-1: / raw-size: 118.95 GiB size: 116.58 GiB (98.01%) 
  used: 67.95 GiB (58.3%) fs: ext4 block-size: 4096 B dev: /dev/sdb2 
  maj-min: 8:18 label: N/A uuid: bb267d09-c391-4a6d-9e56-9cce8aa5bc1d 
  ID-2: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%) 
  used: 312 KiB (0.1%) fs: vfat block-size: 512 B dev: /dev/sdb1 maj-min: 8:17 
  label: N/A uuid: D979-60EE 
  ID-3: /run/media/kana/Spiele raw-size: 7.28 TiB size: 7.28 TiB (100.00%) 
  used: 1.21 TiB (16.7%) fs: ntfs block-size: 4096 B dev: /dev/sda1 
  maj-min: 8:1 label: Spiele uuid: 9AD07E52D07E349B 
Swap:
  Alert: No Swap data was found. 
Unmounted:
  ID-1: /dev/nvme0n1p1 maj-min: 259:1 size: 200 MiB fs: vfat label: EFI 
  uuid: 67E3-17ED 
  ID-2: /dev/nvme0n1p2 maj-min: 259:2 size: 1.82 TiB fs: apfs label: N/A 
  uuid: 2c16193f-74e9-425f-878f-2d82d77e90f5 
USB:
  Hub-1: 1-0:1 info: Full speed (or root) Hub ports: 6 rev: 2.0 
  speed: 480 Mb/s chip-ID: 1d6b:0002 class-ID: 0900 
  Hub-2: 1-2:2 info: Genesys Logic Hub ports: 4 rev: 2.0 speed: 480 Mb/s 
  power: 100mA chip-ID: 05e3:0608 class-ID: 0900 
  Hub-3: 1-2.1:3 info: Terminus Hub ports: 4 rev: 2.0 speed: 480 Mb/s 
  power: 100mA chip-ID: 1a40:0101 class-ID: 0900 
  Device-1: 1-2.1.2:5 info: Apple Bluetooth Host Controller 
  type: Keyboard,Mouse,Bluetooth driver: btusb,hid-generic,usbhid 
  interfaces: 6 rev: 2.0 speed: 12 Mb/s chip-ID: 05ac:8290 class-ID: fe01 
  Hub-4: 1-2.2:4 info: Terminus Hub ports: 4 rev: 2.0 speed: 480 Mb/s 
  power: 100mA chip-ID: 1a40:0101 class-ID: 0900 
  Hub-5: 1-2.2.4:6 info: Terminus FE 2.1 7-port Hub ports: 7 rev: 2.0 
  speed: 480 Mb/s power: 100mA chip-ID: 1a40:0201 class-ID: 0900 
  Device-1: 1-2.2.4.2:7 info: Genesys Logic Logilink CR0012 type: Mass Storage 
  driver: usb-storage interfaces: 1 rev: 2.0 speed: 480 Mb/s power: 500mA 
  chip-ID: 05e3:0745 class-ID: 0806 serial: <filter> 
  Hub-6: 2-0:1 info: Full speed (or root) Hub ports: 4 rev: 3.1 speed: 10 Gb/s 
  chip-ID: 1d6b:0003 class-ID: 0900 
  Hub-7: 2-1:2 info: VIA Labs Hub ports: 4 rev: 3.0 speed: 5 Gb/s power: 8mA 
  chip-ID: 2109:0811 class-ID: 0900 
  Hub-8: 3-0:1 info: Full speed (or root) Hub ports: 6 rev: 2.0 
  speed: 480 Mb/s chip-ID: 1d6b:0002 class-ID: 0900 
  Device-1: 3-2:2 info: Intel AX200 Bluetooth type: Bluetooth driver: btusb 
  interfaces: 2 rev: 2.0 speed: 12 Mb/s power: 100mA chip-ID: 8087:0029 
  class-ID: e001 
  Hub-9: 3-4:3 info: VIA Labs Hub ports: 4 rev: 2.1 speed: 480 Mb/s 
  power: 100mA chip-ID: 2109:0811 class-ID: 0900 
  Hub-10: 3-4.1:5 info: Terminus FE 2.1 7-port Hub ports: 7 rev: 2.0 
  speed: 480 Mb/s power: 100mA chip-ID: 1a40:0201 class-ID: 0900 
  Hub-11: 3-4.2:6 info: Terminus FE 2.1 7-port Hub ports: 7 rev: 2.0 
  speed: 480 Mb/s power: 100mA chip-ID: 1a40:0201 class-ID: 0900 
  Hub-12: 3-4.3:7 info: Terminus FE 2.1 7-port Hub ports: 7 rev: 2.0 
  speed: 480 Mb/s power: 100mA chip-ID: 1a40:0201 class-ID: 0900 
  Hub-13: 3-4.4:8 info: Terminus FE 2.1 7-port Hub ports: 7 rev: 2.0 
  speed: 480 Mb/s power: 100mA chip-ID: 1a40:0201 class-ID: 0900 
  Device-1: 3-4.4.6:9 info: Valve Index Controller type: HID 
  driver: hid-generic,usbhid interfaces: 3 rev: 2.0 speed: 12 Mb/s 
  power: 500mA chip-ID: 28de:2300 class-ID: 0300 serial: <filter> 
  Device-2: 3-6:4 info: Logitech Unifying Receiver type: Keyboard,Mouse,HID 
  driver: logitech-djreceiver,usbhid interfaces: 3 rev: 2.0 speed: 12 Mb/s 
  power: 98mA chip-ID: 046d:c52b class-ID: 0300 
  Hub-14: 4-0:1 info: Full speed (or root) Hub ports: 4 rev: 3.1 
  speed: 10 Gb/s chip-ID: 1d6b:0003 class-ID: 0900 
  Hub-15: 5-0:1 info: Full speed (or root) Hub ports: 1 rev: 2.0 
  speed: 480 Mb/s chip-ID: 1d6b:0002 class-ID: 0900 
  Hub-16: 6-0:1 info: Full speed (or root) Hub ports: 1 rev: 3.1 
  speed: 10 Gb/s chip-ID: 1d6b:0003 class-ID: 0900 
  Hub-17: 7-0:1 info: Full speed (or root) Hub ports: 4 rev: 2.0 
  speed: 480 Mb/s chip-ID: 1d6b:0002 class-ID: 0900 
  Hub-18: 8-0:1 info: Full speed (or root) Hub ports: 4 rev: 3.1 
  speed: 10 Gb/s chip-ID: 1d6b:0003 class-ID: 0900 
Sensors:
  System Temperatures: cpu: 47.4 C mobo: N/A 
  Fan Speeds (RPM): N/A 
  GPU: device: amdgpu temp: 58.0 C mem: 62.0 C fan: 561 watts: 31.00 
  device: radeon temp: 39.5 C 
  Power: 12v: N/A 5v: N/A 3.3v: 3.25 vbat: N/A 
Info:
  Processes: 486 Uptime: 10m wakeups: 7 Init: systemd v: 247 tool: systemctl 
  Compilers: gcc: 10.2.0 clang: 11.1.0 Packages: pacman: 1607 lib: 462 
  flatpak: 0 Shell: Bash (su) v: 5.1.0 running-in: yakuake inxi: 3.3.03 

And some more bugs that just occured: when I just tried with kernel 5.12 and three displays (1 at the HD6570, 2 and 3 at the RX6800; that is what the above inxi shows), I’m getting screen corruption:
There are “blind” windows, they seem to be there, but they aren’t, so I can “draw” in blue with my mouse over them. See screenshot ScreenCorruption|666x500
And despite the screen adjustment saying that there are three distinct monitors (no copy), screen 2 and 3 are mirrored.

When I run the RX 6800 by its own, it just works fine. I also believe that is the case with the HD6570, that I would need to verify. So it could be the combination of the two drivers amdgpu and radeon that fails.

Edit: as for the xorg question, how do I check that? My KSysGuard doesn’t show any CPU percentage information, it’s empty. Does this answer the question?

I’ve got new information: the lag occurs even when only amdgpu drivers are used.

Next question: nobody seems to be able to comment here. I think the behaviour is clearly a severe bug. Where can I file a bug report? There are so many components in Linux that I have no idea where to go (Manjaro Forum? Arch Linux Forum? KDE forum? Kernel driver Forum?)

If it’s AMD related:


If it’s a KDE issue, then KDE Forums and/or KDE Bug Tracker.


I’d recommend you to try a different DE to see if you still have that issue in other DEs, so that you know if it’s a DE issue or a driver issue or both, before you report the issue.

1 Like

So I looked up, DE means Desktop Environment. I’m not sure what to do. I am able to switch between an xorg and a wayland session, but I guess you rather mean I should enable Gnome or XKDE, is that right? I think I read somewhere that this kind of switch would be rather difficult and dangerous. I would try it anyway if it helps.
Maybe you can give me a conrete recommendation what to try next?

Did you try switching to a wayland session? What happens if you do?

Download the XFCE and/or GNOME editions of Manjaro, see if the issue is still there in the LiveISO. The best way to do it is to install one or both of these in a separate partition, update, and see if it still has the issue.

When reporting a bug to a bug tracker, it’s typically best to try as many thing as you can before reporting the bug, so that it isn’t just so broad. In this case, trying to decipher if this is a DE-related issue or not.

1 Like