Sound Problems on OpenSuSE with GNOME Desktop
Hi everyone,
I'm having some annoying problems with my sound. I have sound, but only from 1 source at a time. For example, I can get sound from Spotify through Wine. But if that's running (even paused) then I don't get sound from Youtube, etc. Simply shutting down one application does not seem to give others access to the sound card. Surely it's possible to set up my sound card so it can be accessed from more than one application at a time? I am also having problems running MP3 and AAC audio files. They just don't work at all. Everything else is running great, if I can sort these sound problems I'll have a system running perfectly for me. |
Are you using pulse audio. You can adjust applications individually using the padevchooser program. Your program in wine might use OSS or SDL instead, but I can play Civilization & listen to amarok at the same time.
In YaST2's inst_sources module you can add the packman repo. It's packages are built enabling non free codecs. |
Looks like your running the original OSS, try installing ALSA or OSSv4.
|
Thanks for the reply. I am using Pulse Audio. I can set Wine to use OSS or ALSA drivers, I get sound no problem from either.
But when I use the Pulse Audio Device Chooser, I get only one output called Mono and moving the bar does change the volume I hear. I can however change the volume using the Volume Control applet and selecting the HDA Intel (ALSA Mixer) option. Now that I have sound coming from Spotify I won't get sound from Youtube or any other flash sites, which is the main problem I'm having. But it may be related to my Pulse Audio which does not seem to be operating as you expected. |
Quote:
|
Quote:
|
I'm pretty new to Linux, so is it safe just to go the Software Manager and remove everything under the "Installed" tab that is returned when I search "pulse audio" and then do a restart and see if the sound's still going?
|
1 Attachment(s)
You don''t need to uninstall pulse audio. You can deselect it in the YaST2 sound setup. However, for what you want, you need pulse audio.
You may have found the wrong mixer control. There are different ones. Look on the Devices tab. Expand the "sinks" tree list if it isn't. You will see lines with numbers like #335 and #324. Double click on one. It will say what the client is. There will also be a volume control. You will be able to adjust the volume on the program itself as well. If an audio source is too low, you can use these padevchooser volume controls to bring one to over 100%. Otherwise selecting pulse when you can, otherwise alsa should work the way you want. Take a look at the attached picture. There are three alsa clients, each which can have the volume independently adjusted. |
Quote:
|
Quote:
-- RT |
Quote:
If you want to test this out, kill all the pulse audio processes that are running and test your sound. If you get sound from multiple programs... I rest my case. https://bugs.launchpad.net/ubuntu/+s...io/+bug/237375 Code:
Ubuntu 8.04 LTS now uses PulseAudio as default sound server. Then I understand when I am playing audio with totem, PulseAudio is working for it. Basically... if "Program > ALSA" Then why would you have "Program > PULSE > ALSA"???? More latency and more room for error. |
Rerunning both "alsaconf" and YaST2's sound module usually fixes sound problems. If you have it disabled in in the YaST2 sound configuration, and the server doesn't start, that might cause the symptoms you are seeing. Alsaconf often needs to be rerun after a kernel update. You could also run `alsamixer' to check that something isn't muted. This may also happen after a kernel, or alsa update.
If the problem persists, you could kill the pulseaudio server and restart it with "pulseaudio --start" in the run dialog. If the pulseaudio server was running before you did this, and this fixes the problem, then yes, it would be due to pulse audio. If that doesn't solve the problem, it may be caused by something else. I'm wondering if the pulseaudio server wasn't running before an application got a lock on the /dev/dsp device for itself. Yes, using pulseaudio does add latency. It has improved greatly since SuSE 11.0, and I prefer it now. Ubuntu 8.04's pulse configuration may not be the fairest example to use as typical. Whether you use it or not is up to you. I find that the extra layer Program -> Alsalib -> pulse -> alsa drivers -> hardware helps prevent a poorly written program from locking out sound for the other programs. http://upload.wikimedia.org/wikipedi...io-diagram.svg |
Quote:
I'll re-state pulseaudio has known problems controlling ALSA. And again I state why use a sound server if you can directly output to ALSA. esound is a solution.... but I would say the best solution is to remove a sound server, since it's something that isn't really needed anymore. Yes it's a luxury but sometimes just having sound from multiple sources is worth more. |
I've found that if I do a "Top" command in a terminal and kill the pulse audio process that I can then get sound through Wine again. Once Wine is running I can't get sound from Youtube though. Wine does not seem to be using Pulse, the process does not appear when Wine is playing sound, but it seems to block Pulse from using my sound card.
The Top command and killing the process is a workaround that I could live with, it saves resetting the computer, but it would be much better if the sound would just work the way it's supposed to. Also, MP3 files still won't play at all. I have all the plugins, there is no obvious reason why they won't play. |
Wine DOES not work with pulse audio.... Infact it's even stated on the WINE websties...
http://appdb.winehq.org/objectManage...rsion&iId=3731 Code:
For Ubuntu 8.04 - kill/disable pulseaudio. It is not compatible with Wine. [EDIT] Also if you want to venture into some new ideas: http://www.4front-tech.com/wiki/inde...v4_from_source OSSv4 is by far better than ALSA, and some people are reporting some very good luck with how well it runs. =) |
All times are GMT -5. The time now is 06:22 PM. |