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

Unable to apply fix for broken audio #82

Closed
7hr08ik opened this issue Jun 17, 2020 · 5 comments · Fixed by #88
Closed

Unable to apply fix for broken audio #82

7hr08ik opened this issue Jun 17, 2020 · 5 comments · Fixed by #88
Labels
bug Something isn't working question Further information is requested

Comments

@7hr08ik
Copy link

7hr08ik commented Jun 17, 2020

Hey,

Quickly. THANK YOU FOR THIS!

OK, so theres this random bug, (according to ProtonDB, its a bug with Proton itself) that causes strange audio behaviour. For some, no left, for others no NPC sounds. For me, randomly the audio will just cut out. At random intervals

WINEDLLOVERRIDES="xaudio2_7=n,b" PULSE_LATENCY_MSEC=90 %command%

This is the fix, for Steam Launch Options. I know you've implemented the first part. But I still have weird audio issues through your setup.

I know the launch options in Steam have no effect, as this will launch the game with its own options. How can I set PulaseAudio latency?

@spannerman79
Copy link

Personally I use GloriousEggroll fork of Proton. This one currently in specific that applies those wine overrides by default.

Or you could use protonfixes to apply those needed changes.

@rockerbacon
Copy link
Owner

These values are called environment variables. There are two ways to specify custom environment variables in Lutris:

  1. The builtin feature in Lutris: Right click on Mod Organizer 2 > Configure > System Options > Environment Variables;
  2. Through arguments to the script: Right click on Mod Organizer 2 > Configure > Game Options > Arguments > Add the argument -e 'ENVIRONMENT_VARIABLE=value';

I will leave this open until PULSE_LATENCY_MSEC is set by default in the installer.

Note that just these two environment variables might not be enough. Many people have reported that the only way to get perfect audio in Skyrim SE and Fallout 4 is by compiling FAudio with ffmpeg codecs and using these instead of the FAudio libraries provided by Proton.

@rockerbacon rockerbacon added bug Something isn't working question Further information is requested labels Jun 18, 2020
@7hr08ik
Copy link
Author

7hr08ik commented Jun 18, 2020

spannerman79 - Thank you. I keep forgetting to try out GE-proton, never really had a reason to look at it until now.

rockerbacon - See I know theres the option in lutris to add these, but i figured as lutris is running your run.sh, it wouldnt do anything. So I didnt even try that.
As for Faudio. I have never done a single thing with it, I know it exists, seen it in some lists, but thats about it.

Im gonna give all of these options a try, and I will report back. Might be a couple of days though. Thank you both

@spannerman79
Copy link

As for Faudio. I have never done a single thing with it,

faudio patches are part of GE's fork of Proton. As well as a couple of other things (mf, etc).

As you can see on my reports on protondb first without using GE's fork and later with.

@7hr08ik
Copy link
Author

7hr08ik commented Jun 19, 2020

Hey,

So, Proton-GE pretty damn cool. But I still have random drops of only half of the games sounds. Weapons, NPCs, Magic.

In lutris settings (both system and game) ticking Pulse latency does not help.

But adding -e "ENV....=90' seems to be working. Gonna guess because Lutris only does 60, but I don't know why

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working question Further information is requested
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants