LinuxQuestions.org
Visit Jeremy's Blog.
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 03-27-2009, 06:11 AM   #1
lugoteehalt
Senior Member
 
Registered: Sep 2003
Location: UK
Distribution: Debian
Posts: 1,215
Blog Entries: 2

Rep: Reputation: 49
Is it natural for sound to be 1 second late in KDE?


Calling anyone who uses KDE with arts sound enabled - the sound effects associated with minimising, changing desktops, etc.:

Sound lags the event, say new window appearing, by one second with KDE. Is this supposed to happen - so as I know if I should try to put it right?
 
Old 03-27-2009, 06:21 AM   #2
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,083

Rep: Reputation: 405Reputation: 405Reputation: 405Reputation: 405Reputation: 405
You can try to bypass arts and use an external player, like mpg123, play (sox), mplayer or whatever. The relevant options are in kcontrol. If that works ok then it's just arts acting up, as it usually does.
 
Old 03-27-2009, 06:57 AM   #3
lugoteehalt
Senior Member
 
Registered: Sep 2003
Location: UK
Distribution: Debian
Posts: 1,215

Original Poster
Blog Entries: 2

Rep: Reputation: 49
Thanks i92guboj. If I try sox using oss emulation with television there is a delay but the television is still just acceptable to watch/listen to. If do the same with sox but alsa then the delay is unacceptable, but probably not one second - though I'm not certain.

Upshot is I don't know if the thing has failed your test or not. I've turned arts off and do not feel the loss, as yet.
 
Old 03-27-2009, 07:05 AM   #4
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,083

Rep: Reputation: 405Reputation: 405Reputation: 405Reputation: 405Reputation: 405
So there's a delay still.

Can you open htop, top or something similar and see if there's anything eating your cpu time? What kind of hardware are we speaking of?
 
Old 03-27-2009, 07:41 AM   #5
lugoteehalt
Senior Member
 
Registered: Sep 2003
Location: UK
Distribution: Debian
Posts: 1,215

Original Poster
Blog Entries: 2

Rep: Reputation: 49
Quote:
Originally Posted by i92guboj View Post
So there's a delay still.

Can you open htop, top or something similar and see if there's anything eating your cpu time? What kind of hardware are we speaking of?
Top says load average sort of 1.5%, do not think there is anything untoward, but not a pundit. No process uses more than 1%.

Twin core AMD 64, 4G RAM.
 
Old 03-27-2009, 07:58 AM   #6
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,083

Rep: Reputation: 405Reputation: 405Reputation: 405Reputation: 405Reputation: 405
Then, if it happens the same without arts the problem must be in alsa. Maybe your sound chip is too new or not too well supported. Your hardware should be able to play anything without any noticeable delay. You can always try to update to the latest and greatest kernel version and see if that helps. Also, look in the dmesg output just in case the sound driver is spitting any useful info or error.
 
Old 03-28-2009, 07:23 AM   #7
lugoteehalt
Senior Member
 
Registered: Sep 2003
Location: UK
Distribution: Debian
Posts: 1,215

Original Poster
Blog Entries: 2

Rep: Reputation: 49
What I meant was, with arts producing sounds of breaking glass etc, for desktop events there was a 1 second (literally - it's an eternity) delay. As it happens I found out how to switch off arts after making this post and switched it off. So no desktop sound effects. The television sound latency, the only thing I could think of to do as a basis for, as you suggest, comparison, is very much shorter.

Went to elaborate lenths to get rid of tv latency, eventually using CD-cable thing from capture card to sound card. I thought it was perfectly natural to have bad sound latency with tv and alsa.

Having big trouble with mythtv at the moment, sound far to fast and high pitched, and video keeps ?skipping.
Code:
Video is 3.0031 frames behind audio (too slow), dropping frame to catch up.
mythtv
2009-03-26 06:01:14.498 AO, ERROR: Audio buffer overflow, 7996 audio samples lost!
<snip>
Perhaps related to latency problem, if you say it is a problem.

I'll try latest kernel, newer than 26. Sound card is supposed to be fully supported except for ?HDMI. Nothing I can spot in dmesg. Thanks.
 
  


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
LXer: Mr. Natural Says... LXer Syndicated Linux News 0 12-23-2005 09:01 PM
M$ Natural Keyboard TotalLinuxNoob Linux - Software 8 09-05-2005 04:38 PM
sound 2 seconds late in movies greenthing Linux - Software 11 03-21-2005 06:08 PM
Program MS Natural Keyboard mooreted Linux - Hardware 4 03-12-2004 02:24 PM
MS Natural Keyboard shusseina Linux - Newbie 9 10-02-2002 08:53 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:07 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
Open Source Consulting | Domain Registration