Ryan4200782
2011-Feb-10 03:56 UTC
[Wine] 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>
Ryan4200782
2011-Feb-10 14:09 UTC
[Wine] Re: No sound in wine with Ubuntu 10.10, native sound works fine
Any ideas? Non-sound wine-apps run perfectly, like Sketchup 8.
dimesio
2011-Feb-10 14:33 UTC
[Wine] Re: No sound in wine with Ubuntu 10.10, native sound works fine
Ryan4200782 wrote:> Any ideas? Non-sound wine-apps run perfectly, like Sketchup 8.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
2011-Feb-10 16:12 UTC
[Wine] Re: No sound in wine with Ubuntu 10.10, native sound works fine
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.
Ryan4200782
2011-Feb-11 13:37 UTC
[Wine] Re: No sound in wine with Ubuntu 10.10, native sound works fine
I tried the stable version(1.2) previously, no effect. Suggestions?
DaVince
2011-Feb-11 13:46 UTC
[Wine] Re: No sound in wine with Ubuntu 10.10, native sound works fine
Ryan4200782 wrote:> Ok, i have used apt-get remove --purge wine and removed all wine packages in synaptic.This is not how you actually clean up Wine. The old, corrupt registry may still actually be there. You want a clean slate, just remove/rename the $HOME/.wine directory.
Ryan4200782
2011-Feb-11 16:07 UTC
[Wine] Re: No sound in wine with Ubuntu 10.10, native sound works fine
Is rm .wine -R incorrect? Seemed to remove the wine directory. Not worried about the wine directory, no applications installed right now.
DaVince
2011-Feb-11 22:24 UTC
[Wine] Re: No sound in wine with Ubuntu 10.10, native sound works fine
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.
dimesio
2011-Feb-11 23:05 UTC
[Wine] Re: No sound in wine with Ubuntu 10.10, native sound works fine
Ryan4200782 wrote:> > Code: > > 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 > > > >This looks like a problem in writing to the registry. What happens if you try to set those keys yourself using regedit?
André H.
2011-Feb-13 18:19 UTC
[Wine] Re: No sound in wine with Ubuntu 10.10, native sound works fine
Ryan4200782 wrote:> > Then re-booted and entered winecfg: >Yes you are new to Linux :D, you don't have to reboot when you delete, install something (beside kernelupdates). 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.