Linux
Welcome to c/linux!
Welcome to our thriving Linux community! Whether you're a seasoned Linux enthusiast or just starting your journey, we're excited to have you here. Explore, learn, and collaborate with like-minded individuals who share a passion for open-source software and the endless possibilities it offers. Together, let's dive into the world of Linux and embrace the power of freedom, customization, and innovation. Enjoy your stay and feel free to join the vibrant discussions that await you!
Rules:
-
Stay on topic: Posts and discussions should be related to Linux, open source software, and related technologies.
-
Be respectful: Treat fellow community members with respect and courtesy.
-
Quality over quantity: Share informative and thought-provoking content.
-
No spam or self-promotion: Avoid excessive self-promotion or spamming.
-
No NSFW adult content
-
Follow general lemmy guidelines.
view the rest of the comments
Try playing around with different protons and try some protonGE's.
Try some different launch options:
WINEDLLOVERIDES="xaudio2_9=n,b"There is different versions of xaudio i suggest 2_7 or 2_9. You can also look through winetricks for versions and make sure that one of the above are installed. Back up your wineprefix/steam_compatdata_game_folder before installing as its easier to do that uninstall things in wine.
PULSE_LATENCY_MSEC=60Here you can change pulseaudio latency. Try 30, 60 or 90 to see if one of those help.
Lastly you can fiddle with settings in winecfg. Change audio controller or enable EAX in the staging tab.
On my steamdeck i have lots of games that crackle and my tricks above do nothing to help. They have helped in the past on my laptop so your milage may vary.
Thank you!
I didnt really think it would be a proton issue but I guess it only really does it with cs. I haven't noticed.othwr applications crackling or going mute.
I'm guessing 'WINEDLLOVERIDES' should be 'WINEDLLOVERRIDES'. Though it could be same misspelling situation as with the 'Referer' header in HTTP.
Also took me a while to read it as something other than 'wined lover dies'.
You are absolutely correct about WINEDLLOVERRIDES. Had to look it up, twice.
It is seeming more like a buffer issue, so maybe the latency adjust will help. I notice it'll do a crackle here and there, then goes mute.
I dont get why it only affects the game though, and why changing audio outputs to something else and back again always fixes it temporarily. Or unplugging and replugging my headphones works too.
Its a very similar sound to when you have your buffer too low in a DAW with a lot of plugins going.
I have read some people say use discord in a browser but thays kind of annoying. I only have this issue in cs2, no other game
You might be right about latency. Gaming on linux has come a long way over the years but it still has some bugs.
Years ago FO4 would crackle, sometimes wouldn't have dialogue and if you were anywhere near a mini nuke explosion it sounded like your speakers blew out right before you lost audio completely. The fix back then was to compile faudio which was not super simple to do. If i remember right it was problems in wine with processing WMA files.
Wine evolves pretty fast and sometimes there are regression bugs that pop up from time to time and get sorted out in one if the next versions.
Sometimes the problems fix is in a legal gray/black area which i think was the case with faidio fix i mentioned above.
Sometimes it's an update to pulsaudio or pipewire that break's things which might be the case with my steamdeck. Online people have said that the crackling started after a steamOS update and was fine before then and a temporary fix is to restart pulseaudio.
What I have learned over my 10+ years of gaming on linux is it always gets better eventually.