http://bugs.winehq.org/show_bug.cgi?id=12228
Summary: No ALSA support for external soundcard since 0.9.57 Product: Wine Version: 0.9.57. Platform: PC OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: uhkeller@web.de
Until 0.9.56, Wine allowed me to use an external USB soundcard as well as built-in Intel HDA sound through ALSA. In Windows applications (e.g. foobar2000) I could select the internal sound card as dimx:0 and the USB sound card as dmix:1. Since 0.9.57, however, when the external USB sound card is plugged in I get two dmix:0 entries, both select the internal sound. I see these two entries both in foobar2000 and in winecfg under ALSA Driver/Wave Out Devices. The external soundcard still is accessible through the OSS driver.
I'm using Wine 0.9.58 from the Wine repositories under Ubuntu 7.10. The external soundcard is an M-Audio USB Transit (with madfu driver).
http://bugs.winehq.org/show_bug.cgi?id=12228
--- Comment #1 from Austin English austinenglish@gmail.com 2008-03-26 04:10:45 --- Try: $ mv ~/.wine ~/.wine.bak $ wineprefixcreate $ wine your-program.exe
And retest. If still a problem, then please run a regression test:
http://wiki.winehq.org/RegressionTesting
http://bugs.winehq.org/show_bug.cgi?id=12228
Ulrich Keller uhkeller@web.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |kelfe@gmx.de
--- Comment #2 from Ulrich Keller uhkeller@web.de 2008-03-26 07:43:13 --- Problem persisted. The regression test told me this:
0fe3a59b46a44b6d2d54a1afe1c4198c53d6c68c is first bad commit commit 0fe3a59b46a44b6d2d54a1afe1c4198c53d6c68c Author: Karsten Elfenbein kelfe@gmx.de Date: Tue Mar 4 01:28:58 2008 -0800
winealsa: Use "default" as the default card name instead of "default:0".
:040000 040000 6f051591d4fb097e34c83bbb15c4ac283bfb9a96 e3bcf1703962efb7984ce2762f05b87526f0e1e3 M dlls
http://bugs.winehq.org/show_bug.cgi?id=12228
Lei Zhang thestig@google.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |regression
--- Comment #3 from Lei Zhang thestig@google.com 2008-03-26 12:53:16 --- Maybe we need a "sound drivers" component in bugzilla?
http://bugs.winehq.org/show_bug.cgi?id=12228
Adam gnuman1@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |gnuman1@gmail.com
--- Comment #4 from Adam gnuman1@gmail.com 2008-05-31 12:05:14 --- I can confirm this bug. I'm enable to select ALSA device. After plugging in my USB headset, the additional output device is listed as dmix:0, just like the first one. The input part of it is not listed at all.
The OSS driver works better, kind of. But there is no input available there.. ugghhh....
Anyway, I can confirm this but in 1.0-rc2 and all previous ones. HAven't tried if it worked before 0.9.57 as sound was less stable back then....
http://bugs.winehq.org/show_bug.cgi?id=12228
Adam gnuman1@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed|0 |1
--- Comment #5 from Adam gnuman1@gmail.com 2008-05-31 12:08:08 --- *** This bug has been confirmed by popular vote. ***
http://bugs.winehq.org/show_bug.cgi?id=12228
--- Comment #6 from Adam gnuman1@gmail.com 2008-05-31 16:19:00 --- I can confirm that reverting of 0fe3a59b46a44b6d2d54a1afe1c4198c53d6c68c patch fixes the problem.
http://source.winehq.org/git/wine.git/?a=commitdiff;h=0fe3a59b46a44b6d2d54a1...
http://bugs.winehq.org/show_bug.cgi?id=12228
Dmitry Timoshkov dmitry@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |ben@atomnet.co.uk
--- Comment #7 from Dmitry Timoshkov dmitry@codeweavers.com 2008-06-13 00:10:20 --- *** Bug 13878 has been marked as a duplicate of this bug. ***
http://bugs.winehq.org/show_bug.cgi?id=12228
--- Comment #8 from Ben Hodgetts (Enverex) ben@atomnet.co.uk 2008-06-13 05:49:57 --- I'm having this issue on my desktop PC and I have -only one sound-card-. So it affects more than just people with external cards.
http://bugs.winehq.org/show_bug.cgi?id=12228
Dan Kegel dank@kegel.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |dank@kegel.com
--- Comment #9 from Dan Kegel dank@kegel.com 2008-06-13 08:01:58 --- Ben, what sound card? What version of Linux? What desktop?
http://bugs.winehq.org/show_bug.cgi?id=12228
--- Comment #10 from Ben Hodgetts (Enverex) ben@atomnet.co.uk 2008-06-13 08:10:31 --- Onboard Intel HDA. Gentoo Linux, kernel 2.6.25. Gnome 2.22.2.
http://bugs.winehq.org/show_bug.cgi?id=12228
--- Comment #11 from Dan Kegel dank@kegel.com 2008-06-13 08:13:14 --- What does lspci | grep -i audio output?
http://bugs.winehq.org/show_bug.cgi?id=12228
--- Comment #12 from Ben Hodgetts (Enverex) ben@atomnet.co.uk 2008-06-13 09:20:23 --- 00:1b.0 Audio device: Intel Corporation HD Audio Controller (rev 02) 07:00.0 Multimedia audio controller: Creative Labs SB X-Fi
The X-Fi Elite Pro has no drivers loaded though (as none exist for it) so it's completely ignored by the system.
http://bugs.winehq.org/show_bug.cgi?id=12228
joaopa jeremielapuree@yahoo.fr changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jeremielapuree@yahoo.fr
--- Comment #13 from joaopa jeremielapuree@yahoo.fr 2008-06-16 16:54:19 --- I have this problem too This patch breaks the launcher of Rome total war demo. lspci | grep -i audio 00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 02)
Otherwise, the sounds works quite fine for me. Bu this patch makes this crash.
Joaopa
A link to test rome total war demo: www.gamershell.com/download_6784.shtml
http://bugs.winehq.org/show_bug.cgi?id=12228
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- URL| |http://www.gamershell.com/do | |wnload_6784.shtml Keywords| |download
http://bugs.winehq.org/show_bug.cgi?id=12228
Ben Hodgetts (Enverex) ben@atomnet.co.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|No ALSA support for external|No ALSA support for certain |soundcard since 0.9.57 |soundcards since 0.9.57
--- Comment #14 from Ben Hodgetts (Enverex) ben@atomnet.co.uk 2008-06-21 06:19:59 --- Changing name as it doesn't affect just external cards.
http://bugs.winehq.org/show_bug.cgi?id=12228
Ben Hodgetts (Enverex) ben@atomnet.co.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- Severity|normal |major
--- Comment #15 from Ben Hodgetts (Enverex) ben@atomnet.co.uk 2008-06-21 06:20:51 --- Changing name as it doesn't affect just external cards. Elevating as it effects many apps and what seems like random people.
http://bugs.winehq.org/show_bug.cgi?id=12228
Ben Hodgetts (Enverex) ben@atomnet.co.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- Severity|normal |major
Tomasz Sałaciński tsalacinski@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |tsalacinski@gmail.com
--- Comment #15 from Ben Hodgetts (Enverex) ben@atomnet.co.uk 2008-06-21 06:20:51 --- Changing name as it doesn't affect just external cards. Elevating as it effects many apps and what seems like random people.
--- Comment #16 from Tomasz Sałaciński tsalacinski@gmail.com 2008-07-07 01:58:36 --- For me it works quite different.
I have a SB Live! card and a HDA VIA 8.1 onboard card. WINE didn't work with HDA VIA card, so I've disabled it in BIOS. It doesn't work with SB Live! either, but only when I try to play games (no sound output on any of the jacks, everything in alsamixer is set to maximum).
The funny thing is, that it does play the sound in winecfg when you click "Test Sound" button. It doesn't work only in games (I have to use OSS).
http://bugs.winehq.org/show_bug.cgi?id=12228
--- Comment #17 from Adam gnuman1@gmail.com 2008-07-07 12:48:17 --- (In reply to comment #15)
Changing name as it doesn't affect just external cards. Elevating as it effects many apps and what seems like random people.
The solution is EXACTLY what Ulrich Keller wrote in the 2nd comment, in March.
commit 0fe3a59b46a44b6d2d54a1afe1c4198c53d6c68c Author: Karsten Elfenbein kelfe@gmx.de Date: Tue Mar 4 01:28:58 2008 -0800
winealsa: Use "default" as the default card name instead of "default:0".
Revert this and the issue is resolved.
The issue is NOT about "no ALSA suppose since <blah>". It is about alsa driver displaying the names of the sound device during enumeration as dmix:0 multiple times. With the reversion of the above patch, for some reason not quite clear to me, the two sound devices are listed as dmix:0 for the first one, and dmix:1 for the second. This allows for device selection once again.
*AGAIN*, the problem is sound device *selection*. And there is sound always. For people complaining there is no sound, they should check the "other" sound device that is listed under same name. The sound is most likely routed there (there may be 2+ logical sound devices with one physical one, for example)
http://bugs.winehq.org/show_bug.cgi?id=12228
--- Comment #18 from joaopa jeremielapuree@yahoo.fr 2008-07-09 18:20:13 --- This patch make The longest journey freezes
It is a major regression. Maybe, the patch could be reverted??
Joaopa
http://bugs.winehq.org/show_bug.cgi?id=12228
--- Comment #19 from joaopa jeremielapuree@yahoo.fr 2008-07-19 12:02:12 --- And now the patch causes problem for Icewind Dale :(
Joaopa
http://bugs.winehq.org/show_bug.cgi?id=12228
--- Comment #20 from Austin English austinenglish@gmail.com 2009-01-26 10:10:44 --- Ping.
http://bugs.winehq.org/show_bug.cgi?id=12228
Arnd Diestelhorst wine@hanamana.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |wine@hanamana.de
--- Comment #21 from Arnd Diestelhorst wine@hanamana.de 2009-11-14 11:54:03 --- For me the following registry key helped (wine 1.1.32):
HKEY_CURRENT_USER\Software\Alsa Driver\AutoScanDevices -> yes
The two dmix:0 devices disappeared from the list and all installed devices appeared with their real names.
Only testing in the control panel didn't work, because it always used the first device from the list (which was my external USB Device).
http://bugs.winehq.org/show_bug.cgi?id=12228
chestertech chestertech@mail.ru changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |chestertech@mail.ru
--- Comment #22 from chestertech chestertech@mail.ru 2010-01-14 23:56:22 --- Also doesn't work for me. Shows default sound card, but no sound at all. Using Ubuntu 9.10 64 bit with Wine 1.1.36. Motherboard Asus P6T with Realtek ALC1200 sound card.
http://bugs.winehq.org/show_bug.cgi?id=12228
--- Comment #23 from Seth Shelnutt Shelnutt2@gmail.com 2010-04-20 00:12:02 --- Created an attachment (id=27469) --> (http://bugs.winehq.org/attachment.cgi?id=27469) Partly reverts the patch that caused this issue
While this patch doesn't change the name from default, it seems to make all programs work now. Foobar2000 works without issues and the Rome: Total War Demo works fine. If others could test this patch it would be appreciated.
http://bugs.winehq.org/show_bug.cgi?id=12228
--- Comment #24 from Dan Kegel dank@kegel.com 2010-04-20 05:56:25 --- That's just bizarre. I wonder what valgrind would say.
http://bugs.winehq.org/show_bug.cgi?id=12228
rk.antispam@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |rk.antispam@gmail.com
http://bugs.winehq.org/show_bug.cgi?id=12228
Raymond superquad.vortex2@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |superquad.vortex2@gmail.com
--- Comment #25 from Raymond superquad.vortex2@gmail.com 2010-09-28 03:35:34 CDT --- (In reply to comment #2)
Problem persisted. The regression test told me this:
0fe3a59b46a44b6d2d54a1afe1c4198c53d6c68c is first bad commit commit 0fe3a59b46a44b6d2d54a1afe1c4198c53d6c68c Author: Karsten Elfenbein kelfe@gmx.de Date: Tue Mar 4 01:28:58 2008 -0800
winealsa: Use "default" as the default card name instead of "default:0".
:040000 040000 6f051591d4fb097e34c83bbb15c4ac283bfb9a96 e3bcf1703962efb7984ce2762f05b87526f0e1e3 M dlls
This is because pulseaudio override "pcm!default"
alsa-lib previously use the "pcm!default" definition in /usr/share/alsa/pcm/default.conf to access the sound card's default device specified in /usr/share/alsa/cards/*.conf
http://bugs.winehq.org/show_bug.cgi?id=12228
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|-unknown |winealsa.drv
http://bugs.winehq.org/show_bug.cgi?id=12228
runetmember@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |runetmember@gmail.com
--- Comment #26 from runetmember@gmail.com 2011-08-10 05:56:44 CDT --- Still issue with new audio architecture?
http://bugs.winehq.org/show_bug.cgi?id=12228
Henri Verbeet hverbeet@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Regression SHA1| |0fe3a59b46a44b6d2d54a1afe1c | |4198c53d6c68c
http://bugs.winehq.org/show_bug.cgi?id=12228
--- Comment #27 from Benjamin Hodgetts ben@xnode.org 2011-08-24 05:00:46 CDT --- I've not encountered this issue again on any of my 4 machines, two of them have their default soundcards overridden via asound.conf (due to selecting the wrong audio device by default) and Wine still works without problems. Also no issues using a different audio-device in PulseAudio either.
Is anyone else still encountering "no sound" issues where the device they are trying to use is the device they have configured to be the default in ALSA?
http://bugs.winehq.org/show_bug.cgi?id=12228
--- Comment #28 from Raymond superquad.vortex2@gmail.com 2011-08-24 07:20:32 CDT ---
http://git.alsa-project.org/?p=alsa-lib.git;a=commit;h=e6f990e5c9be5cac6f369...
This patch allow you to use sysdefault:0 or sysdefault:1 even when the distribution overwrite pcm.default
http://bugs.winehq.org/show_bug.cgi?id=12228
Jerome Leclanche adys.wh@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |adys.wh@gmail.com Resolution| |FIXED
--- Comment #29 from Jerome Leclanche adys.wh@gmail.com 2012-04-23 07:29:08 CDT --- Fixed
http://bugs.winehq.org/show_bug.cgi?id=12228
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #30 from Alexandre Julliard julliard@winehq.org 2012-04-27 12:59:20 CDT --- Closing bugs fixed in 1.5.3.