What caused the crash
Whenever "something" happens to the monitor layout my eDP-1 display freezes. If connected to external screens the external ones will work.
I traced this down to an issue in my graphics setup but thought I nevertheless report it here as well.
This issue seems to have started with a OS/driver upgrade 2 weeks ago but given that there were lots of updates I can't really say which one's at fault.
To fix the bug I can either turn off edp like so:
echo 1 | sudo tee /sys/kernel/debug/dri/0000:c4:00.0/eDP-1/disallow_edp_enter_psr
or disable/enable eDP-1 in config.kdl like so:
#!/bin/bash
CONFIG="$HOME/.config/niri/config.kdl"
if grep -A20 'output "eDP-1"' "$CONFIG" | grep -q '^[[:space:]]*off'; then
# Enable eDP-1
sed -Ei '/output "eDP-1" \{/,/^}/ s@^([[:space:]]*)off@\1// off@' "$CONFIG"
echo "eDP-1 enabled"
else
# Disable eDP-1
sed -Ei '/output "eDP-1" \{/,/^}/ s@^([[:space:]]*)// off@\1off@' "$CONFIG"
echo "eDP-1 disabled"
fi
Report file
report.txt
log.qslog.log
Configuration
Environment is Arch Linux running Niri and Dank
inxi -Gxx 17ms
Graphics:
Device-1: Advanced Micro Devices [AMD/ATI] Strix [Radeon 880M / 890M]
vendor: Lenovo driver: amdgpu v: kernel arch: RDNA-3 pcie: speed: 16 GT/s
lanes: 16 ports: active: eDP-1 empty: DP-1, DP-2, DP-3, DP-4, DP-5, DP-6,
DP-7, HDMI-A-1, Writeback-1 bus-ID: c4:00.0 chip-ID: 1002:150e
temp: 45.0 C
Device-2: Luxvisions Innotech Integrated RGB Camera driver: uvcvideo
type: USB rev: 2.0 speed: 480 Mb/s lanes: 1 bus-ID: 1-1:2 chip-ID: 30c9:00f4
Display: wayland server: X.org v: 1.21.1.24 with: Xwayland v: 24.1.13
compositor: niri driver: X: loaded: modesetting alternate: fbdev,vesa
dri: radeonsi gpu: amdgpu display-ID: 1
Monitor-1: eDP-1 model: Lenovo N160JCA-GT1 res: 1920x1200 hz: 60 dpi: 142
diag: 406mm (16")
API: EGL v: 1.5 platforms: device: 0 drv: radeonsi device: 1 drv: swrast
gbm: drv: radeonsi surfaceless: drv: radeonsi wayland: drv: radeonsi x11:
drv: radeonsi
API: OpenGL v: 4.6 vendor: amd mesa v: 26.1.5-arch1.1 glx-v: 1.4
direct-render: yes renderer: AMD Radeon 890M Graphics (radeonsi strix1 ACO
DRM 3.64 7.1.4-arch1-1) device-ID: 1002:150e
API: Vulkan v: 1.4.350 surfaces: N/A device: 0 type: integrated-gpu
driver: mesa radv device-ID: 1002:150e
Info: Tools: api: clinfo, eglinfo, glxinfo, vulkaninfo
de: kscreen-console,kscreen-doctor wl: wayland-info
x11: xdpyinfo, xprop, xrandr
Backtrace
No response
What caused the crash
Whenever "something" happens to the monitor layout my eDP-1 display freezes. If connected to external screens the external ones will work.
I traced this down to an issue in my graphics setup but thought I nevertheless report it here as well.
This issue seems to have started with a OS/driver upgrade 2 weeks ago but given that there were lots of updates I can't really say which one's at fault.
To fix the bug I can either turn off edp like so:
echo 1 | sudo tee /sys/kernel/debug/dri/0000:c4:00.0/eDP-1/disallow_edp_enter_psror disable/enable eDP-1 in config.kdl like so:
Report file
report.txt
log.qslog.log
Configuration
Environment is Arch Linux running Niri and Dank
inxi -Gxx 17ms
Graphics:
Device-1: Advanced Micro Devices [AMD/ATI] Strix [Radeon 880M / 890M]
vendor: Lenovo driver: amdgpu v: kernel arch: RDNA-3 pcie: speed: 16 GT/s
lanes: 16 ports: active: eDP-1 empty: DP-1, DP-2, DP-3, DP-4, DP-5, DP-6,
DP-7, HDMI-A-1, Writeback-1 bus-ID: c4:00.0 chip-ID: 1002:150e
temp: 45.0 C
Device-2: Luxvisions Innotech Integrated RGB Camera driver: uvcvideo
type: USB rev: 2.0 speed: 480 Mb/s lanes: 1 bus-ID: 1-1:2 chip-ID: 30c9:00f4
Display: wayland server: X.org v: 1.21.1.24 with: Xwayland v: 24.1.13
compositor: niri driver: X: loaded: modesetting alternate: fbdev,vesa
dri: radeonsi gpu: amdgpu display-ID: 1
Monitor-1: eDP-1 model: Lenovo N160JCA-GT1 res: 1920x1200 hz: 60 dpi: 142
diag: 406mm (16")
API: EGL v: 1.5 platforms: device: 0 drv: radeonsi device: 1 drv: swrast
gbm: drv: radeonsi surfaceless: drv: radeonsi wayland: drv: radeonsi x11:
drv: radeonsi
API: OpenGL v: 4.6 vendor: amd mesa v: 26.1.5-arch1.1 glx-v: 1.4
direct-render: yes renderer: AMD Radeon 890M Graphics (radeonsi strix1 ACO
DRM 3.64 7.1.4-arch1-1) device-ID: 1002:150e
API: Vulkan v: 1.4.350 surfaces: N/A device: 0 type: integrated-gpu
driver: mesa radv device-ID: 1002:150e
Info: Tools: api: clinfo, eglinfo, glxinfo, vulkaninfo
de: kscreen-console,kscreen-doctor wl: wayland-info
x11: xdpyinfo, xprop, xrandr
Backtrace
No response