ValveSoftware / ValveSoftware/steam-runtime

[TF2] [Linux] SDL_AUDIODRIVER=alsa results in black screen after recent 3.0 runtime update

Open
#813 6 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Shell
Stars
1.5k
Forks
97
PR merge metrics
No merged PRs in 30d

Description

Setting the environment variable SDL_AUDIODRIVER to alsa in TF2 launch options results in a black screen and no audio after one of the recent Steam Runtime 3.0 (Sniper) updates.
Removing the environment variable works. However, changing the SDL audio driver to ALSA fixes an issue related to the game sound occasionally no longer playing after alt-tabbing or after opening the Steam overlay.
This is clearly a regression as setting the environment variable worked before this update.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the black screen and missing audio in TF2 with SDL_AUDIODRIVER=alsa after the Steam Runtime 3.0 (Sniper) update, then compare it with the working configuration without that variable. Trace the runtime's ALSA audio startup path; done means ALSA can be selected without the regression while preserving audio after alt-tabbing or opening the Steam overlay.

Written by the indexing model from the issue text.

Assessment

Tech stack
linux
Domain
operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.