[Bug 20799] Multiple games using OpenAL freezes/crashes during the startup

wine-bugs at winehq.org wine-bugs at winehq.org
Sat May 8 22:51:52 CDT 2010


http://bugs.winehq.org/show_bug.cgi?id=20799





--- Comment #65 from Raymond <superquad.vortex2 at gmail.com>  2010-05-08 22:51:52 ---
(In reply to comment #63)
> > No, unfortunately. Both Mirrors Edge and Unreal Tournament 3 crash the same way
> > when i apply this patch on top of wine-1.1.44-19-gd2a0188 and set "Hardware
> > Acceleration: Full" (i hope this settings fulfill yours "dsound acceleration is
> > on").
> 
> Damn. :( Yeah, that setting is what I meant.
> 
> >> Unfortunately it seem that none of wine developer have a sound card which
> >> support hardware acceleartion (e.g. Sound Blaster ! Live, ...
> > 
> > Does the following card has all the needed?
> >
> > CREATIVE SOUND BLASTER X-Fi Xtreme Audio, PCIe x1
> 
> That would support Full acceleration, yes (plenty of voices for secondary
> buffers, and has EAX for hardware effects). It wouldn't really help Wine,
> though. The current drivers are a dead-end, and I don't believe ALSA supports
> the controls necessary for handling the DSound API properly (it certainly
> doesn't expose any EAX controls).

The hwmixvolume is only supported by emu10k1 driver and ymfpci

i.e. IDsDriverBufferImpl_SetVolumePan() for the secondary buffers using
hardware mixing volume controls

The other hardware effects are vendor-specific property-set extensions.



The major problem of winealsa.drv is dscaputre.c and dsoutput.c just ignore all
the err returned by alsa functions


    snd_pcm_sw_params_current(pcm, sw_params);
    snd_pcm_sw_params_set_start_threshold(pcm, sw_params, 0);
    snd_pcm_sw_params_get_boundary(sw_params, &boundary);
    snd_pcm_sw_params_set_stop_threshold(pcm, sw_params, boundary);
    snd_pcm_sw_params_set_silence_threshold(pcm, sw_params, INT_MAX);
    snd_pcm_sw_params_set_silence_size(pcm, sw_params, 0);
    snd_pcm_sw_params_set_avail_min(pcm, sw_params, 0);
    err = snd_pcm_sw_params(pcm, sw_params);



(In reply to comment #63)
> > No, unfortunately. Both Mirrors Edge and Unreal Tournament 3 crash the same way
> > when i apply this patch on top of wine-1.1.44-19-gd2a0188 and set "Hardware
> > Acceleration: Full" (i hope this settings fulfill yours "dsound acceleration is
> > on").
> 
> Damn. :( Yeah, that setting is what I meant.
> 
> >> Unfortunately it seem that none of wine developer have a sound card which
> >> support hardware acceleartion (e.g. Sound Blaster ! Live, ...
> > 
> > Does the following card has all the needed?
> >
> > CREATIVE SOUND BLASTER X-Fi Xtreme Audio, PCIe x1
> 
> That would support Full acceleration, yes (plenty of voices for secondary
> buffers, and has EAX for hardware effects). It wouldn't really help Wine,
> though. The current drivers are a dead-end, and I don't believe ALSA supports
> the controls necessary for handling the DSound API properly (it certainly
> doesn't expose any EAX controls).

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list