You are not logged in.

#1 2008-05-11 23:16:28

Gullible Jones
Member
Registered: 2004-12-29
Posts: 4,863

[SOLVED] Laggy/choppy sound with Wine OSS driver

Due to the general glitchiness of Wine's ALSA driver, I tend to avoid using it. However, I've found that the OSS driver has an annoying sluggishness to it - there seems to be a delay before and after sounds are played, which slows things down. This is particularly a problem with older games, where the slowdown can be painfully obvious.

Also, sounds played in rapid succession when using OSS often never get played - you only "hear" the delay.

Does anyone know how to fix this? I'm using an Intel HDA sound chip for what it's worth... Could it have something to do with my current lack of non-root realtime capability (due to a bug)? Or is this known? If not, any tips?

Last edited by Gullible Jones (2008-05-12 06:05:13)

Offline

#2 2008-05-11 23:40:59

kensai
Member
From: Puerto Rico
Registered: 2005-06-03
Posts: 2,484
Website

Re: [SOLVED] Laggy/choppy sound with Wine OSS driver

To solve the issues, pulseaudio is the best. I fixed my wine sound problems using it.

Last edited by kensai (2008-05-11 23:41:14)


Follow me in: Identi.ca, Twitter, Google+

Offline

#3 2008-05-12 02:25:20

Gullible Jones
Member
Registered: 2004-12-29
Posts: 4,863

Re: [SOLVED] Laggy/choppy sound with Wine OSS driver

That's interesting... Looks like it entails a lot of special configuration though, and may keep sound from working in certain apps (as ESD does). I'll keep it in mind, but I'd kind of like to minimize the number of layers in my audio system...

Edit: FWIW the main reason I'm not using ALSA is that it causes crashes in 16-bit games. It's also got some choppiness problems, but not half as bad as OSS.

Last edited by Gullible Jones (2008-05-12 02:28:25)

Offline

#4 2008-05-12 04:25:18

Gullible Jones
Member
Registered: 2004-12-29
Posts: 4,863

Re: [SOLVED] Laggy/choppy sound with Wine OSS driver

Okay, solved by putting this:

options snd-hda-intel model=acer

in modprobe.conf. Anyone else having similar problems, please see this page; anyone contemplating buying a laptop, please be on the lookout for cheap audio chipsets like this one...

Edit:

options snd-hda-intel position_fix=2 model=acer

seems to work better, and give me better sound across the board. Nice.

Last edited by Gullible Jones (2008-05-12 06:04:56)

Offline

#5 2008-05-16 03:17:04

Gullible Jones
Member
Registered: 2004-12-29
Posts: 4,863

Re: [SOLVED] Laggy/choppy sound with Wine OSS driver

Hmm. I've done a bit of looking about and found that the Wine ALSA driver typically crashes when an app tries to use the Wave In device. If this is the source of my crashes, how do I keep Wine from doing that?

(It shouldn't be a major issue, I'm not doing any audio recording with Windows apps.)

Last edited by Gullible Jones (2008-05-16 03:17:30)

Offline

#6 2008-05-16 23:55:20

Gullible Jones
Member
Registered: 2004-12-29
Posts: 4,863

Re: [SOLVED] Laggy/choppy sound with Wine OSS driver

Okay I've discovered what's going on in the crashes... Wine is dividing by zero. Holy shit. roll

Last edited by Gullible Jones (2008-05-16 23:55:43)

Offline

Board footer

Powered by FluxBB