Hi. I'm using 200503xx version of wine. The problem is that I can't get satisfying sound output with it. I'm trying to play Starcraft with various config options, here is what I get:
Using wineoss:
Code:
[jsikorski@DOMOWY ~]$ wine c:\\program\ files\\starcraft\\starcraft.exe
fixme:ddraw:Main_DirectDraw_SetCooperativeLevel (0x6f43b858)->(00010022,00000013)
fixme:x11drv:X11DRV_desktop_SetCurrentMode Cannot change screen BPP from 32 to 8
fixme:x11drv:X11DRV_desktop_SetCurrentMode Cannot change screen BPP from 32 to 8
fixme:x11drv:X11DRV_DDHAL_CreatePalette stub
err:wave:DSDB_MapBuffer Could not map sound device for direct access (I/O Error)
err:wave:DSDB_MapBuffer Use: "HardwareAcceleration" = "Emulation" in the [dsound] section of your config file.
fixme:winmm:MMDRV_Exit Closing while ll-driver open
[jsikorski@DOMOWY ~]$
The game is silent. After enabling the mentioned option:
Code:
[jsikorski@DOMOWY ~]$ wine c:\\program\ files\\starcraft\\starcraft.exe
fixme:ddraw:Main_DirectDraw_SetCooperativeLevel (0x77e4b868)->(00010022,00000013)
fixme:x11drv:X11DRV_desktop_SetCurrentMode Cannot change screen BPP from 32 to 8
fixme:x11drv:X11DRV_desktop_SetCurrentMode Cannot change screen BPP from 32 to 8
fixme:x11drv:X11DRV_DDHAL_CreatePalette stub
fixme:mmtime:timeBeginPeriod Stub; we set our timer resolution at minimum
err:ntdll:RtlpWaitForCriticalSection section 0x632f08e0 "../../windows/user.c: USER_SysLevel" wait timed out in thread 000d, blocked by 000c, retrying (60 sec)
err:ntdll:RtlpWaitForCriticalSection section 0x1009f1a4 "loader.c: loader_section" wait timed out in thread 000e, blocked by 000d, retrying (60 sec)
err:ntdll:RtlpWaitForCriticalSection section 0x1009f1a4 "loader.c: loader_section" wait timed out in thread 000f, blocked by 000d, retrying (60 sec)
err:ntdll:RtlpWaitForCriticalSection section 0x1009f1a4 "loader.c: loader_section" wait timed out in thread 000c, blocked by 000d, retrying (60 sec)
wine: Unhandled exception (thread 000d), starting debugger...
WineDbg starting on pid 0x8
Unhandled exception: wait failed on critical section 0x632f08e0
First chance exception: wait failed on critical section 0x1009f1a4
[jsikorski@DOMOWY ~]$ Process of pid=0x00000008 has terminated
This time the game does not even start. Finally, Here is what I get using winealsa:
Code:
[jsikorski@DOMOWY ~]$ wine c:\\program\ files\\starcraft\\starcraft.exe
fixme:ddraw:Main_DirectDraw_SetCooperativeLevel (0x77e4b888)->(00010022,00000013)
fixme:x11drv:X11DRV_desktop_SetCurrentMode Cannot change screen BPP from 32 to 8
fixme:x11drv:X11DRV_desktop_SetCurrentMode Cannot change screen BPP from 32 to 8
fixme:x11drv:X11DRV_DDHAL_CreatePalette stub
ALSA lib pcm_dmix.c:812:(snd_pcm_dmix_open) The dmix plugin supports only playback stream
err:wave:ALSA_WaveInit open pcm: ZÅ‚y argument
ALSA lib seq_hw.c:446:(snd_seq_hw_open) open /dev/snd/seq failed: No such file or directory
fixme:mmtime:timeBeginPeriod Stub; we set our timer resolution at minimum
fixme:mmtime:timeEndPeriod Stub; we set our timer resolution at minimum
[jsikorski@DOMOWY ~]$
And here is my .asoundrc file:
Code:
#/etc/asound.conf start:
pcm.!default {
type plug
slave.pcm "dmixer"
}
pcm.dsp0 {
type plug
slave.pcm "dmixer"
}
pcm.dmixer {
type dmix
ipc_key 1024
slave {
pcm "hw:0,0"
period_time 0
period_size 1024
buffer_size 8192
rate 48000
}
bindings {
0 0
1 1
}
}
ctl.dmixer {
type hw
card 0
}
#end.
What can be wrong? Any help would be appreciated.