LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Gentoo
User Name
Password
Gentoo This forum is for the discussion of Gentoo Linux.

Notices

Reply
 
LinkBack Search this Thread
Old 01-20-2010, 05:28 AM   #1
kmacphail
Member
 
Registered: Jan 2009
Location: Isle of Lewis
Distribution: Gentoo, Crunchbang (XFCE)
Posts: 133
Blog Entries: 1

Rep: Reputation: 18
Cannot setup Phonon correctly


I have just recently built my first Gentoo distro (amd64) with a KDE 4.3 desktop environment. I managed to get my video card setup without too much hasstle but so far I have been unable to get my sound card setup properly.

The sound works for all apps that bypass Phonon (firefox, vlc etc) but anything that relies on phonon does not work. I do not get the sound when I log in, the mp3/oggs/avi simply do not play in KDEs native apps. My environment is workable however I would rather get this working properly.

My sound card is Creative Audigy SE 7.1 , I have tried several posts from other forums but without any luck including re-emerging pulseaudio. I am assuming this is a setup problem as the sound is working for other items and the mixer shows all the controls in the ALSA mixer.
 
Old 01-22-2010, 05:09 AM   #2
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,029

Rep: Reputation: 368Reputation: 368Reputation: 368Reputation: 368
Bear in mind, I hate all this stuff. Sound in linux is terrible. So I know little about phonon and its current state.

I'd first try the latest kde release, 4.3.4 if my memory serves correctly. Also, take a look at the phonon USE flags. Phonon can use a number of backends, including alsa, xine, pulseaudio and gstreamer. I'd probably USE="xine alsa -pulseaudio -gstreamer" for this concrete package, because that's my preference, yours might differ. Common sense will tell you what to do. If you use alsa for the rest of your audio apps you probably want alsa support in phonon as well. I strongly suggest xine as your multimedia backend because it works, unlike gstreamer (my view, anyway).

You should also check the phonon configuration in the systemsettings application. It might not be called "phonon", but something different relating multimedia, I don't really remember. Check the configuration, and see that phonon is using your chosen backend, and not something else.

As a last note, note that the pulseaudio stuff might easily conflict with everything else in the world, so you might not get a sound from one application using pulse if you have another app using alsa, jacks or whatever else running in the background. As said, the state of the sound foundation in Linux is suboptimal, to say it softly.
 
Old 01-24-2010, 05:36 PM   #3
kmacphail
Member
 
Registered: Jan 2009
Location: Isle of Lewis
Distribution: Gentoo, Crunchbang (XFCE)
Posts: 133
Blog Entries: 1

Original Poster
Rep: Reputation: 18
Thanks for the reply i92guboj, between the Gentoo forums and some friends on identi.ca I was able to sort this problem. Pulse Audio is so fickle it drives me mad at times. Anyway the problem is sorted. I tried 4 solutions, none of them worked initially, but upon starting up Gentoo the next day I was greeted with a sound :-)

What do I need to install from the Gentoo repos that will give me the video codecs I desire (avi, divx, ogv & mp4) that seems to be an area I'm sticking at.
 
Old 01-24-2010, 05:57 PM   #4
jschiwal
Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 654Reputation: 654Reputation: 654Reputation: 654Reputation: 654Reputation: 654
When there is no sound, I will usually run "alsaconf" and my distro's sound configuration tool.

In KDE, look for "Configure Desktop". I think the binary is called "systemsettings". Under Computer Administration select "Multimedia".
Here you can select devices to use for different classes of applications, and play a test tone. You can highlight different devices and test the output. One of these are for pulse audio. If none of the devices play the test audio, you probably need to start with alsa. Alsa may be used for the input to pulse and also the output.

Also look at "padevchooser" and also the "Volume Control..." settings you can launch from the padevchooser applet.
You can check the server and sink settings. In the last tab of the "Volume Control..." (the pavucontrol program) "Configuration", you can select different devices for the profile.

Right now I am piping my laptops audio from Amarok, to my desktop which has an IEC958 optical connection to my stereo. I can do this from my netbook as well. I select the desktop as the pulse server, select the desktop's IEC958 for the sync and check the profile.
 
Old 01-25-2010, 02:12 AM   #5
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,029

Rep: Reputation: 368Reputation: 368Reputation: 368Reputation: 368
Quote:
Originally Posted by kmacphail View Post
What do I need to install from the Gentoo repos that will give me the video codecs I desire (avi, divx, ogv & mp4) that seems to be an area I'm sticking at.
It depends on your player of choice and the backend it uses. Usually, in Gentoo this is controlled via USE flags. If you use vlc, for example, then you would set the use flags for vlc, enabling the features you want. Gentoo will do the rest for you when you emerge vlc.

If you use a xine based player (like kaffeine, which I'd recommend for you if you are a kde user), then you have to look at the use flags for the xine-lib package.
 
  


Reply

Tags
amd64, gentoo, kde, phonon


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Restore MBR and setup Grub correctly ilw Linux - Software 3 03-04-2009 04:18 PM
Correctly setup of DDCLIENT using UBUNTU metallica1973 Ubuntu 4 01-15-2009 09:29 PM
PTR setup correctly? overlord73 Linux - Networking 5 04-14-2005 04:53 AM
Shuttle PC12 multi-card reader, how to setup it correctly under Linux ParticleHunter Linux - Hardware 1 09-27-2004 02:15 PM
Networking devices, how to setup correctly mrb302 Linux - Newbie 3 05-02-2004 08:15 PM


All times are GMT -5. The time now is 08:52 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration