http://bugs.winehq.org/show_bug.cgi?id=13019
Summary: Half-Life(CS 1.6): SoundBlaster Live - microphone output harshy and chopped Product: Wine Version: CVS/GIT Platform: PC OS/Version: Linux Status: UNCONFIRMED Severity: minor Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: lays25@o2.pl
People have been reporting it to work on some integrated audio chips, but on my SoundBlaster Live I can't get it working in any way. When using the Microphone Test in the Voice tab from the Options menu, the output I hear is partial (sometimes i hear the last letter, sometimes the middle ones), the sound quality is extremely poor and harshy. When using the Voicecom during game, people report the same thing to me as they can't hear me properly. I use ALSA - on OSS the microphone wouldn't even record ar all. I tried all combinations of sound options in winecfg - none seemed to work.
http://bugs.winehq.org/show_bug.cgi?id=13019
Chris thefishface@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |thefishface@gmail.com
--- Comment #1 from Chris thefishface@gmail.com 2008-05-11 09:45:15 --- I think I'm experiencing the same bug, but here's exactly what I've noticed:
In the "settings" panel, if I test my microphone I hear myself, but at regular, frequent intervals, the sound cuts out entirely. I've had a conversation with someone over Steam friends, and they said they described it as "cuts out a lot." In game, I try saying something every so often but never get a response, and one or two people have said they don't hear anything when my "exclamation mark" is up. I'm not sure whether this is because the output is perhaps too quiet or because it's not making any sound at all.
I'll test this further when I get a chance.
http://bugs.winehq.org/show_bug.cgi?id=13019
Olleg Samoylov olleg@mipt.ru changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |olleg@mipt.ru
--- Comment #2 from Olleg Samoylov olleg@mipt.ru 2008-07-12 10:49:26 --- Looked like I has the same problem with VoiceChat and SoundBlaster Live microphone in EVE Online and Warcraft Online. OSS microphone is silent, ALSA is as said before. True linux programs works fine (arecord, teamspeak, skype). EVE under Cedega has the same problem with ALSA, but OSS microphone works.
http://bugs.winehq.org/show_bug.cgi?id=13019
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|CVS/GIT |unspecified
--- Comment #3 from Austin English austinenglish@gmail.com 2009-01-19 15:15:44 --- Removing deprecated CVS/GIT version tag. Please retest in current git. If the bug is still present in today's wine, but was not present in some earlier version of wine, please update version field to earliest known version of wine that had the bug. Thanks!
http://bugs.winehq.org/show_bug.cgi?id=13019
Maciej Habant lays25@o2.pl changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|unspecified |CVS/GIT
--- Comment #4 from Maciej Habant lays25@o2.pl 2009-01-20 10:07:25 --- Yes, the problem continuously persists, including today's (20th Jan 2009) GIT.
http://bugs.winehq.org/show_bug.cgi?id=13019
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|CVS/GIT |unspecified
--- Comment #5 from Austin English austinenglish@gmail.com 2009-01-20 10:18:20 --- (In reply to comment #4)
Yes, the problem continuously persists, including today's (20th Jan 2009) GIT.
Please don't use GIT version tag, it's deprecated.
http://bugs.winehq.org/show_bug.cgi?id=13019
--- Comment #6 from Austin English austinenglish@gmail.com 2009-07-21 13:53:40 --- Is this still an issue in current (1.1.26 or newer) wine?
http://bugs.winehq.org/show_bug.cgi?id=13019
Olleg Samoylov olleg@mipt.ru changed:
What |Removed |Added ---------------------------------------------------------------------------- CC|olleg@mipt.ru |
http://bugs.winehq.org/show_bug.cgi?id=13019
--- Comment #7 from Maciej Habant lays25@o2.pl 2009-11-29 12:42:31 --- Yes, the problem is still present in Wine 1.1.33.
http://bugs.winehq.org/show_bug.cgi?id=13019
Chris thefishface@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC|thefishface@gmail.com |
http://bugs.winehq.org/show_bug.cgi?id=13019
Ivo skywalker-here@gmx.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |skywalker-here@gmx.de
--- Comment #8 from Ivo skywalker-here@gmx.de 2009-12-18 08:26:29 --- Still a problem for me in wine-1.1.34
http://bugs.winehq.org/show_bug.cgi?id=13019
--- Comment #9 from Maciej Habant lays25@o2.pl 2010-05-21 09:21:08 --- Also a problem in Wine 1.1.44
http://bugs.winehq.org/show_bug.cgi?id=13019
Maciej Habant lays25@o2.pl changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|-unknown |directx-dsound Version|unspecified |1.1.44
http://bugs.winehq.org/show_bug.cgi?id=13019
Vitaliy Margolen vitaliy@kievinfo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|directx-dsound |-unknown Version|1.1.44 |unspecified
http://bugs.winehq.org/show_bug.cgi?id=13019
Raymond superquad.vortex2@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |superquad.vortex2@gmail.com
--- Comment #10 from Raymond superquad.vortex2@gmail.com 2010-06-14 19:51:49 --- (In reply to comment #0)
People have been reporting it to work on some integrated audio chips, but on my SoundBlaster Live I can't get it working in any way. When using the Microphone Test in the Voice tab from the Options menu, the output I hear is partial (sometimes i hear the last letter, sometimes the middle ones), the sound quality is extremely poor and harshy. When using the Voicecom during game, people report the same thing to me as they can't hear me properly. I use ALSA - on OSS the microphone wouldn't even record ar all. I tried all combinations of sound options in winecfg - none seemed to work.
are your sound card using emu10k1 driver ?
emu10k1 driver has constraint on the period size of capture stream ?
static unsigned int capture_period_sizes[31] = { 384, 448, 512, 640, 384*2, 448*2, 512*2, 640*2, 384*4, 448*4, 512*4, 640*4, 384*8, 448*8, 512*8, 640*8, 384*16, 448*16, 512*16, 640*16, 384*32, 448*32, 512*32, 640*32, 384*64, 448*64, 512*64, 640*64, 384*128,448*128,512*128 };
static struct snd_pcm_hw_constraint_list hw_constraints_capture_period_sizes = { .count = 31, .list = capture_period_sizes, .mask = 0 };
http://bugs.winehq.org/show_bug.cgi?id=13019
--- Comment #11 from Maciej Habant lays25@o2.pl 2010-06-15 03:13:47 --- Created an attachment (id=28847) --> (http://bugs.winehq.org/attachment.cgi?id=28847) lsmod | grep emu10k1 command output
http://bugs.winehq.org/show_bug.cgi?id=13019
--- Comment #12 from Maciej Habant lays25@o2.pl 2010-06-15 03:14:48 --- Yes, exactly. I'm attaching the output of lsmod|grep emu10k1 command.
What is that what you wrote? Some kind of patch or is that what is already in Wine/Linux?
http://bugs.winehq.org/show_bug.cgi?id=13019
--- Comment #13 from Maciej Habant lays25@o2.pl 2010-07-16 18:06:38 --- I was pretty surprised it's actually still an issue in Wine 1.2...
http://bugs.winehq.org/show_bug.cgi?id=13019
--- Comment #14 from Raymond superquad.vortex2@gmail.com 2010-07-17 20:15:21 --- (In reply to comment #12)
Yes, exactly. I'm attaching the output of lsmod|grep emu10k1 command.
What is that what you wrote? Some kind of patch or is that what is already in Wine/Linux?
can you provide debug log to trace the alsa parameter used ?
seem to be WINEDEUG=+wave
if (TRACE_ON(wave)) ALSA_TraceParameters(hw_params, sw_params, FALSE);
http://bugs.winehq.org/show_bug.cgi?id=13019
--- Comment #15 from Maciej Habant lays25@o2.pl 2010-07-18 11:52:22 --- http://wklej.org/id/366015/txt/ (the log file was too big to attach it)
This is the output of the "WINEDEUG=+wave wine Steam.exe" command (I launched CS1.6 from Steam and started the microphone test).
I don't know if anything can be made out of that so put in other words, the sound configuration used is as follows:
Hardware acceleration - Emulation (also tested with Full) Default polling frequency = 44100 Bits per sample - 16
Please forgive me if I did anything wrong. And if I did, please explain what to do exactly.
Also, what is this and what to do with that?
if (TRACE_ON(wave)) ALSA_TraceParameters(hw_params, sw_params, FALSE);
http://bugs.winehq.org/show_bug.cgi?id=13019
anyeos@cieloaragua.sytes.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |anyeos@cieloaragua.sytes.ne | |t
http://bugs.winehq.org/show_bug.cgi?id=13019
--- Comment #16 from anyeos@cieloaragua.sytes.net 2010-11-02 20:18:04 CDT --- Created an attachment (id=31687) --> (http://bugs.winehq.org/attachment.cgi?id=31687) Output generated with WINEDEBUG="+wave"
http://bugs.winehq.org/show_bug.cgi?id=13019
--- Comment #17 from anyeos@cieloaragua.sytes.net 2010-11-02 20:23:59 CDT --- I have the same problem. When I go to "Voice" in "Options" and I push the button "Test Microphone" I can hear me cutted and I see the vumeter bar up and down continiously. Using emulation or full hardware acceleration, OSS or ALSA in winecfg does not make sense. But I can use my microphone in Skype, Gizmo, Audacity, record, arecord, whatever native program without problems.
Wine version 1.3.5 in Ubuntu 10.04
And, why the status of this bug is "Unconfirmed" if here are some people experiencing the same?
Bye
http://bugs.winehq.org/show_bug.cgi?id=13019
--- Comment #18 from Anyeos anyeos@cieloaragua.sytes.net 2010-11-02 20:31:13 CDT --- Sorry, more information: My system: Ubuntu 10.04 but pulseaudio disabled at all (removed and replaced with alsa).
I just asked a friend how he hear me in the game (when I'm pressing K) and the same what people are saying here (my voice go in and out but the speaker icon is permanent).
So the problem is related with sb live, alsa, and wine.
I attacked my output of WINEDEBUG="+wave"
bye
http://bugs.winehq.org/show_bug.cgi?id=13019
--- Comment #19 from Raymond superquad.vortex2@gmail.com 2010-11-09 20:08:24 CST --- (In reply to comment #15)
http://wklej.org/id/366015/txt/ (the log file was too big to attach it)
This is the output of the "WINEDEUG=+wave wine Steam.exe" command (I launched CS1.6 from Steam and started the microphone test).
I don't know if anything can be made out of that so put in other words, the sound configuration used is as follows:
Hardware acceleration - Emulation (also tested with Full) Default polling frequency = 44100 Bits per sample - 16
Please forgive me if I did anything wrong. And if I did, please explain what to do exactly.
Also, what is this and what to do with that?
if (TRACE_ON(wave)) ALSA_TraceParameters(hw_params, sw_params, FALSE);
trace:wave:ALSA_widMessage (0, WIDM_GETDEVCAPS, 00000000, 0033F1FC, 00000050); trace:wave:widGetDevCaps (0, 0x33f1fc, 80); trace:wave:ALSA_widMessage (0, WIDM_OPEN, 0033F284, 0033F2FC, 00030000); trace:wave:widOpen (0, 0x33f2fc, 00030000); trace:wave:widOpen dwPeriodSize=4096 trace:wave:widOpen wBitsPerSample=16, nAvgBytesPerSec=16000, nSamplesPerSec=8000, nChannels=1 nBlockAlign=2!
trace:wave:wodPlayer waiting 11ms (20,11) trace:wave:widRecorder sleeptime=256 ms, total buffer length=512 ms (8192 bytes)
4096 period size at 8000Hz mean period time is 0.512 seconds
In winealsa.drv/wavein.c ,
widOpen use
332 unsigned int buffer_time = 500000; 333 unsigned int period_time = 10000;
469 dir=0; 470 EXIT_ON_ERROR( snd_pcm_hw_params_set_buffer_time_near(pcm, hw_params, &buffer_time, &dir), MMSYSERR_INVALPARAM, "unable to set buffer time"); 471 dir=0; 472 EXIT_ON_ERROR( snd_pcm_hw_params_set_period_time_near(pcm, hw_params, &period_time, &dir), MMSYSERR_INVALPARAM, "unable to set period time"); 473 474 EXIT_ON_ERROR( snd_pcm_hw_params(pcm, hw_params), MMSYSERR_INVALPARAM, "unable to set hw params for playback");
seem wine is using 1 period per buffer
can you post the output of
arecord -v -Dhw:0,0 -f S16_LE -c 1 -r 8000 -d 10 foo1.wav
and
arecord -v -Dhw:0,0 -f S16_LE -c 1 -r 8000 --period-time=10 --buffer-time=500 -d 10 foo1.wav
http://bugs.winehq.org/show_bug.cgi?id=13019
--- Comment #20 from Maciej Habant lays25@o2.pl 2010-11-10 08:53:37 CST --- Created an attachment (id=31827) --> (http://bugs.winehq.org/attachment.cgi?id=31827) Recording #1
Output of the following command:
arecord -v -Dhw:0,0 -f S16_LE -c 1 -r 8000 -d 10 foo1.wav
http://bugs.winehq.org/show_bug.cgi?id=13019
--- Comment #21 from Maciej Habant lays25@o2.pl 2010-11-10 08:55:11 CST --- Created an attachment (id=31828) --> (http://bugs.winehq.org/attachment.cgi?id=31828) Recording #2
Output of the following command:
arecord -v -Dhw:0,0 -f S16_LE -c 1 -r 8000 --period-time=10 --buffer-time=500 -d 10 foo2.wav
http://bugs.winehq.org/show_bug.cgi?id=13019
--- Comment #22 from Raymond superquad.vortex2@gmail.com 2010-11-10 17:02:07 CST --- I mean the verbose output of aplay which tell you the buffer size and period size if the default parameter used by aplay can give you a reasonable qualitiy of the recording
AFAIK, aplay don't like one period per buffer
you can know the parameter used by wine when the game is recording
cat /proc/asound/card0/pcm0C/sub0/hw_params
http://bugs.winehq.org/show_bug.cgi?id=13019
--- Comment #23 from Raymond superquad.vortex2@gmail.com 2010-11-10 20:03:39 CST --- (In reply to comment #22)
I mean the verbose output of aplay which tell you the buffer size and period size if the default parameter used by aplay can give you a reasonable qualitiy of the recording
AFAIK, aplay don't like one period per buffer
you can know the parameter used by wine when the game is recording
cat /proc/asound/card0/pcm0C/sub0/hw_params
should be arecord instead of aplay
0.512 second period time is too long for online voice chat
http://bugs.winehq.org/show_bug.cgi?id=13019
Maciej Habant lays25@o2.pl changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #31827|0 |1 is obsolete| |
http://bugs.winehq.org/show_bug.cgi?id=13019
Maciej Habant lays25@o2.pl changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #31828|0 |1 is obsolete| |
http://bugs.winehq.org/show_bug.cgi?id=13019
--- Comment #24 from Maciej Habant lays25@o2.pl 2010-11-11 07:12:22 CST --- Created an attachment (id=31845) --> (http://bugs.winehq.org/attachment.cgi?id=31845) arecord output #1
Console output of the following command:
arecord -v -Dhw:0,0 -f S16_LE -c 1 -r 8000 -d 10 foo1.wav
http://bugs.winehq.org/show_bug.cgi?id=13019
--- Comment #25 from Maciej Habant lays25@o2.pl 2010-11-11 07:12:59 CST --- Created an attachment (id=31846) --> (http://bugs.winehq.org/attachment.cgi?id=31846) arecord output #2
Console output of the following command:
arecord -v -Dhw:0,0 -f S16_LE -c 1 -r 8000 --period-time=10 --buffer-time=500 -d 10 foo2.wav
http://bugs.winehq.org/show_bug.cgi?id=13019
--- Comment #26 from Maciej Habant lays25@o2.pl 2010-11-11 07:14:45 CST --- While recording with the first command:
lays@debian:~$ cat /proc/asound/card0/pcm0c/sub0/hw_params access: RW_INTERLEAVED format: S16_LE subformat: STD channels: 1 rate: 8000 (8000/1) period_size: 1024 buffer_size: 2048
While recording with the second one:
lays@debian:~$ cat /proc/asound/card0/pcm0c/sub0/hw_params access: RW_INTERLEAVED format: S16_LE subformat: STD channels: 1 rate: 8000 (8000/1) period_size: 192 buffer_size: 384
http://bugs.winehq.org/show_bug.cgi?id=13019
VisN visualnick@mail.ru changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |visualnick@mail.ru
--- Comment #27 from VisN visualnick@mail.ru 2010-12-24 13:51:16 CST --- I have the same problem very long time through all wine versions. Counter Strike and World of Warcraft voice transmit dont work properly. Sound transmits partly, same as discribed by Maciej Habant. wine-1.3.7 Sound Blaster Live 5.1! with emu10k1 driver 2.6.34-gentoo-r1
http://bugs.winehq.org/show_bug.cgi?id=13019
--- Comment #28 from VisN visualnick@mail.ru 2010-12-24 14:09:51 CST --- when the game is recording: cat /proc/asound/card0/pcm0c/sub0/hw_params access: MMAP_INTERLEAVED format: S16_LE subformat: STD channels: 1 rate: 8000 (8000/1) period_size: 4096 buffer_size: 8192
http://bugs.winehq.org/show_bug.cgi?id=13019
VisN visualnick@mail.ru changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed|0 |1
--- Comment #29 from VisN visualnick@mail.ru 2010-12-24 17:42:51 CST --- *** This bug has been confirmed by popular vote. ***
http://bugs.winehq.org/show_bug.cgi?id=13019
--- Comment #30 from Raymond superquad.vortex2@gmail.com 2010-12-25 20:41:10 CST --- snd-emu10k1 has three capture devices
**** List of CAPTURE Hardware Devices **** card 0: Live [SBLive! xxxxx], device 0: emu10k1 [ADC Capture/Standard PCM Playback] Subdevices: 1/1 Subdevice #0: subdevice #0 card 0: Live [SBLive! xxxxx], device 1: emu10k1 mic [Mic Capture] Subdevices: 1/1 Subdevice #0: subdevice #0 card 0: Live [SBLive! xxxxx], device 2: emu10k1 efx [Multichannel Capture/PT Playback] Subdevices: 1/1 Subdevice #0: subdevice #0
./alsacap -d hw:0,0 -R *** Exploring configuration space of device `hw:0,0' for recording *** type : HW 1..2 channels Sampling rate 8000..48000 Hz Sample formats: S16_LE Significant bits: 16
Is this game using winmm or dsound to capture ?
How do you config the alsa "default" device or you are using registry UseDirectHw="Y" ?
seem that hw:0,0 does not support 8bits but winealsa.drv/waveinit.c
*flags |= DSCAPS_SECONDARY8BIT | DSCAPS_SECONDARY16BIT;
so winealsa.drv have to perform 8bits to 16bits conversion if you are using hw:0,0 to record
http://bugs.winehq.org/show_bug.cgi?id=13019
--- Comment #31 from VisN visualnick@mail.ru 2010-12-25 23:03:57 CST --- I dont know the way to determine the game using winmm or dsound, but this string in wine output probably means that the game is using winmm: fixme:winmm:MMDRV_Exit Closing while ll-driver open
Default sound card(SB Live 5.1!) is configured by default(have no asound.conf or .asoundrc), using registry UseDirectHw="Y" makes no sense for me.
http://bugs.winehq.org/show_bug.cgi?id=13019
--- Comment #32 from Raymond superquad.vortex2@gmail.com 2010-12-26 21:12:49 CST --- I guess the problem is in CS since some users also report the mic problem when using windows
The other point is that snd-emu10k1 must use "front","rear" device for playback to front or rear jacks by changing the internal routing and application cannot use "front" device for capture
This is the reason why wineoss does not work when wine are using ALSA's OSS emulation
some version of PA server still use "front" device for both playback and capture
since wine cannot use the old convention "default:x" to use the sound card x 's default device (i.e. "default" device in /usr/share/alsa/cards/EMU10k1.conf " when your linux distribution override the "default" device" by "pulse"
add the following enty in your .asoundrc
pcm.wine { type asym playback.pcm "front:0" capture.pcm "plughw:0,0" }
http://wiki.winehq.org/UsefulRegistryKeys
AutoScanCards="N" DeviceCount="1" DevicePCM1="wine" DeviceCTL1="hw:0" UseDirectHW="N"
http://bugs.winehq.org/show_bug.cgi?id=13019
--- Comment #33 from VisN visualnick@mail.ru 2010-12-27 07:39:39 CST --- done, nothing has changed for me. I also tried plughw:0,1 - no sound captured and plughw:0,2 - the sound is different, but still low quality and harshy.
With plughw:1,0(Intel HD) it works perfectly.
http://bugs.winehq.org/show_bug.cgi?id=13019
--- Comment #34 from Raymond superquad.vortex2@gmail.com 2010-12-28 00:59:35 CST --- (In reply to comment #33)
With plughw:1,0(Intel HD) it works perfectly.
can you post the output when the game is recording using HDA ?
cat /proc/asound/card1/pcm0c/sub0/hw_params
http://bugs.winehq.org/show_bug.cgi?id=13019
--- Comment #35 from VisN visualnick@mail.ru 2010-12-28 02:39:17 CST --- well the sound with Intel HDA is not so perfect, it turned out with a deeper test, I think its the same problem. There is no sound interrupts like with SB Live, so transmits all words(not partial), but its still harhy and low quality. The longer transmit sesstion, the sound becomes worse...
cat /proc/asound/card1/pcm0c/sub0/hw_params access: MMAP_INTERLEAVED format: S16_LE subformat: STD channels: 2 rate: 48000 (48000/1) period_size: 512 buffer_size: 16384
http://bugs.winehq.org/show_bug.cgi?id=13019
--- Comment #36 from Raymond superquad.vortex2@gmail.com 2010-12-28 20:41:59 CST --- seem emu10k1's capture device cannot pass the capture test of winmm
there are a few xrun (overrun detected by the test )
WINETEST_INTERACTIVE=1 wine winmm_test capture
fixme:wave:widRecorder Recovering from XRUN! capture.c:221: Test failed: WaitForSingleObject failed for header capture.c:222: Test failed: WHDR_DONE not set in frag.dwFlags capture.c:223: Test failed: frag.dwBytesRecorded=262144, should=384000
http://bugs.winehq.org/show_bug.cgi?id=13019
--- Comment #37 from butraxz@gmail.com 2013-06-21 15:32:30 CDT --- This ticket has not been updated for over 900 days.
Is this still an issue in wine version 1.6-rc3 or higher or is this to be closed as abandoned ?
https://bugs.winehq.org/show_bug.cgi?id=13019
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |ABANDONED
--- Comment #38 from Austin English austinenglish@gmail.com --- (In reply to butraxz from comment #37)
This ticket has not been updated for over 900 days.
Is this still an issue in wine version 1.6-rc3 or higher or is this to be closed as abandoned ?
Abandoned.
https://bugs.winehq.org/show_bug.cgi?id=13019
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #39 from Austin English austinenglish@gmail.com --- Closing.