[Bug 16463] New: ALSA has to be "jump started" by another app when using a Terratec Dmx 6fire card (ice1712 driver)
http://bugs.winehq.org/show_bug.cgi?id=16463 Summary: ALSA has to be "jump started" by another app when using a Terratec Dmx 6fire card (ice1712 driver) Product: Wine Version: CVS/GIT Platform: PC OS/Version: Linux Status: UNCONFIRMED Severity: major Priority: P2 Component: winmm&mci AssignedTo: wine-bugs(a)winehq.org ReportedBy: robert.broglia(a)gmail.com When using this multi-channel sound card on wine, it doesn't work unless another app has already opened it and made dmix active (or dsnoop for input). I'm using ALSA 1.0.18 with the default out-of-box configuration on Gentoo (no .asoundrc file). The problem lies in wine's ALSA_TestDeviceForWine function because it tries to open the card using hw:[card],[device] and eventually fails on snd_pcm_hw_params_set_channels(pcm, hwparams, 2) because the card can't be set to only 2 channels when using the hardware device directly. When the card has already been opened by another program via "plughw" or "default", opening the card using "hw" seems to redirect to "plughw" automatically and wine succeeds in setting 2 channels. I tried changing ALSA_TestDeviceForWine to use plughw:[card],[device] and all playback/recording worked perfectly without needing another app to previously open dmix/dsnoop. Is there some reason this isn't the default behaviour or there isn't a registry option for it? I would assume other cards that can't be set to 2 channels in hardware are affected as well. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=16463 Vitaliy Margolen <vitaliy(a)kievinfo.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|major |minor Version|CVS/GIT |1.1.10 --- Comment #1 from Vitaliy Margolen <vitaliy(a)kievinfo.com> 2008-12-11 08:46:50 --- http://bugs.winehq.org/page.cgi?id=fields.html#bug_severity What sound card do you have that don't support 2 channels? This is IMHO a driver bug. You can tell Wine not to use direct hardware access via registry [HKEY_CURRENT_USER\Software\Wine\Alsa Driver] UseDirectHW="n" -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=16463 Robert Broglia <robert.broglia(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|minor |major Version|1.1.10 |CVS/GIT --- Comment #2 from Robert Broglia <robert.broglia(a)gmail.com> 2008-12-11 15:15:33 --- (In reply to comment #1)
http://bugs.winehq.org/page.cgi?id=fields.html#bug_severity
What sound card do you have that don't support 2 channels? This is IMHO a driver bug.
You can tell Wine not to use direct hardware access via registry [HKEY_CURRENT_USER\Software\Wine\Alsa Driver] UseDirectHW="n"
It's a Terratec Dmx 6fire using the ice1712 driver as stated in the bug summary. The card has been supported in alsa for quite some time so I'm pretty sure it's not a driver bug. I'm under the impression the "hw" pcm device can only be used with a sound card's native settings and since this card has about 12 channels, that's why the error occurs. Also, if you look at winealsa.drv's waveinit.c, you'll find the function ALSA_TestDeviceForWine does not take UseDirectHW into account and hardcodes "hw" as the device name. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=16463 --- Comment #3 from Robert Broglia <robert.broglia(a)gmail.com> 2008-12-12 07:13:12 --- Created an attachment (id=17862) --> (http://bugs.winehq.org/attachment.cgi?id=17862) make ALSA_TestDeviceForWine respect the UseDirectHW setting The following patch makes wine's alsa initialization correctly respect UseDirectHW. I changed ALSA_TestDeviceForWine to take a pcm name string instead of card & device ints. This allows the caller to decide if they want to pass hw or plughw depending on the UseDirectHW setting and I modified the 2 calls in ALSA_ScanDevices to do so. Now the playback and recording on my sound card works correctly and I don't foresee this patch affecting the functionality of currently working sound cards, so hopefully it can be merged with the official wine source. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=16463 Vitaliy Margolen <vitaliy(a)kievinfo.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|major |minor Version|CVS/GIT |1.1.10 --- Comment #4 from Vitaliy Margolen <vitaliy(a)kievinfo.com> 2008-12-12 09:02:05 --- Looks ok to me. You should send it to wine-patches mailing list. Patches are not being picked up from bugzilla. Please don't use git/cvs version. This is minor severity - read definitions of severity levels. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=16463 Austin English <austinenglish(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |patch -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=16463 Robert Broglia <robert.broglia(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|minor |major Version|1.1.10 |CVS/GIT --- Comment #5 from Robert Broglia <robert.broglia(a)gmail.com> 2008-12-12 18:47:13 --- (In reply to comment #4)
Looks ok to me. You should send it to wine-patches mailing list. Patches are not being picked up from bugzilla.
Please don't use git/cvs version. This is minor severity - read definitions of severity levels.
Thanks for the info. I've sent the patch to the mailing list. I'm using the Git version to make sure the issue still applies there, but I've also checked 1.1.10 & many previous versions and they're all affected. It's marked as major because I consider the loss of audio playback/recording in all applications = Major loss of functionality for a wide range of applications. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=16463 Vitaliy Margolen <vitaliy(a)kievinfo.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|major |minor Version|CVS/GIT |1.1.10 --- Comment #6 from Vitaliy Margolen <vitaliy(a)kievinfo.com> 2008-12-13 14:28:52 --- Please don't use cvs/git version - it's deprecated. This is minor severity - read definitions of severity levels: Minor - For minor loss of functionality, or other problem where an easy workaround is present -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=16463 --- Comment #7 from Austin English <austinenglish(a)gmail.com> 2009-06-16 14:24:39 --- Is this still an issue in current (1.1.23 or newer) wine? -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=16463 --- Comment #8 from Robert Broglia <robert.broglia(a)gmail.com> 2009-06-22 19:39:27 --- (In reply to comment #7)
Is this still an issue in current (1.1.23 or newer) wine?
I just updated to 1.1.24 and this issue is still present. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=16463 --- Comment #9 from Austin English <austinenglish(a)gmail.com> 2010-06-04 15:43:46 --- This is your friendly reminder that there has been no bug activity for 11 months. Is this still an issue in current (1.2-rc2 or newer) wine? -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=16463 Raymond <superquad.vortex2(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |superquad.vortex2(a)gmail.com --- Comment #10 from Raymond <superquad.vortex2(a)gmail.com> 2010-06-05 21:55:57 --- (In reply to comment #1)
http://bugs.winehq.org/page.cgi?id=fields.html#bug_severity
What sound card do you have that don't support 2 channels? This is IMHO a driver bug.
You can tell Wine not to use direct hardware access via registry [HKEY_CURRENT_USER\Software\Wine\Alsa Driver] UseDirectHW="n"
the ice1712 only support 10 channels playback and 12 channels capture any reason that user cannot select "plughw" or "front" if wine require the driver support 2 channels playback and capture -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=16463 Jouni Kvist <jouni.kvist(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jouni.kvist(a)gmail.com --- Comment #11 from Jouni Kvist <jouni.kvist(a)gmail.com> 2010-12-06 09:47:52 CST --- I would like to confirm this bug. The only way to get wave out device to appear under ALSA in Sound Drivers, is to first start up an application that uses ALSA and then start the winecfg. The same applies to starting any wine application. I'm using M-Audio delta 1010LT (ice1712) sound card, Wine-1.3.8, Ubuntu 10.10 (64bit) & ALSA 1.0.23. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=16463 Juan Lang <juan_lang(a)yahoo.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 --- Comment #12 from Juan Lang <juan_lang(a)yahoo.com> 2010-12-06 13:25:20 CST --- Confirmed by multiple comments. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=16463 Austin English <austinenglish(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Component|winmm&mci |winealsa.drv -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=16463 --- Comment #13 from Raymond <superquad.vortex2(a)gmail.com> 2011-04-12 18:41:15 CDT --- do you mean "front" device still does not work ? http://git.alsa-project.org/?p=alsa-lib.git;a=commit;h=d3906a93072171e5b5f40... -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=16463 --- Comment #14 from butraxz(a)gmail.com 2013-10-18 13:47:13 CDT --- This ticket has not been updated for over 900 days. Development recommends to check the status on your bug every release or two and let to be known if the bug is still present. If not, mark it fixed. If you are no longer able to put effort to this ticket, you can abandon it. Is this still an issue with 1.7.4 or higher ? -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=16463 roger(a)mailinator.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |roger(a)mailinator.com --- Comment #15 from roger(a)mailinator.com --- abandon -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=16463 Austin English <austinenglish(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |ABANDONED --- Comment #16 from Austin English <austinenglish(a)gmail.com> --- Abandoned. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=16463 Bruno Jesus <00cpxxx(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #17 from Bruno Jesus <00cpxxx(a)gmail.com> --- Closing abandoned. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
participants (1)
-
wine-bugs@winehq.org