Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PulseAudio module-bluetooth-policy auto_switch=2 makes game lose audio #3942

Open
ghost opened this issue Jun 6, 2020 · 0 comments
Open

Comments

@ghost
Copy link

ghost commented Jun 6, 2020

Proton Version: SteamPlay 5.0-8
Titles: Witcher 3, Devil May Cry 5

I have configured PulseAudio to auto-switch my headphones between A2DP/HFP/HSP using the following lines in ~/.config/pulse/default.pa:

# Automatically switch between A2DP and HSP
.nofail
unload-module module-bluetooth-policy
.fail
load-module module-bluetooth-policy auto_switch=2

Please refer to PulseAudio docs for more details on this configuration.

The configuration mentioned below causes audio loss and skipped cutscenes in the games mentioned above. Changing auto_switch=2 to auto_switch=1 fixes the issue, but it messes up my configuration for other VoIP apps.

Probable cause: Proton is creating a recording stream with media.role unset, which seems weird as the issue starts as soon as a game launches. The docs seem to indicate that this can happen if an application only supports ALSA, but in this case there should not even be a recording stream.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

0 participants