http://bugs.winehq.org/show_bug.cgi?id=11628
Summary: Gekkeiju Online: Bad audio sync/latency Product: Wine Version: 0.9.54. Platform: PC-x86-64 URL: http://appdb.winehq.org/objectManager.php?sClass=version &iId=10780 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P3 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: benjo316@hotpop.com
Overview:
Audio is handled or synced incorrectly, and "echos" the entire time while you play the game.
Steps to Reproduce:
1) Open the program. 2) After the auto-updater finishes, start playing. 3) Listen to the sounds.
Actual Results: What the application did after performing the above steps.
Audio (music and effects) sounds like it is echoing(like in kobodeluxe when the latency/frequency is set incorrectly).
Expected Results:
Audio should play clearly.
Additional Information:
I currently cannot retest with version 0.9.55 on Ubuntu 8.04, because of a bug[1] that currently causes Wine to segfault. As soon as that bug is resolved I will come back with an account of if it runs on the latest version of wine(currently 0.9.55), and, if not, output from the console.
Anyone else who can confirm or provide extra details is welcome to.
[1] https://bugs.launchpad.net/ubuntu/+source/wine/+bug/191575
http://bugs.winehq.org/show_bug.cgi?id=11628
Lei Zhang thestig@google.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download
--- Comment #1 from Lei Zhang thestig@google.com 2008-02-19 21:58:39 --- What sound card and sound card driver are you using?
http://bugs.winehq.org/show_bug.cgi?id=11628
--- Comment #2 from benjo316@hotpop.com 2008-02-19 22:16:48 --- (In reply to comment #1)
What sound card and sound card driver are you using?
00:10.2 Multimedia audio controller [0401]: nVidia Corporation MCP51 AC97 Audio Controller [10de:026b] (rev a2)
super@nobu-desktop:~$ dmesg |grep MCP51
[ 32.905965] NFORCE-MCP51: IDE controller (0x10de:0x0265 rev 0xa1) at PCI slot 0000:00:0d.0 [ 32.905992] NFORCE-MCP51: not 100% native mode: will probe irqs later [ 32.905998] NFORCE-MCP51: 0000:00:0d.0 (rev a1) UDMA133 controller
According to lspci. It is the integrated soundcard of my computer's motherboard. If you mean between Alsa and OSS, I believe I have wine setup to use Alsa.
http://bugs.winehq.org/show_bug.cgi?id=11628
--- Comment #3 from benjo316@hotpop.com 2008-02-19 22:22:33 --- (In reply to comment #2)
super@nobu-desktop:~$ dmesg |grep MCP51
[ 32.905965] NFORCE-MCP51: IDE controller (0x10de:0x0265 rev 0xa1) at PCI slot 0000:00:0d.0 [ 32.905992] NFORCE-MCP51: not 100% native mode: will probe irqs later [ 32.905998] NFORCE-MCP51: 0000:00:0d.0 (rev a1) UDMA133 controller
Just realized that dmesg was totally useless. anyway, I believe NFORCE-MCP51 controls most, if not all, nvidia related chips on the board.
http://bugs.winehq.org/show_bug.cgi?id=11628
--- Comment #4 from Jeff Zaroyko jeffz@jeffz.name 2008-12-26 10:03:32 --- is this still a problem with Wine 1.1.11 or newer?
http://bugs.winehq.org/show_bug.cgi?id=11628
Ole Rasmussen olerass@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |olerass@gmail.com
--- Comment #5 from Ole Rasmussen olerass@gmail.com 2010-07-06 09:47:41 --- Confirming still present in 1.2-rc6 with ALSA and Creative X-FI sound card with default kernel (2.6.34-1) drivers. The sound plays fine for me in the inn at the start, but as soon as I exit the inn the sound rattles a _lot_ (no echo though as described in comment #1) - I think it is the background music, it is quiet difficult to determine due to the rattling.
http://bugs.winehq.org/show_bug.cgi?id=11628
GyB gyebro69@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |gyebro69@gmail.com
--- Comment #6 from GyB gyebro69@gmail.com 2011-02-20 14:05:54 CST --- The issue is still present in Wine-1.3.14: sound (music) is severely distorted on the character selection screen and in the tavern (your starting location). After leaving the tavern and getting outside the music is playing correctly. If I re-enter the tavern the music is garbled again. In-game music is Ogg Vorbis encoded, some of the music files are encoded @44,1 kHz, while others @48 kHz.
Fedora 14 Kernel 2.6.37 On-board nVidia Corporation MCP61 High Definition Audio (rev a2) [snd-hda-intel kernel module] No Pulseaudio here
The resampler patchset in bug #14717 fixed the audio issue for me (music is playing correctly both inside and outside).
http://bugs.winehq.org/show_bug.cgi?id=11628
Raymond superquad.vortex2@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |superquad.vortex2@gmail.com
--- Comment #7 from Raymond superquad.vortex2@gmail.com 2011-02-22 02:38:38 CST --- (In reply to comment #6)
The issue is still present in Wine-1.3.14: sound (music) is severely distorted on the character selection screen and in the tavern (your starting location). After leaving the tavern and getting outside the music is playing correctly. If I re-enter the tavern the music is garbled again. In-game music is Ogg Vorbis encoded, some of the music files are encoded @44,1 kHz, while others @48 kHz.
Fedora 14 Kernel 2.6.37 On-board nVidia Corporation MCP61 High Definition Audio (rev a2) [snd-hda-intel kernel module] No Pulseaudio here
if there is no pulseaudio , does it mean that your are using plug:dmix ?
since winealsa.drv disable the resampling in dsoutput.c ,
your default device only support defaults.pcm.dmix.rate defined in /usr/share/alsa/alsa.conf
/* Alsa's rate resampling is only used if the application specifically requests * a buffer at a certain frequency, else it is better to disable it due to unwanted * side effects, which may include: Less granular pointer, changing buffer sizes, etc */ #if SND_LIB_VERSION >= 0x010009 snd_pcm_hw_params_set_rate_resample(pcm, hw_params, 0); #endif
http://bugs.winehq.org/show_bug.cgi?id=11628
--- Comment #8 from GyB gyebro69@gmail.com 2011-02-22 10:01:57 CST --- The music files with garbled/distorted audio are the ones with 44,1 kHz sample rate. The few ones with 48 kHz sample rate in the game are playing correctly with an unpatched Wine.
My /etc/asound.conf:
pcm.card0 { type hw card 0 } ctl.card0 { type hw card 0 }
In winecfg's audio tab ALSA Driver 'Wave Out Devices' shows 'AD198x Analog' 'Mixer devices' shows 'HDA Nvidia'.
/usr/share/alsa/alsa.conf: ... defaults.pcm.dmix.rate 48000 ...
http://bugs.winehq.org/show_bug.cgi?id=11628
--- Comment #9 from Raymond superquad.vortex2@gmail.com 2011-02-24 01:57:15 CST --- (In reply to comment #8)
The music files with garbled/distorted audio are the ones with 44,1 kHz sample rate. The few ones with 48 kHz sample rate in the game are playing correctly with an unpatched Wine.
My /etc/asound.conf:
pcm.card0 { type hw card 0 } ctl.card0 { type hw card 0 }
In winecfg's audio tab ALSA Driver 'Wave Out Devices' shows 'AD198x Analog' 'Mixer devices' shows 'HDA Nvidia'.
/usr/share/alsa/alsa.conf: ... defaults.pcm.dmix.rate 48000 ...
snd_pcm_hw_params_set_rate_resample(pcm, hw_params, 0);
This is equivalent to "--disable-resample" option of aplay
aplay -v -Ddefault --disable-resample any_non_48000Hz.wav
http://bugs.winehq.org/show_bug.cgi?id=11628
--- Comment #10 from GyB gyebro69@gmail.com 2011-05-02 10:45:22 CDT --- I hear the exact same garbled audio during music playback in Family Farm demo. This game also uses ogg files as music, encoded @44,1 kHz.
Any of the following workarounds (which helped in the case of Gekkeiju) help here, too: 1) winetricks dsoundbug9612 2) the resampler patchset 3) changing 'defaults.pcm.dmix.rate' to 44100 in /usr/share/alsa/alsa.conf
Here is the link to the demo of Family Farm (unlike Gekkeiju, it doesn't require registration so it's easier to test the problem): http://demos.gamersgate.com/25571
Wine-1.3.19
http://bugs.winehq.org/show_bug.cgi?id=11628
GyB gyebro69@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |663bc476029a3f867c698677f88 | |8d778246f4718 Status|UNCONFIRMED |RESOLVED Resolution| |FIXED
--- Comment #11 from GyB gyebro69@gmail.com 2011-12-30 02:53:50 CST --- In wine-1.3.35-273-geaa8801 audio files are playing correctly in Gekkeiju, whether they have 44,1kHz or 48kHz sample rate. Prior to commit 663bc476029a3f867c698677f888d778246f4718 audio is distorted, garbled. As the bug reporter doesn't seem to be active on this bug, I'm marking this one as fixed. Feel free to re-open if you still have the reported audio problem in Gekkeiju Online.
Fedora 16 Alsa 1.0.24 PA is not running Audio device: nVidia Corporation MCP61 High Definition Audio (rev a2)
http://bugs.winehq.org/show_bug.cgi?id=11628
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #12 from Alexandre Julliard julliard@winehq.org 2011-12-30 12:58:10 CST --- Closing bugs fixed in 1.3.36.