mirror of
https://github.com/Droid-Deck/DroidDeck.git
synced 2026-11-20 05:16:01 +00:00
fix(quest): gamescope no longer aborts at start with vk.WaitSemaphores -13 (#1938)
This commit is contained in:
5 files changed
+270
-16
No files matched your search
@@ -46,6 +46,13 @@ needs to wait on timeline semaphores; the adapter answers it from the last submi
|
||||
and a zero-timeout `WAITTIMESTAMP`. Unhandled controller ioctls forward to the next
|
||||
preload hook rather than skipping it with a raw syscall.
|
||||
|
||||
The Ubuntu runtime's Turnip polls timeline points with
|
||||
`CMDSTREAM_READTIMESTAMP_CTXTID` and reports any failure as `VK_ERROR_UNKNOWN`,
|
||||
which aborted gamescope with `vk.WaitSemaphores` result -13 on Quest. The Linux
|
||||
preload (`tools/linuxfs/preload/kgslpoll.c`) answers a failed read from one
|
||||
millisecond `WAITTIMESTAMP` calls over the context's submitted timestamps, and
|
||||
logs refused KGSL ioctls to `session.log` as `[QuestKGSL] ioctl 0x.. refused`.
|
||||
|
||||
`tools/build_local.sh` and CI build the wrapper from source using the pinned
|
||||
Android NDK; the normal preload builds include the shared Linux adapter.
|
||||
Runtime input verification checks the resulting driver archive and invalidates
|
||||
|
||||
Reference in new issue
Block a user