7900XTX: Kernel 6.4.X/6.5.X X11 crashes when rotating second display via xrandr
Brief summary of the problem:
My usual setup is:
exec_always --no-startup-id xrandr --output DisplayPort-0 --primary --mode 3840x2160 --rate 144.00 --rotate normal --pos 0x1024 --scale 1x1 --set TearFree on
exec_always --no-startup-id xrandr --output DisplayPort-1 --mode 3840x2160 --rate 144.00 --rotate left --pos 3840x0 --scale 1x1 --set TearFree on
It seems that with the second line (my 2nd, vertical monitor on DisplayPort-1), X11 crashes/freezes/hangs when attempting to set the rotation.
Stripping down all options besides rotate and the output also results in X11 crashing/freezing/hanging while the primary monitor remains fine.
This issue only sometimes occurs on kernels 6.4.X (I can sometimes log into kernel 6.4.12 just fine) and never occurs on kernel 6.3.9. The issue always seems to occur on kernel 6.5.X.
I am using i3 on X11. Sway on Wayland does not crash with the second output rotated.
Hardware description:
- CPU: AMD Ryzen 9 7950X3D (32) @ 5.7GHz
- GPU: AMD ATI Radeon RX 7900 XT/7900 XTX
- System Memory: 64040MiB
- Display(s): 3840x2160 Landscape, 3840x2160 Portrait
- Type of Display Connection: DP
System information:
- Distro name and Version: Gentoo
- Kernel version: 6.5.2-zen1-znver4-o3-pds
- Custom kernel: Zen Sources
- AMD official driver version: N/A
How to reproduce the issue:
- Have two LG 4k 144hz monitors.
- Attempt to login with configs pre-set or set rotation of secondary monitor at runtime via
xrandr --output DisplayPort-1 --rotate left
. - X11 freezes/crashes/hangs.
Log files (for system lockups / game freezes / crashes)
- Dmesg log (full log)
- Xorg log
- Any other log
Edited by kzd