Wine + "any program" = no sound in one of them

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
VelvetKLeopard
Newbie
Newbie
Posts: 2
Joined: Mon Jun 28, 2010 2:11 pm

Wine + "any program" = no sound in one of them

Post by VelvetKLeopard »

I am not sure if this has come up on the forums. I tried a search, but didn't find anything pertinent.

I have a problem with sound in Wine. I am running Wine 1.0.1.

My problem isn't with any particular game or program. I get very good sound when in a game or program, but if I am in a program under wine and then go outside Wine and start a sound program, like VLC for example, VLC gets no sound.

Conversely, if I am running a sound program, say VLC, and then start up a program, like Diablo II LOD or any other program with sound, the Wine app gets no sound, but VLC keeps it.

So to summarize, I can have sound in one or the other, but never both.

I am using Ubuntu 9.10 Karmic Koala 32-bit version.

I used to run Ubuntu 8.04 with Wine and never had this problem. Any help would be more than appreciated.
User avatar
dimesio
Moderator
Moderator
Posts: 13372
Joined: Tue Mar 25, 2008 10:30 pm

Re: Wine + "any program" = no sound in one of them

Post by dimesio »

VelvetKLeopard wrote: So to summarize, I can have sound in one or the other, but never both.
http://wiki.winehq.org/FAQ#head-6ff921e ... f984179401
Gert van den Berg

Wine + "any program" = no sound in one of them

Post by Gert van den Berg »

On Mon, Jun 28, 2010 at 21:21, VelvetKLeopard <[email protected]> wrote:
I am not sure if this has come up on the forums.  I tried a search, but didn't find anything pertinent.

I have a problem with sound in Wine.  I am running Wine 1.0.1.
The wine-1.2 series might work better (It have had more than a year of
development since then...) It might also have new bugs...

http://www.winehq.org/download/deb/ has upgrade instructions....
Conversely, if I am running a sound program, say VLC, and then start up a program, like Diablo II LOD or any other program with sound, the Wine app gets no sound, but VLC keeps it.

So to summarize, I can have sound in one or the other, but never both.
f you are not using pulseaudio, is dmix working / do you have a card
with hardware mixing? On some cards, ALSA without dmix allows only one
program to use the soundcard at a time...

Can you run non-Wine apps at the same time with sound from all?
I am using Ubuntu 9.10 Karmic Koala 32-bit version.
Some details on Wine's sound settings and your audio configuration
might be useful.... (Have you removed pulseaudio, soundcard (relevant
lspci lines might work))

(Note: Someone else is probably better at helping you fix the actual
problem... I'm ussually not to bad at guessing revelant debug info...)

Logs (obtained by running wine from the console (ssee FAQ)) might also
be useful. An example of starting an application when sound works and
when it doesn't work in particular..

Gert
VelvetKLeopard
Newbie
Newbie
Posts: 2
Joined: Mon Jun 28, 2010 2:11 pm

Post by VelvetKLeopard »

http://wiki.winehq.org/FAQ#head-6ff921e ... f984179401

Unless you're using a sound card with an emu10k1/2 chipset (SB Live!/Audigy) or another type of card that supports "hardware mixing" then you can only ever have one application using sound at the same time.
Bull. I am using the exact same hardware setup as my Ubuntu 8.04 version and I was able to run Wine as well as any number of other sound applications all at the same time just fine without any outside plugins or libraries. And that is with the on board sound capabilities.

I would rather stick with the stable version if I can. I know it should work cause that is the version I have used before.

Yes, I can run many sound apps all at the same time. I regularly run VLC, web based apps, and other games and apps that use sound all at the same time.

I am not sure how to run Wine from the console. I never had to before in order to run my programs. Also, I do not know how to get logs.
User avatar
dimesio
Moderator
Moderator
Posts: 13372
Joined: Tue Mar 25, 2008 10:30 pm

Post by dimesio »

I am not sure how to run Wine from the console. I never had to before in order to run my programs. Also, I do not know how to get logs.
http://wiki.winehq.org/FAQ#run_from_terminal
http://wiki.winehq.org/FAQ#get_log
James McKenzie

Wine + "any program" = no sound in one of them

Post by James McKenzie »

VelvetKLeopard wrote:
http://wiki.winehq.org/FAQ#head-6ff921e ... f984179401

Unless you're using a sound card with an emu10k1/2 chipset (SB Live!/Audigy) or another type of card that supports "hardware mixing" then you can only ever have one application using sound at the same time.
Bull. I am using the exact same hardware setup as my Ubuntu 8.04 version and I was able to run Wine as well as any number of other sound applications all at the same time just fine without any outside plugins or libraries. And that is with the on board sound capabilities.

I would rather stick with the stable version if I can. I know it should work cause that is the version I have used before.

There will SOON be a new stable version. However, we do want you to try
the release candidates to insure that they do not regress or break what
you 'know' to work. In addition, if you report a bug in Wine 1.0.1, it
will be ignored. That is because it is almost two years old and over one
thousand fixes have been applied since its release.

Also, this may NOT be a Wine problem but rather a problem with Ubuntu.
Since they switched to pulseaudio as their primary audio 'driver',
problems have been reported that did not exist in prior releases.

James McKenzie
Locked