Rockbox.org home
Downloads
Release release
Dev builds dev builds
Extras extras
themes themes
Documentation
Manual manual
Wiki wiki
Device Status device status
Support
Forums forums
Mailing lists mailing lists
IRC IRC
Development
Bugs bugs
Patches patches
Dev Guide dev guide
Search



Donate

Rockbox Technical Forums


Login with username, password and session length
Home Help Search Staff List Login Register
News:

Thank You for your continued support and contributions!

+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  User Interface and Voice
| | |-+  Unresponsive Sansa with Frequency Scaling
« previous next »
  • Print
Pages: [1]

Author Topic: Unresponsive Sansa with Frequency Scaling  (Read 3224 times)

Offline Vortex

  • Member
  • *
  • Posts: 155
Unresponsive Sansa with Frequency Scaling
« on: July 26, 2007, 09:29:43 AM »
Hi everyone,

unfortunately the enabling of frequency scaling causes menu navigation to be extremely slow and unresponsive on my Sansa, especially when playback is not running. I guess it's because the CPU is running at a low frequency when playback is not running, causing menu navigation to be unresponsive.

Navigating through the menus is a real pain right now, especially when scrolling through large lists. Maybe the frequency scaling code should be changed to restore the CPU to normal frequency while the scrollwheel is being used or while the backlight is active or something like that. Another idea would be to power up the CPU while you are in a menu screen with backlight on and set it to "economic" mode once you return to the WPS or the backlight turns off.

Would it be possible to change the frequency scaling code like and should I file a bug report on this?
Logged

Offline cpchan

  • Member
  • *
  • Posts: 198
Re: Unresponsive Sansa with Frequency Scaling
« Reply #1 on: July 26, 2007, 11:58:27 PM »
Quote from: Vortex on July 26, 2007, 09:29:43 AM
unfortunately the enabling of frequency scaling causes menu navigation to be extremely slow and unresponsive on my Sansa, especially when playback is not running. I guess it's because the CPU is running at a low frequency when playback is not running, causing menu navigation to be unresponsive.

Which build are you using? "Frequency Scale" was disabled again a while back and a new "Scrollwheel Acceleration" code was just introduced a couple of days ago. My e280 have been very responsive.

Charles
Logged

Offline Llorean

  • Member
  • *
  • Posts: 12931
Re: Unresponsive Sansa with Frequency Scaling
« Reply #2 on: July 27, 2007, 12:10:21 AM »
Actually, frequency scaling is back in, but I find it quite responsive still. Not perfect, but that won't happen until dual core is working.
Logged

Offline cpchan

  • Member
  • *
  • Posts: 198
Re: Unresponsive Sansa with Frequency Scaling
« Reply #3 on: July 27, 2007, 12:32:28 AM »
Quote from: Llorean on July 27, 2007, 12:10:21 AM
Actually, frequency scaling is back in, but I find it quite responsive still. Not perfect, but that won't happen until dual core is working.

Ah, thanks for the info, Llorean. Just check the SVN log- it just got back in.

Charles

Logged

Offline Vortex

  • Member
  • *
  • Posts: 155
Re: Unresponsive Sansa with Frequency Scaling
« Reply #4 on: July 27, 2007, 02:00:28 PM »
Quote
My e280 have been very responsive.
Mine too, until frequency scaling was re-enabled. :(

Quote
Actually, frequency scaling is back in, but I find it quite responsive still.

I wonder if there is something wrong with mine then, because right now the speed is absolutely unacceptable. It works better when playback is running but it is very slow when playback is stopped and the CPU is running at low speed.

Quote
Not perfect, but that won't happen until dual core is working.
What about the suggestions I made in my first post. Would they not work?
Logged

Offline saratoga

  • Developer
  • Member
  • *
  • Posts: 8974
Re: Unresponsive Sansa with Frequency Scaling
« Reply #5 on: July 27, 2007, 02:05:37 PM »
That would work.  I discussed implementing it on IRC a week or two ago, and most people seemed to like the idea.  If you're interested in working on it, we'd accept a well implemented patch (IE one a little more sophisticated then just boosting when the backlight flips and unboosting when it flips off).
Logged

Offline Llorean

  • Member
  • *
  • Posts: 12931
Re: Unresponsive Sansa with Frequency Scaling
« Reply #6 on: July 27, 2007, 02:12:08 PM »
I really don't think the speed is problematic enough to warrant boosting while the backlight is on. Saratoga, have you tried a recent build?

Vortex: What theme are you using? When playback is running, about half the time it should be worse because it's unboosted and yet the CPU is in use so less is available.
« Last Edit: July 27, 2007, 02:15:40 PM by Llorean »
Logged

Offline saratoga

  • Developer
  • Member
  • *
  • Posts: 8974
Re: Unresponsive Sansa with Frequency Scaling
« Reply #7 on: July 27, 2007, 02:16:27 PM »
Quote from: Llorean on July 27, 2007, 02:12:08 PM
I really don't think the speed is problematic enough to warrant boosting while the backlight is on. Saratoga, have you tried a recent build?

I don't have a problem with it, which is why I dropped the idea.  And anyway, the idea was to boost when the controls are active, and then unboost immediately afterwards.   That way the power increase would be minimal.  
Logged

Offline Llorean

  • Member
  • *
  • Posts: 12931
Re: Unresponsive Sansa with Frequency Scaling
« Reply #8 on: July 27, 2007, 02:19:22 PM »
Minimal, but I still think it might be better to simply spend time optimizing UI code. The worst case situation is going to be during "Unboosted playback," which will go away when Dual Core happens. That leaves the worst case as "Unboosted, no playback" which for me at least is perfectly reasonably speeded right now (turning on and off boost doesn't seem to affect UI speed significantly on my Sansa.) It may be theme dependent, but if it's something that's down to that, it's very possible it can be optimized away.
Logged

Offline cpchan

  • Member
  • *
  • Posts: 198
Re: Unresponsive Sansa with Frequency Scaling
« Reply #9 on: July 28, 2007, 12:54:10 AM »
Just tested it. Mine is still very responsive while playing music.

Charles
Logged

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  User Interface and Voice
| | |-+  Unresponsive Sansa with Frequency Scaling
 

  • SMF 2.0.17 | SMF © 2019, Simple Machines
  • Rockbox Privacy Policy
  • XHTML
  • RSS
  • WAP2

Page created in 0.083 seconds with 14 queries.