You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
"Stop SteamVR" waits forever when vrmonitor is already gone (vrserver ignores SIGINT) #5
Hi, and thanks for DriverKit! With it my PS VR2 runs on an Intel Arc A770 under niri.
SteamVR's compositor aborted during a session (ASSERT: "Vulkan transfer ring buffer overflow; transfer size 2315040!"), and vrmonitor exited with it. After that, Stop SteamVR printed Interrupted, stopping SteamVR... but never finished.
The INT/TERM trap in launch-steamvr.sh (line 292; line numbers as of 39b1e48) runs pkill -INT -x vrmonitor; pkill -INT -x vrserver. With vrmonitor gone, only vrserver gets the signal, and vrserver ignores SIGINT (SigIgn: 0000000000001006 in /proc/<pid>/status, so SIGINT, SIGQUIT and SIGPIPE are ignored). A SIGTERM didn't stop it within 20 seconds either. The script then waits in while pgrep -x vrserver >/dev/null; do sleep 2; done (line 755) indefinitely, with vrdashboard and the vrwebhelper processes still running.
kill -KILL <vrserver pid> ended it. After that, the script restored openvrpaths.vrpath, disconnected the controllers and collected the logs as usual. This happened three times in one evening.
Suggestion: if vrserver is still running a few seconds after the INT, send SIGKILL to it.
Sorry I can't do anything without logs and evidence, I know this is AI assisted, but read the bug report field form first if you want to post bug reports you need them to be in a way I can action them. I will wait for logs but if you don't provide I will close this issue. Also, do that for your other posts or I am just going to close them all out for improper submissions.
Sorry, I opened these with the GitHub CLI and skipped the bug report form. Here are the logs and the form fields.
Logs:issue5-logs.tar.gz: a fresh run from today on 39b1e48 (20261201-202324): the files of DriverKit's report-20261201-202324.tar.gz (with the full launcher log) plus issue5-repro-20261201.txt, my notes with the times. I replaced the headset serial, Bluetooth addresses, Steam ID, network address and my user name in paths.
What happens
Stop SteamVR prints Interrupted, stopping SteamVR... and then waits forever. vrserver, vrcompositor, vrdashboard and the vrwebhelper processes keep running. Only kill -KILL <vrserver pid> ended it; after that the launcher restored openvrpaths.vrpath and collected the logs, which is why the launcher log ends normally.
One correction to my first post: vrmonitor didn't exit with the compositor. It doesn't start at all in my DriverKit sessions. steamvr-20261201-202324.log has:
This application failed to start because it could not find or load the Qt platform plugin "wayland".
Available platform plugins are: xcb.
CachyOS's niri setup sets QT_QPA_PLATFORM=wayland by default: its installer puts in the cachyos-niri-noctalia dotfiles, and their misc.kdl has it (I didn't change it). SteamVR's Qt only ships the xcb plugin. So the trap's pkill -INT -x vrmonitor (launch-steamvr.sh line 292 at 39b1e48) finds nothing, vrserver ignores the SIGINT, and the loop at line 755 never ends. It doesn't need the compositor crash. Today's run (headset on, compositor running): I pressed Stop SteamVR in the app. At 20:24:58 the launcher still showed Interrupted, stopping SteamVR..., vrmonitor wasn't running, and vrserver had SigIgn: 0000000000001006 (SIGINT, SIGQUIT, SIGPIPE ignored). It was still running at 20:25:18, so I sent SIGKILL; the launcher then restored the config and finished at 20:25:36.
The same happened twice on 2026-11-30, once right after the compositor aborted (Vulkan transfer ring buffer overflow) and once with it running. I left those logs out to keep this short; I can add them if they help.
For comparison: my three sessions on 2026-12-01 also ran without vrmonitor, but I ended them through Steam instead of Stop SteamVR (vrserver.txt: steam has initiated a quit all). They shut down normally ([vrserver] Graceful exit), and their launcher logs have no Interrupted. So only the signal path hangs.
Steps to reproduce
Have QT_QPA_PLATFORM=wayland in the session (e.g. CachyOS's default niri config), so vrmonitor can't start
Start SteamVR from DriverKit (Launcher → Start SteamVR)
Press Stop SteamVR
The launcher stays at Interrupted, stopping SteamVR...; pgrep -x vrserver still finds it
Possible fixes: start SteamVR with QT_QPA_PLATFORM=xcb, so vrmonitor runs; and SIGKILL vrserver if it's still there a few seconds after the INT.
Where it happens: SteamVR (stopping it with Stop SteamVR in the DriverKit app) Version: v0.3 AppImage, Compile Driver on 2026-12-01 (39b1e48) Distribution, desktop and session type: CachyOS (kernel 7.3.6), niri 26.04, Wayland; no toolbox/distrobox Hardware: Intel Arc A770 16 GB on xe (Mesa 26.3.1), AMD Ryzen 9 3900X
Im looking into this issue, did you try QT_QPA_PLATFORM=xcb and did it work for you with that? I think this will lead to other issues, so let me know if it works first. And just so I can narrow it down did you try another DE? Just so I know its an Niri issue only.
Thanks, that was quick! I compiled 231492c and tested it on niri with SteamVR 2.19.6.
Stop SteamVR works now: vrmonitor starts, and after Stop, SteamVR ends with [vrserver] Graceful exit and the
launcher finishes. #8 is fixed too: with /usr/include/openvr hidden, all seven tools build.
One small thing: Stop takes 20 s, because vrmonitor ignores SIGINT too (it’s started by the same background job, SigIgn:
0000000000000006). So the first step always times out and the second one does the work:
22:06:31 Stop SteamVR pressed
22:06:51 [??] SteamVR didn't close within 20 s: ending it
22:06:52 vrserver: [vrserver] Graceful exit
env --default-signal=INT,QUIT in STEAMVR_ENV would fix that. With a test copy of the launcher that started SteamVR
that way, SteamVR was gone about 2 s after Stop
Activity
mkooner commentedon Dec 1, 2026
Sorry I can't do anything without logs and evidence, I know this is AI assisted, but read the bug report field form first if you want to post bug reports you need them to be in a way I can action them. I will wait for logs but if you don't provide I will close this issue. Also, do that for your other posts or I am just going to close them all out for improper submissions.
David581 commentedon Dec 1, 2026
Sorry, I opened these with the GitHub CLI and skipped the bug report form. Here are the logs and the form fields.
Logs:
issue5-logs.tar.gz: a fresh run from today on 39b1e48 (20261201-202324): the files of DriverKit'sreport-20261201-202324.tar.gz(with the full launcher log) plusissue5-repro-20261201.txt, my notes with the times. I replaced the headset serial, Bluetooth addresses, Steam ID, network address and my user name in paths.What happens
Stop SteamVR prints
Interrupted, stopping SteamVR...and then waits forever.vrserver,vrcompositor,vrdashboardand thevrwebhelperprocesses keep running. Onlykill -KILL <vrserver pid>ended it; after that the launcher restoredopenvrpaths.vrpathand collected the logs, which is why the launcher log ends normally.One correction to my first post: vrmonitor didn't exit with the compositor. It doesn't start at all in my DriverKit sessions.
steamvr-20261201-202324.loghas:CachyOS's niri setup sets
QT_QPA_PLATFORM=waylandby default: its installer puts in thecachyos-niri-noctaliadotfiles, and theirmisc.kdlhas it (I didn't change it). SteamVR's Qt only ships the xcb plugin. So the trap'spkill -INT -x vrmonitor(launch-steamvr.sh line 292 at 39b1e48) finds nothing, vrserver ignores the SIGINT, and the loop at line 755 never ends. It doesn't need the compositor crash. Today's run (headset on, compositor running): I pressed Stop SteamVR in the app. At 20:24:58 the launcher still showedInterrupted, stopping SteamVR..., vrmonitor wasn't running, and vrserver hadSigIgn: 0000000000001006(SIGINT, SIGQUIT, SIGPIPE ignored). It was still running at 20:25:18, so I sent SIGKILL; the launcher then restored the config and finished at 20:25:36.The same happened twice on 2026-11-30, once right after the compositor aborted (
Vulkan transfer ring buffer overflow) and once with it running. I left those logs out to keep this short; I can add them if they help.For comparison: my three sessions on 2026-12-01 also ran without vrmonitor, but I ended them through Steam instead of Stop SteamVR (vrserver.txt:
steam has initiated a quit all). They shut down normally ([vrserver] Graceful exit), and their launcher logs have noInterrupted. So only the signal path hangs.Steps to reproduce
QT_QPA_PLATFORM=waylandin the session (e.g. CachyOS's default niri config), so vrmonitor can't startInterrupted, stopping SteamVR...;pgrep -x vrserverstill finds itPossible fixes: start SteamVR with
QT_QPA_PLATFORM=xcb, so vrmonitor runs; and SIGKILL vrserver if it's still there a few seconds after the INT.Where it happens: SteamVR (stopping it with Stop SteamVR in the DriverKit app)
Version: v0.3 AppImage, Compile Driver on 2026-12-01 (39b1e48)
Distribution, desktop and session type: CachyOS (kernel 7.3.6), niri 26.04, Wayland; no toolbox/distrobox
Hardware: Intel Arc A770 16 GB on
xe(Mesa 26.3.1), AMD Ryzen 9 3900Xissue5-logs.tar.gz
mkooner commentedon Dec 1, 2026
Im looking into this issue, did you try QT_QPA_PLATFORM=xcb and did it work for you with that? I think this will lead to other issues, so let me know if it works first. And just so I can narrow it down did you try another DE? Just so I know its an Niri issue only.
mkooner commentedon Dec 1, 2026
OK i added QT_QPA_PLATFORM=xcb for Niri, so recompile based off the latest commits on the compile driver tab, everything should work for you now.
David581 commentedon Dec 1, 2026
Thanks, that was quick! I compiled 231492c and tested it on niri with SteamVR 2.19.6.
Stop SteamVR works now: vrmonitor starts, and after Stop, SteamVR ends with [vrserver] Graceful exit and the
launcher finishes. #8 is fixed too: with /usr/include/openvr hidden, all seven tools build.
One small thing: Stop takes 20 s, because vrmonitor ignores SIGINT too (it’s started by the same background job, SigIgn:
0000000000000006). So the first step always times out and the second one does the work:
22:06:31 Stop SteamVR pressed
22:06:51 [??] SteamVR didn't close within 20 s: ending it
22:06:52 vrserver: [vrserver] Graceful exit
env --default-signal=INT,QUIT in STEAMVR_ENV would fix that. With a test copy of the launcher that started SteamVR
that way, SteamVR was gone about 2 s after Stop