[Solved, Kinda/Mostly] Why is Lutris trying to kill me aka changing my playback device!?!

Hello World,

I just bought a new pair of headphones, and I have their dongle set as Pro Audio in my systems sound settings. Problem is whenever I launch a game(or even when I try to install a game and wine launches the installer) Lutris will change the dongle for a second or 2 to “analog stereo output” which blasts at mega high volume before going back to pro audio… :rage:

Seriously this shit hurts, and I always forget about it, my ears are already ringing… :sob:

PLEASE PLEASE tell me there is something I can do to stop Lutris from changing stuff of it’s own accord and just stick with pro audio and the volume I have set for it.

Thank you.

Used to happen to me WINE 8+ (and Lutris when it used runners) when I used pulseaudio, but since moving to pipewire, not had any issues, but that was ages ago. What audio system are you using?

If you’re using pipewire, can delete the files under .local/state/wireplumber then log off and on again to restart and redetect.

In Lutris itself, under a game’s system options, you can select an audio driver, see if that helps?

1 Like

Done, and it’s way better. Now it switches to the output of my old headphones(the Razer Nari Essential) which thankfully is silent since I obviously don’t use both of them at the same time(assuming that is even possible), so I just get a couple of seconds of silence until it switches back.

If there really is now way to stop it from switching altogether then I could live like this and I’d thank you very much.

But if there is a way, and this could help, here are some pics. First pic on the right is what I had before and on the left what got created after I did what you said. The other pics are with the contents of those new files that got created.

Sorry, no idea.
I’ve got 3 active sound outputs (onboard SPDIF → Astro Mixamp, ASUS Strix Soar → audio system, USB → also Astro mixamp, selected “game” ) and I don’t get any cut-out or changes in audio at all when launching any WINE game, Lutris or otherwise.

There is a global over-volume setting, but I’m not using it. Is there some sound cancellation/equalization built into the Nari and it’s just having a bad time?

pavucontrol (or maybe alsamixer) may give you some insight as to what is happening to output and volumes.

I think they do have some volume normalization or some such option in the windows drivers, but I never used it and since those settings get saved to the headset it should be off…

Ok, I’ll check out pavucontrol then see if I can figure anything out, if not I’ll just live like this, at least now I don’t get bllasted anymore. :smiley:

Thanks for the help.

Good evening!

Looking at your configuration files, your Audeze USB dongle is being temporarily switched between profiles by wireplumber, causing those loud volume spikes. What I would try :

  1. Currently, you have your sound card as fallback, so simply modify the bluetooth-autoswitch file to remove the fallback like so
[bluetooth-autoswitch]
saved-headset-profile:alsa_card.usb-Audeze_LLC_Audeze_Maxwell_XBOX_Dongle_000000000000000-01=output:pro-audio
  1. Another option would be to add a persistent profile override in the default profile file:
[default-profile]
alsa_card.usb-Audeze_LLC_Audeze_Maxwell_XBOX_Dongle_000000000000000-01=pro-audio
  1. For extra safety, you could modify the volume controls
[stream-properties]
Audio/Sink:application.id:com.github.wwmm.easyeffects={"volume":0.5, "mute":false}

Do them one at a time though, in case you might want to change things around again later.

Thank you for your suggestions. Sadly none of them stoped the switching… :frowning: