Ryan Houdek
956f97efd4
Merge pull request #5124 from bylaws/wfnamec
...
Windows: Switch GetSection/ExecutableFilePath to returning full paths
2025-12-15 10:33:39 -08:00
Ryan Houdek
19d3450cb3
Merge pull request #5122 from bylaws/whehsajs
...
CMake: Support overriding version/hash via CMake args
2025-12-15 10:31:41 -08:00
Ryan Houdek
ebdbf58474
Merge pull request #5121 from bylaws/wheiwofjsddsjkkjdsalkjkjd
...
Windows: Split out CRT/WinAPI reimplementation
2025-12-15 10:30:29 -08:00
Ryan Houdek
37b0e9e275
Merge pull request #5118 from bylaws/wheiwofjsddsjk
...
WinAPI: Implement Sleep
2025-12-15 10:29:58 -08:00
Billy Laws
cd934b73ca
Windows: Switch GetSection/ExecutableFilePath to returning full paths
2025-12-15 17:23:23 +00:00
Billy Laws
c578df0bf1
CMake: Support overriding version/hash via CMake args
2025-12-15 15:35:03 +00:00
Billy Laws
f6dab33190
Windows: Split out CRT/WinAPI reimplementation
...
We can use the system CRT for the offline compiler, but still want to
pull in e.g. InvalidationTracker and other helpers.
2025-12-15 15:32:26 +00:00
Billy Laws
7c8fdc1651
WinAPI: Implement Sleep
...
Used by std::this_thread::sleep.
2025-12-15 15:30:00 +00:00
Tony Wasserka
ec6767060a
Merge pull request #5111 from neobrain/feature_code_cache_loading
...
CodeCache: Implement cache loading
2025-12-15 15:26:34 +00:00
Tony Wasserka
4157efaaf7
LinuxSyscalls: Move code cache loading code to a helper function
...
This stat-mmap-load-munmap pattern will be used a number of times in this
file.
2025-12-15 16:12:43 +01:00
Tony Wasserka
70eff81f19
CodeCache: Implement cache loading
2025-12-15 16:12:43 +01:00
Tony Wasserka
602ecece50
CodeCache: Clean up OrderedContainer checks
2025-12-15 12:21:41 +01:00
Ryan Houdek
a957f1f749
Merge pull request #5114 from ChanthMiao/fix/loopupcache
...
LookupCache: Fix mistake in nested CacheBlockMapping call
2025-12-14 08:33:29 -08:00
Changwei Miao
98f66d5028
LookupCache: Fix mistake in nested CacheBlockMapping call
...
Signed-off-by: Changwei Miao <chanthmiao@outlook.com >
2025-12-14 15:43:38 +08:00
LC
bf9ab7ffbe
Merge pull request #5108 from Sonicadvance1/20
...
github/steamrt4: Additional comments
2025-12-10 17:48:49 -05:00
Ryan Houdek
a44627df29
Steamrt/ServerManager: Change loop over to a blocking read
...
Discard any data and wait for EOF for now. That way we know when to
exit.
2025-12-09 13:08:01 -08:00
Ryan Houdek
91fab07ef1
Steamrt: Add missing toolmanifest.vdf
2025-12-09 13:08:01 -08:00
Ryan Houdek
6f027941b4
github/steamrt4: Increase retention time
...
To match the wine dll artifacts
2025-12-09 10:49:55 -08:00
Ryan Houdek
53925dcc3d
Merge pull request #5109 from smcv/wip/smcv/steamrt870
...
Steam: Don't let the FEXServer inherit FEXServerManager's original stdout
2025-12-09 10:49:48 -08:00
Simon McVittie
b821022247
Steam: Don't let the FEXServer inherit FEXServerManager's original stdout
...
Closing the original stdout is how we signal to a larger compatibility
tool (in practice pressure-vessel) that either we are ready, or we have
crashed: when every process that held the write end open has closed it,
the compatibility tool sees EOF on the pipe. If the FEXServer inherits
stdout and holds it open, then that state will never be reached.
steamrt/tasks#870
Signed-off-by: Simon McVittie <smcv@collabora.com >
2025-12-09 18:32:33 +00:00
LC
296988be02
Merge pull request #5107 from Sonicadvance1/19
...
Various trivial fixes for #5106
2025-12-08 21:48:27 -05:00
Ryan Houdek
788e8a6d87
LinuxSyscalls: Don't conflict with potential define for SA_RESTORER
2025-12-07 10:08:59 -08:00
Ryan Houdek
2423849196
VDSO: Use FHU::Syscalls::getcpu
2025-12-07 10:08:59 -08:00
Ryan Houdek
609e3e2e97
SeccompEmulator: Use FHU::Syscalls::tgkill
2025-12-07 10:08:59 -08:00
Ryan Houdek
2a5c1684de
AllocatorHooks: Add missing header
2025-12-07 10:08:59 -08:00
Ryan Houdek
31d89bec66
FHU: Fix copy and paste error
2025-12-07 10:08:59 -08:00
Ryan Houdek
cf5435e477
AsyncNet: Use decltype to get iov count
...
This could differ between size_t or int on implementations.
2025-12-07 10:08:59 -08:00
Ryan Houdek
e8591090f2
Merge pull request #5105 from gio3k/fix/debug-strace-fmt
...
Syscalls: Fix DEBUG_STRACE printing
2025-12-05 22:40:42 -08:00
Gio
486c8805ed
Syscalls: fix TraceFormatString for DEBUG_STRACE
...
Replaces the % strings with {}
2025-12-06 14:00:44 +08:00
LC
2e2563adc0
Merge pull request #5103 from Sonicadvance1/17
...
code-format-helper: Update urllib3 dependency
2025-12-05 21:24:00 -05:00
LC
c4258be693
Merge pull request #5104 from Sonicadvance1/18
...
JIT: Fixes typo
2025-12-05 21:23:29 -05:00
Ryan Houdek
f7eedc1f06
JIT: Fixes typo
...
A previous PR fixed this in the generated SourceOutline.md file. Add the
typo fix back in the file that generates it.
2025-12-05 17:12:24 -08:00
Ryan Houdek
ba1b4744c5
Docs: Update for release FEX-2512
FEX-2512
2025-12-05 16:11:40 -08:00
Ryan Houdek
bd13c02451
Merge pull request #5092 from Sonicadvance1/12
...
SyscallsSMCTracking: Workaround assert in ELF mapping
2025-12-05 15:44:09 -08:00
Ryan Houdek
2c63bde7b3
code-format-helper: Update urllib3 dependency
...
To silence dependabot warnings.
2025-12-05 15:08:54 -08:00
Ryan Houdek
5902b175f9
SyscallsSMCTracking: Workaround assert in ELF mapping
...
The ELF tracking thing has an expectation that only portions of ELF
files that are described in the program headers will be mapped
executable. This doesn't hold true as programs will remap random
portions of ELF files as executable. In the case that this occurs, don't
assert out and instead print a warning.
This was discovered as Node.js remaps a portion of itself executable
that isn't described as such in the program headers. I also have a local
unittest that exposes the same problem. I had discovered same problem in
some other program with #5038 .
Also fixes a bug where sometimes completely anonymously mapped
executable sneak in and cause a crash, which is kind of silly.
2025-12-05 14:50:58 -08:00
Ryan Houdek
d0e47f9073
Merge pull request #5096 from neobrain/feature_fexofflinecompiler
...
CodeCache: Implement offline compiler for cache generation
2025-12-05 14:47:58 -08:00
Ryan Houdek
bd7215d36f
Merge pull request #5093 from Sonicadvance1/13
...
SteamRT4: Adds support for building the steam depot
2025-12-05 14:39:30 -08:00
Ryan Houdek
f3f134f9de
FEXServer: Add support for FEX Logging control
...
Always enables FEXServer log thread when built for Steam so that clients
can be controlled with `STEAM_FEX_LOG=1`. FEX logs will then always go
to FEXServer and those can get directed to wherever pressure-vessel
chooses.
2025-12-04 14:06:18 -08:00
Ryan Houdek
cdbf5d57bd
Steam: Adds FEXServerManager
...
This is fairly simple. Needs to be installed alongside FEXServer, so
that it can start it in a portable config.
- Starts a FEXServer
- Tells pressure-vessel when FEXServer is ready
- Keeps FEXServer alive with the `watch_fd` as long as the process lives
- Listens for pressure-vessel to be shutting down
- Exits once pressure-vessel exits, also letting FEXServer shutdown if
no FEX instances are alive.
2025-12-04 14:06:17 -08:00
Ryan Houdek
1ae50bd670
FEXServerClient: Split out Connect and Start
...
Allow an optional watch_fd to be passed to FEXServer.
2025-12-04 14:02:43 -08:00
Ryan Houdek
d28c9f9843
FEXServerClient: Disallow abstract named sockets under Steam
...
We don't want clients connecting to random sockets.
2025-12-04 14:02:43 -08:00
Ryan Houdek
fe7d52aa78
github/steamrt4: Add artifacts
2025-12-04 14:02:43 -08:00
Ryan Houdek
fc0907f8c1
Steam: Add FEXCompatTool
2025-12-04 14:02:43 -08:00
Ryan Houdek
e57678d7a6
Config: Move Steam configs into config system
2025-12-04 14:02:43 -08:00
Ryan Houdek
45e594e806
Utils/StringUtils: Add in-place token replace helper
2025-12-04 14:02:43 -08:00
Ryan Houdek
87e7a0effa
CMake: Don't install test thunk if tests aren't enabled
2025-12-04 14:02:43 -08:00
Ryan Houdek
4fd1a35b2a
CMake: Disable some installs when building for Steam
2025-12-04 14:02:42 -08:00
Ryan Houdek
c460cf0678
Merge pull request #5097 from wcampbell-nv/cmdline-map
...
Remap /proc/pid/cmdline with PR_SET_MM_MAP
2025-12-04 14:02:19 -08:00
Tony Wasserka
983802da61
CodeCache: Add offline compiler for generating caches
2025-12-04 19:16:51 +01:00