maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Maemo 5 / Fremantle (https://talk.maemo.org/forumdisplay.php?f=40)
-   -   Stuttering audio when multitasking? (https://talk.maemo.org/showthread.php?t=56945)

ndi 2010-06-24 19:12

Re: Stuttering audio when multitasking?
 
1 Attachment(s)
Ok, ok, here it is.

ETA: Why didn't you just paste the contents above into your conf file? I pasted you the original.

Flandry 2010-06-24 19:46

Re: Stuttering audio when multitasking?
 
Quote:

Originally Posted by ndi (Post 727846)
Which bug is that? :)

:confused: The one i quoted? Did i miss something?

Quote:

Anyway, I just wanted to say that OC to 900 MHz helps none. It's not a matter of power.
If anything mine seems worse now that it goes to 810 MHz. I'd agree with that statement.

ndi 2010-06-24 20:19

Re: Stuttering audio when multitasking?
 
Quote:

Originally Posted by Flandry (Post 728022)
:confused: The one i quoted? Did i miss something?

It was supposed to be tongue-in-cheek. I meant, that describes a heapload of bugs in bugzilla.

fmo 2010-06-24 21:19

Re: Stuttering audio when multitasking?
 
If you want to see proper stuttering of the media player, try it with a bluetooth headset!

It's absolutely ridiculous, CPU usage can go up to 60% with combined pulseaudio+mediaplayer and it drops like crazy.

If you add to that the fact that playing mp3's is offloaded to the DSP that gives you an idea of how many resources it takes.

Using pulseaudio on such a low power device was a bad idea, and it shows, the device barely cope with it hence the stuttering.

Sathish 2010-06-24 21:58

Re: Stuttering audio when multitasking?
 
Quote:

Originally Posted by fmo (Post 728137)
If you want to see proper stuttering of the media player, try it with a bluetooth headset!

It's absolutely ridiculous, CPU usage can go up to 60% with combined pulseaudio+mediaplayer and it drops like crazy.

If you add to that the fact that playing mp3's is offloaded to the DSP that gives you an idea of how many resources it takes.

Using pulseaudio on such a low power device was a bad idea, and it shows, the device barely cope with it hence the stuttering.

Pulseaudio was such a pain in Ubuntu as well. At least until very recently. It has improved a lot in Lucid. To be honest, Someone from Pulseaudio actually blamed Ubuntu for poor implementation.
So, Nokia should take the blame:D

Laughing Man 2010-06-24 22:02

Re: Stuttering audio when multitasking?
 
Quote:

Originally Posted by dushkin (Post 727152)
In short, would you guys still recommend N900 as a good overall phone?

If you define phone as it makes and receives phone calls then yes. If your expecting features like groupable contacts than no.

woody14619 2010-06-25 15:12

Re: Stuttering audio when multitasking?
 
Quote:

Originally Posted by fmo (Post 728137)
If you want to see proper stuttering of the media player, try it with a bluetooth headset!

Really? That's the only way I listen to audio on my N900, and it's pretty good. (Usually with a stereo BT headset!)

Quote:

Originally Posted by dushkin (Post 727152)
In short, would you guys still recommend N900 as a good overall phone?

If you're the type to say "Hm... Why is this not working?" and look for an answer and type in a few things to fix it, yes. If you're the type to say "Dump Phone! I hate you for not working!" and smash it against a rock to try to "fix" it, no.

Quote:

Originally Posted by zimon (Post 727006)
But still I think OS should not get to state where it is unresponsive to any user input for several minutes

Careful... the UI is not the OS. This is unix/linux, the UI is a process, just like anything else, and is not part of the OS at all. You can change the priority of the UI just like you can with the audio process or anything else. (Though I don't recommend doing so.)

Quote:

Originally Posted by zimon (Post 727006)
The common thing in these lock ups were Mappero.

To be fair, it is talking to lots of things, between caching images on the file system, maybe pulling tiles over the network, checking the GPS, updating the UI... That's pretty intense.

Personally I have setup a script to launch/nice Mappero when it starts so it has a lower (if not the lowest) priority. So sometimes it pauses (usually just before a turn which it tells me of as I pass it), but the system as a whole can keep up. :)

Laughing Man 2010-06-25 15:19

Re: Stuttering audio when multitasking?
 
woody14619, mine sharing the script? I'm guessing it nices the process.

woody14619 2010-06-25 15:46

Re: Stuttering audio when multitasking?
 
Quote:

Originally Posted by Laughing Man (Post 729086)
woody14619, mine sharing the script? I'm guessing it nices the process.

Sure. I just un-linked /usr/bin/maemo-mapper (which is a link to the executable in the opt area) and made it this script:

Code:

#!/bin/sh
#
/usr/bin/nice -n 15 /opt/maemo/usr/bin/maemo-mapper


lifenexus 2010-06-25 17:51

Re: Stuttering audio when multitasking?
 
Quote:

Originally Posted by gabby131 (Post 727882)
hi!

i set /etc/pulse/daemon.conf to a certain level, my problem is, i forgot to read the default level......please! someone tell me :D Thanks!

i told u to change on value in the file to -20
it changes the nice value by default.
u can also
Code:

sudo renice -20 <process_id>


All times are GMT. The time now is 02:55.

vBulletin® Version 3.8.8