This is the bug/patch tracker for Rockbox. Click here for more information.
Quick links: Bugs · Patches · Rockbox frontpage
FS#6849 - Optimize Bubbles speed using cpu_boost
Attached to Project:
Rockbox
Opened by Jonas Hellesøe Nielsen (jonashn) - Sunday, 18 March 2007, 16:03 GMT+2
Last edited by Marianne Arnold (pixelma) - Saturday, 08 December 2007, 10:32 GMT+2
Opened by Jonas Hellesøe Nielsen (jonashn) - Sunday, 18 March 2007, 16:03 GMT+2
Last edited by Marianne Arnold (pixelma) - Saturday, 08 December 2007, 10:32 GMT+2
|
DetailsMany people dont like the fact that when they play music, Bubbles runs very fast, and when the don't, it's much slower.
Personally i don't like it, and the reason to the speed difference is that Bubbles doesn't boost the cpu like many other speed-requiring plugins do. This extremely simple (6 lines added!) patch just boost the cpu upon initialization and unboost (or actually it does't unboost, it just tell rockbox tha it don't need more boost, but if fx. playback still need boost, it will still be activated) it when exiting. (This is my first patch, hope i did it the right way) |
This task depends upon
Closed by Marianne Arnold (pixelma)
Saturday, 08 December 2007, 10:32 GMT+2
Reason for closing: Rejected
Additional comments about closing: Not the right fix, please rather file a bug report or a feature request.
Saturday, 08 December 2007, 10:32 GMT+2
Reason for closing: Rejected
Additional comments about closing: Not the right fix, please rather file a bug report or a feature request.
Anyway, I'm not sure if it's the best solution to simply boost the cpu -- shouldn't it be possible making bubbles respecting the actual cpu speed?
Arrh- just read the CONTRIBUTING-file 3'rd time, and still forgot the tabs:D
It sounds like it's running too slow when not boosted, rather than too fast when boosted. I haven't noticed this personally, but I don't really run bubbles. But the case may also be that bubbles just can't run fast enough while music is playing, while unboosted (at least on iPod and other PortalPlayer targets this seems possible) which would suggest either it needs optimized, or it actually needs boosting. (Of course, once whatever's hindering Dual Core from doing the magic it should be doing gets cleared up, this may be a non-problem.)
So, anyway, when music is not playing, is it as fast boosted as unboosted?
- it was never the right fix, I'd rather see a feature request (that bubbles maybe other plugins as well should be able to skip frames if drawing can't keep up) or a bug report
- with the recent lcd speedups (on many targets) I guess that this problem is not that visible or even present anymore but I don't have an Ipod Video where it is/was most apparent probably.
I will wait one week for an answer; no answer means I'll close it, with an answer I'll decide dependent on that.