No audio in TF2 via linux-steam-utils (Steam Runtime 3 "Sniper" chroot) — SDL init failure / ALSA underrun

Hi all,

Running GhostBSD (FreeBSD base), ZFS root. Trying to get TF2 audio working through `linux-steam-utils` (LSU) and hit a wall — game runs fine graphically (Vulkan/DXVK, 60+fps) but there's zero sound.

**Sound hardware** (`cat /dev/sndstat`):
Code:
pcm0: <Realtek ALC897 (Analog)> (play/rec) default
pcm1: <Realtek ALC897 (Front Analog Headphones)> (play)
pcm2: <Intel Kaby Lake (HDMI/DP 8ch)> (play)
pcm3: <Sonix Technology Co., Ltd. HCAM01Q> (rec)
Speakers are on pcm0 (3.5mm AUX), `hw.snd.default_unit=0` confirmed correct.

**Compat tool:** LSU chroot with Steam Runtime 3 (Sniper). Haven't tried the legacy chroot for this specific game yet.

**What I've tried:**

- `SDL_AUDIODRIVER=alsa` → terminal spams `ALSA lib pcm.c:8772:(snd_pcm_recover) underrun occurred` forever, no sound.
- `SDL_AUDIODRIVER=pulseaudio` with host PulseAudio running + `module-oss device="/dev/dsp0"` loaded → `Failed to initialize SDL device!`, audio never initializes.
- Copied `50-oss.conf` into `/compat/linux/etc/alsa/conf.d/` per the LSU wiki — no change.
- Tried `PRESSURE_VESSEL_FILESYSTEMS_RW` / `PRESSURE_VESSEL_ENV_PASSTHROUGH` launch options (assuming pressure-vessel-style container isolation) — no effect, which makes me think LSU's chroot approach doesn't actually use pressure-vessel semantics, so those variables are likely no-ops here.

**Question:** Has anyone gotten a Source-engine / Sniper-runtime game working with sound under LSU on similar onboard Realtek audio? Is legacy chroot generally more audio-friendly than Sniper for Source games? Happy to post full console logs if that helps diagnose.

Thanks in advance!
 
Running GhostBSD
 
Back
Top