No sound in wine with Ubuntu 10.10, native sound works fine
-
- Level 1
- Posts: 9
- Joined: Wed Feb 09, 2011 10:56 am
No sound in wine with Ubuntu 10.10, native sound works fine
Hello, i am a new Linux user as of last weekend. I successfully built my first computer and installed Ubuntu 10.10 and wine 1.2. I am using the hdmi out on my nvidia gtx 460 graphics card with on-board which works fine with standard pulseaudio for all tested native apps (system sounds, hulu on firefox, warzone 2100). I have tried every combination of winecfg audio tab settings as well as disabling and killing pulse audio. I have added my user to the audio group. I have purged and re-installed several times. I even reformatted the hd and re-installed ubuntu. No matter what i do the sound test failed, and i get this message:
fixme:mixer:ALSA_MixerInit No master control found on HDA NVidia, disabling mixer
I bet this is something simple, but i just can't seem to get it working. Before i accessed the audio tab, rome:total war was running perfectly on highest settings(without sound). Once i configured sound, it crashes before the first screen(looking for sound i guess). I can provide any terminal output need, of course. I can't go back to windows <shudder>
fixme:mixer:ALSA_MixerInit No master control found on HDA NVidia, disabling mixer
I bet this is something simple, but i just can't seem to get it working. Before i accessed the audio tab, rome:total war was running perfectly on highest settings(without sound). Once i configured sound, it crashes before the first screen(looking for sound i guess). I can provide any terminal output need, of course. I can't go back to windows <shudder>
-
- Level 1
- Posts: 9
- Joined: Wed Feb 09, 2011 10:56 am
The usual culprit is PulseAudio, and while it seemed to work better with Wine for awhile, recent versions of Ubuntu seem to have big problems with it. You say you tried disabling it, but have you tried removing it entirely from your system?Ryan4200782 wrote:Any ideas? Non-sound wine-apps run perfectly, like Sketchup 8.
-
- Level 1
- Posts: 9
- Joined: Wed Feb 09, 2011 10:56 am
Can you reccomend a good guide for that? I did try removing pulseaudio completely based on some directions posted on a site not directly linked with Ubuntu. I believe I installed some alsa packages, and native sounds still worked but did not do anything for wine. It was after trying this and some other things(winepulse)that I reformated the hard drive so as to have a "clean" install for troubleshooting. However if there is a reccomended guide for removing pulseaudio I will certainly try it(or anything else) again.
This is something you should ask on Ubuntu forums, but sudo apt-get uninstall pulseaudio is sufficient, I *believe*. If it's not, uninstalling PulseAudio and then compiling the Linux kernel from (a non-Ubuntu) source would. (I heard some PA stuff is patched into the Ubuntu kernel, not sure though).Ryan4200782 wrote:Can you reccomend a good guide for that? I did try removing pulseaudio completely based on some directions posted on a site not directly linked with Ubuntu. I believe I installed some alsa packages, and native sounds still worked but did not do anything for wine. It was after trying this and some other things(winepulse)that I reformated the hard drive so as to have a "clean" install for troubleshooting. However if there is a reccomended guide for removing pulseaudio I will certainly try it(or anything else) again.
-
- Level 1
- Posts: 9
- Joined: Wed Feb 09, 2011 10:56 am
Ok, i have un-installed pulseaudio with a howto on ubuntu forums, and installed the necessary alsa packages. Sound in ubuntu works well(watching hulu while i type this) but i still get the same result when i go to the audio tab in winecfg:
fixme:mixer:ALSA_MixerInit No master control found on HDA NVidia, disabling mixer
when i try to set audio tab configuration options i get this:
err:winecfg:set_config_key Unable to set configuration key L"DefaultSampleRate" in section L"DirectSound", res=6
Any ideas? No sound at all in wine, ever. Should i consider reverting to Lucid? I am using the on-board sound on Asus m4a87td motherboard. This motherboard actually got a "works good with linux" review on newegg. Any ideas?
fixme:mixer:ALSA_MixerInit No master control found on HDA NVidia, disabling mixer
when i try to set audio tab configuration options i get this:
err:winecfg:set_config_key Unable to set configuration key L"DefaultSampleRate" in section L"DirectSound", res=6
Any ideas? No sound at all in wine, ever. Should i consider reverting to Lucid? I am using the on-board sound on Asus m4a87td motherboard. This motherboard actually got a "works good with linux" review on newegg. Any ideas?
This is harmless, and true - HDMA doesn't call it's volume controls the "master". So Wine won't be able to control volume on that device that's all.Ryan4200782 wrote:fixme:mixer:ALSA_MixerInit No master control found on HDA NVidia, disabling mixer
Looks like registry might be corrupted. Remove / rename ~/.wine directory and try again.Ryan4200782 wrote:when i try to set audio tab configuration options i get this:
err:winecfg:set_config_key Unable to set configuration key L"DefaultSampleRate" in section L"DirectSound", res=6
Also make sure you do not have "esd" or "arts" running. And that nothing is currently using sound (at least while you testing).
-
- Level 1
- Posts: 9
- Joined: Wed Feb 09, 2011 10:56 am
Ok, i have used apt-get remove --purge wine and removed all wine packages in synaptic. Also i have used rm .wine -R Then re-installed 1.3 from this site using the link. Here is what i get in the terminal while running winecfg, going to audio tab and changing settings:
Any ideas?
Code: Select all
ryan@Ryans-System:~$ winecfg
wine: created the configuration directory '/home/ryan/.wine'
fixme:system:SetProcessDPIAware stub!
fixme:iphlpapi:NotifyAddrChange (Handle 0x8ede914, overlapped 0x8ede918): stub
wine: configuration in '/home/ryan/.wine' has been updated.
fixme:mixer:ALSA_MixerInit No master control found on HDA NVidia, disabling mixer
fixme:mixer:ALSA_MixerInit No master control found on HDA NVidia, disabling mixer
err:winecfg:set_config_key Unable to set configuration key L"Audio" in section L"Drivers", res=6
err:winecfg:set_config_key Unable to set configuration key L"DefaultSampleRate" in section L"DirectSound", res=6
err:winecfg:set_config_key Unable to set configuration key L"Audio" in section L"Drivers", res=6
-
- Level 1
- Posts: 9
- Joined: Wed Feb 09, 2011 10:56 am
This is the output of wine --version:
Code: Select all
ryan@Ryans-System:~$ wine --version
wine-1.3.13
-
- Level 1
- Posts: 9
- Joined: Wed Feb 09, 2011 10:56 am
-
- Level 1
- Posts: 9
- Joined: Wed Feb 09, 2011 10:56 am
No sound in wine with Ubuntu 10.10, native sound works fine
On Fri, 2011-02-11 at 10:07 -0600, Ryan4200782 wrote:
is better: this says 'silently and recursively remove all files and
directories including the target directory' - in this case .wine
Martin
rm -rf .wineIs rm .wine -R incorrect? Seemed to remove the wine directory. Not worried about the wine directory, no applications installed right now.
is better: this says 'silently and recursively remove all files and
directories including the target directory' - in this case .wine
Martin
Only if you're currently in your home directory. It will try to remove the .wine directory from whatever directory you are in right now, but the directory probably doesn't exist anywhere but in /home/username.Ryan4200782 wrote:Is rm .wine -R incorrect? Seemed to remove the wine directory.
Doing:
rm -rf ~/.wine
or:
rm -rf $HOME/.wine
ensures that you remove the directory at the right location. (the f flag is for "force", which basically makes the rm command not ask any questions and "just do it".)
No sound in wine with Ubuntu 10.10, native sound works fine
On 02/10/2011 06:10 PM, DaVince wrote:
USB or analog? I cannot get sound in wine to work with USB headphones,
but my analog speakers and headphones work fine. I'm not sure if that is
any help.
I am in Fedora and I don't know what differences there are in sound set
ups between that and Ubuntu. I do have pulse audio installed. In the
audio tab of winecfg I have both the pulseaudio and the OSS driver boxes
checked, hardware acceleration is 'Full,' default sample rate '44100',
and default bits per sample '16'. No clue if any of that is useful to you.
Are you using speakers, or is this a headset? If it is a head set is itThis is something you should ask on Ubuntu forums, but sudo apt-get uninstall pulseaudio is sufficient, I *believe*. If it's not, uninstalling PulseAudio and then compiling the Linux kernel from (a non-Ubuntu) source would. (I heard some PA stuff is patched into the Ubuntu kernel, not sure though).
USB or analog? I cannot get sound in wine to work with USB headphones,
but my analog speakers and headphones work fine. I'm not sure if that is
any help.

I am in Fedora and I don't know what differences there are in sound set
ups between that and Ubuntu. I do have pulse audio installed. In the
audio tab of winecfg I have both the pulseaudio and the OSS driver boxes
checked, hardware acceleration is 'Full,' default sample rate '44100',
and default bits per sample '16'. No clue if any of that is useful to you.
I use built-in (also Intel HD) audio and both laptop speakers and plugging in something in the analog jack works just fine. But I don't see how it has a relation to this thread specifically? You should probably have made a new thread since using USB audio can make the problem of a different kind. Heck, if PA and/or ALSA can't detect it, it's effectively a distro problem and you should ask on your distro forum.
Anyway, to answer your question, maybe it's not detecting your headset, not every audio device is supported after all. Look around on the web if ALSA is supposed to support your USB headset (because it's ALSA that handles sound hardware, not PulseAudio, which is just supposed to be a mixer).
If your USB headset is supposed to just work, PulseAudio might not be picking it up, I've encountered such oddities before. Try removing PA and using a purely ALSA-based volume control application to check it out in that case.
Anyway, to answer your question, maybe it's not detecting your headset, not every audio device is supported after all. Look around on the web if ALSA is supposed to support your USB headset (because it's ALSA that handles sound hardware, not PulseAudio, which is just supposed to be a mixer).
If your USB headset is supposed to just work, PulseAudio might not be picking it up, I've encountered such oddities before. Try removing PA and using a purely ALSA-based volume control application to check it out in that case.
This looks like a problem in writing to the registry. What happens if you try to set those keys yourself using regedit?Ryan4200782 wrote:Code: Select all
err:winecfg:set_config_key Unable to set configuration key L"Audio" in section L"Drivers", res=6 err:winecfg:set_config_key Unable to set configuration key L"DefaultSampleRate" in section L"DirectSound", res=6 err:winecfg:set_config_key Unable to set configuration key L"Audio" in section L"Drivers", res=6
-
- Level 1
- Posts: 9
- Joined: Wed Feb 09, 2011 10:56 am
I am using the internal speakers in my Viewsonic monitor, hence the hdmi audio through video card. I have deleted the wine directory as advised:
Then re-booted and entered winecfg:
So, the registry errors went away, which is good. However, I still have:perfect sound native, no sound in wine. Do i need to buy a cheap sound card and speakers? At first, hdmi audio did not work for Ubuntu, but i followed a howto at
http://ubuntuforums.org/showthread.php?t=1668737&page=2
which fixed the problem. The sound test for wine as always failed no matter what i have tried, consistently through a hd re-format/ re-install of ubuntu
Code: Select all
ryan@Ryans-System:~$ rm -rf $HOME/.wine
ryan@Ryans-System:~$ ls wine
ls: cannot access wine: No such file or directory
ryan@Ryans-System:~$
Code: Select all
ryan@Ryans-System:~$ winecfg
wine: created the configuration directory '/home/ryan/.wine'
fixme:system:SetProcessDPIAware stub!
fixme:iphlpapi:NotifyAddrChange (Handle 0x8ede914, overlapped 0x8ede918): stub
wine: configuration in '/home/ryan/.wine' has been updated.
fixme:mixer:ALSA_MixerInit No master control found on HDA NVidia, disabling mixer
fixme:mixer:ALSA_MixerInit No master control found on HDA NVidia, disabling mixer
http://ubuntuforums.org/showthread.php?t=1668737&page=2
which fixed the problem. The sound test for wine as always failed no matter what i have tried, consistently through a hd re-format/ re-install of ubuntu
Re: No sound in wine with Ubuntu 10.10, native sound works f
No, it's not. You are not specifying the full path, so it will try to remove ".wine" directory in whatever your CWD is now.Martin Gregorie wrote:rm -rf .wine
is better
That howto for pulseaudio. See sticky post about no sound. Pulseaudio in many cases conflicts with Wine.Ryan4200782 wrote:At first, hdmi audio did not work for Ubuntu, but i followed a howto at http://ubuntuforums.org/showthread.php?t=1668737&page=2
No sound in wine with Ubuntu 10.10, native sound works fine
On 02/11/2011 05:24 PM, DaVince wrote:
problem in this thread was the use of USB headphones, that the sound
through wine might be working just not with those if they were what the
original poster had.
I'm sorry, I wasn't clear in what I typed. I was wondering if theYou should probably have made a new thread since using USB audio can make the problem of a different kind.
problem in this thread was the use of USB headphones, that the sound
through wine might be working just not with those if they were what the
original poster had.
No sound in wine with Ubuntu 10.10, native sound works fine
On 02/11/2011 06:24 PM, Ryan4200782 wrote:
so I was still wondering what you used.
Sorry, I misread that part, my brain skipped right over the word 'audio'hence the hdmi audio through video card.
so I was still wondering what you used.
Yes you are new to LinuxRyan4200782 wrote: Then re-booted and entered winecfg:

Further if you have some normal analog speakers around or some headset(but no USB stuff), try it through them. I wouldnt trust in HDMI Audio.