Hello yet again. My other problem is with Direct Sound. I put DeusEx in the title, but I also have this problem with Icewind Dale I and II (and perhaps other things I haven't yet tried to install or play). Wine version: 20040112 Distribution: Mandrake 9.2 Sound card: onboard VIA 8233 using OSS drivers (since they actually work under Mandrake and apps seem to like them better than ALSA) Basically the deal is that the game starts fine. This time, I installed DeusEx under Wine and am playing previous Windows installs of IWD 1 and 2, but it doesn't make a difference, as I've had this problem since way back in September or so, and I've reinstalled all three games multiple times various ways (either through Wine or under Windows). The game (whichever one) starts fine, but I cannot even get out of any menu screen (where I'm changing settings or choosing a save to load or whatever) before the sound (music, usually) starts to loop. The game can still be played "normally"-- no hang or problem with visuals or mouse or anything-- but it's so annoying that I usually quit without playing (all three games have good music and rely on speech to some extent, so turning the sound off is an option, but not a good one). I can also quit normally via the game's normal exit menu-- but the sound does not stop when I close the game, or the terminal. As in my last post, the sound only stops when I kill the wine-pthreads process in the System Monitor (I didn't know that last September-- I just used to log out and back in). Here's the log for DeusEx. I was also changing the resolution from 640x480 to 1280x1024 at the time, which also acted a bit odd, as you can see (but then again, I didn't realize I had an unhandled exception already when I did it)-- but you can also see that the sound errors occurred well before that: fixme:xvidmode:X11DRV_XF86VM_SetCurrentMode Need to update SYSMETRICS after resizing display (now 640x480) fixme:keyboard:RegisterHotKey (0x30022,49254,0x00000001,27): stub fixme:keyboard:RegisterHotKey (0x30022,49255,0x00000001,9): stub fixme:keyboard:RegisterHotKey (0x30022,49256,0x00000002,27): stub fixme:keyboard:RegisterHotKey (0x30022,49257,0x00000002,9): stub fixme:ole:CoCreateInstance no classfactory created for CLSID {92fa2c24-253c-11d2-90fb-006008a1f441}, hres is 0x80040154 fixme:ole:CoCreateInstance no classfactory created for CLSID {d8f1eee0-f634-11cf-8700-00a0245d918b}, hres is 0x80040154 fixme:dsound:IDirectSoundImpl_SetCooperativeLevel level=DSSCL_PRIORITY not fully supported fixme:dsound:IDirectSoundImpl_QueryInterface Unknown IID {d8f1eee1-f634-11cf-8700-00a0245d918b} err:dsound:DirectSoundCreate8 dsound already opened fixme:dsound:IDirectSoundImpl_SetCooperativeLevel level=DSSCL_PRIORITY not fully supported err:wave:IDsDriverBufferImpl_Stop ioctl(/dev/dsp, SNDCTL_DSP_SETTRIGGER) failed (Invalid argument) err:wave:IDsDriverBufferImpl_Stop ioctl(/dev/dsp, SNDCTL_DSP_SETTRIGGER) failed (Invalid argument) fixme:dsound:DSOUND_MixOne problem with underrun detection (mixlen=3900 < primary_done=3904) err:wave:IDsDriverBufferImpl_Stop ioctl(/dev/dsp, SNDCTL_DSP_SETTRIGGER) failed (Invalid argument) fixme:dsound:DSOUND_MixOne problem with underrun detection (mixlen=3900 < primary_done=3904) err:wave:IDsDriverBufferImpl_Stop ioctl(/dev/dsp, SNDCTL_DSP_SETTRIGGER) failed (Invalid argument) fixme:dsound:DSOUND_MixOne problem with underrun detection (mixlen=3900 < primary_done=3904) fixme:dsound:DSOUND_MixOne problem with underrun detection (mixlen=21172 < primary_done=21176) wine-pthread: mixer.c:894: DSOUND_PerformMix: Assertion `dsound->playpos < dsound->buflen' failed. wine: Unhandled exception (thread 0035), starting debugger... err:seh:start_debugger Couldn't start debugger ("programs/winedbg/winedbg 51 280") (2) Read the Wine Developers Guide on how to set up winedbg or another debugger fixme:xvidmode:X11DRV_XF86VM_SetCurrentMode Need to update SYSMETRICS after resizing display (now 1280x1024) fixme:xvidmode:X11DRV_XF86VM_SetCurrentMode Need to update SYSMETRICS after resizing display (now 1280x1024) fixme:keyboard:UnregisterHotKey (0x30022,49254): stub fixme:keyboard:UnregisterHotKey (0x30022,49255): stub fixme:keyboard:UnregisterHotKey (0x30022,49256): stub fixme:keyboard:UnregisterHotKey (0x30022,49257): stub fixme:keyboard:RegisterHotKey (0x30022,49254,0x00000001,27): stub fixme:keyboard:RegisterHotKey (0x30022,49255,0x00000001,9): stub fixme:keyboard:RegisterHotKey (0x30022,49256,0x00000002,27): stub fixme:keyboard:RegisterHotKey (0x30022,49257,0x00000002,9): stub fixme:ddraw:Main_DirectDraw_SetCooperativeLevel (0x403ad608)->(00000000,00000008) fixme:xvidmode:X11DRV_XF86VM_SetCurrentMode Need to update SYSMETRICS after resizing display (now 1280x1024) ------------------------------------------------------------------------------------ I was hoping that the DirectMusic improvements in 20040121 would have solved this for me, but apparently not. Is there anything I can do? Thanks in advance again, Holly Bostick
It looks like your sound card driver is broken. It says it supports triggers but then fails when they are used. I hate to say this but get a better supported sound card or fix the driver. motub@planet.nl wrote:> Hello yet again. > > My other problem is with Direct Sound. I put DeusEx in the title, but I > also have this problem with Icewind Dale I and II (and perhaps other > things I haven't yet tried to install or play). > > Wine version: 20040112 > Distribution: Mandrake 9.2 > Sound card: onboard VIA 8233 using OSS drivers (since they actually work > under Mandrake and apps seem to like them better than ALSA) > > Basically the deal is that the game starts fine. This time, I installed > DeusEx under Wine and am playing previous Windows installs of IWD 1 and > 2, but it doesn't make a difference, as I've had this problem since way > back in September or so, and I've reinstalled all three games multiple > times various ways (either through Wine or under Windows). > > The game (whichever one) starts fine, but I cannot even get out of any > menu screen (where I'm changing settings or choosing a save to load or > whatever) before the sound (music, usually) starts to loop. The game can > still be played "normally"-- no hang or problem with visuals or mouse or > anything-- but it's so annoying that I usually quit without playing (all > three games have good music and rely on speech to some extent, so > turning the sound off is an option, but not a good one). I can also quit > normally via the game's normal exit menu-- but the sound does not stop > when I close the game, or the terminal. > > As in my last post, the sound only stops when I kill the wine-pthreads > process in the System Monitor (I didn't know that last September-- I > just used to log out and back in). > > Here's the log for DeusEx. I was also changing the resolution from > 640x480 to 1280x1024 at the time, which also acted a bit odd, as you can > see (but then again, I didn't realize I had an unhandled exception > already when I did it)-- but you can also see that the sound errors > occurred well before that: > > fixme:xvidmode:X11DRV_XF86VM_SetCurrentMode Need to update SYSMETRICS > after resizing display (now 640x480) > fixme:keyboard:RegisterHotKey (0x30022,49254,0x00000001,27): stub > fixme:keyboard:RegisterHotKey (0x30022,49255,0x00000001,9): stub > fixme:keyboard:RegisterHotKey (0x30022,49256,0x00000002,27): stub > fixme:keyboard:RegisterHotKey (0x30022,49257,0x00000002,9): stub > fixme:ole:CoCreateInstance no classfactory created for CLSID > {92fa2c24-253c-11d2-90fb-006008a1f441}, hres is 0x80040154 > fixme:ole:CoCreateInstance no classfactory created for CLSID > {d8f1eee0-f634-11cf-8700-00a0245d918b}, hres is 0x80040154 > fixme:dsound:IDirectSoundImpl_SetCooperativeLevel level=DSSCL_PRIORITY > not fully supported > fixme:dsound:IDirectSoundImpl_QueryInterface Unknown IID > {d8f1eee1-f634-11cf-8700-00a0245d918b} > err:dsound:DirectSoundCreate8 dsound already opened > fixme:dsound:IDirectSoundImpl_SetCooperativeLevel level=DSSCL_PRIORITY > not fully supported > err:wave:IDsDriverBufferImpl_Stop ioctl(/dev/dsp, SNDCTL_DSP_SETTRIGGER) > failed (Invalid argument) > err:wave:IDsDriverBufferImpl_Stop ioctl(/dev/dsp, SNDCTL_DSP_SETTRIGGER) > failed (Invalid argument) > fixme:dsound:DSOUND_MixOne problem with underrun detection (mixlen=3900 > < primary_done=3904) > err:wave:IDsDriverBufferImpl_Stop ioctl(/dev/dsp, SNDCTL_DSP_SETTRIGGER) > failed (Invalid argument) > fixme:dsound:DSOUND_MixOne problem with underrun detection (mixlen=3900 > < primary_done=3904) > err:wave:IDsDriverBufferImpl_Stop ioctl(/dev/dsp, SNDCTL_DSP_SETTRIGGER) > failed (Invalid argument) > fixme:dsound:DSOUND_MixOne problem with underrun detection (mixlen=3900 > < primary_done=3904) > fixme:dsound:DSOUND_MixOne problem with underrun detection (mixlen=21172 > < primary_done=21176) > wine-pthread: mixer.c:894: DSOUND_PerformMix: Assertion `dsound->playpos > < dsound->buflen' failed. > wine: Unhandled exception (thread 0035), starting debugger... > err:seh:start_debugger Couldn't start debugger > ("programs/winedbg/winedbg 51 280") (2) > Read the Wine Developers Guide on how to set up winedbg or another debugger > fixme:xvidmode:X11DRV_XF86VM_SetCurrentMode Need to update SYSMETRICS > after resizing display (now 1280x1024) > fixme:xvidmode:X11DRV_XF86VM_SetCurrentMode Need to update SYSMETRICS > after resizing display (now 1280x1024) > fixme:keyboard:UnregisterHotKey (0x30022,49254): stub > fixme:keyboard:UnregisterHotKey (0x30022,49255): stub > fixme:keyboard:UnregisterHotKey (0x30022,49256): stub > fixme:keyboard:UnregisterHotKey (0x30022,49257): stub > fixme:keyboard:RegisterHotKey (0x30022,49254,0x00000001,27): stub > fixme:keyboard:RegisterHotKey (0x30022,49255,0x00000001,9): stub > fixme:keyboard:RegisterHotKey (0x30022,49256,0x00000002,27): stub > fixme:keyboard:RegisterHotKey (0x30022,49257,0x00000002,9): stub > fixme:ddraw:Main_DirectDraw_SetCooperativeLevel > (0x403ad608)->(00000000,00000008) > fixme:xvidmode:X11DRV_XF86VM_SetCurrentMode Need to update SYSMETRICS > after resizing display (now 1280x1024) > ------------------------------------------------------------------------------------ > > I was hoping that the DirectMusic improvements in 20040121 would have > solved this for me, but apparently not. > > Is there anything I can do? > > Thanks in advance again, > Holly Bostick > > _______________________________________________ > wine-users mailing list > wine-users@winehq.org > http://www.winehq.org/mailman/listinfo/wine-users
Robert Reif wrote:>It looks like your sound card driver is broken. It says it supports >triggers but then fails when they are used. > >I hate to say this but get a better supported sound card or fix the driver.It certainly is possible that the driver is broken-- the VIA 8233 driver was definitely broken under OSS without the AC97 patch, and under many distros my only choice for sound was to install ALSA, which had its own problems. I went pre-shopping for sound cards, but the only cheap ones I see are C-Media 8237 cards. So I went looking to see if *those* are better supported under Linux, and in my surfing I found someone doing a cat /proc/pci and discovering an IRQ conflict with their sound card. So I did one-- and my sound card and my video card are on the same IRQ (11). !!! Could this be the problem? And how do I change the IRQ of an AGP card and an onboard sound card? Obviously the usual strategy of physically moving the cards to different slots is not an option here. Holly> >motub@planet.nl wrote: > >>Hello yet again. >> >>My other problem is with Direct Sound. I put DeusEx in the title, but I >>also have this problem with Icewind Dale I and II (and perhaps other >>things I haven't yet tried to install or play). >> >>Wine version: 20040112 >>Distribution: Mandrake 9.2 >>Sound card: onboard VIA 8233 using OSS drivers (since they actually work >>under Mandrake and apps seem to like them better than ALSA) >> >>Basically the deal is that the game starts fine. This time, I installed >>DeusEx under Wine and am playing previous Windows installs of IWD 1 and >>2, but it doesn't make a difference, as I've had this problem since way >>back in September or so, and I've reinstalled all three games multiple >>times various ways (either through Wine or under Windows). >> >>The game (whichever one) starts fine, but I cannot even get out of any >>menu screen (where I'm changing settings or choosing a save to load or >>whatever) before the sound (music, usually) starts to loop. The game can >>still be played "normally"-- no hang or problem with visuals or mouse or >>anything-- but it's so annoying that I usually quit without playing (all >>three games have good music and rely on speech to some extent, so >>turning the sound off is an option, but not a good one). I can also quit >>normally via the game's normal exit menu-- but the sound does not stop >>when I close the game, or the terminal. >> >>As in my last post, the sound only stops when I kill the wine-pthreads >>process in the System Monitor (I didn't know that last September-- I >>just used to log out and back in). >> >>Here's the log for DeusEx. I was also changing the resolution from >>640x480 to 1280x1024 at the time, which also acted a bit odd, as you can >>see (but then again, I didn't realize I had an unhandled exception >>already when I did it)-- but you can also see that the sound errors >>occurred well before that: >> >>fixme:xvidmode:X11DRV_XF86VM_SetCurrentMode Need to update SYSMETRICS >>after resizing display (now 640x480) >>fixme:keyboard:RegisterHotKey (0x30022,49254,0x00000001,27): stub >>fixme:keyboard:RegisterHotKey (0x30022,49255,0x00000001,9): stub >>fixme:keyboard:RegisterHotKey (0x30022,49256,0x00000002,27): stub >>fixme:keyboard:RegisterHotKey (0x30022,49257,0x00000002,9): stub >>fixme:ole:CoCreateInstance no classfactory created for CLSID >>{92fa2c24-253c-11d2-90fb-006008a1f441}, hres is 0x80040154 >>fixme:ole:CoCreateInstance no classfactory created for CLSID >>{d8f1eee0-f634-11cf-8700-00a0245d918b}, hres is 0x80040154 >>fixme:dsound:IDirectSoundImpl_SetCooperativeLevel level=DSSCL_PRIORITY >>not fully supported >>fixme:dsound:IDirectSoundImpl_QueryInterface Unknown IID >>{d8f1eee1-f634-11cf-8700-00a0245d918b} >>err:dsound:DirectSoundCreate8 dsound already opened >>fixme:dsound:IDirectSoundImpl_SetCooperativeLevel level=DSSCL_PRIORITY >>not fully supported >>err:wave:IDsDriverBufferImpl_Stop ioctl(/dev/dsp, SNDCTL_DSP_SETTRIGGER) >>failed (Invalid argument) >>err:wave:IDsDriverBufferImpl_Stop ioctl(/dev/dsp, SNDCTL_DSP_SETTRIGGER) >>failed (Invalid argument) >>fixme:dsound:DSOUND_MixOne problem with underrun detection (mixlen=3900 >>< primary_done=3904) >>err:wave:IDsDriverBufferImpl_Stop ioctl(/dev/dsp, SNDCTL_DSP_SETTRIGGER) >>failed (Invalid argument) >>fixme:dsound:DSOUND_MixOne problem with underrun detection (mixlen=3900 >>< primary_done=3904) >>err:wave:IDsDriverBufferImpl_Stop ioctl(/dev/dsp, SNDCTL_DSP_SETTRIGGER) >>failed (Invalid argument) >>fixme:dsound:DSOUND_MixOne problem with underrun detection (mixlen=3900 >>< primary_done=3904) >>fixme:dsound:DSOUND_MixOne problem with underrun detection (mixlen=21172 >>< primary_done=21176) >>wine-pthread: mixer.c:894: DSOUND_PerformMix: Assertion `dsound->playpos >>< dsound->buflen' failed. >>wine: Unhandled exception (thread 0035), starting debugger... >>err:seh:start_debugger Couldn't start debugger >>("programs/winedbg/winedbg 51 280") (2) >>Read the Wine Developers Guide on how to set up winedbg or anotherdebugger>>fixme:xvidmode:X11DRV_XF86VM_SetCurrentMode Need to update SYSMETRICS >>after resizing display (now 1280x1024) >>fixme:xvidmode:X11DRV_XF86VM_SetCurrentMode Need to update SYSMETRICS >>after resizing display (now 1280x1024) >>fixme:keyboard:UnregisterHotKey (0x30022,49254): stub >>fixme:keyboard:UnregisterHotKey (0x30022,49255): stub >>fixme:keyboard:UnregisterHotKey (0x30022,49256): stub >>fixme:keyboard:UnregisterHotKey (0x30022,49257): stub >>fixme:keyboard:RegisterHotKey (0x30022,49254,0x00000001,27): stub >>fixme:keyboard:RegisterHotKey (0x30022,49255,0x00000001,9): stub >>fixme:keyboard:RegisterHotKey (0x30022,49256,0x00000002,27): stub >>fixme:keyboard:RegisterHotKey (0x30022,49257,0x00000002,9): stub >>fixme:ddraw:Main_DirectDraw_SetCooperativeLevel >>(0x403ad608)->(00000000,00000008) >>fixme:xvidmode:X11DRV_XF86VM_SetCurrentMode Need to update SYSMETRICS >>after resizing display (now 1280x1024) >>------------------------------------------------------------------------------------ >> >>I was hoping that the DirectMusic improvements in 20040121 would have >>solved this for me, but apparently not. >> >>Is there anything I can do? >> >>Thanks in advance again, >>Holly Bostick
motub@planet.nl wrote:> ... > I went pre-shopping for sound cards, but the only cheap ones I see are > C-Media 8237 cards. So I went looking to see if *those* are better > supported under Linux, and in my surfing I found someone doing a cat > /proc/pci and discovering an IRQ conflict with their sound card. So I > did one-- and my sound card and my video card are on the same IRQ (11). > > !!! > > Could this be the problem? And how do I change the IRQ of an AGP card > and an onboard sound card? Obviously the usual strategy of physically > moving the cards to different slots is not an option here. >In theory, IRQ sharing is fine on PCI/AGP busses. But there are some caveats to that. One is that the drivers must be written correctly, but these days it would be rare to find a driver that breaks sharing (it was more of a problem when PCI was new). Another is when one of the devices is generating a large number of interrupts, which can lead to some inefficiencies, especially if it is the "second" device on the interrupt. But that only manifests itself in somewhat reduced performance. In PCI, sharing is the rule rather than the exception. I would be surprised if you could find any X86 system that is not sharing interrupts.
> Is there anything I can do?If you want to play without sound, just open a program that uses the sound card (Realplayer or artsd will do), then start the program in wine. Not a fix but at least you can play the game without an irritating background noise. Ivan.