PDA

View Full Version : No Sound in Wine?


constchar*
October 18th, 2007, 11:45 PM
I was running Wine 0.9.46 compiled from sources and everything was
fine and dandy but then I decided to upgrade to Wine 0.9.47,
I did a "make uninstall" with the 0.9.46 then did the "./tools/wineinstall"
and since then I'm getting no sound in any Wine apps, including winecfg.

Selecting ALSA or OSS both result in "Audio test failed" when I click
the "Test Sound" button.

I get this output:
"fixme:mixer:ALSA_MixerInit No master control found on MPU-401 UART, disabling mixer
fixme:midi:OSS_MidiInit Synthesizer supports MIDI in. Not yet supported.
fixme:midi:OSS_MidiInit Synthesizer supports MIDI in. Not yet supported."

I should probably also note that at one point Counter-Strike: Source
made some menu sounds but after that I didn't hear anything.

Thanks for any help.

cogadh
October 19th, 2007, 12:59 AM
If you are referring to the test sound button in winecfg, that is not functional yet. Any particular reason you compiled from source and didn't use the precompiled Ubuntu package?

constchar*
October 19th, 2007, 01:10 AM
Every time I've used the "Test Sound" button it's always made a
type of a drum sound (not sure how else to explain the sound).

I wasn't aware the precompileds were up to date with the latest version so I'll check that out.

constchar*
October 19th, 2007, 01:17 AM
I switched over to the binaries and even then I still get the same problem,
failed audio test and no audio from any Windows applications.

The only sound driver that works is EsounD but that outputs
laggy sound and sometimes it's cracky and poppy.

cogadh
October 19th, 2007, 02:02 AM
Ah, nvm, I was thinking of the Control Panel button, not the test sound button.

Does sound work through ALSA in any native apps?

constchar*
October 19th, 2007, 02:08 AM
Yes, including KDE and VideoLAN which I use frequently.
I should probably note I'm using Feisty Fawn and haven't
upgraded to Gutsy Gibbon yet although the update manager is ready
to run the update but I'm not sure if I want to do that just yet.

victor9098
October 28th, 2007, 01:30 PM
Hi,

I am having a similar problem. When I try to run a game i get a message saying there will be no voice or sound since the system does not support DirectSound. (Code = 1.0).

Installed WINE via Synaptic, everything else seems to be fine with it.

Any suggestions would be great!

Crafty Kisses
October 28th, 2007, 01:43 PM
I've had the same problem, but I did a sound test, and it appeared to be working, so I don't really know. :(

TempestSA
November 23rd, 2007, 10:02 PM
I have a similar problem, I've never had sound working in Wine.

I've gone on the audio tab in winecfg, not matter what driver I select (ALSA, OSS, JACK, NAS) or level of Hardware acceleration I get an error when I click on Test Sound (Audio Test Failed). I have checked and unchecked Driver Emulation. Are there any logs I can view to see what the error is?

I've never had problems with the sound in any other application, besides the mic not working in Ubuntu and midi being garbled in Hydrogen.

I've got a Dell Inspiron 6400.

Thanks

Bram-NL
December 26th, 2007, 02:58 AM
As I posted over here (http://ubuntuforums.org/showthread.php?p=4015871#post4015871):

Great news! I got it working! :)

What I did is using the latest binaries from http://www.winehq.org/site/download-deb. So the steps to take are:


Add the repository to Ubuntu:
wget -q http://wine.budgetdedicated.com/apt/387EE263.gpg -O- | sudo apt-key add -


For Ubuntu Gutsy (7.10):
sudo wget http://wine.budgetdedicated.com/apt/sources.list.d/gutsy.list -O /etc/apt/sources.list.d/winehq.list


For Ubuntu Feisty (7.04):
sudo wget http://wine.budgetdedicated.com/apt/sources.list.d/feisty.list -O /etc/apt/sources.list.d/winehq.list


And at last, install or upgrade Wine:
If you don't have Wine installed yet:
sudo apt-get update && sudo apt-get install wine


If you have Wine already installed:
sudo apt-get update && sudo apt-get upgrade


That's it :)

needhelpplease
April 12th, 2008, 10:31 PM
I'm having the same problem. I'm using the Wine from that repos. Sound worked for a while but seemed to stop working a couple of versions ago. Any ideas?

heatpumpcontrol
May 22nd, 2008, 10:52 PM
I wasn't getting any sound so I tried the reinstall from the repos and it worked. I get sound no matter which driver I select in the wine-config sound tab. Try it.....it helped me and I hadn't had sound since my 8.04 fresh install.

update:

It stopped working....while in Alsa mode. I switched to Esound and Emulation and it seems to be stable. I will log out and back in and if it fails I'll report back if not... then it is staying active.

Coolit
May 23rd, 2008, 07:05 AM
I have the same problem, it was working using the ALSA driver with the Hardy deb then just "stopped working".

I've yet to investigate as I don't use wine that much. I'm using an Asus xona sound card.

matty47
June 22nd, 2008, 01:05 AM
@ heatpumpcontrol Thanks for the tip. I did likewise and Used ESound and emulation and the sound in wine now works!!
Matthew

Tekovro
July 13th, 2008, 07:11 PM
@ heatpumpcontrol Thanks for the tip. I did likewise and Used ESound and emulation and the sound in wine now works!!
Matthew

Thanks, that worked for me too!

zft
July 24th, 2008, 12:14 PM
I've had quite a strange expirience with wine - the sound didn't work by default (I've got a GA-P35-DS3 gigabyte motherboard with a Realtek ALC889A Audio), so I tried the solution above - use esound and emulation. Everything worked, though the "check sound" button still reported an error. Afterwards, I desided to check the other modes, and surprisingly, the default ALSA with no emulation worked fine.

So, I would advise everyone to try differnet modes even if the test sound button doesn't work, the sound might actually work in the emulated programs. Also, try ESound and emulation first.

P.S. used wine 1.1.1 from the official site.

vixo7
August 1st, 2008, 04:50 PM
I had the same problem with my USB audio. This worked for me: http://ubuntuforums.org/archive/index.php/t-380852.html

The idea is to comment a line in file: /etc/modprobe.d/alsa-base
The line to comment is:

#options snd-usb-audio index=-2

This allowed my system to recognize the USB audio. Now iTunes on Wine works and also Amarok.

Good luck.

phoenix116
September 5th, 2008, 01:33 PM
I've had quite a strange expirience with wine - the sound didn't work by default (I've got a GA-P35-DS3 gigabyte motherboard with a Realtek ALC889A Audio), so I tried the solution above - use esound and emulation. Everything worked, though the "check sound" button still reported an error. Afterwards, I desided to check the other modes, and surprisingly, the default ALSA with no emulation worked fine.


i have the same problem with my creative audigy card - sometimes it works and then it suddenly stops working - enabling Esound with emulation, apply, and then switch back to alsa normal mode always works for a while.

but every time i do this, the registry settings for my wc3 seem to be reset, no clue why..

spongypants23
September 19th, 2008, 04:33 AM
I can't find the ESound thing.

harrison3001
November 23rd, 2008, 12:01 PM
I found a way installing all related esound files and setting the sound preferences to PulseAudio sound server or ESD. Hope it helps.

opt1k
August 7th, 2009, 01:40 AM
Hi.
Try selecting "ALSA" only. Full acceleration. uncheck emulate driver
click ok
exit wincfg
open winecfg
try "test audio" again

mskogly
January 16th, 2010, 09:13 AM
Can someone confirm that it is impossible to get sound from bot software running under wine and native linux apps at the same time? That is my problem right now. I can get sound som the test button and from spotify as long as no other software is running. Irritating as hell.

Pikestaff
January 17th, 2010, 10:11 AM
Can someone confirm that it is impossible to get sound from bot software running under wine and native linux apps at the same time? That is my problem right now. I can get sound som the test button and from spotify as long as no other software is running. Irritating as hell.

I have never had an issue hearing the sound effects from WoW on Wine and having Amarok running concurrently (so long as I am using the ALSA driver... anything else makes me unable to hear sound from both)

mskogly
January 17th, 2010, 02:49 PM
Got it to work by selecting the Esound instead of oss and alsa.

skewray
September 8th, 2010, 01:07 AM
Yesterday I was running wine under lucid/kde and the sound worked fine. I installed the gnome and xubuntu desktops just to check them out, logged into gnome, logged back into kde, and after this wine no longer had any sound.

The kmix settings and the wine sound settings appear unchanged. Wine is using the default of ALSA. Any suggestions?

MrAntonB
July 15th, 2011, 03:32 AM
Got it to work by selecting the Esound instead of oss and alsa.

Thank you so much, I've been fighting with it for the past few hours. This worked pefectly! :popcorn: