LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-09-2005, 05:07 AM   #1
Belegdol
Member
 
Registered: Oct 2003
Location: Poland
Distribution: Fedora 7
Posts: 59

Rep: Reputation: 15
Wine sound problem


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.
 
Old 09-08-2005, 09:01 AM   #2
patrickdepingui
Member
 
Registered: Mar 2003
Distribution: Slackware
Posts: 53

Rep: Reputation: 15
i'm having the same problem with wine 20050725, trying a windows screensaver...

my .asoundrc :
# our ICE1712 dmix:
pcm.ossmix {
type dmix
ipc_key 1024
slave {
pcm "hw:0,0"
period_time 0
period_size 1024
#buffer_size 4096 # buffer size < 6653, but pow(x, 2)
buffer_size 16384
rate 44100 # we want to play CDs only
}
bindings {
0 0
1 1
}
}
# Everything shall be dmixed, so redefine "default":
pcm.!default {
type plug
slave.pcm "ossmix"
}
# OSS via aoss should d(mix)stroyed:
pcm.dsp0 {
type plug
slave.pcm "ossmix"
}
ctl.mixer0 {
type hw
card 0
}
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
no sound with wine ylts Linux - Software 1 03-08-2005 09:42 AM
[WINE] no sound SiQDiZ Linux - Software 1 06-19-2004 07:49 AM
wine sound playback speed, (slow motion sound) qwijibow Linux - Software 2 06-04-2004 09:39 PM
Wine : cannot have sound with any sound server vmicho Linux - Games 3 05-16-2004 06:44 AM
Strange wine half-life sound problem zoomzoom Linux - Games 5 12-26-2003 08:39 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:17 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration