Half-Life: Alyx crashes when a barnacle blood spray fills the view
Describe the bug
The native Linux build of Half-Life: Alyx crashes when a barnacle is shot and the blood spray fills the view. The hlvr process disconnects from SteamVR. This happens almost every time that spray fills the view.
To Reproduce
- Start SteamVR and connect a Steam Frame.
- Launch the native Linux build of Half-Life: Alyx (Vulkan, through Steam Linux Runtime).
- Shoot a barnacle while looking at it, so the blood spray fills the view.
- The game exits.
The same crash also happens with the Steam client beta, SteamVR beta, and SteamOS Preview on the headset. The logs and minidumps linked below are from the stable session on 3 October 2026.
Expected behavior
The barnacle dies and the game keeps running.
System Information
- Steam client version: build
1788652215(6 September 2026), stable - SteamVR version: 2.17.10 (
v1789498647, build25330290), stable, no beta branch selected - Distribution: CachyOS (rolling, Arch-like), kernel
7.2.8-2-cachyos, KDE Plasma on Wayland (Xwayland,DISPLAY=:0) - GPU: AMD Radeon RX 9070 XT (RADV GFX1201,
1002:7550), Mesa26.2.4-arch3.1. The Raphael integrated GPU on a Ryzen 9 9950X3D is also present. - OpenXR active runtime: SteamVR (
~/.config/openxr/1/active_runtime.json) - Headset: Steam Frame with Frame controllers. Reproduced on stable SteamOS and on SteamOS Preview.
- Game: Half-Life: Alyx (app 546560), build
25487405, public branch. Native binarygame/bin/linuxsteamrt64/hlvr, launched viagame/hlvr.shwith-vr -steam -noasserts -nopassiveasserts +map startup -vulkan.
Steam Runtime Diagnostics (Help → Steam Runtime Diagnostics), VR logs, and minidumps:
https://gist.github.com/jonkoops/beb53df925251fcbe292c97726c367d9
The gist has the diagnostics text, vrserver.txt, vrcompositor.txt, vrcompositor-linux.txt, vrclient_hlvr.txt, and jon_log.txt. steam-vr-logs.tar.gz.b64 is a base64 copy of the vr*.txt logs. steam-minidumps.tar.gz.b64 is a base64 copy of /tmp/dumps. Decode with base64 -d <file>.b64 > <file>.
Steam already uploaded these crash dumps. Times in jon_log.txt are GMT (local time is CEST, UTC+2).
hlvr disconnected at 16:41:39 local, dumps uploaded 14:41 GMT:
bp-bf689ded-d633-4ec9-8db5-898642261003bp-287981e9-dd65-460c-acbf-ebc9c2261003bp-a699d855-598d-45ec-ae33-e59252261003
hlvr disconnected at 16:49:24 local, dumps uploaded 14:49 GMT:
- assert
bp-78461e29-a4ba-4a63-97af-cd4762261003 bp-6013abad-db4a-4d9d-a383-9729d2261003bp-583484ac-e65a-45cf-b332-387c62261003bp-8c26cb8e-548d-47f4-9836-286fc2261003
Around the SteamVR restart at 16:36 local (14:36 GMT):
- assert
bp-367394ef-3db2-40b9-938f-9f1ad2261003 bp-92641f16-4730-493a-a104-5c0ab2261003- assert
bp-040e3ed3-aa37-4a51-b517-e14da2261003
crash_20261003174911_2.dmp (17:49 local, when the compositor shut down) is in the minidump archive and has no uploaded CrashID.
Dumps uploaded during the 2 October session (17:38–17:56 GMT / 19:38–19:56 CEST):
bp-a9d8c505-92bf-4c82-9b4f-da0ed2261002bp-ac24c378-434d-44f1-82c5-266592261002bp-30223e29-b049-4eaa-ae9a-326d52261002bp-646356e4-2bae-423d-9268-3ea702261002bp-11234107-387b-4c97-8f08-a04372261002
Screenshots
None. The failure is the game exiting when the blood spray fills the view.
Additional context
vrserver.txt logs Process …: hlvr disconnected at 16:41:39 and 16:49:24. The compositor entry at 17:49:11 is a normal VR compositor shutting down, not a compositor crash.
The kernel log at those exits only reports amdgpu VM memory stats … non-zero when fini for the exiting process. There is no amdgpu GPU reset.
This is separate from the loading-screen crash where the compositor dies while loading Alyx diorama UI models (SteamVR-for-Linux #784 and related). Here the game is in play and exits when the barnacle blood spray fills the view.
The runtime diagnostics report Vulkan, OpenGL, and the SteamVR OpenXR runtime as ok. They also report unexpected-steam-uri-handler, and inside the pressure-vessel sections bubblewrap cannot-run (bwrap: execvp true: No such file or directory). VDPAU looks for an NVIDIA backend, which this AMD system does not have.
Same crash here on NVIDIA, so it's not RADV-specific.
I hit it while throwing a grenade that blew up a barnacle: the game exited with a SIGSEGV in a libscenesystem.so worker thread, with no GPU driver frames in the stack:
Stack trace of thread 22138:
#0 0x00007f5dcfe58b2c n/a (libscenesystem.so + 0x258b2c)
#1 0x00007f5dcfe5cf43 n/a (libscenesystem.so + 0x25cf43)
#2 0x00007f5dcfe5d535 n/a (libscenesystem.so + 0x25d535)
#3 0x00007f5dcfe5e896 n/a (libscenesystem.so + 0x25e896)
#4 0x00007f5dcfe5e98a n/a (libscenesystem.so + 0x25e98a)
#5 0x00007f5dcfd5aeaf n/a (libscenesystem.so + 0x15aeaf)
#6 0x00007f5dcfd85ae6 n/a (libscenesystem.so + 0x185ae6)
#7 0x00007f5decd20a60 n/a (libvstdlib.so + 0x32a60)
#8 0x00007f5decd210ef n/a (libvstdlib.so + 0x330ef)
#9 0x00007f5dee596d8c _ZN7CThread10ThreadProcEPv (libtier0.so + 0x64d8c)
#10 0x00007f5dee597ee0 n/a (libtier0.so + 0x65ee0)
#11 0x00007f5dee6980a2 n/a (/run/host/usr/lib/libc.so.6 + 0x980a2)
#12 0x00007f5dee72080c n/a (/run/host/usr/lib/libc.so.6 + 0x12080c)
Two seconds later steamwebhelper aborted (SIGABRT) and Steam restarted, then vrlink logged Connection inactive since the game was gone.
System
- GPU: NVIDIA RTX 3090, proprietary driver 615.71.09
- Distribution: Arch Linux, kernel 7.2.6-arch2-1, KDE Plasma on Wayland
- Steam client: build 1788652215, stable
- SteamVR: [SteamVR version]
- Headset: Steam Frame over the wireless adapter
- Game: Half-Life: Alyx native (
game/bin/linuxsteamrt64/hlvr), installed on btrfs - Time: 3 October 2026, 21:12:29 EDT (01:12:29 UTC, 4 October)
I have the full core dump (coredumpctl) if it's useful.
Workaround: forcing Proton Experimental. I played two sessions under Proton afterwards (~19 and ~13 min) with no crash, though I haven't specifically retested a barnacle kill under Proton yet. The native build also had audio crackling on my machine that Proton doesn't have.
The native build also had audio crackling on my machine that Proton doesn't have.
Can confirm, I have this issue as well. All other games do not; it is exclusive to Half-Life: Alyx.
One guess is that the full-view spray is very expensive to encode and overloads the stream?
Correction (2026-10-18). Below I label the +72.4 MB allocation burst as the crash. That was wrong — the process segfaulted 27 seconds later.
Also, since applying the binary patch for this issue I have had no barnacle crash, across three sessions.
Another reproduction, with per-second instrumentation of the crash moment and — more usefully — a barnacle 84 seconds earlier that did not crash, for contrast.
System: Linux Mint 22.3 (Ubuntu 24.04 base), kernel 7.0.0-38, X11/Cinnamon · NVIDIA RTX 4080, proprietary 595.91.07 · Steam Frame over the wireless adapter (6 GHz) · SteamVR 2.18.2 beta (1790893534 / buildid 25664061), Steam client 1790904859 · Half-Life: Alyx, native Linux build, no Proton.
The crash second
GPU counters and the hlvr process sampled once per second:
22:35:25 gpu 61% temp 67 C clk 2790 MHz rss 3280.9 MB (+1.1 MB)
22:35:26 gpu 59% temp 67 C clk 2790 MHz rss 3280.4 MB (-0.4 MB)
22:35:27 gpu 99% temp 76 C clk 2700 MHz rss 3352.9 MB (+72.4 MB) <- crash
22:35:28 gpu 1% temp 53 C clk 2820 MHz rss 3353.4 MB (+0.5 MB)
In one second: hlvr allocates +72.4 MB, the GPU goes from 59 % to 99 %, and the die temperature jumps 9 °C. The next second everything is gone. Six minidumps were written at 22:35:27, e.g. bp-ec6c8620-8f4b-4c33-a068-a0dbb2261004.
Barnacles that survived, in the 90 s before
I marked a barnacle that did not crash as well. Markers here are placed by hand about ten seconds after the event, so I compared the whole window rather than a single timestamp. Two allocation spikes stand out, and both are released again immediately:
22:33:53 rss 3322.6 MB (+18.1 MB) 22:34:03 rss 3311.5 MB (+14.8 MB)
22:33:54 rss 3286.1 MB (-36.5 MB) 22:34:04 rss 3269.7 MB (-41.8 MB)
Against the crash:
22:35:27 rss 3352.9 MB (+72.4 MB) <- crash
22:35:28 rss 3353.4 MB (+0.5 MB) <- nothing released
| surviving barnacles | the crash | |
|---|---|---|
| Largest single-second RSS jump | +18.1 MB | +72.4 MB |
| Released the next second | yes (−36 to −42 MB) | no |
| Peak GPU | 81 % | 99 % |
| Die temperature | 65 → 72 °C | 67 → 76 °C |
clocks_event_reasons.active |
0x0 |
0x0 |
So it is roughly four to five times the allocation in a single sample.
Not thermal or power throttling. clocks_event_reasons.active reads 0x0 at both moments, the clock held at 2790 MHz, and peak draw was 231 W against a 320 W limit. Consistent with @nix70900-bit's stack showing no GPU driver frames.
For what it is worth, it did not fire on every barnacle in this session, which is consistent with the original report's "almost every time that spray fills the view". I have no evidence about what distinguishes the fatal one beyond the allocation size above.
Experienced the same crash unfortunately
One guess is that the full-view spray is very expensive to encode and overloads the stream?
I think it goes deeper into the rendering, because the splatter for me also looks like the geometry is stretched into flickering triangles. Perhaps the texture is not applying correctly somehow?
From reverse engineering: This happens when there's too many (more than 8192 I think) particles (or something which is drawn with instances, transforms, and colour tints - sounds like particles to me) of one kind during one frame. There's a fixed size pool allocator and this pool gets filled. The code gets a NULL and then proceeds to try to write through it.
I wrote a binary patch. The file you need to patch is in game/bin/linuxsteamrt64/libscenesystem.so inside the Half-Life Alyx game directory (e.g. ~/.local/share/Steam/steamapps/common/Half-Life Alyx). ~~The patch is here: https://the-tk.com/files/alyx-scenesystem-25487405.bps~~ Update: I've put together a webpage for my patches: https://kramkow.ski/project/steamvr-patches.html#half-life-alyx I will try to keep it up to date with releases.
Apply the BPS patch with your favourite ROM patcher. There are dozens online ones which run in your browser.
BPS files contain the hash of the file they're meant to patch so this should be safe to try assuming you're using a patcher that performs this verification. If the hash of the source file doesn't match, it probably means you have a different version of the file (hey, maybe they fixed this?) or you're trying to patch it twice.
I tried to reproduce the issue with this patch and I couldn't anymore. Have fun.
Details
In case you want to know what the patch is doing, it's patching 4 regions in the file (addresses are ELF-relative; file offsets are 0x1000 lower):
The crash actually happens later at 0x258b2c, but this first bit is the source of it. The first instruction calls the allocator. Two values are returned, one in eax and one at [rbp-0x48a8]. The first looks like an instance index, the second is the pointer to the allocation.
The patch replaces the instruction to save the instance index with a jump into padding. (The third instruction is an unrelated restore of rax as it needed to be saved before the call.)
25c9eb | call 0x164ae0 | ...
25c9f0 | mov DWORD PTR [rbp-0x48c4],eax | jmp 0x25821e
| | nop
25c9f6 | mov rax,QWORD PTR [rbp-0x48f8] | ...
In the padding, the instruction replaced above is first restored, followed by the missing NULL check of the returned pointer. Jumping to 0x25cb7f causes an early return and jumping to 0x25c9f6 puts us back where we left off above.
25821c | jmp 0x2581c0 | ...
25821e | int3 x6 (padding) | mov DWORD PTR [rbp-0x48c4],eax
258224 | int3 x8 (padding) | cmp QWORD PTR [rbp-0x48a8],0
25822c | int3 x6 (padding) | je 0x25cb7f
258232 | int3 x5 (padding) | jmp 0x25c9f6
258237 | int3 x9 (padding) | ...
258240 | push rbp | ...
This next bit is actually in the allocator code, it unconditionally increments the count of used slots, before returning null.
This first bit patches out that assignment with a conditional jump (the condition is the page capacity check, 32 pages of 256 instances).
164bfe | cmp edi,0x1f | ...
164c01 | mov DWORD PTR [rbx+0x5f0c],esi | jbe 0x164cb4
164c07 | jbe 0x164c60 | nop
164c09 | mov QWORD PTR [r13],0 | ...
Now in replaced padding, the write becomes conditional (as the jump was conditional) and we can continue where we left off.
164cb2 | jmp 0x164c6a | ...
164cb4 | int3 x6 (padding) | mov DWORD PTR [rbx+0x5f0c],esi
164cba | int3 x5 (padding) | jmp 0x164c60
164cbf | int3 x1 (padding) | ...
164cc0 | push rbp | ...
I had this tonight and I'll try to reproduce it tomorrow before I try the patch (which I thank you for!)
I'm using a Meta Quest 3 through ALVR, rather than Steam Frame.
I'd played from the beginning of the game until I killed my first barnacle. As it exploded, Alyx exited.
- Arch Linux, kernel 7.2.9-arch1-1
- Sway 1.12 / Wayland
- NVIDIA RTX 5090, proprietary driver 615.78.08
- SteamVR 2.18.3 (v1791582248)
- Half-Life: Alyx native Linux/Vulkan, build 25487405
- Quest 3, ALVR 20.14.1 + a backport of ALVR PR #3353 (https://github.com/alvr-org/ALVR/pull/3353) for SteamVR pose matching. The headset APK is stock.
The kernel reported null-address faults in GlobPool3 and GlobPool6. Systemd captured an hlvr core with SIGSEGV / SEGV_MAPERR.
The first four frames match the NVIDIA report above:
Stack trace of thread 445376 (GlobPool3):
#0 libscenesystem.so + 0x258b2c
#1 libscenesystem.so + 0x25cf43
#2 libscenesystem.so + 0x25d535
#3 libscenesystem.so + 0x25e896
#4 libscenesystem.so + 0x19e3b3
#5 libscenesystem.so + 0x1abaaa
#6 libvstdlib.so + 0x32a60
#7 libvstdlib.so + 0x330ef
#8 CThread::ThreadProc(void*) (libtier0.so + 0x64d8c)
#9 libtier0.so + 0x65ee0
#10 libc.so.6 + 0x98042
#11 libc.so.6 + 0x12072c
SHA-256 of game/bin/linuxsteamrt64/libscenesystem.so:
ec29842a06e0f0e729724dd92d4ec06fa921875e8703533f288255c8cac888ac
@tomboland the backtrace matches what the patch fixes, so I hope it works for you. Although, I found that once I fixed this, I ended up hitting #952 on the same barnacle (but in that issue I posted a patch for for it too).
... I just look away when I blow them up. Doesn't happen when I just shoot them.
Correction to my earlier datapoint.
I labelled the +72.4 MB allocation burst as the crash. That was wrong — the process segfaulted 27 seconds later.
Separately: since applying the binary patch for this issue I have had no barnacle crash, across three sessions.
@Seamot71 edit your previous post instead of leaving it to the reader to discover your follow up comment.
Occurring on my system also. Doesn't trigger with every barnacle, sometimes crashes 'gracefully' like in OP's case and sometimes causing a full amdgpu reset.
- NixOS 26.05, Linux 7.3.0, KDE Wayland.
- AMD RX 9070 XT / RADV GFX1201, Mesa 26.1.8
- Native Linux Alyx, build
26283546,game/bin/linuxsteamrt64/hlvr, launched with-vr -steam -noasserts -nopassiveasserts +map startup -vulkan. - SteamVR 2.19.1 build
26389675 - PSVR2 via Ignition 1.1.0 and PSVR2 Toolkit 1.0.0-experimental-3
05:12:09 amdgpu: ring gfx_0.0.0 timeout, signaled seq=346820118, emitted seq=346820121
05:12:09 amdgpu: Process hlvr pid 1382544 thread VKRenderThread pid 1382596
05:12:11 amdgpu: MES(0) failed to respond to msg=RESET
05:12:11 amdgpu: Ring gfx_0.0.0 reset failed
05:12:11 amdgpu: GPU reset begin!
05:12:23 amdgpu: VRAM is lost due to GPU reset!
05:12:24 amdgpu: GPU reset(5) succeeded!
Can confirm this also happens on my machine. CachyOS with Nvidia 3080ti/KDE Wayland, native linux Alyx with no launch arguments, steamVR stable streamed to a steam frame (running current beta).
Me too. Crash on Steam Machine -> Steam Link -> Quest 3 when I look at an exploding barnacle.
Debian Trixie with KDE Plasma Wayland here, running a Quest 2 through WiVRn and Monado, I have the crashes both from explosives and from shooting, although it is not every time a barnacle dies, even not necessarily every time it dies on screen. I have the same crash logs as well though. Will attempt the patch and see if it makes it any better. Before investigating the crash logs, I thought it might be a memory issue, but even when Alyx is the only process running, it still crashes
Edit: forgot I'm running a 5700X processor with RX 6950 XT
@Sam-R13 it's a memory issue in the sense that it's an allocator that runs out of space, but the allocator has a fixed amount of space and doesn't ask the system for more memory, so your system's memory usage doesn't affect if it runs out of space or not.
My patch doesn't make it bigger or dynamic, it just makes the code that uses it handle the allocation failure correctly.
@Sam-R13 it's a memory issue in the sense that it's an allocator that runs out of space, but the allocator has a fixed amount of space and doesn't ask the system for more memory, so your system's memory usage doesn't affect if it runs out of space or not.
My patch doesn't make it bigger or dynamic, it just makes the code that uses it handle the allocation failure correctly.
Actually, I was unable to get either the SteamVR or the Alyx patch working, when I added the script path to the launch commands, the game wouldn't start at all. I also had another crash that I have to investigate today, when trying to solve one of the multi tool puzzles to open a door, it crashed before the puzzle could open
wouldn't start at all
Possibly it's not marked as executable or something like apparmor is blocking the execution (that would show up in dmesg).
Steam logs would probably help.
I also had another crash that I have to investigate today, when trying to solve one of the multi tool puzzles to open a door, it crashed before the puzzle could open
There are now four bugs that seem to cause most crashes in Alyx (or at least I've never experienced a single crash during an entire play-through after fixing these):
- this instanced rendering related instance data allocator bug - can technically happen whenever there are too many instances of things to render during a frame, but it seems barnacles are reliably the messiest.
- the UB in the snappy decompression code which can cause crashes basically at any point in time. Although specifically certain entities, like the
CHLVRHoloHackingPlugwhich is the red/white painted that you rotate with the multi-tool to break into something, seem to tend to trigger this because their state ends up containing repeated sequences of 12 bytes (the bug can actually occur when there's a repeat of a stride of 9-15 bytes though). This shows up as e.g.fatal assert serializedentity.h:797 GetBitRange( 6661 -> 6661 )in the logs. If I had to guess, you probably hit this. - SteamVR reusing GPU resources before the GPU is done with them, leading to a device loss, and dmesg errors like
NVRM: Xid (...): 32, pid=..., name=vrcompositor, channel ... intr0 00040000(#952). - An old resource exhaustion bug in SteamVR that some unrelated SteamVR changes in the last version have now uncovered (#1067).