Het forum

Strange Sound Problem

Audio works in System Wine, but not POL wine

Auteur Antwoorden
Crono141 Zondag 29 April 2012 om 20:41
Crono141Anonymous

I've got a strange problem with POL.  I have a fresh and clean installation of Ubuntu 12.04, Unity 2D, HDMI audio over an nVidia GTX 460.

Audio works in the Ubuntu System.  I can play music no problem.

If I open a terminal and run winecfg (for the system installed version of wine), and test audio, I can hear sound output.EDIT: I should clarify, The first time I hit the test audio button, no sound comes out.  The terminal shows this error: err:ole:CoInitializeEx Attempt to change threading model of this apartment from multi-threaded to apartment threaded.

But the second and subsequent times, Audio plays.  Audio does not work on steam or steam apps.  I did notice that when Steam tried to play sound, it threw the same error as above.

I install POL and Steam.  Start up steam.  No audio in the steam app itself, no audio in steam games either.

I run the wine configuration for steam, all settings appear identical, except when I test audio, I get nothing.

Clearly there's a conflict somewhere, but being a recent linux initiate, I have not the skills to track it down myself.  Anyone have any ideas?

Aangepast door Crono141

Quentin PÂRIS Zondag 29 April 2012 om 21:14
Quentin PÂRISAnonymous

It can depends on a lot of thing, for example the wine version used by Steam in POL.

Check what is your POL wine version, and also check what libraries are set to disabled in winecfg
Crono141 Zondag 29 April 2012 om 21:40
Crono141Anonymous

System wine is 1.4. POL steam wine is 1.3.37. But I tried setting POL to use system version of wine, and that didn't change anything.

Libraries disabled is only *gameoverlayrenderer. LIke my edit indicates, even though I can test for sound in system wine, I still get no output in Steam (POL or otherwise). Thanks.
Quentin PÂRIS Zondag 29 April 2012 om 22:00
Quentin PÂRISAnonymous

System wine is 1.4. POL steam wine is 1.3.37. But I tried setting POL to use system version of wine, and that didn't change anything.

Quote from Crono141


It means that the problem come from the wineprefix. Go to audio tab in winecfg and check what audio driver is used
Crono141 Maandag 30 April 2012 om 5:14
Crono141Anonymous

As I said, everything is identical between the two configurations, at least as far as winecfg is concerned. I'm sure there must be some subtle difference in the config files themselves that are the cause. I just don't even know where to look, and what to look for. The fact that I have to hit the test button twice before any sound comes out bothers me. Like I said, it throws up that error (Attempt to change threading model of this apartment from multi-threaded to apartment threaded), but it only throws it the first time. The second time it doesn't. I feel like this is related, but I could be way off in my intuition.
Gunman1982 Vrijdag 4 Mei 2012 om 6:25
Gunman1982Anonymous

If you are using Ubuntu I think the Ubuntu wine version has the pulseaudio patches applied. So in one case you would use the pulseaudio driver and in POL wine case you would use alsa.