fix(quest): gamescope no longer aborts at start with vk.WaitSemaphores -13 (#1938)

This commit is contained in:
Kurt Himebauch authored and GitHub committed 2026-11-03 21:58:49 -05:00
commit ad0d39f457
5 files changed
+270 -16

No files matched your search

+9
View File
@@ -19,6 +19,15 @@ class QuestKgslTest(unittest.TestCase):
self.assertIn('PASS: 12 GPUOBJ', result.stdout)
self.assertIn('PASS: denied timestamp reads', result.stdout)
def test_refused_timestamp_read_is_answered_from_waits(self):
with tempfile.TemporaryDirectory() as folder:
binary = str(Path(folder) / 'test-kgsl-read')
subprocess.run(['gcc', '-Wall', '-Wextra', '-Werror', '-O2', '-o', binary,
str(QUEST.parent / 'tests/test_kgsl_read.c'),
str(QUEST.parent / 'linuxfs/preload/kgslpoll.c')], check=True)
result = subprocess.run([binary], capture_output=True, text=True, check=True, timeout=10)
self.assertIn('PASS: refused timestamp reads', result.stdout)
if __name__ == '__main__':
unittest.main()