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!

shanrizvi 2010-08-24 11:00

Re: System Audio lag
 
It happens quite often actually. Often, the phone vibrates first and then a second or so later the tone rings. Its just horrible. People talk about multi-tasking on N900 and **** and this happens when I barely have stuff running.

slender 2010-08-24 11:04

Re: System Audio lag
 
What have you installed? (Have you touched devel or testing if so then please reflash device and reproduce issue, because if you have installed something out of extras or nokia repositories and say that device doesnt work...well you have just earned clown nose :|)

maemo-list-user-packages
in xterm
Remove all widgets

sony123 2010-08-24 22:23

Re: System Audio lag
 
Quote:

Originally Posted by shanrizvi (Post 785329)
pulseaudio is plain horrible!

I'd say it's Nokia's responsibility. They can pick and mix the components but they should make them work nicely together instead of needing users tweaking here and there to get smooth operation.

But it's all irrelevant for M5, Harmattan/Meego should (hopefully) be much more polished...

Dongle Fongle 2015-06-10 14:55

Re: System Audio lag
 
Quote:

Originally Posted by JorgeFX (Post 782426)
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

Audio stutter when using Panucci 0.99.1 (extras repo) with file on vfAt MyDocs. Your fix seems to lessen the problem a little yet not eliminate it to a acceptable audiobook reading quality level.

Overclocking did not help, problem reproducible in cssu stable, testing and thumb, all with power kernel.

The pulseaudio fix proposed here : https://bugs.maemo.org/show_bug.cgi?id=7190 apparently seems already implemented in cssu.

Anybody found another solution? Openmediaplayer does not play the files without a big gap in between the tracks.


All times are GMT. The time now is 07:32.

vBulletin® Version 3.8.8