Tuomas Kulve
Line - Extra Long
 
white
line     line
line line
vline

2010 2009 2008 2007 2006 Site Admin | Log in | RSS

April 26, 2007

Maemo nicer

Filed under: Maemo — tuomas @ 10:12 pm

Playing audio on n800 on ARM side gets easily interrupted when doing other tasks at the same time. With Maemo nicer you can give your application any nice value. Running audio player with near maximum priority removes most of the annoying hickups, not all though. This works nicely for processes requiring certain constant amount of cpu time (like decoding real-time audio), but for processes taking all the cpu they can take, this is probably a bad idea.

NOTE! Maemo nicer installs a suid root binary for renicing any process.

For usage example, see kilikali’s startup script.

Click here for single click install.

3 Comments »

  1. Hi, since you are booting from mmc it can be that you are bitten by sdhc kernel bug/feature?
    http://www.internettablettalk.com/forums/showthread.php?t=6071
    Renicing mmcqd fixes audio drops for me.

    Comment by fanoush — May 2, 2007 @ 11:41 am

  2. I’ve experienced the drops when booted from flash too. And I don’t have SDHC card/kernel. E.g. opening the browser takes quite much cpu and I think that’s the cause for the drops I’m referring to.

    Comment by tuomas — May 2, 2007 @ 11:49 am

  3. Ah, it is another problem then. BTW the SDHC kernel can bring more speed to regular SD cards too since it implements high speed timing (24MHz->48MHz), in my case raw device read speed went from 7MB to 12MB/s approximately. Useful when booting from the card. http://intr.overt.org/blog/

    Comment by fanoush — May 3, 2007 @ 11:16 am

RSS feed for comments on this post.

Leave a comment

*
To prove you're a person (not a spam script), type the answer to the math equation shown in the picture. Click on the picture to hear an audio file of the equation.
Click to hear an audio file of the anti-spam equation


vline
vline vline
line line
 
 
Tuomas Kulve tuomas#kulve.fi