[Bug 28282] New: Sound constantly crackling in StarCraft II
http://bugs.winehq.org/show_bug.cgi?id=28282 Summary: Sound constantly crackling in StarCraft II Product: Wine Version: 1.3.26 Platform: x86-64 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs(a)winehq.org ReportedBy: pitlicek(a)gmail.com Sound is crackling since 1.3.26 (and still does in 27) and console is spammed with "err:alsa:wine_snd_pcm_recover underrun occurred". Using ALSA in Wine (PulseAudio in Ubuntu 11.04), full acceleration (changing to emulation doesn't fix it), 48 kHz (my SoundBlaster can handle it, and again, change makes no difference), 16 bps. Using OSS and padsp results in no sound at all. But it's still better than no sound in 1.3.25 after mmdevapi rewrite/implementation. ;) -- 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=28282 MacNean <dardack(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dardack(a)gmail.com --- Comment #1 from MacNean <dardack(a)gmail.com> 2011-09-05 17:03:42 CDT --- (In reply to comment #0)
Sound is crackling since 1.3.26 (and still does in 27) and console is spammed with "err:alsa:wine_snd_pcm_recover underrun occurred".
Using ALSA in Wine (PulseAudio in Ubuntu 11.04), full acceleration (changing to emulation doesn't fix it), 48 kHz (my SoundBlaster can handle it, and again, change makes no difference), 16 bps. Using OSS and padsp results in no sound at all.
But it's still better than no sound in 1.3.25 after mmdevapi rewrite/implementation. ;)
From what I understand 11.04 and below has a bug in the alsa-plugins/pulse implementation. It's supposedly fixed in 11.10. I'm still on 10.10 cause I refuse at this point to go to Unity. (If unity gave me 2 bars (ie Gnome 2), let me get rid of that launcher thing, had indicators for wicd/steam/other things that don't show in Unity's bar for me, i'd upgrade).
Um I can't find the launchpad bug report, but I've been all over this because of me refusing to upgrade, wine-pulse patches no longer working in 1.3.25+, and the bug in alsa-plugins (alsa plugin to pulse) -- 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=28282 Jack <jackhatlinux(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jackhatlinux(a)gmail.com --- Comment #2 from Jack <jackhatlinux(a)gmail.com> 2011-09-29 19:18:13 CDT --- I was experiencing the same exact problem on Ubuntu 11.04. I updated pulseaudio 1.0 from the daily build ppa and the crackling went away. pulseaudio 1.0 is shipping with 11.10 so this problem will go away. I recommend closing the bug as this is not a wine issue. -- 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=28282 --- Comment #3 from Jan Kalab <pitlicek(a)gmail.com> 2011-09-30 02:54:00 CDT --- I added this PPA: https://launchpad.net/~ubuntu-audio-dev/+archive/pulse-testing (PA 0.98 here), updated, rebooted (to be sure), and nothing changed. :( -- 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=28282 --- Comment #4 from Jan Kalab <pitlicek(a)gmail.com> 2011-10-18 08:30:45 CDT --- After numerous updates of PulseAudio from PPA and current Wine 1.3.30 and SC2 1.4.1, it is still crackling. Also, same issue is in Warcraft III. -- 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=28282 --- Comment #5 from Jan Kalab <pitlicek(a)gmail.com> 2011-10-22 02:41:04 CDT --- Now, in 1.3.31, even when WINEDEBUG="-all", my console is spammed with ALSA lib ../../../src/pcm/pcm.c:7316:(snd_pcm_recover) underrun occurred And I also found out it affect original StarCraft too. Also tried Guild Wars, sound is okay, but console is spammed too, but way less than in SC2. Also Source engine games sounds fine. -- 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=28282 Jan Kalab <pitlicek(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|Sound constantly crackling |Sound constantly crackling |in StarCraft II |in lot fo games -- 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=28282 Jan Kalab <pitlicek(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|Sound constantly crackling |Sound constantly crackling |in lot fo games |in lot of games -- 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=28282 Jan Kalab <pitlicek(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Component|-unknown |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=28282 Ema <ema.oriani(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ema.oriani(a)gmail.com --- Comment #6 from Ema <ema.oriani(a)gmail.com> 2011-10-29 04:57:45 CDT --- Confirm this is a regression from 1.3.30 to 1.3.31 Installing the former makes the sound work 100%. The same issue appears in both Ubuntu 11.04 and 11.10. Should we be increasing the priority of this? Cheers -- 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=28282 Austin English <austinenglish(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |aeikum(a)codeweavers.com --- Comment #7 from Austin English <austinenglish(a)gmail.com> 2011-10-30 17:17:20 CDT --- Please attach a log as indicated on: http://wiki.winehq.org/Sound a regression test would also be helpful: http://wiki.winehq.org/RegressionTesting -- 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=28282 --- Comment #8 from Jan Kalab <pitlicek(a)gmail.com> 2011-10-31 02:44:01 CDT --- Created attachment 37216 --> http://bugs.winehq.org/attachment.cgi?id=37216 Log from StarCraft II. WINEDEBUG=+tid,+mmdevapi,+winmm,+midi,+dsound,+dmusic,+oss,+alsa,+coreaudio wine StarCraft\ II.exe &> /tmp/sc2.log -- 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=28282 --- Comment #9 from Ema <ema.oriani(a)gmail.com> 2011-11-01 07:06:04 CDT --- Jan, Thanks for providing the 1.3.31 log! Do you think would be good to provide a sound log with 1.3.30 too? Cheers -- 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=28282 --- Comment #10 from Jan Kalab <pitlicek(a)gmail.com> 2011-11-01 09:27:49 CDT --- I'm not sure if this will help, since SC2 is crackling since 1.3.26. Just recently, I've noticed it affects even more games. But if you want, I guess I can make the same log in 30, 26 and 25, to see if it's the same bug. -- 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=28282 --- Comment #11 from Andrew Eikum <aeikum(a)codeweavers.com> 2011-11-01 09:38:30 CDT --- Thanks for attaching a log. No need with the .30 or any other log, thanks. This is causing the problem that Jan is having: 002d:fixme:alsa:AudioClient_Initialize ALSA buffer time is smaller than our period time. Expect underruns. (352 < 441) Ema, do you have the same FIXME line when you run the game from a terminal? So basically the problem is that your ALSA buffer is teeny tiny, and we don't feed it sound data quickly enough before it runs out of sound to play. I'm working on a patch, and I'll get back to you shortly. -- 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=28282 --- Comment #12 from Andrew Eikum <aeikum(a)codeweavers.com> 2011-11-01 10:10:56 CDT --- Created attachment 37243 --> http://bugs.winehq.org/attachment.cgi?id=37243 winealsa.drv: Ask ALSA to give us a sufficiently large buffer size Can you try this patch and attach a log with the same channels, regardless of if it works or not? -- 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=28282 --- Comment #13 from Ventero <wine(a)ventero.de> 2011-11-08 06:38:09 CST --- Created attachment 37380 --> http://bugs.winehq.org/attachment.cgi?id=37380 Starcraft II log I had the same FIXME line as Jan when running Starcraft II. Compiling Wine 1.3.31 with your patch applied fixed the problem for me - the sound worked completely fine. I've attached a log of WINEDEBUG=+tid,+mmdevapi,+winmm,+midi,+dsound,+dmusic,+oss,+alsa,+coreaudio wine StarCraft\ II.exe -- 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=28282 --- Comment #14 from Ema <ema.oriani(a)gmail.com> 2011-11-20 03:08:42 CST --- Andrew, have you committed this patch? When do you think we'll have this fix officially out? Cheers! -- 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=28282 Ventero <wine(a)ventero.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |wine(a)ventero.de -- 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=28282 --- Comment #15 from Andrew Eikum <aeikum(a)codeweavers.com> 2011-11-21 08:04:13 CST --- (In reply to comment #14)
Andrew, have you committed this patch? When do you think we'll have this fix officially out?
It's not committed yet, sorry. We're working on an improvement to the ALSA driver on Bug 28723, which should include this fix. It should be in "soon" :) -- 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=28282 --- Comment #16 from Jan Kalab <pitlicek(a)gmail.com> 2011-11-21 08:32:08 CST --- So, shouldn't this be marked as duplicate? -- 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=28282 --- Comment #17 from Andrew Eikum <aeikum(a)codeweavers.com> 2011-11-21 11:21:10 CST --- (In reply to comment #16)
So, shouldn't this be marked as duplicate?
Mmmh, not really. The other bug is caused by a different issue with the ALSA driver. The fix for it just happens to fix this problem 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=28282 Otto Rey <otto_rey(a)yahoo.com.ar> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |otto_rey(a)yahoo.com.ar -- 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=28282 --- Comment #18 from Otto Rey <otto_rey(a)yahoo.com.ar> 2011-12-09 22:54:25 CST --- Please, commit the patch soon. Without this, wine step back ten years (lot of games are unplayeable) -- 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=28282 --- Comment #19 from Andrew Eikum <aeikum(a)codeweavers.com> 2011-12-12 08:02:19 CST --- (In reply to comment #18)
Please, commit the patch soon. Without this, wine step back ten years (lot of games are unplayeable)
Yes, we're getting close to a solution. Please follow the comments on Bug 28723. -- 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=28282 --- Comment #20 from Andrew Eikum <aeikum(a)codeweavers.com> 2011-12-12 11:21:18 CST --- In fact, could folks affected by this bug try out the latest "ALSA fixes patchset" on Bug 28723? Specifically this attachment: <http://bugs.winehq.org/attachment.cgi?id=37943> Just apply all four patches, rebuild winealsa.drv, and test. If it still fails, please attach a log. Thanks! -- 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=28282 --- Comment #21 from Andrew Eikum <aeikum(a)codeweavers.com> 2011-12-12 11:22:53 CST --- I forgot to mention, before you apply those patches, you will need to have Jorg's patch from the other day, available here (and probably in wine.git later today): http://source.winehq.org/patches/data/81718 -- 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=28282 --- Comment #22 from Ventero <wine(a)ventero.de> 2011-12-12 12:09:37 CST --- I've applied those 5 patches on top of wine.git and sound in Starcraft II was absolutely perfect. Thanks to everyone who worked on those patches! -- 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=28282 --- Comment #23 from Andrew Eikum <aeikum(a)codeweavers.com> 2011-12-22 14:00:52 CST --- These patches are in Wine now. Can you retest with today's Git (or later) and let us know if it's working? -- 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=28282 Ventero <wine(a)ventero.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #37380|0 |1 is obsolete| | --- Comment #24 from Ventero <wine(a)ventero.de> 2011-12-22 15:27:29 CST --- Created attachment 38075 --> http://bugs.winehq.org/attachment.cgi?id=38075 Starcraft II logs After compiling Wine git HEAD, I ran Starcraft II a few times. Most runs, the sound was completely fine, but a few times the sound was constantly crackling/cut off. I've attached two logs (one for each case). Both were generated by running env WINEDEBUG=+tid,+mmdevapi,+winmm,+midi,+dsound,+dmusic,+oss,+alsa,+coreaudio ./wine "~/.wine/drive_c/Programme/StarCraft II/StarCraft II.exe" -- 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=28282 Christian <christian.frank(a)gmx.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |christian.frank(a)gmx.de --- Comment #25 from Christian <christian.frank(a)gmx.de> 2011-12-30 13:32:44 CST --- mhhh..my sound is still crackling in sc2..i have a soundblaster 512 with hw mixing+pure alsa in ubuntu 11.10.compiled from git today -- 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=28282 --- Comment #26 from Jan Kalab <pitlicek(a)gmail.com> 2012-01-02 01:54:46 CST --- SC2 is still crackling for me in 1.3.36. And also the test sound in winecfg, no matter what sound card / mode I choose. -- 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=28282 Adam Bolte <boltronics(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |boltronics(a)gmail.com -- 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=28282 --- Comment #27 from Christian <christian.frank(a)gmx.de> 2012-01-25 14:17:25 CST --- well, 1.3.37 fixed all my craxckling sound issues in alsa ! great work, many thanks ! -- 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=28282 Ralf <forum(a)planet64bit.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |forum(a)planet64bit.de --- Comment #28 from Ralf <forum(a)planet64bit.de> 2012-02-02 12:03:07 CST --- 1.4rc1 has still little cracks in the sound played in the speakers, but recordings sound is now complete broken Example: http://youtu.be/Zm6kg3jOSZs Same result with gstreamer pulsesrc, alsasrc and ffmpeg pulse. -- 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=28282 --- Comment #29 from Andrew Eikum <aeikum(a)codeweavers.com> 2012-02-02 13:09:58 CST --- (In reply to comment #28)
1.4rc1 has still little cracks in the sound played in the speakers, but recordings sound is now complete broken
Please attach a log with the channels from <http://wiki.winehq.org/Sound>.
Same result with gstreamer pulsesrc, alsasrc and ffmpeg pulse.
I don't know what these are. Are you having problems recording only in Wine, or does recording via ALSA not work across your entire system? -- 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=28282 Sylvain Petreolle <spetreolle(a)yahoo.fr> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |spetreolle(a)yahoo.fr -- 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=28282 --- Comment #30 from Jan Kalab <pitlicek(a)gmail.com> 2012-02-08 09:55:53 CST --- Still crackling in 1.4-rc2. Even in winecfg test sound. I hope they won't release 1.4 with this. :( -- 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=28282 --- Comment #31 from Andrew Eikum <aeikum(a)codeweavers.com> 2012-02-08 10:01:46 CST --- Jan: Which PulseAudio and alsa-plugins (called "libasound2-plugins" on Ubuntu) versions are you using? People seem to generally, although not always, have success with PA >= 1.0 and alsa-plugins >= 1.0.24 (and 1.0.25 has even more improvements). -- 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=28282 --- Comment #32 from Jan Kalab <pitlicek(a)gmail.com> 2012-02-08 10:01:57 CST --- Created attachment 38748 --> http://bugs.winehq.org/attachment.cgi?id=38748 winecfg crackling Log from winecfg -- 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=28282 --- Comment #33 from Jan Kalab <pitlicek(a)gmail.com> 2012-02-08 10:04:45 CST --- Ubuntu 10.04 64bit, libasound2 1.0.24.1, pulseaudio 0.98. I guess I'll try to find some ppa with PA 1.0... -- 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=28282 --- Comment #34 from Jan Kalab <pitlicek(a)gmail.com> 2012-02-08 10:06:26 CST --- Sorry, Ubuntu 11.04 natty. (In reply to comment #33)
Ubuntu 10.04 64bit, libasound2 1.0.24.1, pulseaudio 0.98. I guess I'll try to find some ppa with PA 1.0...
-- 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=28282 --- Comment #35 from Jan Kalab <pitlicek(a)gmail.com> 2012-02-13 05:34:11 CST --- My SB Live! went to silicon heaven yesterday, so I was forced to use integrated Intel soundcard. And now, the crackling is gone. -- 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=28282 --- Comment #36 from Ralf <thedesti(a)yahoo.com> 2012-02-20 08:35:04 CST --- (In reply to comment #29)
(In reply to comment #28)
1.4rc1 has still little cracks in the sound played in the speakers, but recordings sound is now complete broken
Please attach a log with the channels from <http://wiki.winehq.org/Sound>.
Same result with gstreamer pulsesrc, alsasrc and ffmpeg pulse.
I don't know what these are. Are you having problems recording only in Wine, or does recording via ALSA not work across your entire system?
This are the sound recording modules from gstreamer and ffmpeg. Sound recording works well with pulseaudio and every other non wine game and application. Meanwhile I disabled pulseaudio and SC2 sound and recordings works with pure alsa, but I would like to continue to use pulseaudio, because alsa is missing some nice features and flash is working better with pulse. I will do some more testing later. -- 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=28282 --- Comment #37 from Ralf <thedesti(a)yahoo.com> 2012-02-20 20:11:01 CST --- OK, wanted to do some logs today, but magically it's working well now, both sound output and recording with pulseaudio (at least with SC2, havn't tried anything else yet). Maybe some of the updates just fixed it. I've now: 3.1.0-gentoo x86_64 alsa-lib-1.0.25-r1 pulseaudio-1.1-r1 wine-1.4_rc3 -- 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=28282 unimatrix <andrejx(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |andrejx(a)gmail.com --- Comment #38 from unimatrix <andrejx(a)gmail.com> 2012-02-24 17:54:31 CST --- Maybe this helps someone. I've been getting crackling sound in Oblivion and Skyrim on the latest Wine. I solved the problem by editing PulseAudio's config (/etc/pulse/daemon.conf). I have changed the line default-fragment-size-msec = 10 to default-fragment-size-msec = 5 And now it works perfectly. -- 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=28282 Jay <jaynobyl(a)gmx.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jaynobyl(a)gmx.de -- 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=28282 Oliver <oliver.joos(a)hispeed.ch> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |oliver.joos(a)hispeed.ch -- 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=28282 Adam Mills <adam(a)armills.info> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |adam(a)armills.info --- Comment #39 from Adam Mills <adam(a)armills.info> 2012-05-05 15:53:41 CDT --- I just want to confirm that the workaround provided by unimatrix worked for me on my system. I changed default-fragment-size-msec to 5 in /etc/pulse/daemon.conf. Please contact me if you need any more details about my system. This seems like it's possibly hardware related. 3.1.6-gentoo x86_64 wine-1.5.3 pulseaudio-1.1-r1 alsa-lib-1.0.25-r1 lspci | grep -i audio 00:0f.1 Audio device: nVidia Corporation MCP55 High Definition Audio (rev a2) -- 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=28282 Tom <fastumzug(a)fastmail.fm> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |fastumzug(a)fastmail.fm --- Comment #40 from Tom <fastumzug(a)fastmail.fm> 2012-08-11 12:08:07 CDT --- (In reply to comment #38)
I solved the problem by editing PulseAudio's config (/etc/pulse/daemon.conf). I have changed the line default-fragment-size-msec = 10 to default-fragment-size-msec = 5 And now it works perfectly.
Works fine. I could also solve sound issues of other games like Guildwars 2 e.g. - thanks a lot. -- 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=28282 Krack <krack3rz(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |krack3rz(a)gmail.com -- 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=28282 Jay <jaynobyl(a)gmx.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC|jaynobyl(a)gmx.de | -- 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=28282 Ken Sharp <kennybobs(a)o2.co.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- See Also| |http://bugs.winehq.org/show | |_bug.cgi?id=10495 --- Comment #41 from Ken Sharp <kennybobs(a)o2.co.uk> 2013-08-04 11:28:26 CDT --- Please re-test in Wine 1.7 or later. -- 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=28282 Wolter Hellmund <wolterh6(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |wolterh6(a)gmail.com --- Comment #42 from Wolter Hellmund <wolterh6(a)gmail.com> 2013-09-15 22:28:58 CDT --- I have wine 1.7.1 and have applied the fix to the pulseaudio daemon file, and I haven't been able to reproduce this problem so far. -- 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=28282 K1773R <K1773R(a)darkgamex.ch> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |K1773R(a)darkgamex.ch -- 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=28282 Deve <deveee(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |deveee(a)gmail.com --- Comment #43 from Deve <deveee(a)gmail.com> --- About "default-fragment-size-msec = 5" change... Doesn't if affect any other application in system and is it safe? There should be some reasons that in default config file it is 10 ms, not 5. -- 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=28282 --- Comment #44 from Wolter Hellmund <wolterh6(a)gmail.com> --- (In reply to comment #43)
About "default-fragment-size-msec = 5" change... Doesn't if affect any other application in system and is it safe? There should be some reasons that in default config file it is 10 ms, not 5.
I have used this fix for ages and have never had a problem outside of Wine. -- 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=28282 --- Comment #45 from Rosanne DiMesio <dimesio(a)earthlink.net> --- In addition to the comments here, we've also had users reporting on the forum and in the AppDB that setting default-fragment-size-msec = 5 fixes this problem. My question: is this something Wine can or should work around? If the problem is really in Pulseaudio's configuration, should this bug be marked invalid or upstream? -- 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=28282 --- Comment #46 from Deve <deveee(a)gmail.com> --- (In reply to comment #45)
In addition to the comments here, we've also had users reporting on the forum and in the AppDB that setting default-fragment-size-msec = 5 fixes this problem.
My question: is this something Wine can or should work around? If the problem is really in Pulseaudio's configuration, should this bug be marked invalid or upstream?
It's IMO not a bug in pulseaudio configuration, because every other application in system which I use works properly. Also I don't have this bug when I use winepulse driver. Sound begins to crackle after 15-30 minutes of playing in my case. Perhaps try to detect if sounds are broken and restart it during playing or so? In gnome audio configuration is one place where are listed all aplications which use sounds in this moment. I noticed that when sounds begins to cracle in wine, then in gnome audio config wine application flickers constantly (it looks like it would connect and disconnect very quickly). -- 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=28282 --- Comment #47 from Rosanne DiMesio <dimesio(a)earthlink.net> --- (In reply to comment #46)
It's IMO not a bug in pulseaudio configuration, because every other application in system which I use works properly.
Personally, I don't think it is either, because I've never encountered this bug in any of the games I play in Wine, and I am using PulseAudio, without winepulse, and have not changed any of the defaults. The thing about default settings is that no matter how good the choices, there are always going to be cases where they have to be changed. At what point should users simply be told it's up to them to choose settings appropriate for their system? -- 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=28282 --- Comment #48 from Deve <deveee(a)gmail.com> --- I tried to change default-fragment-size-msec to 5 today and it doesn't solve problem for me. I still have crackling sounds with winealsa. -- 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=28282 Adam Mills <adam(a)armills.info> changed: What |Removed |Added ---------------------------------------------------------------------------- CC|adam(a)armills.info | -- 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=28282 --- Comment #49 from Deve <deveee(a)gmail.com> --- Simple workaround to use alsa directly. Add this script as /usr/bin/wine-nopulse: ---------------- #!/bin/sh echo "autospawn = no" > $HOME/.config/pulse/client.conf pulseaudio --kill /usr/bin/wine $* rm -f $HOME/.config/pulse/client.conf pulseaudio --start ---------------- If you need this file in home directory for something other, you can use sed command to modify autospawn line. There is also pasuspender, but it of course causes hangs for me ;p -- 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=28282 Jonas Jelten <jonas.jelten(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jonas.jelten(a)gmail.com -- 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=28282 Steven V. Wilson <funmaker_11(a)yahoo.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |funmaker_11(a)yahoo.com --- Comment #50 from Steven V. Wilson <funmaker_11(a)yahoo.com> --- wine 1.7.39 still has this problem. I just installed The Elder Scrolls V Skyrim. Every one voices sound like they have feedback. Not that it matters here but I also tried wine staging with the same version of wine and there is no change in the sound problem. -- 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=28282 --- Comment #51 from Andrew Eikum <aeikum(a)codeweavers.com> --- (In reply to Steven V. Wilson from comment #50)
wine 1.7.39 still has this problem. I just installed The Elder Scrolls V Skyrim. Every one voices sound like they have feedback. Not that it matters here but I also tried wine staging with the same version of wine and there is no change in the sound problem.
Are you using PulseAudio? If so, what version? What operating system are you using? Can you get a log with the channels from <http://wiki.winehq.org/Sound>? Just do enough to reproduce the issue and quit, then compress the log (xz works well) and upload here. -- 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=28282 Jonathan <emailjonathananderson-fedora(a)yahoo.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |emailjonathananderson-fedor | |a(a)yahoo.com --- Comment #52 from Jonathan <emailjonathananderson-fedora(a)yahoo.com> --- Also affecting World of Tanks 0.9.9 in Fedora 22. Console is spammed with: ALSA lib pcm.c:7905:(snd_pcm_recover) underrun occurred The problem can be remedied by editing /etc/pulse/default.pa and changing default parameters to default-fragments = 5 default-fragment-size-msec = 2 then restarting pulseaudio by pulseaudio -k solution found at https://bbs.archlinux.de/viewtopic.php?id=27711 I'm not sure who should change their settings, Wine, Fedora or others, but hope this helps others make it work. -- 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=28282 super_man(a)post.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |super_man(a)post.com --- Comment #53 from super_man(a)post.com --- I have noticed too that changing those settings helps, but it's hard to find good quide how values are calculated. I have noticed that if you have 2 sources of audio for example youtube and dvd playback. The other can be muted. Then audio is crystal clear, but if you have only 1 audio source I get crackling. -- 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=28282 --- Comment #54 from Deve <deveee(a)gmail.com> --- I'm starting every wine application by script which sets PULSE_LATENCY_MSEC=60 environment variable. And I don't have crackling sounds since a year or two ;) Anyway this is the most annoying bug in wine. It simply should support pulseaudio natively, without patching anything. Other applications can do it, why wine can't? -- 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=28282 --- Comment #55 from super_man(a)post.com --- (In reply to Deve from comment #54)
I'm starting every wine application by script which sets PULSE_LATENCY_MSEC=60 environment variable. And I don't have crackling sounds since a year or two ;)
Anyway this is the most annoying bug in wine. It simply should support pulseaudio natively, without patching anything. Other applications can do it, why wine can't?
Pulseaudio support has been added. Also I dont remember hearing this issue for a long time now. -- 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=28282 --- Comment #56 from Adam Bolte <abolte(a)systemsaviour.com> --- (In reply to super_man from comment #55)
Pulseaudio support has been added. Also I dont remember hearing this issue for a long time now.
Same here, however back when I was watching this bug I had a USB sound card, which is no longer the case. -- 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=28282 --- Comment #57 from Jonas Jelten <jj(a)stusta.net> --- I run into this very often, especially with Skyrim. My solution/dirty dirty workaround is this: while true; do pasuspender sleep 0.02; sleep 60; done This magically prevents the buffer from being empty and stops the crackling and choppy sounds. Can't wine allocate a bigger buffer or increase the allowed latency when initializing pulse? -- 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=28282 --- Comment #58 from Rosanne DiMesio <dimesio(a)earthlink.net> --- (In reply to Jonas Jelten from comment #57)
I run into this very often, especially with Skyrim.
Is that with 1.9.6 or later? -- 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=28282 Robert Munteanu <robert.munteanu(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |robert.munteanu(a)gmail.com -- 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=28282 --- Comment #59 from Jonas Jelten <jj(a)stusta.net> --- Nope, it was <=1.8(.0). Now with 1.9.9 I didn't encounter the crackling so far. -- 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=28282 John <eldiablodivino(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |eldiablodivino(a)gmail.com --- Comment #60 from John <eldiablodivino(a)gmail.com> --- I've been struggling with this bug and pulling my hair out trying to fix it. Every solution that I've read previously went nowhere: * Run "killall pulseaudio" before running Skyrim? Doesn't help at all. * Run "while true; do pasuspender sleep 0.02; sleep 60; done" in the background? Doesn't help at all. * Set "SndQueueMax" to 15? The WineHQ AppDB page for Skyrim lists this as a solution, providing a link to the UsefulRegistryKeys wiki page for more information, but the information has since been completely removed from there. I managed to dig it up from the revision history. Doesn't help at all. * Edit "/etc/pulse/daemon.conf" and turn up the "default-fragments" setting? Doesn't help at all. FINALLY I've fixed it with your solution. Just set the "PULSE_LATENCY_MSEC" environment variable to 60 before running the game and voila! It's all fixed! Thank you. -- 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=28282 --- Comment #61 from John <eldiablodivino(a)gmail.com> --- (In reply to John from comment #60) This was supposed to be in response to comment #34 from Deve, but it didn't work as expected with JavaScript disabled. I should also add that I experienced this crackling sound issue with various versions of Wine, including as recent as 1.9.16-staging. -- 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=28282 --- Comment #62 from Andrew Eikum <aeikum(a)codeweavers.com> --- (In reply to John from comment #60)
I've been struggling with this bug and pulling my hair out trying to fix it.
Sorry to hear that. Ideally it would just work without having to set environment variables. Can you give us a little more information? Specifically, what PulseAudio version are you using? What sound hardware do you have: built-in motherboard audio, USB audio device, something else? Can you get us a log demonstrating the problem with the channels from <https://wiki.winehq.org/Sound>? -- 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=28282 joyr(a)netikka.fi changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |joyr(a)netikka.fi --- Comment #63 from joyr(a)netikka.fi --- I have the same issue, and using PULSE_LATENCY_MSEC=60 fixed it to me as well. It doesn't seem to always happen, if I launch the game directly and not start Steam first. But launching from Steam seems to make it happen always. Steps to reproduce on my system: 1. start steam 2. steamwebhelper crashes, click "close" on the Wine debug requester about it 3. start Skyrim 4. play/wait a bit (the errors in sound doesn't begin immediately, but sometimes they start in the main title) Wine version: 1.9.17 compiled from sources (ie. I am not using Fedoras pre-built package) Kernel version: $ uname -r 4.6.6-300.fc24.x86_64 Pulseaudio version: $ rpm -qa | grep -i pulseaudio | sort alsa-plugins-pulseaudio-1.1.1-1.fc24.i686 alsa-plugins-pulseaudio-1.1.1-1.fc24.x86_64 pulseaudio-8.0-6.fc24.x86_64 pulseaudio-libs-8.0-6.fc24.i686 pulseaudio-libs-8.0-6.fc24.x86_64 pulseaudio-libs-devel-8.0-6.fc24.i686 pulseaudio-libs-devel-8.0-6.fc24.x86_64 pulseaudio-libs-glib2-8.0-6.fc24.i686 pulseaudio-libs-glib2-8.0-6.fc24.x86_64 pulseaudio-module-x11-8.0-6.fc24.x86_64 pulseaudio-utils-8.0-6.fc24.x86_64 xfce4-pulseaudio-plugin-0.2.4-4.fc24.x86_64 I'll also attach some files: * output with WINEDEBUG set to: "+tid,+seh,+mmdevapi,+winmm,+driver,+msacm,+midi,+dsound,+dsound3d,+xaudio2,+xapofx,+dmusic,+mci,+pulse,+oss,+alsa,+coreaudio,+timestamp" * a .wav file demonstrating the audio problems * pacmd list-cards * pacmd list-sinks -- 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=28282 --- Comment #64 from joyr(a)netikka.fi --- Created attachment 55516 --> https://bugs.winehq.org/attachment.cgi?id=55516 stdout and stderr output Output with WINEDEBUG set to: "+tid,+seh,+mmdevapi,+winmm,+driver,+msacm,+midi,+dsound,+dsound3d,+xaudio2,+xapofx,+dmusic,+mci,+pulse,+oss,+alsa,+coreaudio,+timestamp" -- 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=28282 --- Comment #65 from joyr(a)netikka.fi --- Created attachment 55517 --> https://bugs.winehq.org/attachment.cgi?id=55517 Audio demonstrating the errors A short cut from the complete recording. You can first hear audio without problems (not 100% sure if there were audio problems prior that). When the female yells the problems start, and gets worse by the time. There is a short "silence" when the game is loading a new level (city), after that a music starts playing, and you can hear the problem more constantly. Recorded with: $ parec --device="alsa_output.pci-0000_00_1b.0.analog-stereo.monitor" --format=s16le --rate=44100 --channels=2 | sox --type raw -e signed-integer -b 16 -L --rate 44100 --channels 2 - --type wav audio.wav -- 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=28282 --- Comment #66 from joyr(a)netikka.fi --- Created attachment 55518 --> https://bugs.winehq.org/attachment.cgi?id=55518 Output of 'pacmd list-cards' -- 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=28282 --- Comment #67 from joyr(a)netikka.fi --- Created attachment 55519 --> https://bugs.winehq.org/attachment.cgi?id=55519 Output of 'pacmd list-sinks' -- 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=28282 joaopa <jeremielapuree(a)yahoo.fr> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jeremielapuree(a)yahoo.fr --- Comment #68 from joaopa <jeremielapuree(a)yahoo.fr> --- Is still an issue with current wine (wine-3.4)? -- 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=28282 Deve <deveee(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC|deveee(a)gmail.com | -- 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=28282 --- Comment #69 from joyr(a)netikka.fi --- I am not currently using Wine, but can setup a test some day next week, using nearly the same hardware I had previously (added more RAM, changed GPU to 1080). -- 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=28282 --- Comment #70 from joyr(a)netikka.fi --- Seems to work now. Played for couple hours, and did not experience any sound issues. Fedora 27, with its packaged Wine (3.4). -- 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=28282 tokktokk <fdsfgs(a)krutt.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |fdsfgs(a)krutt.org -- 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=28282 zzzzzyzz(a)hacari.org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |zzzzzyzz(a)hacari.org -- 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=28282 --- Comment #71 from Andrew Eikum <aeikum(a)codeweavers.com> --- Created attachment 61691 --> https://bugs.winehq.org/attachment.cgi?id=61691 winepulse: Don't rely on pulseaudio callbacks for timing I'm attaching a patch here that is a significant re-working of the audio clock timing in the pulseaudio driver. I'm hopeful that it will improve crackling and sound drops that users have had with certain hardware when using the winepulse driver, especially USB audio devices. It may also improve the experience of switching output devices in pulseaudio mixers like pavucontrol at runtime. If you have had consistently bad audio with Wine with certain hardware, please test this patch and see if it improves your experience. -- 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=28282 Robert Walker <bob.mt.wya(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |bob.mt.wya(a)gmail.com -- 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=28282 Alistair Leslie-Hughes <leslie_alistair(a)hotmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Ever confirmed|0 |1 CC| |leslie_alistair(a)hotmail.com Status|UNCONFIRMED |STAGED Staged patchset| |https://github.com/wine-sta | |ging/wine-staging/tree/mast | |er/patches/winepulse-PulseA | |udio_Support -- 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=28282 Andrew Eikum <aeikum(a)codeweavers.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #61691|0 |1 is obsolete| | --- Comment #72 from Andrew Eikum <aeikum(a)codeweavers.com> --- Created attachment 61830 --> https://bugs.winehq.org/attachment.cgi?id=61830 winepulse: Don't rely on pulseaudio callbacks for timing Slightly updated patch that fixes a possible crash when recording audio. -- 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=28282 Andrew Eikum <aeikum(a)codeweavers.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #61830|0 |1 is obsolete| | --- Comment #73 from Andrew Eikum <aeikum(a)codeweavers.com> --- Created attachment 61878 --> https://bugs.winehq.org/attachment.cgi?id=61878 winepulse: Don't rely on pulseaudio callbacks for timing Another version, including a fix from Bug 45502. -- 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=28282 Alexandr Oleynikov <sashok.olen(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |sashok.olen(a)gmail.com --- Comment #74 from Alexandr Oleynikov <sashok.olen(a)gmail.com> --- Some hunks of your patch for winepulse fail to apply if staging patches are also applied. Would you be kind enough to update it? Vanilla wine gets patched ok btw. -- 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=28282 --- Comment #75 from Andrew Eikum <aeikum(a)codeweavers.com> --- The patch is already included in wine-staging. -- 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=28282 --- Comment #76 from Alexandr Oleynikov <sashok.olen(a)gmail.com> --- Oh which one is it? How long ago was it added to staging? -- 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=28282 Ralf <thedesti(a)yahoo.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC|thedesti(a)yahoo.com | -- 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=28282 --- Comment #77 from Andrew Eikum <aeikum(a)codeweavers.com> --- (In reply to Alexandr Oleynikov from comment #76)
Oh which one is it? How long ago was it added to staging?
I believe it was introduced in the v3.13 patchset, updated in the v3.13.1, and there's one more update introduced after that which hasn't been included in a release yet. The patches are in the winepulse-PulseAudio_Support directory. -- 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=28282 --- Comment #78 from Alexandr Oleynikov <sashok.olen(a)gmail.com> --- Thank you very much. For some reason I get a lot of cracking in a game since 3.13-staging (doesn't happen in 3.12) and it may be due to this patch, so I will try to compile staging without it. (also sorry for bothering with asking all of this, this is all probably in the bug description but that part of the page doesn't render well on a phone) -- 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=28282 --- Comment #79 from Andrew Eikum <aeikum(a)codeweavers.com> --- (In reply to Alexandr Oleynikov from comment #78)
Thank you very much. For some reason I get a lot of cracking in a game since 3.13-staging (doesn't happen in 3.12) and it may be due to this patch, so I will try to compile staging without it. (also sorry for bothering with asking all of this, this is all probably in the bug description but that part of the page doesn't render well on a phone)
That's a good test. Please also test with the latest patchset (not yet in a release). If you have any changes to PulseAudio's configuration that you needed only for Wine, please revert them. If you are still having problems, please file a new bug, add a log with the channels from https://wiki.winehq.org/Sound along with a description of your audio hardware and any changes to PA's configuration, and CC me on the bug. Bug 45582 may be relevant. -- 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=28282 Jordan Galby <gravemind2a+wine(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |gravemind2a+wine(a)gmail.com -- 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=28282 --- Comment #80 from joaopa <jeremielapuree(a)yahoo.fr> --- Does the bug still occur with wine-5.3? -- 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=28282 Nguyen Chinh Huu <huupoke12(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |huupoke12(a)gmail.com --- Comment #81 from Nguyen Chinh Huu <huupoke12(a)gmail.com> --- Created attachment 66659 --> https://bugs.winehq.org/attachment.cgi?id=66659 Debug trace of osu! with WINEDEBUG=+tid,+seh,+mmdevapi,+winmm,+driver,+msacm,+midi,+dsound,+dsound3d,+xaudio2,+xapofx,+dmusic,+mci,+pulse,+oss,+alsa,+coreaudio,+timestamp The bug still happens in Wine 5.4 when running osu!. Setting `PULSE_LATENCY_MSEC=40` or setting audio driver to ALSA (`winetricks sound=alsa`) (my default driver is pulse) fixed the issue. The application is using WASAPI (Enabling the application's audio compatibility mode which uses DirectSound instead of WASAPI also made the crackling issue disappear, but results in high audio latency). -- 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=28282 Nguyen Chinh Huu <huupoke12(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #66659|Debug trace of osu! with |Debug trace of osu! description|WINEDEBUG=+tid,+seh,+mmdeva | |pi,+winmm,+driver,+msacm,+m | |idi,+dsound,+dsound3d,+xaud | |io2,+xapofx,+dmusic,+mci,+p | |ulse,+oss,+alsa,+coreaudio, | |+timestamp | -- 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=28282 --- Comment #82 from Andrew Eikum <aeikum(a)codeweavers.com> --- (In reply to Nguyen Chinh Huu from comment #81)
Created attachment 66659 [details] Debug trace of osu!
The bug still happens in Wine 5.4 when running osu!. Setting `PULSE_LATENCY_MSEC=40` or setting audio driver to ALSA (`winetricks sound=alsa`) (my default driver is pulse) fixed the issue. The application is using WASAPI (Enabling the application's audio compatibility mode which uses DirectSound instead of WASAPI also made the crackling issue disappear, but results in high audio latency).
Have you tried the staging patchset linked in this bug? I'm hoping to upstream it soon, it would be helpful to know if it fixes the problem for you. https://github.com/wine-staging/wine-staging/tree/master/patches/winepulse-P... -- 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=28282 --- Comment #83 from Nguyen Chinh Huu <huupoke12(a)gmail.com> --- Yes, the patches fixed the sound crackling issue. -- 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=28282 --- Comment #84 from Nguyen Chinh Huu <huupoke12(a)gmail.com> --- But this patch also bring up more audio latency, about 30ms. -- 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=28282 mirh <mirh(a)protonmail.ch> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mirh(a)protonmail.ch --- Comment #85 from mirh <mirh(a)protonmail.ch> --- How about with pipewire? -- 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=28282 Wolter Hellmund <wolterh6(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC|wolterh6(a)gmail.com | -- 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=28282 abacadacaba(a)gmail.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |abacadacaba(a)gmail.com --- Comment #86 from abacadacaba(a)gmail.com --- PULSE_LATENCY_MSEC=60 helps with Ubuntu 22.04 LTS and Barts HDMI Audio [Radeon HD 6790/6850/6870 / 7720 OEM]. -- 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=28282 --- Comment #87 from abacadacaba(a)gmail.com --- Created attachment 72605 --> https://bugs.winehq.org/attachment.cgi?id=72605 error from wine 7.10 PULSE_LATENCY_MSEC=60 helps with Ubuntu 22.04 LTS and Barts HDMI Audio [Radeon HD 6790/6850/6870 / 7720 OEM]. -- 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 (2)
-
wine-bugs@winehq.org -
WineHQ Bugzilla