ValveSoftware / SteamOS

SteamOS community tracker
1.58k stars 70 forks source link

Proton on Steam OS causes really messed up Audio #647

Open Lolihunter1337 opened 6 years ago

Lolihunter1337 commented 6 years ago

Your system information

Please describe your issue in as much detail as possible:

Whenever i pick a game with Proton the games themself work ok / fine however the sound is very messed up which makes it unplayable its having heavy echo´s and cracks. Native games however do work fine

Steps for reproducing this issue:

  1. Start a game with Proton
pierrep commented 6 years ago

That might be specific to certain hardware. I don't have this issue at all. I'm using Nvidia HDMI audio, and multichannel 5.1 works fine.

Lyle-Tafoya commented 5 years ago

While I have not experienced this in SteamOS specifically yet, I have experienced audio crackling with a select few Windows games played on Arch Linux via Steam Play (ie. Dark Souls: Prepare to Die Edition). There are some suggestions in the following closed Proton bug report: https://github.com/ValveSoftware/Proton/issues/1395

I am not sure if those fixes solve your problem or not. I know that for me, setting "PULSE_LATENCY_MSEC=30 %command%" in the launch options solved my audio crackling issues. I am not certain what the implications would be if that were set system-wide. For example, it may add an undesirable amount of latency for other games which require twitch reaction speed or which feature rhythm mechanics. Depending on your hardware there may be an optimal value to set that environment variable to. Additionally, depending on your hardware there may be other variables that could be optimized such as your fragment size and number of fragments defined in pulseaudio's configuration file. Maybe what SteamOS needs is a way to automate all this for the user.

romulasry commented 2 years ago

GE 7.0rc3 https://github.com/GloriousEggroll/proton-ge-custom/tags should fix this, we just have to wait until wine release 7.0 final. That is my guess when valve might want to rebase proton...