1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
|
# SPDX-FileCopyrightText: 2026 Tomasz Kramkowski <tomasz@kramkow.ski>
# SPDX-License-Identifier: CC0-1.0
target = "Beta 2.19.2, build 26496310"
[[targets]]
path = "bin/linux64/vrcompositor"
sha256 = "7695e718ee0d070df596663d737b6a183aa650a2c66b90a035cc7f227a7a49e1"
edits = [
# Wait for GPU to finish using its resources (see #952)
[0x4056c1, "84c00f842f570000eb06"],
[0x4056d1, "488dbbe00d0000e90a570000"],
[0x40addb, "e840db0600"],
[0x40ade0, "e9dca8ffff9090"],
# Stop reusing GPU work identifier across frames (allows above patch to
# work reliably)
[0x41dfa4, "31c09090909090"],
[0x41e8b9, "31c09090909090"],
[0x41e8f4, "909090909090"],
# Fix shader descriptor texture array counts (should be 3, not 1) for
# bindings 9, 17, and 20. Affected shaders:
# - distort_none_ps
# - distort_none_ps_layered
# - distort_panorama_ps
# - distort_panorama_solid_color_ps
# - distort_ps_achromatic_nd
[0x4056e1, "498b5500b80300000089424ceb22"],
[0x405711, "89828c0000008982a4000000eb12"],
[0x405731, "4c8bbd18feffffe902200100"],
[0x417738, "e9a4dffeff9090"],
]
[targets.compiled]
sources = ["image-wait/trampoline.S", "image-wait/image_wait.c"]
imports = { append_wait = 0x466b60, resume_transition = 0x40f757 }
hooks = [
# Make the compositor wait for frames submitted by the application to
# complete rendering before trying to encode them etc. (#1046)
{ address = 0x40f750, length = 7, target = "input_wait" },
]
[[targets]]
path = "bin/linux64/vrserver"
sha256 = "f2caabae6e7e5e00f712766d5aa5089ef1905a4ee70575a200ea4fb063471b6a"
edits = [
# Remove logger calls in forked processes (can cause a deadlock and make
# the process linger preventing SteamVR from starting again)
[0x2c12d6, "9090909090"],
[0x2c14c7, "9090909090"],
[0x2c155c, "9090909090"],
[0x2c1676, "9090909090"],
[0x2c174f, "9090909090"],
[0x2c15e9, "9090909090"],
]
[[targets]]
path = "drivers/vrlink/bin/linux64/driver_vrlink.so"
sha256 = "df21d2496e78f5490fa1e0eb1f1b32546381a4aeee5dd6aa985982af8f6c07d7"
edits = [
# Keep increasing (mod(2^16)) the ACK cutoff instead of clearing it (#965)
[0xd92ed, "89836c0d000090909090"],
# Wait for encoder to finish before reconfiguring it
# (ulVideoTimeline == ulTimelineSequence) (#965)
[0x13c482, "83bb4c090000007458e9702c0000"],
[0x13c4e3, "488b8328090000e9ec210000"],
[0x13e6d4, "e9a9ddffff9090"],
# Clean up failed encoded frames so the above fix doesn't wait forever when
# these trigger a reset
[0x13d8e5, "e927000000"],
[0x13d911, "488b9d70ffffff4c01f3e9d6feffff"],
# Reset tracking and encoding when starting a new streaming session
[0x112bf1, "57488b7f184885ff740feb04"],
[0x112c01, "488b076a015eff50285fe90013feff"],
[0x11a3f1, "4c89a30804000031c0894308c3"],
# Preserve the conditional readiness reset before the session store.
[0x11a441, "e8abffffff6690"],
[0x11a454, "e89887ffff"],
# Ignore stale tracking IDs and repeated older attempts
[0x11b4b1, "89d02b47084189c6c1e004"],
[0x11b4bc, "0f8853050000"],
[0x11b7c4, "0f84f718fdff"],
[0xed0c1, "410fb644240988430ee946e90200"],
]
|