Wine messes up audio on launch

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
eeee2eeee
Newbie
Newbie
Posts: 2
Joined: Fri Dec 08, 2023 6:20 am

Wine messes up audio on launch

Post by eeee2eeee »

Hi,

First, let me say thank you to the Wine team for your hard work during the years!

Few weeks ago wine started to behave strangely with regard to audio:
1. the output device will be changed to the laptop speakers (I usually use Bluetooth headphones for audio.)
2. the audio profile of the Bluetooth device will be changed - to a profile which sounds bad.
3. the output device will be changed back to the bluetooth headphones (with bad quality audio)

Sometimes when the video options are changed the same mess up with the audio happen again.
Sometimes after some time the audio configuration returns to a good quality Bluetooth profile.

It does not matter what prefix I use. e.g. all steam games behave that way. all my Windows applications using wine, too.

BTW: the same behavior happen with winecfg when I choose the audio tab.
BTW 2: I'm on Debian testing.

I could not find any information, so I assume it's my setup that is wrong.
Any idea how can I debug it?
Thank you!

--------------
$ wine --version
wine-9.0 (Debian 9.0~repack-4+b1)
$ uname -a
Linux victus 6.8.9-5-liquorix-amd64 #1 ZEN SMP PREEMPT liquorix 6.8-14.1~trixie (2024-05-11) x86_64 GNU/Linux


-----------
winecfg audio tab:
* selected driver: "winepulse.drv"
* Defaults: all 4 devices show "(system default)"
* test sound: good quality Bluetooth stereo
* speaker configuration:
1. Bluetooth stereo
2. laptop speakers stereo
3. pulseaudio output stereo
Inqognitoo
Newbie
Newbie
Posts: 1
Joined: Sat Sep 21, 2024 4:03 pm

Re: Wine messes up audio on launch

Post by Inqognitoo »

Confirm. I first discovered this behavior late last year (maybe later) after a certain number of Arch updates.
There are similar issues like https://github.com/Whisky-App/Whisky/issues/312 and it's very annoying.
lucasmartin
Newbie
Newbie
Posts: 0
Joined: Thu Oct 03, 2024 6:58 am

Re: Wine messes up audio on launch

Post by lucasmartin »

Yes, I am facing the same right now and I even tried by switching the selected Wine audio driver in winecfg from winepulse.drv to winemalsa.drv or winealsa.drv to see if it resolves the problem. But didn't get solutions.
KC8SBV
Newbie
Newbie
Posts: 1
Joined: Mon Oct 14, 2024 11:04 am

Re: Wine messes up audio on launch

Post by KC8SBV »

It's happening to me in Arch, running Morse Runner in Wine 9.x, I get no sound. in Debian stable, wine 8.x, it works fine..
stonecutterfix
Newbie
Newbie
Posts: 1
Joined: Thu Oct 17, 2024 2:47 am

Re: Wine messes up audio on launch

Post by stonecutterfix »

lucasmartin wrote: Fri Oct 04, 2024 1:55 am Yes, I am facing the same right now and I even tried by switching the selected Wine audio driver in winecfg from winepulse.drv to winemalsa.drv or winealsa.drv to see if it resolves the problem. But didn't get solutions.
I tried all the things you mentioned but the problem is not solved.
Inqognitoo
Newbie
Newbie
Posts: 1
Joined: Sat Sep 21, 2024 4:03 pm

Re: Wine messes up audio on launch

Post by Inqognitoo »

Just now I tested different Runners on Lutris.
Seems like, lutris-7.2.2 (idk what version of Wine it’s based on) doesn't doesn't cause this error, but wine-ge-8-26 - does.
Last edited by Inqognitoo on Sat Oct 19, 2024 2:27 pm, edited 1 time in total.
MeowImmunecat
Level 2
Level 2
Posts: 10
Joined: Sat Aug 24, 2024 7:59 pm

Re: Wine messes up audio on launch

Post by MeowImmunecat »

Maybe it's not a Wine issue given you are on an 9 month old version of wine (9.0) yet it started happening only a few weeks ago.
Locked