FS#10373 - Wine patch for ALSA problems in games
Attached to Project:
Arch Linux
Opened by name withheld (Gullible Jones) - Thursday, 08 May 2008, 06:49 GMT
Last edited by Greg (dolby) - Wednesday, 14 May 2008, 13:11 GMT
Opened by name withheld (Gullible Jones) - Thursday, 08 May 2008, 06:49 GMT
Last edited by Greg (dolby) - Wednesday, 14 May 2008, 13:11 GMT
|
Details
As the Arch Wiki points out, the Wine ALSA driver is rather
glitchy in some games (especially older games in my
experience). OSS can be used instead, but OSS is also slow,
and likes to hog the sound card (and the hardware accel
-> emulation solution doesn't work).
Fortunately there exists a patch for these issues: http://kcat.strangesoft.net/wine_thread_prio.diff If this patch doesn't mess Wine up for other applications, and actually works, applying it might not be a bad idea. (On the other hand, I assume there's a reason the patch hasn't made it upstream?) |
This task depends upon
Can it work with realtime for users?
(Or could messing with limits.conf make OSS faster? Also, why is OSS still hogging my sound card even when I set hardware accel to "Emulation"?)
About OSS hogging your soundcard: this is because of the way alsa works. When using OSS emulation in alsa, it will bypass dmix and lock your soundcard in case your card doesn't have hardware mixing.
(Although I may have something wrong. If the patch requires maximum realtime priority, or makes Wine fail when not given such priority, I can definitely see why you wouldn't want it.)