maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Development (https://talk.maemo.org/forumdisplay.php?f=13)
-   -   Porting rockbox to n900 (https://talk.maemo.org/showthread.php?t=66896)

thomasjfox 2011-07-07 15:18

Re: Porting rockbox to n900
 
Quote:

Originally Posted by shanttu (Post 1046392)
Hi. Thanks for porting my favourite player. I have to raport, that using Rockbox eats 100% of cpu, no matter which clock frequency I use. Equalizer is not modified. Any suggestions to see what could be wrong?

Go to this menu:
"System > Debug > "View OS stacks". The "codec" thread should show an "*" from time to time, "tagcache" occasionally, too.

Is there any thread constantly popping up?

Does the CPU load change if the display is switched off/rockbox is running in the background?

shanttu 2011-07-07 16:39

Re: Porting rockbox to n900
 
Quote:

Originally Posted by thomasjfox (Post 1046441)
Go to this menu:
"System > Debug > "View OS stacks". The "codec" thread should show an "*" from time to time, "tagcache" occasionally, too.

Is there any thread constantly popping up?

Does the CPU load change if the display is switched off/rockbox is running in the background?

Codec varies quickly between T and R* constantly consuming from 40 to 86% stack usage (also when playing is stopped). When I stop playing, Audio uses 48% stack (!). Nothing special popping up.
Same behaviour continues when running on background / display off.

thomasjfox 2011-07-08 18:16

Re: Porting rockbox to n900
 
Quote:

Originally Posted by shanttu (Post 1046487)
Codec varies quickly between T and R* constantly consuming from 40 to 86% stack usage (also when playing is stopped). When I stop playing, Audio uses 48% stack (!). Nothing special popping up.
Same behaviour continues when running on background / display off.

The stack usage is fine. Rockbox uses fixed-size stacks internally, this is unrelated to CPU usage.

What kind of files do you play back? 320kbit MP3s or FLAC?

shanttu 2011-07-10 19:03

Re: Porting rockbox to n900
 
Quote:

Originally Posted by thomasjfox (Post 1047227)
The stack usage is fine. Rockbox uses fixed-size stacks internally, this is unrelated to CPU usage.

What kind of files do you play back? 320kbit MP3s or FLAC?

For some reason unwanted behaviour has not occured this weekend. Before reporting I did reboot several times and played different albums. Even though I'm glad of this result, it would have been nice to know what was the cause. Thanks for your replies and please keep maintaining our N900 awesome device.

AgogData 2011-07-10 19:45

Re: Porting rockbox to n900
 
what does the batch in the first post do ? is it necessary ?

thomasjfox 2011-07-11 15:23

Re: Porting rockbox to n900
 
Quote:

Originally Posted by AgogData (Post 1048440)
what does the batch in the first post do ? is it necessary ?

Not anymore, just install from extras-devel :)

Drekkie 2011-08-15 21:26

Re: Porting rockbox to n900
 
Any plans for porting rockbox to meego/harmattan? I noticed in the "N9 is finally here" thread, anecdotes that gapless playback is STILL not part of the stock media player (which is pretty unbelievable to me).

So gapless fans will still be looking for a media player alternative in the N9, apparently. Rockbox still seems like the best one for the N900 so was just curious if it looked like a possibility to port it there (or if anyone knows alternative gapless players for the N9, but it's probably premature for that).

Estel 2011-08-16 01:44

Re: Porting rockbox to n900
 
I would rather like to see developers time used to improve existing version (it's still not finished, right?), rather than used to backup Nokia new "let's ripoff customers and close project" toy...

But, of course, it's always developer decision what she/he do with her/his free time.

thomasjfox 2011-08-16 19:05

Re: Porting rockbox to n900
 
Quote:

Originally Posted by Drekkie (Post 1070710)
Any plans for porting rockbox to meego/harmattan? I noticed in the "N9 is finally here" thread, anecdotes that gapless playback is STILL not part of the stock media player (which is pretty unbelievable to me).

So gapless fans will still be looking for a media player alternative in the N9, apparently. Rockbox still seems like the best one for the N900 so was just curious if it looked like a possibility to port it there (or if anyone knows alternative gapless players for the N9, but it's probably premature for that).

Well, there is already a rpm .spec file for rockbox and I'll pick up an unused N900 from a friend soonish. Let's see where this leads to. Don't hold your breath ;)

Dunno if it would be any use on the N9 without a keyboard, it's certainly not optimized for that yet.

MikeCC 2011-09-15 19:34

Re: Porting rockbox to n900
 
1 Attachment(s)
I tried to build a N900 skin for the Rockbox. The base is the Cabbie V2.0 mixed with some elements from the Maemo Media Player.

http://i55.tinypic.com/5cerkg.png
http://i52.tinypic.com/2dhd5l5.png
http://i53.tinypic.com/2mxr4es.png

Unzip the attached cabbie2a.zip into /opt/rockbox/share/rockbox
Fonts: converted from the Nokia fonts. It seems the filesize in rockbox/fonts is limited, so take care if you have already large fonts there to delete some.
Icons: would be nice if they could be larger. But I had to find out by try and error they are limited to 24x24 pixels.
Volume: It seems the change of volume is not recognized in that Rockbox port.
Battery: I was not able to visualize if the charger is plugged in. Maybe my mistake, the rockbox wps/sbs language is very "compact".
Close of the Rockbox: It seems there is no action "shutdown" or similar which can be used in the GUI. My workaround is
a) Click the powerbutton (only a short moment) -> Rockbox disappears to the background after 3 seconds and can be closed via Taskswitcher
b) set in Settings/ General Settings/ System/ Idle Poweroff to 2 min or something else. If the playback in Rockbox is stopped and you don't do anything else it's switched off after 2 minutes.

OK - there is still a lot to do. The main issue is the missing close action. Other open issues are
- FM receiver
- Equalizer GUI
- Playlist GUI
The non plus ultra for me would be a button to activate the N900 FM transmitter in the Rockbox!

But all in all it seems the current Rockbox is already good enough to move this thread from "Development" to "Multimedia"?


All times are GMT. The time now is 15:08.

vBulletin® Version 3.8.8