Rootless X server terminates 60 seconds after start
After a switch from lxdm and running X as root
to sddm and a rootless X server there is ~10% probability of the server terminating exactly 60 seconds after start. I have to sleep 60
each time I log in before proceeding with desktop launch. There is nothing in Xorg.0.log or kernel log. Sometimes I get
(WW) AMDGPU(0): flip queue failed: Invalid argument
(WW) AMDGPU(0): Page flip failed: Broken pipe
or
(WW) AMDGPU(0): flip queue failed: Invalid argument
(WW) AMDGPU(0): Page flip failed: Invalid argument
when X is finishing, but the emission of this message isn't correlated with the unexpected exit. On xorg-server 21.1.8 X would terminate ~50% of the time, the update to 21.1.9 significantly reduced the frequency, which leads me to move the issue from xf86-video-amdgpu here.
The DM executes X as /usr/bin/X -nolisten tcp -background none -seat seat0 -noreset -keeptty -novtswitch -verbose 3 -auth /run/user/1000/xauth_ardJzu -displayfd 13 vt4
. X-crash-strace X-crash-ltrace of the last few seconds of the process lifetime (21.1.8, no WM running).
RX 6500 XT lspci-nnvv, 1x FreeSync LCD over DP. Kernel 6.1.57 custom config dmesg, x86_64, Gentoo, gcc 13.2.1, xorg-server 21.1.9, xf86-video-amdgpu 23.0.0, linux-firmware 20231030, sddm 0.20.0.