Seg fault in present_get_crtc, starting SteamVR with nvidia-510.54-1, HTC vive after power cycle
After recent powercuts (thanks to Storm Eunice), or if I fully power cycle my PC via the switch and power cycle my HTC Vive connector box, when I start SteamVR it crashes xorg. Here's a coredump backtrace: coredump-gdb3.txt
After a lot of fiddling about (restarting, pulling DP/USB wires) I can sometimes get it working again, unsure exactly how, but I seem to be able to reproduce after a full shutdown and power cycle of PC and vive box (this also appears to make the bios/LUKS passphrase screen/UEFI console or whatever appear on the monitor rather than the headset, normally it ends up only on headset).
The relevant part is:
#7 OsSigHandler (signo=11, sip=0x7715577c8eb0, unused=<optimized out>) at ../xorg-server-21.1.3/os/osinit.c:110
#8 0x00006f8508142560 in <signal handler called> () at /usr/lib/libc.so.6
#9 0x0000000000000000 in ()
#10 0x00000d857342da5e in present_get_crtc (window=window@entry=0xd85b2806a20) at ../xorg-server-21.1.3/present/present.c:52
screen = 0xd85b1d39560
screen_priv = <optimized out>
crtc = 0x0
This is on Archlinux, with the following packages:
- xorg-server 21.1.3-4 (built from the testing version for debug, but also happens in extra version 21.1.3-3)
- nvidia-dkms 510.54-1
- linux-hardened 5.15.21.hardened1-3
- linux 5.16.10.arch1-1 (seen in both kernels)
Happy to do more debugging in gdb if it helps.