http://bugs.winehq.org/show_bug.cgi?id=24271
Summary: Oblivion lost sound Product: Wine Version: 1.3.2 Platform: x86 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: fernandocarvalho1987@hotmail.com
Oblivion, when we start a new game, it have sound, and works really good, no major issues. However, when I load a game, it lose the sound completely. Another issue is that the main menu screen - where we select "new game" "load game" "continue" ... - there is no sound also.
http://bugs.winehq.org/show_bug.cgi?id=24271
--- Comment #1 from Fernando fernandocarvalho1987@hotmail.com 2010-09-04 17:49:20 CDT --- I have captured a full execution log: http://www.4shared.com/file/4Ub-B1xr/oblivion_logtar.html This is a huge file, but I think that it should help to solve the problem. It used a WINEDEBUG=+relay,+seh,+tid to capture the log.
http://bugs.winehq.org/show_bug.cgi?id=24271
Jeff Zaroyko jeffz@jeffz.name changed:
What |Removed |Added ---------------------------------------------------------------------------- Alias|oblivion |
--- Comment #2 from Jeff Zaroyko jeffz@jeffz.name 2010-09-04 23:40:44 CDT --- Please attach terminal output as a text file: http://wiki.winehq.org/FAQ#get_log
http://bugs.winehq.org/show_bug.cgi?id=24271
--- Comment #3 from Fernando fernandocarvalho1987@hotmail.com 2010-09-05 06:59:38 CDT --- Created an attachment (id=30573) --> (http://bugs.winehq.org/attachment.cgi?id=30573) Terminal output
This is the sort terminal output without debug flags.
http://bugs.winehq.org/show_bug.cgi?id=24271
--- Comment #4 from Fernando fernandocarvalho1987@hotmail.com 2010-09-05 07:08:12 CDT --- The file that I attached above at 4shared, is impossible to upload it as plain text, because it became a 3.4 GB file if we extract it. I think that it is worthful because it contains every call that the game did in 3 minutes of gameplay. You can use it to also solve problems such as: - Not skipping introduction; - No sound on the main screen; - No sound during gameplay if the game is loaded;
http://bugs.winehq.org/show_bug.cgi?id=24271
--- Comment #5 from Fernando fernandocarvalho1987@hotmail.com 2010-10-08 21:52:19 CDT --- This bug is still happening on wine 1.3.4. However I've found a workaround for this bug. If you want to temporally play with sound, you can start a new game, and then load your game, so you can play for a while until the sound go off. To get sound again, on save the game, quit to main menu, start a new game and load your previous save. This bug seems to be some kind of resource competition that makes the sound fail. It is not something hard to reproduce, but it happens randomly.
http://bugs.winehq.org/show_bug.cgi?id=24271
Vincent Beers VincentBeers@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |VincentBeers@gmail.com
http://bugs.winehq.org/show_bug.cgi?id=24271
Fernando fernandocarvalho1987@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Oblivion lost sound |Oblivion loses sound during | |gameplay Alias| |Oblivion
http://bugs.winehq.org/show_bug.cgi?id=24271
Dmitry Timoshkov dmitry@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Alias|Oblivion |
http://bugs.winehq.org/show_bug.cgi?id=24271
--- Comment #6 from Fernando fernandocarvalho1987@hotmail.com 2010-10-29 17:27:13 CDT --- Created an attachment (id=31588) --> (http://bugs.winehq.org/attachment.cgi?id=31588) Oblivion completely lost sound on wine 1.3.6
Oblivion completely lost sound on wine 1.3.6. On wine 1.3.5 sound used to work perfectly when OSS sound is being used. Now when I use ALSA, sounds only plays during the intro of the game, however, it is not working during the gameplay.
http://bugs.winehq.org/show_bug.cgi?id=24271
Fernando fernandocarvalho1987@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|1.3.2 |1.3.6
http://bugs.winehq.org/show_bug.cgi?id=24271
Dmitry Timoshkov dmitry@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|1.3.6 |1.3.2
--- Comment #7 from Dmitry Timoshkov dmitry@codeweavers.com 2010-10-30 01:07:19 CDT --- Please don't change an originally reported Wine version.
If there is a regression perform the regression test and post its results: http://wiki.winehq.org/RegressionTesting
http://bugs.winehq.org/show_bug.cgi?id=24271
--- Comment #8 from Fernando fernandocarvalho1987@hotmail.com 2010-11-28 05:50:49 CST --- Created an attachment (id=32211) --> (http://bugs.winehq.org/attachment.cgi?id=32211) terminal output wine-1.3.8 with OSS only
More trouble in wine 1.3.8 Even when using OSS, there is no sound at all during the gameplay.
System used: Linux 2.6.32-25-generic Ubuntu-10.04 i686
http://bugs.winehq.org/show_bug.cgi?id=24271
--- Comment #9 from Fernando fernandocarvalho1987@hotmail.com 2010-12-04 13:53:13 CST --- On wine-1.2.1 and Ubuntu 10.10, on a clean installation of Ubuntu and wineprefix and wine provided by Ubuntu developers, Oblivion crashes with this error:
err:ntdll:RtlpWaitForCriticalSection section 0x12b028d4 "dsoundrender.c: DSoundRenderImpl.csFilter" wait timed out in thread 0009, blocked by 0021, retrying (60 sec)
As I can see, the problem with the sound should be related with race conditions and it seems to affect many releases of wine. This test, I have done on my MacBook 6,1 with Ubuntu 10.10 installed.
http://bugs.winehq.org/show_bug.cgi?id=24271
--- Comment #10 from Fernando fernandocarvalho1987@hotmail.com 2010-12-07 21:26:50 CST --- Created an attachment (id=32406) --> (http://bugs.winehq.org/attachment.cgi?id=32406) Execution of Oblivion using wine-1.3.8 and Ubuntu 10.10 on a MacBook 6,1
The sound is lost as soon as the game get in the main screen.
http://bugs.winehq.org/show_bug.cgi?id=24271
Raymond superquad.vortex2@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |superquad.vortex2@gmail.com
--- Comment #11 from Raymond superquad.vortex2@gmail.com 2010-12-08 17:29:24 CST --- (In reply to comment #10)
Created an attachment (id=32406)
--> (http://bugs.winehq.org/attachment.cgi?id=32406) [details]
Execution of Oblivion using wine-1.3.8 and Ubuntu 10.10 on a MacBook 6,1
The sound is lost as soon as the game get in the main screen.
Look like underrun occur and pulse plugin did not return correct write position to winealsa.drv
fixme:dsalsa:IDsDriverBufferImpl_SetVolumePan (0x13e870,0x13eca8): stub
fixme:quartz:DSoundRender_UpdatePositions Underrun of data occured! fixme:quartz:DSoundRender_GetWritePos Delta too big -61/50, overwriting old data or even skipping fixme:quartz:DSoundRender_GetWritePos Advancing 16752 bytes
http://bugs.winehq.org/show_bug.cgi?id=24271
--- Comment #12 from Raymond superquad.vortex2@gmail.com 2010-12-13 18:05:02 CST --- (In reply to comment #8)
Created an attachment (id=32211)
--> (http://bugs.winehq.org/attachment.cgi?id=32211) [details]
terminal output wine-1.3.8 with OSS only
More trouble in wine 1.3.8 Even when using OSS, there is no sound at all during the gameplay.
System used: Linux 2.6.32-25-generic Ubuntu-10.04 i686
does not look like you are using oss
fixme:dsalsa:IDsDriverBufferImpl_SetVolumePan (0x13d448,0x13d3a8): stub
fixme:quartz:DSoundRender_GetWritePos Delta too big -57/50, overwriting old data or even skipping fixme:quartz:DSoundRender_GetWritePos Advancing 15300 bytes fixme:quartz:DSoundRender_GetWritePos Delta too big -59/50, overwriting old data or even skipping fixme:quartz:DSoundRender_GetWritePos Advancing 18544 bytes
http://bugs.winehq.org/show_bug.cgi?id=24271
--- Comment #13 from Fernando fernandocarvalho1987@hotmail.com 2010-12-14 03:20:49 CST --- (In reply to comment #12)
(In reply to comment #8)
Created an attachment (id=32211)
--> (http://bugs.winehq.org/attachment.cgi?id=32211) [details] [details]
terminal output wine-1.3.8 with OSS only
More trouble in wine 1.3.8 Even when using OSS, there is no sound at all during the gameplay.
System used: Linux 2.6.32-25-generic Ubuntu-10.04 i686
does not look like you are using oss
fixme:dsalsa:IDsDriverBufferImpl_SetVolumePan (0x13d448,0x13d3a8): stub
fixme:quartz:DSoundRender_GetWritePos Delta too big -57/50, overwriting old data or even skipping fixme:quartz:DSoundRender_GetWritePos Advancing 15300 bytes fixme:quartz:DSoundRender_GetWritePos Delta too big -59/50, overwriting old data or even skipping fixme:quartz:DSoundRender_GetWritePos Advancing 18544 bytes
I forgot to tell that this post is using ALSA. I used the default wine. This execution happened in a clean WINEPREFIX.
http://bugs.winehq.org/show_bug.cgi?id=24271
--- Comment #14 from Raymond superquad.vortex2@gmail.com 2010-12-14 19:33:28 CST --- if you are using ubuntu 10.10
Try to see whether the underun still occur when using "hw" device instead of "pulse" device by modify wine registry "directhw"=Y
or
specifiy handle_underrun=1 in the pulse plugin
http://git.alsa-project.org/?p=alsa-plugins.git;a=commit;h=c20d516e229620129...
http://bugs.winehq.org/show_bug.cgi?id=24271
--- Comment #15 from Fernando fernandocarvalho1987@hotmail.com 2010-12-15 09:17:02 CST --- (In reply to comment #14)
if you are using ubuntu 10.10
Try to see whether the underun still occur when using "hw" device instead of "pulse" device by modify wine registry "directhw"=Y
or
specifiy handle_underrun=1 in the pulse plugin
http://git.alsa-project.org/?p=alsa-plugins.git;a=commit;h=c20d516e229620129...
I don't know what are you talking about. Please, explain it better. Are you telling me to I change a Wine registry entry or a system parameter? Where can I find this on Ubuntu 10.10?
http://bugs.winehq.org/show_bug.cgi?id=24271
--- Comment #16 from Vincent Beers VincentBeers@gmail.com 2010-12-15 11:11:10 CST --- (In reply to comment #14)
if you are using ubuntu 10.10
Try to see whether the underun still occur when using "hw" device instead of "pulse" device by modify wine registry "directhw"=Y
or
specifiy handle_underrun=1 in the pulse plugin
http://git.alsa-project.org/?p=alsa-plugins.git;a=commit;h=c20d516e229620129...
Why do you need to do this? Enabling or disabling the use of hardware acceleration is right in winecfg.
http://bugs.winehq.org/show_bug.cgi?id=24271
--- Comment #17 from Raymond superquad.vortex2@gmail.com 2010-12-15 17:51:43 CST --- (In reply to comment #16)
(In reply to comment #14)
if you are using ubuntu 10.10
Try to see whether the underun still occur when using "hw" device instead of "pulse" device by modify wine registry "directhw"=Y
or
specifiy handle_underrun=1 in the pulse plugin
http://git.alsa-project.org/?p=alsa-plugins.git;a=commit;h=c20d516e229620129...
Why do you need to do this? Enabling or disabling the use of hardware acceleration is right in winecfg.
when ubuntu 10.10 does not provide any easy way to fallback to use dmix
you need to use the wine registry to use "hw:0,0" to find out whether "pulse" device is buggy
you will also need to disable the system event sound in sound preference
disable the autospwan of PA server in daemon.conf and kill the pulseaudio
http://wiki.winehq.org/UsefulRegistryKeys
UseDirectHW=Y
he other way is override pcm.!direct and ctl.!direct to use hw device instead of pulse
http://bugs.winehq.org/show_bug.cgi?id=24271
--- Comment #18 from Raymond superquad.vortex2@gmail.com 2010-12-15 17:58:13 CST --- should be pcm.!default and ctl.!default
or Try Mandriva 2010 which allow you to disable pulseaudio in Control center
http://bugs.winehq.org/show_bug.cgi?id=24271
--- Comment #19 from Fernando fernandocarvalho1987@hotmail.com 2010-12-16 08:04:14 CST --- Created an attachment (id=32511) --> (http://bugs.winehq.org/attachment.cgi?id=32511) Oblivion running with hardware audio
This execution is with Oblivion running on Ubuntu 10.10 and wine 1.3.9. Clean wineprefix.
http://bugs.winehq.org/show_bug.cgi?id=24271
--- Comment #20 from Fernando fernandocarvalho1987@hotmail.com 2010-12-16 08:05:42 CST --- Created an attachment (id=32512) --> (http://bugs.winehq.org/attachment.cgi?id=32512) Oblivion running with software emulation audio
This execution is with Oblivion running on Ubuntu 10.10 and wine 1.3.9. Clean wineprefix. This and the last attachment are with alsa driver enabled alone.
http://bugs.winehq.org/show_bug.cgi?id=24271
--- Comment #21 from Raymond superquad.vortex2@gmail.com 2010-12-16 19:10:51 CST --- (In reply to comment #16)
Enabling or disabling the use of hardware acceleration is right in winecfg.
No, winealsa.drv/dsoutput.c also use "default" device and "default" device is "pulse" in Ubuntu 10.10
http://source.winehq.org/git/wine.git/?a=blob;f=dlls/wiealsa.drv/dsoutput.c
if you are using "hw" , you should see the following in the log when WINEDEBUG=+dsalsa
trace:dsalsa:DSDB_CreateMMAP mmap'd buffer is a direct hardware buffer.
when using pulse which belong to SND_PCM_TYPE_IOPLUG (ALSA type 28) and pulse plugin does not support mmap access
trace:dsalsa:DSDB_CreateMMAP mmap'd buffer is an ALSA type 28 buffer
http://bugs.winehq.org/show_bug.cgi?id=24271
--- Comment #22 from Fernando fernandocarvalho1987@hotmail.com 2010-12-17 04:23:28 CST --- Created an attachment (id=32527) --> (http://bugs.winehq.org/attachment.cgi?id=32527) WINEDEBUG=+dsalsa on command line when executing Oblivion
This is the output when running Oblivion with WINEDEBUG=+dsalsa on Command line. System: Wine 1.3.9, Ubuntu 10.10 and a clean wineprefix. Obs: This file was 1.8MB uncompressed, so I had to compress it before sending.
http://bugs.winehq.org/show_bug.cgi?id=24271
--- Comment #23 from Fernando fernandocarvalho1987@hotmail.com 2010-12-27 05:10:50 CST --- Created an attachment (id=32634) --> (http://bugs.winehq.org/attachment.cgi?id=32634) Oblivion on wine 1.3.10 - Ubuntu 10.10 - no sound
This is Oblivion's terminal output on wine 1.3.10 and Ubuntu 10.10. The sound is working during the intro and in new game's movie play. On the gameplay there is no sound.
http://bugs.winehq.org/show_bug.cgi?id=24271
--- Comment #24 from Fernando fernandocarvalho1987@hotmail.com 2011-01-07 16:35:10 CST --- Created an attachment (id=32763) --> (http://bugs.winehq.org/attachment.cgi?id=32763) Oblivion wine-1.3.11 Ubuntu 10.10
This is oblivion being executed in Ubuntu 10.10 and wine 1.3.11. There is sound on the intro of the game and when we start a new game, during the presentation movie, but during the game play, the game is complete mute. Here I used ALSA and software emulation. When I use ALSA and hardware emulation, the effects are the same: no sound during the gameplay.
http://bugs.winehq.org/show_bug.cgi?id=24271
--- Comment #25 from Raymond superquad.vortex2@gmail.com 2011-01-07 18:03:58 CST --- seem the audio is route through gstreamer to pulseaudio
http://source.winehq.org/git/wine.git/?a=commit;h=30c1fe5836482d3a57f0f69cba...
err:gstreamer:push_data Sending returned: -2 fixme:quartz:FileAsyncReader_WaitForNext Returned: 258 (00000000) fixme:gstreamer:init_new_decoded_pad Linking: 0 fixme:gstreamer:no_more_pads Done fixme:gstreamer:event_sink 0x7da73318 stub tag fixme:gstreamer:event_sink 0x7da73368 stub tag fixme:gstreamer:event_sink 0x7da73390 stub tag fixme:gstreamer:event_sink 0x7da73400 stub tag fixme:gstreamer:got_data_sink Triggering 0x7d9c2260 0x144 fixme:gstreamer:init_new_decoded_pad Linking: 0 fixme:gstreamer:no_more_pads Done fixme:gstreamer:event_sink 0x7da732a0 stub tag fixme:gstreamer:event_sink 0x7da73400 stub tag fixme:gstreamer:event_sink 0x7da733b8 stub tag fixme:gstreamer:event_sink 0x7d082590 stub tag fixme:gstreamer:got_data_sink Triggering 0x7d9c24b8 0x18c fixme:gstreamer:GST_QueryInterface No interface for {56a868b3-0ad4-11ce-b03a-0020af0ba770}! fixme:gstreamer:no_more_pads Done fixme:gstreamer:event_sink 0x7da735b8 stub tag fixme:gstreamer:event_sink 0x7da73600 stub tag fixme:gstreamer:event_sink 0x7da73628 stub tag fixme:gstreamer:event_sink 0x7da73678 stub tag err:quartz:DSoundRender_SendSampleData 0
http://bugs.winehq.org/show_bug.cgi?id=24271
--- Comment #26 from Fernando fernandocarvalho1987@hotmail.com 2011-01-22 10:07:07 CST --- The sound looks like to be working correctly now in wine 1.3.12. For those with the same problem as I, please be sure that your sound preferences are not muted. Black magic can happen and your sound can be muted without you noticing. That happened to me, even when I cleared the save game options and started a clean wineprefix.
http://bugs.winehq.org/show_bug.cgi?id=24271
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |FIXED
--- Comment #27 from Austin English austinenglish@gmail.com 2011-04-23 14:20:23 CDT --- Reported fixed.
http://bugs.winehq.org/show_bug.cgi?id=24271
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #28 from Alexandre Julliard julliard@winehq.org 2011-04-29 13:16:18 CDT --- Closing bugs fixed in 1.3.19.