Like the title I recently upgraded from 11.4 to 12.1, my sound works just fine for flash/music players. However when I do winecfg and configure the Audio tab OSS/ALSA drivers are no longer detected. I even tried getting latest version of wine from the git repository and compiled and installed, still the same problem.
I’m not having much luck finding anything guides online to troubleshoot Wine/Sound problems.
Also I have neverwinter nights linux version installed and the sound works just fine for that.
If someone would point me in the right direction that would be awesome, thank you in advance.
I upgraded my 64-bit OpenSUSE to 12.1 today and I’m getting no sound in Wine as well. ALSA is selected in winecfg and I cannot change it. Testing the sound in winecfg works. I’m testing with Fallout and Fallout 2 which have no known ‘no sound’ issues with Wine and both have platinum/gold ratings only. pasuspend is not helping. Disabling KDE system sounds is not helping either. Dosbox is also playing without sounds.
Both Fallout and Fallout2 are reporting the following error before starting:
Executing wine regsvr32 dsound.dll
err:ole:CoGetClassObject class {44ec053a-400f-11d0-9dcd-00a0c90391d3} not registered
err:ole:CoGetClassObject no class object {44ec053a-400f-11d0-9dcd-00a0c90391d3} could be created for context 0x1
Failed to register DLL dsound.dll
------------------------------------------------------
Note: command 'wine regsvr32 dsound.dll' returned status 255. Aborting.
------------------------------------------------------
I am using the latest Wine from that repo. Version number is 1.3.37.
You are right. I tried disabling pulse in yast and sound test in winecfg no longer works. The device is set to (System Default). When I change it to my actual device, sound test doesn’t work both with pulseaudio support enabled or disabled in yast.
When I start alsamixer, PulseAudio is selected as a device and there is a single Master volume bar. I can change it to my sound device and I get several volume bars, but this doesn’t seem to do anything for Wine. When I close alsamixer and start it again, PulseAudio is still selected as default.
Starting to think my problem is not with pulseaudio. I’ve edited /etc/pulse/client.conf and set autospawn = no, then killed the pulseaudio process. aplay works, speaker-test works, Phonon works, even the system sounds work, but Wine still doesn’t work.
This could could be it, I also have 64bit system and I tested wine 1.3.37 yesterday,
Application sound worked fine, even though the winecfg test makes some strange chopping noises sometimes.
RPM list :
I have all the packages same as yours, except alsa-firmware. I installed alsa-firmware, restarted the computer just in case, and Wine still has no sound. Is it possible that my drivers don’t support direct sound access? I have Sound Blaster X-Fi XtremeAudio and I remember I used official Creative beta drivers in the past, but it is possible that my initial 11.x install from DVD had it’s own drivers. Any way I could test this?
@jamesplumbtree
Please join the discussions with your own results. I’m starting to feel like I’m hijacking your thread
Still got a couple of suggestions, try this first :
setup-pulseaudio --disable
Then try alsamixer again and see if it keeps the changes. When done with volume control, run this as root :
alsactl store
There’s also a wine regedit setting for audio driver, more info here.
+-Drivers
| |
| +->Audio
| Which audio backend to use. Should be a string such as "alsa" or "oss" or "coreaudio".
| Set to the empty string to disable audio entirely. Given a comma-separated list of
| drivers, Wine will attempt to make the most appropriate choice.
Sound stop working systemwide after this and killing pulseaudio process. After restart, pulseaudio no longer starts at boot, alsamixer shows my sound card and there is no option to switch to pulseaudio, aplay shows that default device is now my sound card instead of PulseAudio, but everything else works same as before: sound works in system, for speaker-test, for winecfg sound test, but still getting no sound and the same dsound error when I run a game in Wine.
[/QUOTE]
I don’t think that article is up to date. Under HKCU/Software/Wine/Drivers, I don’t have an Audio key, but instead I have winealsa.drv key which has no values.
That’s right, setup-pulseaudio --disable will completely disable pulseaudio. It’s what I had to do to fix my issues with wine sound.
If you check my rpm list you’ll notice I don’t have any pulse packages except libpulse0 and libpulse-mainloop-glib0
Removed everything else related to pulse right after setup-pulseaudio --disable (you can do this in kde but not in gnome3 because it depends on pulse)
I also renamed /.wine folder so winecfg 1.3.37 created a clean one.
Wine should be using libasound2 directly after this.
Try setting audio output in winecfg to analog hardware device and run the application again.
After removing pulse and setting up alsamixer, wine sound just worked for me. But it might be application specific issue.
Also note that “Audio” is a wine registry value and not a key.
Thanks for all the help. I’ve solved the issue by compiling Wine myself. I guess this is the way to go for all who have issues with OpenSUSE’s Wine package.
I have similar issues. In my opinion problem is that wine 1.3.37 has some problems with regsvr32, it’s not able to register any COM dll. I hope it’ll be fixed in the next version.
The x86_64 packages of wine-1.3.37 and wine-32bit-1.3.37 for 11.4 and 12.1 (and possibly others, but no one’s reported anything) are badly broken, as are the daily snapshots. The package maintainer knows. I have found that the i586 packages for 11.4 seem to be okay, so one thing you could try is uninstalling the x86_64 wine and wine-32bit packages and installing the i586 wine package. If you don’t have any 64 bit Windows apps, you don’t need 64 bit Wine anyway.