Pulseaudio Setup in openSUSE 11.4 - KDE 4.6 - How Does it Work?

So, in openSUSE 11.4 and KDE 4.6 it seems as if we are by default using the Pulseaudio sound server. Seperate and apart from that, we do have some options in the Multimedia setup of personnel settings in KDE.

The first confusing part is the Pulseaudio Mixer. Seems like you have one selection per sound card, Master Volume. You can go into YaST / Hardware / Sound and set the default sound device if you have more than one, but what input am I using? In the olden days, you had a Line input, a mic input a PCM input and so forth. I guess that was too complicated for the average user and now we just get one control, to make things simple to use.

Next is the Output. Depending on your sound card, you most likly have an analog and digital outputs. I normally connect up the stereo output for normal usage and the digital output for movie watching. How does one switch between them (the outputs) and how do you get Dolby Digital 5.1 or 7.1 pass-through to work? It seems that KDE is trying to help there, but what is the real Pulseaudio method?

I find a configuration file at /etc/pulse/daemon.conf, but everything seems to be commented out. I found a good link on Pulseaudio here:

Pulseaudio FAQ’s

If you have any comments at all about the new usage of Pulseaudio in openSUSE 11.4, I would appreciate your comments being posted here.

Thank You,

Are you using either vlc-phonon or phonon-gstreamer backends? Both from Packman. Actually the vlc one might also be in kde repos by now

I already use the gstreamer one in 11.3
Only issue is amarok equalizer no working, but seems ok in clementine

Are you using either vlc-phonon or phonon-gstreamer backends? Both from Packman. Actually the vlc one might also be in kde repos by now

I already use the gstreamer one in 11.3
Only issue is amarok equalizer no working, but seems ok in clementine
Thanks so much for your comments there Carl. I tried both Xine and Gstreamer and both seem to work in openSUSE 11.3 except for the problem you noted with Amarok, but I can’t say I tried Gstreamer and Amarok together in openSUSE 11.4 so far. I did try GStreamer in openSUSE 11.4 and was unable to notice a difference. Since Amarok is my main music player and the only location for you to use an equalizer, I am sticking with Xine for now. I guess I had read that Amarok was being modified to work properly with GStreamer? Is that correct? As for repos I did add Packman Factory and KDE 4 Factory to get KDE 4.6. The further I get from the standard openSUSE 11.4 setup the less I know about the base openSUSE 11.4 configuration though.

Now that still does not answer what sound card input am I using and how are the individual input levels adjusted when using Pulsaudio?

As always, all comments are welcome here…

Thank You,

I’m not a sound freak. By that I mean, if it works OK I’m fine. And for me it always works no tinkering required.

I don’t know if you follow the opensuse-kde Mailing List
Where there has been a long discussion about xine being dropped
It originally linked to this: Phonon Family 4.4.4 | Apachelogger’s Log

As for this

Now that still does not answer what sound card input am I using and how are the individual input levels adjusted when using Pulsaudio?

I really don’t know

I will chaeck this thread as you suggest and thanks for posting its location.

Phonon Family 4.4.4 | Apachelogger’s Log

Now I think that the mixer we have in KDE 4.6 by default now was described as the pulseaudio kmixer before in openSUSE 11.3 which makes you wonder if you could get the old alsa kmixer back as it did work when pulse was installed, at least before it did.

As I said I am asking for information/advice/guidance and perhaps spiritual help with audio configurations when using Pulseaudio in openSUSE 11.4, if anyone else has a suggestion.

Thank You,

I have not been using pulse, so I’ll be sitting in the beginners group like everyone else with my learner’s cap on, when it comes to pulse audio.

I have read of various gnome (?) users finding that installing the app “pavucontrol” really helps in configuring their pulse audio to work. I have not tried any of the newer KDE versions to any extent, with 4.4.4 being my latest. Thus I can’t comment on what’s installed and what is not in KDE > 4.4.4 (nor for that matter Gnome), so I am curious as to what sort of response this thread you started will bring.

Hello oldcpu and thanks for joining in on the discussion with caf4926. It would appear that the application you mention, pavucontrol, is loaded by default, its in the menu section Multimedia / Volume Control / Pulseaudio Volume Control and which seems to duplicate your options in the KDE / Personnel Settings / Multimedia / Phonon section. Its not the same, but I still don’t see a Mic or Line input. The computer I loaded openSUSE 11.4 on this time does not have any aux audio connected and only stereo output connected. So, what’s connected does work and while I could load openSUSE 11.4 on my main computer, with the DVD burning issues, I am not going to challenge fate one more time installing openSUSE version 11.4 three times. So, I guess in light of what I see, the two most experienced users in this forum know very little about Pulseaudio. So, I am doomed to failure again… lol!

Thank You,

You guys might find this interesting
KDE4.6 minor problems

Hello, I am a bit confused about this thread. The title refers to KDE-4.6 and PulseAudio. I thought that PulseA udio was deprecated in 4.6.0, and is being loaded from the 4.5.95 packages which are in the 11.4-Milestone and Factory ISOs/repositories, not the 4.6 repository.

My laptop was loaded using the Factory build 1042 x86_64 ISO, specifying the addition of KDE-4.6.0 from the KDE:/Distro:/Factory/openSUSE_Factory/ repository (note: for 11.2 and 11.3, 4.6.0 is available in the KDE:/Release:/46/ repository). I am using a self-compiled kernel-desktop-2.6.38-rc2. Sound hardware is Intel ALC269 and ATI Radeon HD 4330.

I do not have PulseAudio installed, except for the libpulse-mainloop-glib0 and libpulse0 packages which are required for Kmix. Phonon-4.4.4 is installed as part of 4.6.0. I listen to sound with Kaffeine, Mplayer (Packman), and Chrome (i386). Amarok does not work by default on this machine, and have not tried fixing it yet.

Its possible this is hardware dependant … I don’t know. … I know on all 6 x 11.4 (build 1034) the test PCs I tried with KDE4, pulse was enabled.

the test PCs I tried with KDE4, pulse was enabled.
Sorry, I was being confusing as well as confused.

I was trying to get a cleanish KDE-4.6.0 install for testing. When I used the NET 1042 iso I deliberately did not install any Gnome or multimedia related packages unless they were required to satisfy KDE-4.6.0 package dependencies. This may be why Amarok “plays” silently.

I should not have said “I thought that PulseAudio was deprecated in 4.6.0”.
The pulseaudio-xxx.rpm is not needed for KDE to manage sound. Necessary PulseAudio functions seem to be supplied by the libpulse… packages. The pavucontrol rpm (PulseAudio Volume Control) may be needed in other desktop environments, but appears to be replaced by Phonon/Kmix in Plasma.

Using the S.T.A.R.T. - SuSE Terminal Audio Reporting Tool bash script file, here are some sound setup outputs in openSUSE 11.4. I did manually add in the alsa-firmware file:

1 . Verify your Alsa Packages are installed for Operational Testing …

rpm --query --all --queryformat '%{NAME}-%{VERSION}-%{RELEASE}-%{ARCH} -> %{VENDOR}
’ alsa alsa-utils alsa-firmware ‘libasound2*’

alsa-firmware-1.0.23-3.7-noarch -> openSUSE
libasound2-1.0.23-10.2-x86_64 -> openSUSE
alsa-utils-1.0.23-10.2-x86_64 -> openSUSE
alsa-1.0.23-10.2-x86_64 -> openSUSE
libasound2-32bit-1.0.23-10.2-x86_64 -> openSUSE

You should expect to have at least four Alsa Packages Installed.
32 bit files are not required when using 64bit openSUSE install.

called ----> alsa-utils <--------- from the openSUSE Repository.
called ----> libasound2-32bit <— from the openSUSE Repository.
called ----> alsa <--------------- from the openSUSE Repository.
called ----> libasound2 <--------- from the openSUSE Repository.
called ----> alsa-firmware <------ from the openSUSE Repository.

Press <enter> to continue…

Here are the basic sound setups that I find in openSUSE 11.4:

5 . Checking your audio setup in four steps for detailed information …

Command: cat /proc/asound/version

Advanced Linux Sound Architecture Driver Version 1.0.23.

Command: cat /proc/asound/modules

0 snd_ctxfi
1 snd_hda_intel

Command: cat /proc/asound/cards

0 [XFi ]: SB-XFi - Creative X-Fi
Creative X-Fi 20K2 SB0880
1 [NVidia ]: HDA-Intel - HDA NVidia
HDA NVidia at 0xf8080000 irq 17

Command: cat /etc/modprobe.d/50-sound.conf

options snd slots=snd-ctxfi,snd-hda-intel

NXNs.Y0UpzuBS6C1:nVidia Corporation

alias snd-card-1 snd-hda-intel

svHJ.n6K5fZqwjGB:SB X-Fi Titanium PCI-e [SB0880]

alias snd-card-0 snd-ctxfi

If this does not provide the required info, then another approach to obtain more
information on your hardware and your sound configuration, is to run the ALSA script.

Press <enter> to continue…
So to reiterate about Pulseaudio, here are the pulse packages installed into openSUSE 11.4 M6 by default:

9 . Check your Pulseaudio package Installation …

Command: rpm --query --all --queryformat '%{NAME}-%{VERSION}-%{RELEASE}-%{ARCH} -> %{VENDOR}
’ ‘pulseaudio

pulseaudio-module-lirc-0.9.22-4.1-x86_64 -> openSUSE
pulseaudio-esound-compat-0.9.22-4.1-x86_64 -> openSUSE
pulseaudio-module-x11-0.9.22-4.1-x86_64 -> openSUSE
pulseaudio-module-zeroconf-0.9.22-4.1-x86_64 -> openSUSE
pulseaudio-utils-0.9.22-4.1-x86_64 -> openSUSE
pulseaudio-0.9.22-4.1-x86_64 -> openSUSE
pulseaudio-module-gconf-0.9.22-4.1-x86_64 -> openSUSE
pulseaudio-module-jack-0.9.22-4.1-x86_64 -> openSUSE
pulseaudio-module-bluetooth-0.9.22-4.1-x86_64 -> openSUSE

You need the several programs (around 8) installed to use Pulse Audio from openSUSE

Press <enter> to continue…
Here is what is using the audio in openSUSE 11.4:

12. Determining which application is using sound device ...                                                                                       
                                                                                                                                                  
Command: lsof /dev/dsp* /dev/audio* /dev/mixer* /dev/snd/*                                                                                        
                                                                                                                                                  
COMMAND    PID  USER   FD   TYPE DEVICE SIZE/OFF NODE NAME                                                                                        
pulseaudi 2366 james   26u   CHR 116,17      0t0 9289 /dev/snd/controlC0                                                                          
pulseaudi 2366 james   32u   CHR 116,17      0t0 9289 /dev/snd/controlC0                                                                          
                                                                                                                                                  
Sometimes, when one has basic sound functioning, but then it appears to stop in                                                                   
the middle of a session (to be restored after a reboot) it may be because an                                                                      
application has seized your audio device, and the application is not sharing nor                                                                  
letting go the audio device. To determine what application is using one's sound,                                                                   
simply run this command from the S.T.A.R.T. script or use the CLI command above.                                                                  
If one runs this command at different times, when one's sound is working and not                                                                  
working, one can learn better as to what the output means, and be better able to                                                                  
point one's finger at the offending application that has seized the audio device.                                                                
                                                                                                                                                  
Press <enter> to continue...

So notice that pulse is using the outputs and is thusly enabled. I ran the Alsa setup script and generated this diagnostic output from my computer:

http://www.alsa-project.org/db/?f=1dbee254083dfc141bedb71c41153761e5dee277

One last thing I notice is that the mixer, called KMIX in KDE 4.6 looks like the old mixer that was called KMIX-PULSE. There is still a file called kmix-pulse, but it is version 4.4.4 which tells me it has not been updated for KDE 4.6 and may not be needed because the new KMIX is really kmix-pulse, but that is just speculation on my part.

Thank You,

Greetings all, I am currently exploring many of the issues that are mentioned in this thread. I experienced almost complete loss of options where mixer issues are concerned. The best result I have achieved so far with kmix, by purging all PulseAudio contents from my system except a few crucial ‘lib’ dependencies. This has given me back channel selection options in Kmix. The main problem I have now is in Phonon settings where I do not seem to have any ‘output’ options with either Gstreamer or Xine. The ‘test’ button works for all input settings but remains greyed out for output setting, which contnues to be a complete mystery for me. Workin on it tho. If anyone makes further progress, please to post. Thanks.

You could have noticed two things about this thread. Firstly it’s an old thread relatively speaking, since there have been several more recent threads and solutions on this subject. Secondly it’s in the Pre-release/beta forum, and I’m hoping you installed the general-release version of 11.4 openSUSE. Suggest you use the forum’s search facility or look through the Multimedia forum within the last month. If you don’t find a solution there, I suggest you start a new thread in that forum, giving your hardware and system details as described in the forums sticky at the top.

Nearly forgot, as it’s your first post, welcome to the forum. :slight_smile: