LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices

Reply
 
LinkBack Search this Thread
Old 12-06-2011, 03:28 AM   #1
vincix
Member
 
Registered: Feb 2011
Posts: 44

Rep: Reputation: 0
No sound in KDE4


I know this topic is as old as the hills and I've searched for quite a few posts, but I haven't found an answer yet.
Audio doesn't work anymore, I had sound before, although it was inconsistent - sometimes it worked (in a session that is), sometimes it didn't (youtube, quakelive etc). Now, since I installed a software called tv-maxe (related to which there was this sound problem that's been reported when you turned the volume down), it doesn't work at all. From time to time, KDE would tell me that linux couldn't find anymore neither the hda intel hdmi 0,1 (hdmi audio output, nor hda intel (hdmi 0 and 1) and asked me if I wanted to ignore it - I don't know why it did that, as there's no connection whatsoever to my audio card (i don't use hdmi). It it asks me if I want to permanently forget about these devices. Now, I use a Sound Blaster Audigy, but I also have an integrated audio card (intel hda) When I go to the to the system settings - multimedia to test my sb audio card it works, but it doesn't work in any other programs (neither in tv-maxe in which it did work in the beginning). If I enter audacious, then an error shows up: ALSA error, No suitable mixer element found. So probably linux is shifting between the audio cards? Otherwise, all my kde4 sounds/notifications seem to work.
I use Slackare on a 32-bit arch. with KDE4.

Last edited by vincix; 12-06-2011 at 03:30 AM.
 
Old 12-06-2011, 10:33 AM   #2
serafean
Member
 
Registered: Mar 2006
Location: Czech Republic
Distribution: Gentoo, Chakra
Posts: 871
Blog Entries: 9

Rep: Reputation: 103Reputation: 103
Hi,

First some definitions :
  • Device : Is the hardware your computer uses to output sound. In your case you have 2 devices : the intel HDA and the Audigy. (If you have a separate graphic card with HDMI output, you might have a third.
  • Alsa : is the layer through which applications talk to the hardware (devices). but its a bit more then that : with proper (read complex) configuration you can do wonders with it (upmixing, bridging ouptputs...). Big downside : any device can be used by only one application at a time.
  • Pulseaudio : is a sound server. its a layer (completely optional) that sits between applications and ALSA. It can do everything ALSA can and a bit more. And since it sits between ALSA and the applications it can mix streams : many apps can play at the same time.

I suspect that the non-kde applications are trying to use the sound devices for themselves, thus not allowing anyone else access. Maybe even trying to use the wrong device : if you set the sound preferences using KDE, it will unfortunately only apply to KDE applications).

If you want easy configuration I suggest you install pulseaudio and work up from there.
if you want to configure ALSA, start with a ~/.asoundrc. Once you chew through the beginnings, it's quite simple. I had to do it, and documented my progress here.
Personnally I don't like PulseAudio, and I'd go with asoundrc;

Unfortunately this Information is all I can give you, since your description doesn't give me enough hints as to figure out what is really going on. I hope you can use all this to figure out what is going on, and maybe even fix it
Don't hesitate to post back.

Also the software has absolutely no idea whether something is connected to an audio output or not.
Theory : If a device is taken by another application, kde can't access it and decides it can't be used => asks if you want to forget about it.

Serafean
 
  


Reply

Tags
audio, kde4, sound, soundalsa, soundblaster


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
Sound only available to one application at a time with ALSA under KDE4 on openSUSE Solar Granulation Suse/Novell 2 09-16-2011 10:18 AM
KDE4 mixer or how to set and store sound system settings jlinkels Linux - Software 5 04-16-2011 02:39 PM
Alsa / kde4 sound system messing with me! erickFis Slackware 1 06-23-2010 12:51 PM
KDE4: surround sound snoopy1 Linux - Software 0 05-18-2009 11:52 AM
[openSUSE 10.3 / KDE4] no sound as user Thora Linux - Desktop 4 04-04-2008 07:29 AM


All times are GMT -5. The time now is 04:36 PM.

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