You are not logged in.
Pages: 1
Hello, recently installed Arch on Asus ROG laptop, and I can't seem to figure this xrandr issue. I've configured asusctl and supergfxclt following the asus-linux Arch Guide.
When i turn my laptop on with HDMI cable plugged in, xrandr correctly detects and allows me to connect the second monitor. But from the moment that i unplug the HDMI cable, xrandr can not detect HDMI ever again until I reboot the laptop with the cable on. I've not tried another cables since I don't believe this problem is related to the cable, since I used it on other machines and it works. Currently I'm on hybrid mode using both gpus (although I've not managed to find if this is related to dGPU or not). I've tried downgrading to the linux-lts kernel, but still having the same issue.
$ lspci -k | grep -EA3 "VGA|3D"
pcilib: Error reading /sys/bus/pci/devices/0000:00:08.3/label: Operation not permitted
03:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Navi 23 [Radeon RX 6650 XT / 6700S / 6800S] (rev c2)
Subsystem: ASUSTeK Computer Inc. Device 1dec
Kernel driver in use: amdgpu
Kernel modules: amdgpu
--
07:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Rembrandt [Radeon 680M] (rev c8)
Subsystem: ASUSTeK Computer Inc. Device 1dec
Kernel driver in use: amdgpu
Kernel modules: amdgpuDon't know if this is related or not but sometimes, on reboot, i get a blinking cursor and the pc doesn't shutdown and i get the following on journalctl:
Nov 20 11:13:15 kayke kernel: amdgpu 0000:03:00.0: amdgpu: Dumping IP State
Nov 20 11:13:15 kayke kernel: amdgpu 0000:03:00.0: amdgpu: Dumping IP State Completed
Nov 20 11:13:15 kayke kernel: amdgpu 0000:03:00.0: amdgpu: [drm] AMDGPU device coredump file has been created
Nov 20 11:13:15 kayke kernel: amdgpu 0000:03:00.0: amdgpu: [drm] Check your /sys/class/drm/card1/device/devcoredump/data
Nov 20 11:13:15 kayke kernel: amdgpu 0000:03:00.0: amdgpu: ring sdma0 timeout, signaled seq=405, emitted seq=408
Nov 20 11:13:15 kayke kernel: amdgpu 0000:03:00.0: amdgpu: Starting sdma0 ring reset
Nov 20 11:13:15 kayke kernel: amdgpu 0000:03:00.0: [drm:amdgpu_ring_test_helper [amdgpu]] *ERROR* ring sdma0 test failed (-110)
Nov 20 11:13:16 kayke kernel: amdgpu 0000:03:00.0: amdgpu: Ring sdma0 reset failed
Nov 20 11:13:16 kayke kernel: amdgpu 0000:03:00.0: amdgpu: GPU reset begin!
Nov 20 11:13:16 kayke kernel: amdgpu 0000:03:00.0: amdgpu: device lost from bus!
Nov 20 11:13:16 kayke kernel: amdgpu 0000:03:00.0: amdgpu: GPU reset end with ret = -19
Nov 20 11:13:16 kayke kernel: amdgpu 0000:03:00.0: amdgpu: GPU Recovery Failed: -19
Nov 20 11:13:26 kayke kernel: amdgpu 0000:03:00.0: amdgpu: Dumping IP State
Nov 20 11:13:26 kayke kernel: amdgpu 0000:03:00.0: amdgpu: Dumping IP State Completed
Nov 20 11:13:26 kayke kernel: amdgpu 0000:03:00.0: amdgpu: [drm] AMDGPU device coredump file has been created
Nov 20 11:13:26 kayke kernel: amdgpu 0000:03:00.0: amdgpu: [drm] Check your /sys/class/drm/card1/device/devcoredump/data
Nov 20 11:13:26 kayke kernel: amdgpu 0000:03:00.0: amdgpu: ring sdma0 timeout, signaled seq=405, emitted seq=408
Nov 20 11:13:26 kayke kernel: amdgpu 0000:03:00.0: amdgpu: Starting sdma0 ring reset
Nov 20 11:13:27 kayke kernel: amdgpu 0000:03:00.0: [drm:amdgpu_ring_test_helper [amdgpu]] *ERROR* ring sdma0 test failed (-110)
Nov 20 11:13:27 kayke kernel: amdgpu 0000:03:00.0: amdgpu: Ring sdma0 reset failed
Nov 20 11:13:27 kayke kernel: amdgpu 0000:03:00.0: amdgpu: GPU reset begin!
Nov 20 11:13:27 kayke kernel: amdgpu 0000:03:00.0: amdgpu: device lost from bus!
Nov 20 11:13:27 kayke kernel: amdgpu 0000:03:00.0: amdgpu: GPU reset end with ret = -19
Nov 20 11:13:27 kayke kernel: amdgpu 0000:03:00.0: amdgpu: GPU Recovery Failed: -19
Nov 20 11:13:33 kayke systemd-logind[683]: Power key pressed short.from dmesg i get this error from amdgpu:
[ 111.149310] amdgpu 0000:03:00.0: amdgpu: New power limit (100) is out of range [80,80]
[ 111.149313] [drm:amdgpu_device_ip_resume_phase2 [amdgpu]] *ERROR* resume of IP block <smu> failed -22
[ 111.149627] amdgpu 0000:03:00.0: amdgpu: amdgpu_device_ip_resume failed (-22).Offline
1. is this an X11 session at all (xrandr on wayland has extremely limited meaning)
2. if this is X11, please post your Xorg log, https://wiki.archlinux.org/title/Xorg#General
Online
Yes this is indeed X11, here is the log:
https://0x0.st/KOay.txt
Offline
[ 44.108] (II) AMDGPU(G0): Output HDMI-A-1-0 has no monitor section
[ 44.109] (II) AMDGPU(G0): EDID for output HDMI-A-1-0Ok,
When i turn my laptop on with HDMI cable plugged in, xrandr correctly detects and allows me to connect the second monitor. But from the moment that i unplug the HDMI cable, xrandr can not detect HDMI ever again until I reboot the laptop with the cable on.
Is the xorg log w/o the monitor attached?
In the working and failing (but expected to work) condition check
for OUT in /sys/class/drm/card*; do echo $OUT; edid-decode $OUT/edid; echo "================="; doneYou'll need https://archlinux.org/packages/extra/x86_64/v4l-utils/
You'll might have to inject the edid: https://wiki.archlinux.org/title/Kernel … s_and_EDID
Online
Pages: 1