LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 05-15-2008, 11:48 AM   #1
Forgetamus
LQ Newbie
 
Registered: May 2008
Distribution: Ubuntu 7.10
Posts: 1

Rep: Reputation: 0
Why is kde4 messing with my audio?


Lately I've been occasionally having problems with audio. Suddenly sound just disappears from all programs and it has happened middle of listening some song and starting to listening some song. XMMS gives me following error:
Quote:
Couldn't open audio
Please check that:
Your soundcard is configured properly
You have the correct output plugin selected
No other program is blocking the soundcard
As it worked just a second ago (and I didn't do something that should have effected audio), first two options didn't seem likely. I searched google for some command to tell me what applications are using my soundcard and some site suggested 'sudo fuser -v /dev/snd/*' for ALSA applications. While I had no sound command gave me following output:
Code:
ignoramus@ignoramus-desktop:~$ sudo fuser -v /dev/snd/*
[sudo] password for ignoramus:
                     USER        PID ACCESS COMMAND
/dev/snd/controlC0:  ignoramus   5659 F.... mixer_applet2
                     ignoramus  11146 F.... kdeinit4
                     ignoramus  11147 F.... klauncher
                     ignoramus  11149 F.... kded4
                     ignoramus  11152 F.... kio_file
                     ignoramus  11312 F.... knotify4
                     ignoramus  30677 F.... xmms
/dev/snd/pcmC0D0p:   ignoramus  11146 F.... kdeinit4
                     ignoramus  11147 F.... klauncher
                     ignoramus  11149 F.... kded4
                     ignoramus  11152 F.... kio_file
                     ignoramus  11312 F.... knotify4
/dev/snd/timer:      ignoramus  11146 f.... kdeinit4
                     ignoramus  11147 f.... klauncher
                     ignoramus  11149 f.... kded4
                     ignoramus  11152 f.... kio_file
                     ignoramus  11312 f.... knotify4
When I killed kde applications, sound returned.

Later when xmms was on and I had sound, same command gave following output:
Code:
ignoramus@ignoramus-desktop:~$ sudo fuser -v /dev/snd/*
[sudo] password for ignoramus:
                     USER        PID ACCESS COMMAND
/dev/snd/controlC0:  ignoramus   5659 F.... mixer_applet2
                     ignoramus  23918 F.... xmms
/dev/snd/pcmC0D0p:   ignoramus  23918 F...m xmms
/dev/snd/timer:      ignoramus  23918 f.... xmms
I mainly use gnome, but I have kde4 installed because I use some kde applications. This problem began some months ago (March or late February, I think) and I installed kde4 in January. I had had kde 3.5 before with no problems.

Are there 'cleaner' methods to solve that problem without needing to hunt every kde4 program and kill it? What's exactly causing this problem? Is there something to do to prevent this problem occurring again (without removing kde4 completely)?

Last edited by Forgetamus; 05-15-2008 at 11:50 AM. Reason: typos
 
Old 05-16-2008, 10:15 PM   #2
Emerson
Senior Member
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~
Posts: 3,177

Rep: Reputation: Disabled
Welcome to LQ!

I'd try and disable KDE sound daemon aRts. ALSA does good job nowadays, and probably you have Gnome sound daemon running, too. KDE works fine without aRts, just configure all apps to use ALSA.
 
  


Reply


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Messing with crontab nutthick Programming 5 04-22-2006 07:42 AM
Messing with NTFS dinkydarko Linux - Newbie 9 11-23-2004 11:21 AM
Anyone messing with Core3 yet? ArenaJAG Fedora 4 08-06-2004 05:27 PM
X is messing with me, or something is... Starchild Linux - General 2 09-27-2003 03:44 PM
RH keeps messing up...:( floyes Red Hat 4 09-06-2003 03:36 PM


All times are GMT -5. The time now is 06:37 PM.

Main Menu
Advertisement
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