Skip to content

Play your Steam library's Windows games on a jailbroken PS5.

C++

Close a Zink window's swapchain with its context

Leonardo Lobato91c4366d746e
diff --git a/dependencies.lock.json b/dependencies.lock.json
index f644aab..226215e 100644
--- a/dependencies.lock.json
+++ b/dependencies.lock.json
@@ -177,7 +177,7 @@
}
},
"prospero_win": {
- "revision": "8604b974036273d567ae59f614d571ccadbcd03c",
+ "revision": "46a3203999ed6bd5a8034deef2eedc0c11284aba",
"url": "https://github.com/leolobato/prospero-win.git",
"default_source": "third_party/prospero-win",
"published": false,
@@ -185,7 +185,7 @@
"retained_runtime_artifact_revision": "bceed2d-kit-h-r1",
"upstream_url": "https://github.com/mpereiraesaa/prospero-win.git",
"branch": "main",
- "note": "Rebased onto upstream b510eb3 on 2026-10-08. Any-title shell on fixed kit B (25a967d). Firmware 13.60 uses the authorized no-drop fallback; games retain root recovery. Runtime remains bea2be5. Same tree as kit C's shell revision 850e62c (history squashed; the old commits are on backup/playden-ps5-850e62c). 33130a9 adds publication metadata schema 3 (game_root.unowned) for game folders on exFAT drives. a9ce0d0 pins the packager to the kit D runtime built from 8ff88bf (rebased forks, direct-memory heap). Kits G to H r8: see this file's git history. c5808b2 pins the packager to the kit 0.10 runtime built from cd3de27 (media backend and Wine patches 0964, 0965, 0970-0972, 0980, 0981). d0e60e8 adds Wine patch 0982 (the PS5 high reserved area at 0x1000000000 asks for 512 GiB and halves down to 16 GiB, PW_PS5_HIGH_RESERVE_GB); kit 0.10 and its runtime are unchanged until a kit is built from it. f729534 (feat/120hz-output) adds Wine patch 0983 (the PS5 driver reports 120 Hz when the title asks for it) and the [display] frame_rate key; the title passes PS5_VIDEOOUT_REFRESH and PS5_VIDEOOUT_FRAME_RATE to libvulkan.prx. ee24762 pins the packager to the kit 0.12 runtime built from f729534. ffb3b7a changes only the title shell: the game keeps its XInput controller, neutral, while the PS5 system overlay has the DualSense; the kit 0.12 runtime is unchanged. 031302d adds Wine patch 0984 (the PS5 user driver posts WM_DEVICECHANGE when the title's controller connects or disconnects) and a sink call in ntdll for it; a DualSense that turns off disconnects the game's controller again. A kit with it needs ntdll.prx and win32u.prx from 031302d. ce28942 changes only the title shell: it reads [runtime] version; a profile without it (version 1) keeps wave64 pixel shaders with RADV_PS5_PS_WAVE64=1 unless it asks for pswave32, version 2 takes the driver's default (wave32 with PS5_Mesa 15f78ec). A kit with it lists the capability profile-version-2. e709a0b pins the packager to the kit 0.13 runtime built from 031302d (no NW.js patch 0985). 053bdbf (2026-10-28): rebased onto upstream 404cac6 (33 upstream commits: thread and fiber stacks commit as on Windows (0604), Unix heap headroom (#470), protected-page faults (0974), parked directory descriptors (0871), single-program titles, the in-game menu ([display] menu), frame generation ([display] framegen), the PS5 keyboard on a two-finger click, touchpad Back/Guide halves, L2/R2 vibration, compatible vibration mode, the 3 s close hold, [input] player2, TLS roots 2026-10-20); 10 fork commits dropped as upstreamed; the old tip is on backup/rebase-pre-upstream-2026-10-28. 053bdbf adds [input] rumble = 0-100 (kit capability input-rumble); 54d6889 and 4b38aa5 fix two host tests on Linux (the RADV adapter syntax check and make sanitize). 3e306b5 pins the packager to the kit 0.14 runtime built from 053bdbf. 4f6d38e adds Wine patch 0986 (hot accesses beside an inaccessible page keep their host page whole instead of being single-stepped; Unity's Mono games such as Darkwood ran at 5 fps on 0.14) and 2ffeb6c its test. 28ed795 pins the packager to the kit 0.15 runtime built from 4f6d38e. cbda37d adds Wine patch 0987 (hot writes beside a code page are not reported) and d711a65 its test. 0920845 adds Wine patch 0988 (kernel writes beside a protected page), 4d0d97d 0989 (that report only with PW_SUBPAGE_REPORT=1), 7c6e272 tests. 1bd9163 pins the packager to the kit 0.16 runtime built from 4d0d97d. 3926b27 adds Wine patch 0993 (read-only file descriptors past a budget are parked and opened again by name: a title can hold only about 256 files from open() at once). 8604b97 pins the packager to the kit 0.17 runtime built from 3926b27."
+ "note": "Rebased onto upstream b510eb3 on 2026-10-08. Any-title shell on fixed kit B (25a967d). Firmware 13.60 uses the authorized no-drop fallback; games retain root recovery. Runtime remains bea2be5. Same tree as kit C's shell revision 850e62c (history squashed; the old commits are on backup/playden-ps5-850e62c). 33130a9 adds publication metadata schema 3 (game_root.unowned) for game folders on exFAT drives. a9ce0d0 pins the packager to the kit D runtime built from 8ff88bf (rebased forks, direct-memory heap). Kits G to H r8: see this file's git history. c5808b2 pins the packager to the kit 0.10 runtime built from cd3de27 (media backend and Wine patches 0964, 0965, 0970-0972, 0980, 0981). d0e60e8 adds Wine patch 0982 (the PS5 high reserved area at 0x1000000000 asks for 512 GiB and halves down to 16 GiB, PW_PS5_HIGH_RESERVE_GB); kit 0.10 and its runtime are unchanged until a kit is built from it. f729534 (feat/120hz-output) adds Wine patch 0983 (the PS5 driver reports 120 Hz when the title asks for it) and the [display] frame_rate key; the title passes PS5_VIDEOOUT_REFRESH and PS5_VIDEOOUT_FRAME_RATE to libvulkan.prx. ee24762 pins the packager to the kit 0.12 runtime built from f729534. ffb3b7a changes only the title shell: the game keeps its XInput controller, neutral, while the PS5 system overlay has the DualSense; the kit 0.12 runtime is unchanged. 031302d adds Wine patch 0984 (the PS5 user driver posts WM_DEVICECHANGE when the title's controller connects or disconnects) and a sink call in ntdll for it; a DualSense that turns off disconnects the game's controller again. A kit with it needs ntdll.prx and win32u.prx from 031302d. ce28942 changes only the title shell: it reads [runtime] version; a profile without it (version 1) keeps wave64 pixel shaders with RADV_PS5_PS_WAVE64=1 unless it asks for pswave32, version 2 takes the driver's default (wave32 with PS5_Mesa 15f78ec). A kit with it lists the capability profile-version-2. e709a0b pins the packager to the kit 0.13 runtime built from 031302d (no NW.js patch 0985). 053bdbf (2026-10-28): rebased onto upstream 404cac6 (33 upstream commits: thread and fiber stacks commit as on Windows (0604), Unix heap headroom (#470), protected-page faults (0974), parked directory descriptors (0871), single-program titles, the in-game menu ([display] menu), frame generation ([display] framegen), the PS5 keyboard on a two-finger click, touchpad Back/Guide halves, L2/R2 vibration, compatible vibration mode, the 3 s close hold, [input] player2, TLS roots 2026-10-20); 10 fork commits dropped as upstreamed; the old tip is on backup/rebase-pre-upstream-2026-10-28. 053bdbf adds [input] rumble = 0-100 (kit capability input-rumble); 54d6889 and 4b38aa5 fix two host tests on Linux (the RADV adapter syntax check and make sanitize). 3e306b5 pins the packager to the kit 0.14 runtime built from 053bdbf. 4f6d38e adds Wine patch 0986 (hot accesses beside an inaccessible page keep their host page whole instead of being single-stepped; Unity's Mono games such as Darkwood ran at 5 fps on 0.14) and 2ffeb6c its test. 28ed795 pins the packager to the kit 0.15 runtime built from 4f6d38e. cbda37d adds Wine patch 0987 (hot writes beside a code page are not reported) and d711a65 its test. 0920845 adds Wine patch 0988 (kernel writes beside a protected page), 4d0d97d 0989 (that report only with PW_SUBPAGE_REPORT=1), 7c6e272 tests. 1bd9163 pins the packager to the kit 0.16 runtime built from 4d0d97d. 3926b27 adds Wine patch 0993 (read-only file descriptors past a budget are parked and opened again by name: a title can hold only about 256 files from open() at once). 8604b97 pins the packager to the kit 0.17 runtime built from 3926b27. 46a3203 moves the Mesa WGL/Zink recipe to PS5_Mesa 4778ff0 (a context destroyed before its end-of-frame flush no longer keeps its swapchain; only libgallium_wgl.dll and opengl32.dll change); kit 0.17 and its runtime are unchanged until a kit is built from it."
},
"prospero_bottle_preparation": {
"hl2-fresh-v16": {
diff --git a/third_party/prospero-win b/third_party/prospero-win
index 8604b97..46a3203 160000
--- a/third_party/prospero-win
+++ b/third_party/prospero-win
@@ -1 +1 @@
-Subproject commit 8604b974036273d567ae59f614d571ccadbcd03c
+Subproject commit 46a3203999ed6bd5a8034deef2eedc0c11284aba