Desktop screen flashing/flickering AMD RX6900XT

I recently built a new PC with 2 Radeon 6900XT’s and a fresh install of Manjaro KDE, running dual 144Hz monitors via DP. Currently on kernel 5.13rc5 but have tried 5.12, 5.11, 5.10. with the same results.

I have a constant flashing or flickering on the desktop. It’s really bad and goes all over both monitors and would probably trigger a seizure if left that way. The more open apps or windows, the worse it gets.

I do use this PC to mine ETH in the background and I have found the flickering totally stops when the mining runs and loads up the GPU’s. But, as soon as I kill the mining process the flashing/flickering returns.

I have tried removing the opencl-amd package and also setting the minimum gpu clock above the minimum. Neither made any difference.

I do dual boot into Windows 10 for gaming and there are zero issues there so I’m pretty sure it’s a driver issue in Linux.

:+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… :grin:
  2. An inxi --admin --verbosity=7 --filter --no-host --width would be the minimum required information for us to be able to help you. (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. Have you tried:
    • another port than DP on one of the monitors
    • removing one monitor
    • changing DP cables?

:+1:

P.S. If you enter a bit more details in your profile, we can also see which Desktop Environment you’re using, which CPU/GPU or Kernel, … you have without typing it every time

1 Like
  1. Did you rule out electrical contact problems
    I recently had this problem (MSI RX5500 8GB) ==> new cable, new luck.
  2. BIOS.: put something like"Power Supply Idle": to “typical Current idle”
    (Ryzen 7 3700X CPU / B550 Board)
1 Like

No problems at all in Windows so I don’t think it’s a hardware issue.

Can you try booting up with only one of them in the system?

Also, actually provide the info asked for.

1 Like

I will check the BIOS settings you mentioned. I have changed display cables with no improvement.

Thank you for the help in providing better info! Much appreciated!

I have removed one monitor with no improvement
I have changed DP cables with no improvement
I have not tried using HDMI on one monitor yet. I will find a cable and try that.

I will get some additional info added to my profile!

  Kernel: 5.12.9-1-MANJARO x86_64 bits: 64 compiler: gcc v: 11.1.0 
  parameters: BOOT_IMAGE=/boot/vmlinuz-5.12-x86_64 
  root=UUID=28bddb87-40f2-42ad-ac05-ddae3bba9e61 rw quiet 
  amdgpu.ppfeaturemask=0xffffffff apparmor=1 security=apparmor 
  udev.log_priority=3 
  Desktop: KDE Plasma 5.21.5 tk: Qt 5.15.2 info: latte-dock 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: <filter> 
  Mobo: ASUSTeK model: ROG CROSSHAIR VIII HERO (WI-FI) v: Rev X.0x 
  serial: <filter> UEFI: American Megatrends v: 3601 date: 05/26/2021 
Battery:
  Message: No system battery data found. Is one present? 
Memory:
  RAM: total: 31.33 GiB used: 15.64 GiB (49.9%) 
  RAM Report: permissions: Unable to run dmidecode. Root privileges required. 
CPU:
  Info: 12-Core model: AMD Ryzen 9 3900XT bits: 64 type: MT MCP arch: Zen 2 
  family: 17 (23) model-id: 71 (113) stepping: 0 microcode: 8701021 cache: 
  L2: 6 MiB bogomips: 182454 
  Speed: 3800 MHz min/max: 2200/3800 MHz boost: disabled Core speeds (MHz): 
  1: 3799 2: 3800 3: 3800 4: 3799 5: 3800 6: 3798 7: 3799 8: 3796 9: 3784 
  10: 3800 11: 3778 12: 3798 13: 3800 14: 3797 15: 3799 16: 3800 17: 3799 
  18: 3801 19: 3800 20: 3792 21: 3800 22: 3801 23: 3802 24: 3797 
  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 extapic extd_apicid f16c flushbyasid 
  fma fpu fsgsbase fxsr fxsr_opt ht hw_pstate ibpb ibs irperf lahf_lm lbrv lm 
  mba mca mce misalignsse mmx mmxext monitor movbe msr mtrr mwaitx nonstop_tsc 
  nopl npt nrip_save nx osvw overflow_recov pae pat pausefilter pclmulqdq 
  pdpe1gb perfctr_core perfctr_llc perfctr_nb pfthreshold pge pni popcnt pse 
  pse36 rdpid rdpru rdrand rdseed rdt_a rdtscp rep_good sep sev sev_es sha_ni 
  skinit smap smca sme 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 
  vgif vmcb_clean vme vmmcall 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, STIBP: 
  conditional, RSB filling 
  Type: srbds status: Not affected 
  Type: tsx_async_abort status: Not affected 
Graphics:
  Device-1: AMD Navi 21 [Radeon RX 6800/6800 XT / 6900 XT] driver: amdgpu 
  v: kernel bus-ID: 0d:00.0 chip-ID: 1002:73bf class-ID: 0300 
  Device-2: AMD Navi 21 [Radeon RX 6800/6800 XT / 6900 XT] driver: amdgpu 
  v: kernel bus-ID: 10:00.0 chip-ID: 1002:73bf class-ID: 0300 
  Display: x11 server: X.Org 1.20.11 compositor: kwin_x11 driver: 
  loaded: amdgpu display-ID: :0 screens: 1 
  Screen-1: 0 s-res: 5006x2560 s-dpi: 96 s-size: 1324x677mm (52.1x26.7") 
  s-diag: 1487mm (58.5") 
  Monitor-1: DisplayPort-0 res: 3440x1440 hz: 144 dpi: 110 
  size: 797x334mm (31.4x13.1") diag: 864mm (34") 
  Monitor-2: DisplayPort-1 res: 1440x2560 
  OpenGL: renderer: AMD Radeon RX 6900 XT (SIENNA_CICHLID DRM 3.40.0 
  5.12.9-1-MANJARO LLVM 12.0.0) 
  v: 4.6 Mesa 21.1.2 direct render: Yes 
Audio:
  Device-1: AMD driver: snd_hda_intel v: kernel bus-ID: 0d:00.1 
  chip-ID: 1002:ab28 class-ID: 0403 
  Device-2: AMD driver: snd_hda_intel v: kernel bus-ID: 10:00.1 
  chip-ID: 1002:ab28 class-ID: 0403 
  Device-3: C-Media Digital Hifi Audio type: USB 
  driver: hid-generic,snd-usb-audio,usbhid bus-ID: 3-2.3:4 chip-ID: 0d8c:0158 
  class-ID: 0300 
  Sound Server-1: ALSA v: k5.12.9-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.30 running: no 
Network:
  Device-1: Realtek RTL8125 2.5GbE vendor: ASUSTeK driver: r8169 v: kernel 
  port: d000 bus-ID: 05:00.0 chip-ID: 10ec:8125 class-ID: 0200 
  IF: enp5s0 state: down mac: <filter> 
  Device-2: Intel I211 Gigabit Network vendor: ASUSTeK driver: igb v: kernel 
  port: c000 bus-ID: 06:00.0 chip-ID: 8086:1539 class-ID: 0200 
  IF: enp6s0 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: up mac: <filter> 
  IP v4: <filter> type: dynamic noprefixroute scope: global 
  broadcast: <filter> 
  IP v6: <filter> type: noprefixroute scope: link 
  WAN IP: <filter> 
Bluetooth:
  Device-1: Intel AX200 Bluetooth type: USB driver: btusb v: 0.8 bus-ID: 1-6:5 
  chip-ID: 8087:0029 class-ID: e001 
  Report: rfkill ID: hci0 rfk-id: 1 state: up address: see --recommends 
Logical:
  Permissions: Unable to run lvs. Root privileges required. 
RAID:
  Message: No RAID data found. 
Drives:
  Local Storage: total: 5.46 TiB used: 1.95 TiB (35.7%) 
  SMART Message: Unable to run smartctl. Root privileges required. 
  ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Corsair model: Force MP600 
  size: 931.51 GiB block-size: physical: 512 B logical: 512 B speed: 63.2 Gb/s 
  lanes: 4 rotation: SSD serial: <filter> rev: EGFM11.3 scheme: GPT 
  ID-2: /dev/nvme1n1 maj-min: 259:4 vendor: Sabrent model: Rocket 4.0 Plus 
  size: 931.51 GiB block-size: physical: 512 B logical: 512 B speed: 63.2 Gb/s 
  lanes: 4 rotation: SSD serial: <filter> rev: RKT4P1.2 scheme: GPT 
  ID-3: /dev/sda maj-min: 8:0 type: USB vendor: Western Digital 
  model: WD My Passport 25E2 size: 3.64 TiB block-size: physical: 4096 B 
  logical: 512 B serial: <filter> rev: 4004 scheme: GPT 
  Message: No optical or floppy data found. 
Partition:
  ID-1: / raw-size: 97.66 GiB size: 95.56 GiB (97.86%) used: 24.74 GiB (25.9%) 
  fs: ext4 dev: /dev/nvme1n1p4 maj-min: 259:8 label: N/A 
  uuid: 28bddb87-40f2-42ad-ac05-ddae3bba9e61 
  ID-2: /boot/efi raw-size: 600 MiB size: 598.8 MiB (99.80%) 
  used: 25.5 MiB (4.3%) fs: vfat dev: /dev/nvme1n1p1 maj-min: 259:5 label: N/A 
  uuid: 3F68-682E 
  ID-3: /home raw-size: 817.64 GiB size: 803.74 GiB (98.30%) 
  used: 108.43 GiB (13.5%) fs: ext4 dev: /dev/nvme1n1p3 maj-min: 259:7 
  label: N/A uuid: 325a4e08-7b02-4162-9bed-b554cc2cc180 
  ID-4: /run/media/erick/7492627892623F2C raw-size: 149.98 GiB 
  size: 149.98 GiB (100.00%) used: 56.29 GiB (37.5%) fs: fuseblk 
  dev: /dev/nvme0n1p2 maj-min: 259:2 label: N/A uuid: 7492627892623F2C 
  ID-5: /run/media/erick/MyPassport Win10 raw-size: 2.66 TiB 
  size: 2.66 TiB (100.00%) used: 1.43 TiB (53.9%) fs: fuseblk dev: /dev/sda2 
  maj-min: 8:2 label: MyPassport Win10 uuid: D86A22406A221BAE 
  ID-6: /run/media/erick/Win10 Data raw-size: 781.51 GiB 
  size: 781.51 GiB (100.00%) used: 218.64 GiB (28.0%) fs: fuseblk 
  dev: /dev/nvme0n1p3 maj-min: 259:3 label: Win10 Data uuid: B8AA2006AA1FBFB4 
  ID-7: /run/timeshift/backup raw-size: 1000.83 GiB size: 984.12 GiB (98.33%) 
  used: 116.32 GiB (11.8%) fs: ext4 dev: /dev/sda3 maj-min: 8:3 
  label: MyPassport Linux uuid: a930bad2-d165-4b9f-9b96-4a6ccc9510f5 
Swap:
  Alert: No swap data was found. 
Unmounted:
  ID-1: /dev/nvme0n1p1 maj-min: 259:1 size: 16 MiB fs: <superuser required> 
  label: N/A uuid: N/A 
  ID-2: /dev/nvme1n1p2 maj-min: 259:6 size: 15.62 GiB fs: <superuser required> 
  label: N/A uuid: c81f203a-eb1b-4501-9b79-43ad25040b68 
  ID-3: /dev/sda1 maj-min: 8:1 size: 128 MiB fs: <superuser required> 
  label: N/A uuid: N/A 
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 
  Device-1: 1-1:2 info: Corsair Gaming K70 LUX RGB Keyboard type: Keyboard,HID 
  driver: usbfs interfaces: 2 rev: 2.0 speed: 12 Mb/s power: 500mA 
  chip-ID: 1b1c:1b33 class-ID: 0300 serial: <filter> 
  Device-2: 1-2:3 info: Corsair CORSAIR DARK CORE RGB PRO Gaming Dongle 
  type: Mouse,HID,Keyboard driver: hid-generic,usbhid interfaces: 6 rev: 2.0 
  speed: 12 Mb/s power: 500mA chip-ID: 1b1c:1b81 class-ID: 0300 
  serial: <filter> 
  Hub-2: 1-5:4 info: Genesys Logic Hub ports: 4 rev: 2.0 speed: 480 Mb/s 
  power: 100mA chip-ID: 05e3:0610 class-ID: 0900 
  Device-1: 1-5.3:6 info: ASUSTek AURA LED Controller type: HID 
  driver: hid-generic,usbhid interfaces: 2 rev: 2.0 speed: 12 Mb/s power: 16mA 
  chip-ID: 0b05:18f3 class-ID: 0300 serial: <filter> 
  Device-2: 1-6:5 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-3: 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-4: 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 
  Hub-5: 3-2:2 info: ASMedia ASM1074 High-Speed hub ports: 4 rev: 2.1 
  speed: 480 Mb/s power: 100mA chip-ID: 174c:2074 class-ID: 0900 
  Device-1: 3-2.3:4 info: C-Media Digital Hifi Audio type: Audio,HID 
  driver: hid-generic,snd-usb-audio,usbhid interfaces: 3 rev: 2.0 
  speed: 480 Mb/s power: 100mA chip-ID: 0d8c:0158 class-ID: 0300 
  Hub-6: 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-7: 4-2:2 info: ASMedia ASM1074 SuperSpeed hub ports: 4 rev: 3.0 
  speed: 5 Gb/s power: 8mA chip-ID: 174c:3074 class-ID: 0900 
  Device-1: 4-2.2:3 info: Western Digital My Passport (WD40NMZW) 
  type: Mass Storage driver: usb-storage interfaces: 1 rev: 3.0 speed: 5 Gb/s 
  power: 896mA chip-ID: 1058:25e2 class-ID: 0806 serial: <filter> 
  Hub-8: 5-0:1 info: Full speed (or root) Hub ports: 2 rev: 2.0 
  speed: 480 Mb/s chip-ID: 1d6b:0002 class-ID: 0900 
  Hub-9: 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-10: 7-0:1 info: Full speed (or root) Hub ports: 2 rev: 2.0 
  speed: 480 Mb/s chip-ID: 1d6b:0002 class-ID: 0900 
  Hub-11: 8-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-12: 9-0:1 info: Full speed (or root) Hub ports: 4 rev: 2.0 
  speed: 480 Mb/s chip-ID: 1d6b:0002 class-ID: 0900 
  Device-1: 9-4:2 info: Corsair CORSAIR DARK CORE RGB PRO Gaming Mouse 
  type: Mouse,HID,Keyboard driver: hid-generic,usbhid interfaces: 4 rev: 2.0 
  speed: 12 Mb/s power: 500mA chip-ID: 1b1c:1b80 class-ID: 0301 
  serial: <filter> 
  Hub-13: 10-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: 57.5 C mobo: 0 C 
  Fan Speeds (RPM): N/A 
  GPU: device: amdgpu temp: 54.0 C mem: 68.0 C fan: 0 watts: 154.00 
  device: amdgpu temp: 52.0 C mem: 60.0 C fan: 0 watts: 152.00 
Info:
  Processes: 500 Uptime: 22h 06m wakeups: 0 Init: systemd v: 248 
  tool: systemctl Compilers: gcc: 11.1.0 clang: 12.0.0 Packages: 1491 apt: 0 
  pacman: 1487 lib: 440 flatpak: 4 Shell: Bash v: 5.1.8 running-in: yakuake 
  inxi: 3.3.04 

You know, Windoofs energy default is performance?
So Windows consumes more energy than linux:
Try Manjaro: install CPU-X
Wind**fs: install CPU-Z
and compare…

You have disabled TLP in Manjaro already?
Latest BIOS…? Yes, i see.

amdgpu.ppfeaturemask=0xffffffff is for overclocking GPU…
https://www.reddit.com/r/Amd/comments/agwroj/how_to_overclock_your_amd_gpu_on_linux/
.
https://wiki.archlinux.org/title/AMDGPU
.
Sensors:
System Temperatures: cpu: 57.5 C mobo: 0 C
Fan Speeds (RPM): N/A
GPU: device: amdgpu temp: 54.0 C mem: 68.0 C fan: 0 watts: 154.00
device: amdgpu temp: 52.0 C mem: 60.0 C fan: 0 watts: 152.00

Too Hot To Run? - Would you mind to switch to testing - after using Timeshift???
There was an isue with some kernels driving AMD-GPUs to 100% even when desktop idle…

The C-States may be important too…
.
Corectrl is a funny tool…

The temps were up during that system info dump because the system was mining. Linux can’t seem to read a lot of the temps on my motherboard. Fan speeds are zero on gpu because it’s a full water cooled system.

I tried disabling TLP and it made no change. Since previous post I’m running 5.13 and still no change.

I really feel like it’s got something to do with the amdgpu-pro openCL driver. I did update that to the latest 21.20 recently and no change with that either.

It’s for sure not driving the GPU hard at idle. In fact, I have all of the gpu info displayed via conky and I notice the gpu frequency and memory frequency numbers come and go. These are being pulled from the /sys/class/hwmon/hwmonx files. When I was running Radeon VII, there was always a value there even at idle. With the 6900xt at idle there is no data for a second and then it will have the idle clock speed, then no data, over and over.