View Full Version : Can't play music when playing World of Warcraft
OMJD
June 16th, 2008, 09:39 AM
Hi,
I have an annoying problem when running World of Warcraft via Wine on Ubuntu 8.04. The problem is that while the game is running, I am unable to play any music files, such as MP3's or even AVI's. As soon as I close World of Warcraft and try playing the music file again, it works fine. But it's annoying that I can't do both at the same time... Also, ingame sound works fine and I am able to watch Youtube videos at the same time, but playing other music files on the computer just won't work at all.
Any idea how to fix this problem? It's very annoying.
Thanks.
- Rich
cogadh
June 16th, 2008, 11:23 AM
What are you using for a sound driver in Wine when you run WoW?
pedro_orange
June 16th, 2008, 11:24 AM
Ok this might not be what you want to hear, but you can append the -nosound flag to the end of the launcher command (if you use the wine 'path/to/wow.exe' -opengl -nosound)
This allows you to run RB etc.
I'm sure there must be a way to tell WINE to play nicely with PulseAudio, however I'm no expert in that field. Altho I would imagine you edit it from within winecfg
Fred_E _krugar
June 16th, 2008, 01:42 PM
May be we need a Sticky.
Wine Doesn't Play Well With PulseAudio, Disable the PulseAudio server in processes Fist.
Cup of Squirrels
June 17th, 2008, 04:28 AM
Ok this might not be what you want to hear, but you can append the -nosound flag to the end of the launcher command (if you use the wine 'path/to/wow.exe' -opengl -nosound)
This allows you to run RB etc.
I'm sure there must be a way to tell WINE to play nicely with PulseAudio, however I'm no expert in that field. Altho I would imagine you edit it from within winecfg
A cruder version of this is simply starting up your music player and getting it to play music first.
But of course, this means WoW (or any of your wine sessions) will not have sound.
bufsabre666
June 17th, 2008, 12:31 PM
system->preference->sound
music and movies set to autodetect
that why which ever module wow is using wont be used and it will be kicked over to another ((you should have sound in wow and the audio app))
nonmi9
June 17th, 2008, 07:31 PM
Samething here. anyone have a workaround?
Fred_E _krugar
June 17th, 2008, 09:05 PM
Samething here. anyone have a workaround?
yes the work around is to turn PulseAdio server off.
Wine IS NOT COMPATIBLE WITH PULSEAUDIO...
nonmi9
June 17th, 2008, 10:53 PM
yes the work around is to turn PulseAdio server off.
Wine IS NOT COMPATIBLE WITH PULSEAUDIO...
And how might I do that?
Fred_E _krugar
June 18th, 2008, 12:17 AM
On gnome I believe it is under System-Admin-system monitor.
once there just scroll down to PulseAudio and Kill the process then restart your games audio players and the such.
You have to do this every time you reboot.
bufsabre666
June 18th, 2008, 12:34 PM
it has nothing to do with pulse audio, wine cant use it and most applications cant either, the problem is wine defaults to alsa and only one app can use alsa at a time, so i alleviate to my post earlier->>>>
system->preference->sound
music and movies set to autodetect
that why which ever module wow is using wont be used and it will be kicked over to another ((you should have sound in wow and the audio app))
i know for a fact this works, it works on the 3 linux comps in the house and the 2 i maintain at other places, and this way it stays you dont have to do it everytime
mitchej123
June 18th, 2008, 02:14 PM
Ok first of all, I'm at work right now and my linux box is at home, so I'll recall what I can from memory:
Here's a workaround until they update wine with pulse audio support.
Run 'winecfg' and change the sound server from alsa to oss. Accept those changes. (IE: disable alsa, and enabled oss from winecfg)
Then modify your shortcut and add 'padsp' in front of wine. (padsp starts the specified program and redirects its access to OSS compatible audio devices (/dev/dsp and auxiliary devices) to a PulseAudio sound server. )
I believe my shortcut looks something like -
padsp wine ~/.wine/drive_c/Program\ Files/World\ of\ Warcraft/Wow.exe
If you don't have any luck with this let me know and I'll look at my shortcuts after I get home.
Fred_E _krugar
June 18th, 2008, 04:38 PM
it has nothing to do with pulse audio, wine cant use it and most applications cant either, the problem is wine defaults to alsa and only one app can use alsa at a time, so i alleviate to my post earlier->>>>
Dude that is backwards alsa can use more than one sound source at a time it is OSS that can not.
nonmi9
June 18th, 2008, 08:34 PM
Ok this might not be what you want to hear, but you can append the -nosound flag to the end of the launcher command (if you use the wine 'path/to/wow.exe' -opengl -nosound)
This allows you to run RB etc.
I'm sure there must be a way to tell WINE to play nicely with PulseAudio, however I'm no expert in that field. Altho I would imagine you edit it from within winecfg
OK but now i get no sound in WOW, how do i get it back?
thisismalhotra
June 19th, 2008, 06:39 AM
Okay do this first make sure your WoW in wine uses windows XP settings and not windows vista..
Then, go to audio tab in WINE Config and all different drivers one by one, don't activate two together and see which one work for you.
pedro_orange
June 19th, 2008, 10:44 AM
OK but now i get no sound in WOW, how do i get it back?
Lol. That was why I said I doubt this is what you want. The -nosound flag disables the sound! :)
From reading this thread, and having not tried this solution, I believe the earlier suggested solution sounds good.
winecfg
Then sound > OSS.
So alter your launcher to say something like:
padsp wine '~/usrname/.wine/drive_c/Program Files/World of Warcraft/WoW.exe' -opengl
Kudos to mitchej123 for the suggestion.
Go Team Venture!
November 27th, 2008, 06:55 PM
Easy Solution.
I'm using Ubuntu 8.10.
Change driver in WoW to ALSA.
Change system/preference/sound Movies to auto detect.
Rhythmbox Music player will default to OSS it seems.
I have WoW running with music at same time no problem.
Hope this helps some people.
Wow is running perfectly under Wine 1.1.9 and with all addons no crashes
insanely fast framerates better than vista.
Ubuntu FTW.
Microsloth FTL...
Go Team Venture!
November 29th, 2008, 01:29 AM
make sure to kill pulse audio process before you do the above.. otherwise alsa will sound like c r a p in wow
Wj@mesB
May 12th, 2009, 04:22 AM
mitchej123,
Your suggestion is to point wow to use the pulse audio server? I will try that, my setup seems like a mess.
Ive just started running 8.04, with wine 1.1.21. I was having a lot of trouble getting sound from music players and wow at the same time. I did what it says here...
https://help.ubuntu.com/community/WorldofWarcraft
tried changing audio driver in wine to OSS and using AOSS to launch totem but still had trouble. I couldn't get it to work until i used Rhythmbox and killed the pulse audio process with system monitor. As soon as i killed the process i had sound in wow and Rhythmbox. Thank you to those that posted that information.
So now I have this in my launcher...
aoss wine "/home/james/.wine/drive_c/Program Files/World of Warcraft/Wow.exe"
...and i just start Rhythmbox normal. Doesn't seem to matter which one I start first.
I have...
System > Preferences > Sound = auto detect, and Sound Capture = ALSA
I have...
Winecfg > Audio = OSS
I can play wow and use ALSA in winecfg audio but the kill pulse audio trick doesn't work when I use that setup. So thats why i set winecfg audio to OSS and why im using AOSS, from what was in the help on unbuntu site.
Thanks, for any advice from anyone.
Ok first of all, I'm at work right now and my linux box is at home, so I'll recall what I can from memory:
Here's a workaround until they update wine with pulse audio support.
Run 'winecfg' and change the sound server from alsa to oss. Accept those changes. (IE: disable alsa, and enabled oss from winecfg)
Then modify your shortcut and add 'padsp' in front of wine. (padsp starts the specified program and redirects its access to OSS compatible audio devices (/dev/dsp and auxiliary devices) to a PulseAudio sound server. )
I believe my shortcut looks something like -
padsp wine ~/.wine/drive_c/Program\ Files/World\ of\ Warcraft/Wow.exeIf you don't have any luck with this let me know and I'll look at my shortcuts after I get home.
ACLBandit
June 2nd, 2009, 03:06 PM
I believe my shortcut looks something like -
padsp wine ~/.wine/drive_c/Program\ Files/World\ of\ Warcraft/Wow.exe
Thank you so much! I've had a lot of troubles getting sound with my S/PDIF plug, and using PulseAudio -- this was a GREAT fix which allows my WoW and Rhythmbox to both have sound. Thanks so MUCH!
vBulletin® v3.8.4, Copyright ©2000-2012, Jelsoft Enterprises Ltd.