armaonlinux icon indicating copy to clipboard operation
armaonlinux copied to clipboard

Audio crackling on A3 2.22 (pre-release)

Open Cyruz143 opened this issue 1 year ago • 2 comments

Noted on the Discord and verified by a few people, if you run the profiling/performance branch, audio will crackle. This looks to be because the audio tooling in Arma 3 is being upgraded to xAudio 2.9 on the next release.

Current work-around from @Defman21 (on discord)

Change to Experimental branch, Use up to date Proton (either CachyOS SLR or GEProton), Install XAudio 2.9 native libraries to your Wine prefix: protontricks 107410 xaudio29), Either: 4.1 Add WINEDLLOVERRIDES="xaudio2_9=n" %command% to your launch options OR 4.2. Run protontricks 107410 winecfg, go to the Libraries tab and either find *xaudio2_9 and click Edit and choose Native (Windows) or type xaudio2_9 and click Add and Edit it to be Native (Windows)

This should force Wine to use native XAudio 2.9 DLL instead of falling back to XAudio 2.8 (FAudio doesn't support 2.9 yet I think, which is Wine's XAudio implementation) and hopefully elimenate any crackling from your sounds (and maybe also crashes).

This is probably somethnig BE will update for their compatibility configuration so Steam would automatically install XAudio 2.9, but that's just my guess.

Cyruz143 avatar Nov 15 '25 16:11 Cyruz143

I'm gonna say it here as well as on Discord: installing the xaudio29 verb automatically adds *xaudio2_9=n,b to the prefix, so in theory you don't have to fiddle with winecfg/WINEDLLOVERRIDES.

I've manually changed it to native only just to properly test if installing XAudio 2.9 DLL fixes the issue (because if the dll doesn't load, I don't have any audio at all with xaudio2_9=n because Wine doesn't fallback for the built in XAudio 2.9 library)

Defman21 avatar Nov 15 '25 21:11 Defman21

Also fixed in https://github.com/ninelore/ninelore.github.io/commit/3b76aa7f71d45c229590b7d6b62b57f172073de4

Thanks for the report

ninelore avatar Nov 15 '25 23:11 ninelore