Display keeps reseting randomly

Hello,

A few days ago my main monitor began randomly disconnecting. When this happens the graphics card usage skyrockets. Unplugging and replugging my monitor fixes it temporarily, but the issue will happen again later. It also messes up my desktop icon layout, grouping them all up randomly at the top. My display settings also get messed up, like having the refresh-rate reset to 60Hz instead of 144Hz. My second monitor seems normal, but the window animations slow down immensely at the time the black screen happens.

I thought the culprit might be this program I had installed called Sunshine. It’s used to stream games on LAN. I uninstalled with the -Rns options, but the issue is still occurring. It doesn’t seem to matter whether I’m doing nothing or if I have some applications running.

I’ve tried updating Garuda. I’ve searched online but didn’t find anything that sounds similar. I even asked ChatGPT to no avail. Any tips would be greatly appreciated!

System:
Kernel: 6.7.6-zen1-1-zen arch: x86_64 bits: 64 compiler: gcc v: 13.2.1
clocksource: tsc avail: hpet,acpi_pm
parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-zen
root=UUID=c3d6a053-0f9d-4107-9b5d-3dd29d943f43 rw rootflags=subvol=@
quiet resume=UUID=c96087d6-76f8-4056-abc9-2c4ca85f7c1d loglevel=3
amdgpu.ppfeaturemask=0xffffffff ibt=off
Desktop: KDE Plasma v: 5.27.10 tk: Qt v: 5.15.12 info: frameworks
v: 5.115.0 wm: kwin_x11 vt: 2 dm: SDDM Distro: Garuda base: Arch Linux
Machine:
Type: Desktop Mobo: ASRock model: X670E Steel Legend
serial: <superuser required> uuid: <superuser required> UEFI: American
Megatrends LLC. v: 1.21 date: 04/26/2023
CPU:
Info: model: AMD Ryzen 7 7800X3D bits: 64 type: MT MCP arch: Zen 4 gen: 5
level: v4 note: check built: 2022+ process: TSMC n5 (5nm) family: 0x19 (25)
model-id: 0x61 (97) stepping: 2 microcode: 0xA601203
Topology: cpus: 1x cores: 8 tpc: 2 threads: 16 smt: enabled cache:
L1: 512 KiB desc: d-8x32 KiB; i-8x32 KiB L2: 8 MiB desc: 8x1024 KiB
L3: 96 MiB desc: 1x96 MiB
Speed (MHz): avg: 3435 high: 4841 min/max: 400/5050 scaling:
driver: amd-pstate-epp governor: performance cores: 1: 4840 2: 400 3: 4836
4: 400 5: 4753 6: 400 7: 4840 8: 4837 9: 400 10: 4806 11: 400 12: 4823
13: 4841 14: 4825 15: 4818 16: 4752 bogomips: 134152
Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
Vulnerabilities: <filter>
Graphics:
Device-1: AMD Navi 31 [Radeon RX 7900 XT/7900 XTX/7900M] vendor: XFX
driver: amdgpu v: kernel arch: RDNA-3 code: Navi-3x process: TSMC n5 (5nm)
built: 2022+ pcie: gen: 4 speed: 16 GT/s lanes: 16 ports:
active: DP-1,HDMI-A-1 empty: DP-2,DP-3 bus-ID: 03:00.0 chip-ID: 1002:744c
class-ID: 0300
Device-2: AMD Raphael driver: amdgpu v: kernel arch: RDNA-2 code: Navi-2x
process: TSMC n7 (7nm) built: 2020-22 pcie: gen: 4 speed: 16 GT/s lanes: 16
ports: active: none empty: DP-4, DP-5, DP-6, HDMI-A-2 bus-ID: 18:00.0
chip-ID: 1002:164e class-ID: 0300 temp: 30.0 C
Device-3: Linux Foundation EEM Gadget driver: snd-usb-audio,uvcvideo
type: USB rev: 2.0 speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 3-5:6
chip-ID: 1d6b:0102 class-ID: 0102
Display: x11 server: X.Org v: 21.1.11 with: Xwayland v: 23.2.4
compositor: kwin_x11 driver: X: loaded: modesetting alternate: fbdev,vesa
dri: radeonsi gpu: amdgpu display-ID: :0 screens: 1
Screen-1: 0 s-res: 4480x1733 s-dpi: 96 s-size: 1185x458mm (46.65x18.03")
s-diag: 1270mm (50.02")
Monitor-1: DP-1 pos: primary,top-left model: ROG XG279Q serial: <filter>
built: 2021 res: 2560x1440 hz: 60 dpi: 109 gamma: 1.2
size: 597x336mm (23.5x13.23") diag: 685mm (27") ratio: 16:9 modes:
max: 2560x1440 min: 720x400
Monitor-2: HDMI-A-1 mapped: HDMI-1 pos: bottom-r model: Lenovo LEN LI2364d
serial: <filter> built: 2016 res: 1920x1080 dpi: 96 gamma: 1.2
size: 509x286mm (20.04x11.26") diag: 584mm (23") ratio: 16:9 modes:
max: 1920x1080 min: 720x400
API: EGL v: 1.5 hw: drv: amd radeonsi platforms: device: 0 drv: radeonsi
device: 1 drv: radeonsi device: 2 drv: swrast gbm: drv: kms_swrast
surfaceless: drv: radeonsi x11: drv: radeonsi inactive: wayland
API: OpenGL v: 4.6 compat-v: 4.5 vendor: amd mesa v: 24.0.1-arch1.1
glx-v: 1.4 direct-render: yes renderer: AMD Radeon RX 7900 XT (radeonsi
navi31 LLVM 16.0.6 DRM 3.57 6.7.6-zen1-1-zen) device-ID: 1002:744c
memory: 19.53 GiB unified: no
API: Vulkan v: 1.3.276 layers: 11 device: 0 type: discrete-gpu name: AMD
Radeon RX 7900 XT (RADV NAVI31) driver: mesa radv v: 24.0.1-arch1.1
device-ID: 1002:744c surfaces: xcb,xlib device: 1 type: integrated-gpu
name: AMD Radeon Graphics (RADV RAPHAEL_MENDOCINO) driver: mesa radv
v: 24.0.1-arch1.1 device-ID: 1002:164e surfaces: xcb,xlib device: 2
type: cpu name: llvmpipe (LLVM 16.0.6 256 bits) driver: mesa llvmpipe
v: 24.0.1-arch1.1 (LLVM 16.0.6) device-ID: 10005:0000 surfaces: xcb,xlib
Audio:
Device-1: AMD Navi 31 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:ab30
class-ID: 0403
Device-2: AMD Rembrandt Radeon High Definition Audio driver: snd_hda_intel
v: kernel pcie: gen: 4 speed: 16 GT/s lanes: 16 bus-ID: 18:00.1
chip-ID: 1002:1640 class-ID: 0403
Device-3: AMD Family 17h/19h HD Audio vendor: ASRock driver: snd_hda_intel
v: kernel pcie: gen: 4 speed: 16 GT/s lanes: 16 bus-ID: 18:00.6
chip-ID: 1022:15e3 class-ID: 0403
Device-4: Linux Foundation EEM Gadget driver: snd-usb-audio,uvcvideo
type: USB rev: 2.0 speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 3-5:6
chip-ID: 1d6b:0102 class-ID: 0102
Device-5: Corsair VOID ELITE Wireless Gaming Dongle
driver: hid-generic,snd-usb-audio,usbhid type: USB rev: 1.1 speed: 12 Mb/s
lanes: 1 mode: 1.1 bus-ID: 3-7:3 chip-ID: 1b1c:0a51 class-ID: 0300
API: ALSA v: k6.7.6-zen1-1-zen status: kernel-api with: aoss
type: oss-emulator tools: N/A
Server-1: PipeWire v: 1.0.3 status: active with: 1: pipewire-pulse
status: active 2: wireplumber status: active 3: pipewire-alsa type: plugin
4: pw-jack type: plugin tools: pactl,pw-cat,pw-cli,wpctl
Network:
Device-1: Realtek RTL8111/8168/8211/8411 PCI Express Gigabit Ethernet
vendor: ASRock driver: r8169 v: kernel pcie: gen: 1 speed: 2.5 GT/s lanes: 1
port: d000 bus-ID: 07:00.0 chip-ID: 10ec:8168 class-ID: 0200
IF: enp7s0 state: up speed: 1000 Mbps duplex: full mac: <filter>
Device-2: MEDIATEK MT7922 802.11ax PCI Express Wireless Network Adapter
driver: mt7921e v: kernel pcie: gen: 2 speed: 5 GT/s lanes: 1
bus-ID: 09:00.0 chip-ID: 14c3:0616 class-ID: 0280
IF: wlp9s0 state: down mac: <filter>
Device-3: Realtek RTL8125 2.5GbE vendor: ASRock driver: r8169 v: kernel
pcie: gen: 2 speed: 5 GT/s lanes: 1 port: c000 bus-ID: 0a:00.0
chip-ID: 10ec:8125 class-ID: 0200
IF: enp10s0 state: down mac: <filter>
Device-4: Microsoft Xbox 360 Wireless Adapter driver: N/A type: USB
rev: 2.0 speed: 12 Mb/s lanes: 1 mode: 1.1 bus-ID: 5-2:2 chip-ID: 045e:0719
class-ID: ff00 serial: <filter>
IF-ID-1: se-sto-wg-006 state: unknown speed: N/A duplex: N/A mac: N/A
Info: services: NetworkManager, smbd, systemd-timesyncd, wpa_supplicant
Bluetooth:
Device-1: MediaTek Wireless_Device driver: btusb v: 0.8 type: USB rev: 2.1
speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 3-12:5 chip-ID: 0e8d:0616
class-ID: e001 serial: <filter>
Report: btmgmt ID: hci0 rfk-id: 4 state: down bt-service: enabled,running
rfk-block: hardware: no software: yes address: <filter> bt-v: 5.2 lmp-v: 11
status: discoverable: no pairing: no
Drives:
Local Storage: total: 4.55 TiB used: 1.35 TiB (29.7%)
SMART Message: Unable to run smartctl. Root privileges required.
ID-1: /dev/nvme0n1 maj-min: 259:2 vendor: Samsung model: SSD 980 PRO 1TB
size: 931.51 GiB block-size: physical: 512 B logical: 512 B speed: 63.2 Gb/s
lanes: 4 tech: SSD serial: <filter> fw-rev: 5B2QGXA7 temp: 26.9 C
scheme: GPT
ID-2: /dev/nvme1n1 maj-min: 259:0 vendor: Samsung
model: SSD 970 EVO Plus 2TB size: 1.82 TiB block-size: physical: 512 B
logical: 512 B speed: 31.6 Gb/s lanes: 4 tech: SSD serial: <filter>
fw-rev: 4B2QEXM7 temp: 25.9 C scheme: GPT
ID-3: /dev/sda maj-min: 8:0 vendor: Seagate model: ST2000DM008-2FR102
size: 1.82 TiB block-size: physical: 4096 B logical: 512 B speed: 6.0 Gb/s
tech: HDD rpm: 7200 serial: <filter> fw-rev: 0001 scheme: GPT
Partition:
ID-1: / raw-size: 897.69 GiB size: 897.69 GiB (100.00%)
used: 338.09 GiB (37.7%) fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:4
ID-2: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%)
used: 584 KiB (0.2%) fs: vfat dev: /dev/nvme0n1p1 maj-min: 259:3
ID-3: /home raw-size: 897.69 GiB size: 897.69 GiB (100.00%)
used: 338.09 GiB (37.7%) fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:4
ID-4: /var/log raw-size: 897.69 GiB size: 897.69 GiB (100.00%)
used: 338.09 GiB (37.7%) fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:4
ID-5: /var/tmp raw-size: 897.69 GiB size: 897.69 GiB (100.00%)
used: 338.09 GiB (37.7%) fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:4
Swap:
Kernel: swappiness: 133 (default 60) cache-pressure: 100 (default) zswap: no
ID-1: swap-1 type: zram size: 30.47 GiB used: 4 KiB (0.0%) priority: 100
comp: zstd avail: lzo,lzo-rle,lz4,lz4hc,842 max-streams: 16 dev: /dev/zram0
ID-2: swap-2 type: partition size: 33.52 GiB used: 0 KiB (0.0%)
priority: -2 dev: /dev/nvme0n1p3 maj-min: 259:5
Sensors:
System Temperatures: cpu: 63.5 C mobo: 30.0 C
Fan Speeds (rpm): N/A
GPU: device: amdgpu temp: 35.0 C mem: 48.0 C fan: 0 watts: 22.00
device: amdgpu temp: 30.0 C
Info:
Memory: total: 32 GiB note: est. available: 30.47 GiB used: 9.33 GiB (30.6%)
Processes: 437 Power: uptime: 1d 19h 8m states: freeze,mem,disk
suspend: deep avail: s2idle wakeups: 3 hibernate: platform avail: shutdown,
reboot, suspend, test_resume image: 12.18 GiB services: org_kde_powerdevil,
power-profiles-daemon, upowerd Init: systemd v: 255 default: graphical
tool: systemctl
Packages: pm: pacman pkgs: 2104 libs: 582 tools: octopi,paru Compilers:
gcc: 13.2.1 Shell: garuda-inxi default: fish v: 3.7.0 running-in: konsole
inxi: 3.3.33
Garuda (2.6.23-1):
System install date:     2023-11-24
Last full system update: 2024-02-24
Is partially upgraded:   No
Relevant software:       snapper NetworkManager dracut
Windows dual boot:       No/Undetected
Failed units:            NetworkManager-wait-online.service

This is your problem. There are multiple Google results.

I’ve checked but I don’t understand how that has impacted my display, causing it to restart. My computer boots quickly and the display works fine upon startup. It’s only later that issue occurs. My network hasn’t had any issues whatsoever

Try switching to the LTS kernel to see if the issue persists. You can install the kernel and headers with Pacman:

sudo pacman -S linux-lts linux-lts-headers

You can boot with an alternate kernel from the “advanced” options in the Grub menu.

2 Likes

Okay giving it a shot

A hardware problem like this (bad cable) can produce the problems you describe.
Test if the issue happens with the bad monitor disconnected, and/or try with a good/new cable.

5 Likes

I haven’t ran into the issue since switching kernels, so seems like that was the issue

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.