http://bugs.winehq.org/show_bug.cgi?id=21585
Summary: Alsa: wine stops other alsa output Product: Wine Version: 1.1.37 Platform: x86 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: barret@markmcb.com
When starting an application that uses sound, other Alsa clients stop outputting.
Specifically, if I run mplayer in one terminal, and then try to run either Eve, Ventrilo, or winecfg from another terminal, mplayer keeps progressing but stops outputting sound.
I can run multiple mplayers concurrently and the sounds overlap. I can also run aplay of a random wav file at the same time, so it seems like Alsa is properly dmixing. mplayer is using alsa (AO: [alsa])
When I start the wine app, sound doesn't work for it either, until I close the original application (mplayer) and restart the wine application.
For example, mplayer, then winecfg = total silence, the Test Sound button does nothing. If I run only winecfg, I can use the Test Sound button (and it works). The alsa detection seems to work fine all the time, and detects the wave out device as dmix:0.
When the Test Sound button plays, this is in the console: ALSA lib pcm.c:7234:(snd_pcm_recover) underrun occured
This problem also occurs if I run two wine applications (Eve and Ventrilo at the same time).
I see this in the console too, all the time: fixme:mixer:ALSA_MixerInit No master control found on HDA ATI HDMI, disabling mixer
2.6.32-gentoo-r2, x86_64 ATI, fglrx 10.1 wine 1.1.37 On-board audio (snd_hda_intel module) No pulseaudio, esd, or anything like that. Happens on a new .wine folder too (moved the old one to .wine-bak, etc).
Thanks.
http://bugs.winehq.org/show_bug.cgi?id=21585
--- Comment #1 from Vitaliy Margolen vitaliy@kievinfo.com 2010-02-03 08:38:21 --- Works fine here. Looks like an Alsa problem to me.
http://bugs.winehq.org/show_bug.cgi?id=21585
--- Comment #2 from barret@markmcb.com 2010-02-07 02:17:04 --- (In reply to comment #1)
Works fine here. Looks like an Alsa problem to me.
I imagine it works fine for lots of people, but is specific to my combination of hardware and software. Since it only happens on wine applications, and not other Alsa apps, I thought to look here first.
Is there any set of tests I can run or ways to get a better insight into what the problem could be (whether wine, alsa, or me)?
http://bugs.winehq.org/show_bug.cgi?id=21585
barret@markmcb.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Platform|x86 |x86-64
--- Comment #3 from barret@markmcb.com 2010-02-07 12:11:11 --- A little more info:
If I start the wine app first (winecfg, wine Eve, whatever), and then start another alsa-supported app (mplayer, but not wine), sound works for both of them. The problem only happens when another program (including wine) is producing sound already when wine starts up.
There is also a slight hiss/pop when the wine-app starts up, which sounds the same as a Mute/Unmute for my speakers.
http://bugs.winehq.org/show_bug.cgi?id=21585
barret@markmcb.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |INVALID
--- Comment #4 from barret@markmcb.com 2010-02-07 14:54:47 --- Okay - I found an old sound blaster card and tried using that instead of the onboard sound, and that fixed the problem. For whatever reason, there is probably a driver issue with the onboard sound, such that certain operations fail.
For others having similar issues, my mobo is an Asus M4A77TD-Pro, the sound device is a VT1708S, HDA-Intel - HDA ATI SB. I tried both the HD setting and the AC97 setting in the BIOS (and neither worked). If anyone else runs into weird problems like this, look into the onboard sound.
Thanks
http://bugs.winehq.org/show_bug.cgi?id=21585
Vitaliy Margolen vitaliy@kievinfo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #5 from Vitaliy Margolen vitaliy@kievinfo.com 2010-02-07 20:41:29 --- Closing invalid. You should submit bug to kernel.