maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Maemo 5 / Fremantle (https://talk.maemo.org/forumdisplay.php?f=40)
-   -   System Audio lag (https://talk.maemo.org/showthread.php?t=60134)

shanrizvi 2010-08-11 02:41

System Audio lag
 
Often, even when I hardly have any applications open, system sounds such as SMS/E-Mail ringtone come with a lag or stutter. Is anyone else experiencing the same? Is there a workaround available? Its quite bad and unimpressive!

zvogt 2010-08-11 02:47

Re: System Audio lag
 
overclocking ;-)

JorgeFX 2010-08-11 03:27

Re: System Audio lag
 
Overclocking is not the solution. Renicing processes is more viable. Thy this:

Edit the /etc/pulse/daemon.conf
change the value of nice level to -20 (the default is -11)
save and reboot

If you experience some shuttering after several hours, this can help:
sudo gainroot
killall pulseaudio

this may helps even without renicing pulseaudio. Hope thi help you!;) GOD bless you ALL!:D

shanrizvi 2010-08-11 19:01

Re: System Audio lag
 
Thanks JorgeFX, I'll try that. Just for my information, what exactly is this "nice level"? What does that mean?

shanrizvi 2010-08-11 19:04

Re: System Audio lag
 
On second thought, I suppose that is some sort of a priority setting for the pulseaudio process. Wondering whether there could be some way to prioritize the phone application so the screen doesn't stutter and slow down when you receive a call.

ddiscodave 2010-08-11 19:19

Re: System Audio lag
 
ive been having the same issue. jorge doesnt your optimise program fix this issue?

JorgeFX 2010-08-12 09:52

Re: System Audio lag
 
Quote:

Originally Posted by shanrizvi (Post 783326)
Thanks JorgeFX, I'll try that. Just for my information, what exactly is this "nice level"? What does that mean?

I found this: what "nice" in linux means is, how nice should this process be to other processes. its from -20 to 20. the smaller number means, pulse audio is not be nice to other processes and use its share of the cpu most! and u set it to -20 so its good for helping pulse audio run well;)

JorgeFX 2010-08-12 09:58

Re: System Audio lag
 
Quote:

Originally Posted by shanrizvi (Post 783330)
On second thought, I suppose that is some sort of a priority setting for the pulseaudio process. Wondering whether there could be some way to prioritize the phone application so the screen doesn't stutter and slow down when you receive a call.

Yes, it is something like that. And yes, you can do that with the phone app, but I recommend not to. It is better if you tweak the transitions because the phone app problem is related to the transitions and the phone interface, not the phone app itself. With a good transition tweak you can say good bye to that problem;)

JorgeFX 2010-08-12 10:09

Re: System Audio lag
 
Quote:

Originally Posted by ddiscodave (Post 783345)
ive been having the same issue. jorge doesnt your optimise program fix this issue?

No, my OptimizeN900 script only helps to free memory and restart some processes including the audio process and that is the reason why you all experiment some kind of fix, but that is just because all the junk that was running and eating your ram and processor's cycles are gone and the audio process is free to run like butter :D

But, like I said in several post, it do NOT fix issues that NOKIA should fix!

I'm working in other scripts the tweak some things on the device, and the renice pulseaudio process I posted here is one of the things I included;) Be pacient. Meanwhile, GOD Bless You ALL! :D

shanrizvi 2010-08-13 13:44

Re: System Audio lag
 
pulseaudio is plain horrible!


All times are GMT. The time now is 03:47.

vBulletin® Version 3.8.8