Wine and Pulseaudio: it's working though.

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
fdelente
Level 2
Level 2
Posts: 34
Joined: Sun May 18, 2008 11:28 am

Wine and Pulseaudio: it's working though.

Post by fdelente »

Hello.

I've just installed Ubuntu 10.04 and wine-1.1.44, and I have sound without having to configure anything.

I'm surprised because the sticky thread at the beginning of the forum seems to imply that it doesn't work.

So am I just lucky, or are the problems solved?

Thanks.

--
F. Delente
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Re: Wine and Pulseaudio: it's working though.

Post by vitamin »

fdelente wrote:I've just installed Ubuntu 10.04 and wine-1.1.44, and I have sound without having to configure anything.

I'm surprised because the sticky thread at the beginning of the forum seems to imply that it doesn't work.
It might work for some programs in some specific HW/SW configurations. Anything that requires something more sophisticated then playing one 1/2 channel pcm audio stream probably won't work.
Das Letzte Einhorn
Level 4
Level 4
Posts: 194
Joined: Thu Jun 12, 2008 12:40 pm

Post by Das Letzte Einhorn »

If you use GIT, use this hack to have sound through Pulseaudio with wine.

http://art.ified.ca/?page_id=40

Works wonders here.
Blackylol
Level 2
Level 2
Posts: 10
Joined: Fri Oct 23, 2009 2:30 pm

Post by Blackylol »

I had to uninstall pulseaudio since sometimes the audio stopped working, or it was unsynchronized in the game like... you see the animation in game of a bomb exploding and after 1 second the sound of it.
jorl17
Level 5
Level 5
Posts: 365
Joined: Mon Jul 28, 2008 6:44 pm

Post by jorl17 »

You probably were using the ESD plugin, weren't you?

Also, for recent issues between Wine and PA, I came up with a not-that-decent solution: https://bugs.launchpad.net/ubuntu/+sour ... omments/10

Cheers,

Jorl17

btw: Until I had those issues, I ran Wine perfectly in over 6 machines running PA. One of them had 5.1 output and it just worked(tm).
oiaohm
Level 8
Level 8
Posts: 1020
Joined: Fri Feb 29, 2008 2:54 am

Post by oiaohm »

jorl17 you did not list the applications you are running. Its critical.

Some applications depend on audio for timing under windows. They can play up majorly with pulseaudio in place even with dmix infront of pulseaudio.

ESD driver is not maintained so no one should be using it.

Alsa driver that is has same kinds of issues with games and items that depend on audio timing.

IE not running with PA finds out is it timing related or not.

Also the pulse audio driver http://art.ified.ca/?page_id=40 so called for wine is a hacked up version of OSS driver and the OSS driver has issues with some games alone without being altered. Basically if standard OSS or stanadard ALSA output options don't work in wine you are playing huge risk.

Also that pulseaudio driver has been rejected from include in wine due to its failures when tested. Daz Letzte Einhorn.

Lot of alterations have been done to the wine ALSA driver to make it Pulseaudio friendly as able. So pulseaudio failures with ALSA driver in wine should be reported once confirmed. Question is who as screwed up. Pulseaudio or wine.

I just wish pulseaudio would make themselves to alsa applications appear to be the normal stack.
jorl17
Level 5
Level 5
Posts: 365
Joined: Mon Jul 28, 2008 6:44 pm

Post by jorl17 »

Oh, you are right, my tests have only been run in relation to simple apps such as games with stereo-only support or software-positional-sound (Age3y, CSS, the movies, speak freely, cs1.6, steam, firefox+flash, wmplayer, fm09/10, FIFA08/09/10, red alert 3, simcity4, sims3, ...). Though I usually talk about PA+Wine when I remember that most people, in the "'ol' days" came here complaining about how even winecfg failed them.

Still, the audio timing has always been great, as well as stereo and audio input...on my limited applications list.
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Post by vitamin »

jorl17 wrote:Oh, you are right, my tests have only been run in relation to simple apps such as games with stereo-only support or software-positional-sound
How about hardware?
jorl17
Level 5
Level 5
Posts: 365
Joined: Mon Jul 28, 2008 6:44 pm

Post by jorl17 »

That wasn't irony if it sounded like it, I should mention. As to audio, I'm not sure what sound cards they ran in, but I can assure you that it worked on various onboard cards, in at least two Nvidia-HDA cards. Basically, I'd say they are all similar or equal to Nvidia-HDA cards. For instance, this PC reports:
Audio device: nVidia Corporation MCP79 High Definition Audio (rev b1)
Unfortunately, most of the other computers are not in my possession anymore, or have been so badly torn apart that I can't get that info.

Cheers,

Jorl17
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Post by vitamin »

jorl17 wrote:Audio device: nVidia Corporation MCP79 High Definition Audio (rev b1)
Which ALSA driver does it use?
jorl17
Level 5
Level 5
Posts: 365
Joined: Mon Jul 28, 2008 6:44 pm

Post by jorl17 »

vitamin wrote:
jorl17 wrote:Audio device: nVidia Corporation MCP79 High Definition Audio (rev b1)
Which ALSA driver does it use?
snd-hda-intel , but I've uploaded the ALSA-info script for your convenience: http://www.alsa-project.org/db/?f=a534a ... 22a8af649e
Locked