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
translations translations
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
| |-+  Audio Playback, Database and Playlists
| | |-+  Playing and browsing from the file browser has become sluggish on Clip+
« previous next »
  • Print
Pages: [1]

Author Topic: Playing and browsing from the file browser has become sluggish on Clip+  (Read 4489 times)

Offline Carlo

  • Member
  • *
  • Posts: 52
Playing and browsing from the file browser has become sluggish on Clip+
« on: May 25, 2023, 05:40:15 PM »
Opening a new topic for visibility as I've previously only reported this issue as a reply on my previous post about the data abort bug.

Since the recent playlist changes have been implemented, I've noticed that playing a file through the file browser from a larger directory (500+ songs) for the first time now takes several seconds of "Loading..", instead of being instantanous like before, and navigating said directories feels quite sluggish as scrolling stutters quite often.

This happens even on the most recent daily builds, tested on several Clip+ devices, and with older builds from before mid-january the browsing and playing speed is fine.

For comparison, the old "[BugFix] playlist.c DIRCACHE stop scanning when changing indices" build from 2023-01-12, which doesn't have the data abort bug, can play files from large directories and navigate their content without any speed issue. That one was the last "true" good build for me (I've resorted to going back to it on my daily driver), as the following ones either have the data abort bug, or navigating larger directories with the file browser is noticeably laggy and there's a significant "Loading.." delay when playing files.

I understand the data abort bug entailed modfying how the playlist is memorized, however after the fixes navigating larger directories and playing files from the file browser has become objectively painful.
« Last Edit: May 25, 2023, 08:26:46 PM by Carlo »
Logged

Offline rdtyphn

  • Member
  • *
  • Posts: 34
Re: Playing and browsing from the file browser has become sluggish on Clip+
« Reply #1 on: June 15, 2023, 10:33:07 AM »
I wrote about having a similar issue with my current rockboxed player (Hifiwalker H2) in the New Ports section of the forums.
Hopefully there will be a solution.
Logged

Offline chris_s

  • Developer
  • Member
  • *
  • Posts: 299
Re: Playing and browsing from the file browser has become sluggish on Clip+
« Reply #2 on: June 15, 2023, 01:35:40 PM »
Quote from: Carlo on May 25, 2023, 05:40:15 PM
Since the recent playlist changes have been implemented, I've noticed that playing a file through the file browser from a larger directory (500+ songs) for the first time now takes several seconds of "Loading..", instead of being instantanous like before, and navigating said directories feels quite sluggish as scrolling stutters quite often.
I could be wrong but that feels like two different issues. Removal of in-RAM directory playback shouldn't have caused sluggish directory navigation?
Logged

Offline Carlo

  • Member
  • *
  • Posts: 52
Re: Playing and browsing from the file browser has become sluggish on Clip+
« Reply #3 on: June 17, 2023, 08:33:17 AM »
I can't rule out that the sluggish navigation is caused by a separate issue from the aggravating "Loading.." delay when playing a new file. The only thing I can say is that the playlist behavior and performance was absolutely flawless before the changes in mid-january and the subsequent introduction of the data abort bug and its attempted fix.

Again, I went back to using the "playlist.c DIRCACHE stop scanning" build from 2023-01-12 on my Clip+ devices, as builds that cointain the data abort bug fix are practically unusable for me.

Would restoring the old playlist code be out of question? It worked fine, I've never encounter any bug and its performance was absolutely adequate. Is there any meaningful and tangible advantage or improvement in the new code that counterbalances such an abysmal decay (at least for me) in usability?
« Last Edit: June 17, 2023, 08:36:55 AM by Carlo »
Logged

Offline Carlo

  • Member
  • *
  • Posts: 52
Re: Playing and browsing from the file browser has become sluggish on Clip+
« Reply #4 on: June 25, 2023, 04:23:38 AM »
Is there any planned fix or code rollback for the playlist performance issues introduced by the data abort fix itself? In addition to my Clip+, several older players such as Sansa E200 v1 and v2, Sansa Fuze+ and Creative Zen Mozaic took a severe performance hit, so I was forced to revert to older revisions.

The "Loading.." delay when playing files from large directories is pretty noticeable on newer devices too for me, such as my Fiio M3K and Xduoo X3ii.

Would it be feasible to at least allow users to choose if they wish to store the playlist in ram or in the internal storage? One of the strongest points of rockbox was that it gave new life to older devices with an incredibly snappy interface, while now browsing and playing audio from larger directories with recent builds is really sluggish for me.

Again, I never had a single crash or issue for almost ten years with the pre-mid january builds on several players, so even if the code for the old playlist was a bit garbled, it was nonetheless quick and bug free.

Please, let users decide if they want to store the playlist in ram or on the internal storage instead of being forced to compile builds from older releases to avoid the severe performance hit from the new playlist behavior.

Thanks!
Logged

Offline rdtyphn

  • Member
  • *
  • Posts: 34
Re: Playing and browsing from the file browser has become sluggish on Clip+
« Reply #5 on: July 05, 2023, 01:24:51 PM »
I also noticed that on my Xduoo X3ii navigation was very sluggish. It was one of the reasons I switched to a hifiwalker H2 but now it's affected by the crashing.

How did you find builds dating back to that time? Until these issues are fixed I'd like to do the same for my devices if possible.
Logged

Offline Carlo

  • Member
  • *
  • Posts: 52
Re: Playing and browsing from the file browser has become sluggish on Clip+
« Reply #6 on: July 06, 2023, 08:44:19 AM »
I'm compiling the source code from a specific git commit, 00c7817c9c326368c2cd89f1e786584283935c9c from 2023-01-12 ("[BugFix] playlist.c DIRCACHE stop scanning when changing indices"), the last bug free one without the massive performance problems introduced by the playlist fixes.

I don't mean to sound ungrateful or unappreciative for all the hard work the devs devoted to the Rockbox project, however all the recent playlist changes should be scrapped and the old code reverted back. The old playlist code was working fine, the new one has severe performance issues even on modern devices without any tangible advantage for the users.

Please, devs, don't ruin Rockbox for all of us!
Logged

Offline rdtyphn

  • Member
  • *
  • Posts: 34
Re: Playing and browsing from the file browser has become sluggish on Clip+
« Reply #7 on: September 18, 2024, 09:20:46 AM »
Any updates on this from the devs? I've been updating my Hifiwalker H2 regularly with the latest build and still have been running into these crashes.
To recap for the past year or two at times there is display corruption and player slowdown with the disk access icon constantly spinning up and eventual hanging of the player on the native port. It seems related to browsing file directories. The error says "exception" TLB refill and about four lines of numbers.

Thanks
Logged

Offline speachy

  • Administrator
  • Member
  • *
  • Posts: 656
Re: Playing and browsing from the file browser has become sluggish on Clip+
« Reply #8 on: September 18, 2024, 01:35:21 PM »
There are several folks who use this as their daily driver with no issues, so we're going to need way to semi-reliably reproduce the problem you're seeing if there's any hope of intentionally addressing it.

Eg, does it happen with the latest build, stock theme, and default configuration?    If not, then which setting change leads to this?   Does the specific file(s) matter?   Has the storage device been checked for errors?  etc etc.



Logged

Offline rdtyphn

  • Member
  • *
  • Posts: 34
Re: Playing and browsing from the file browser has become sluggish on Clip+
« Reply #9 on: September 22, 2024, 11:08:05 PM »
Thanks for your reply.
It happens with the latest build. This happens exclusively with browsing the filetree. The specific files do not matter. I have checked the storage device for errors. It seems to happen when scrolling around through lots of file folders but sometimes will happen more quickly while browsing. The screen starts slowing down and showing corrupted looking text. It gets slower and choppier and impossible to browse. Then usually a crash happens. I've attached the screenshot of the crash.

* rockbox error crop.jpg (94.98 kB, 1243x946 - viewed 364 times.)
Logged

Offline Carlo

  • Member
  • *
  • Posts: 52
Re: Playing and browsing from the file browser has become sluggish on Clip+
« Reply #10 on: September 26, 2024, 08:01:08 PM »
I've tried the latest rockbox build roughly every month, but the slowdowns - and a few complete hangs (without any "data abort.." error message) - on my daily Clip+ were never truly resolved, so I'm sticking with a version that's stable for me from early january 2023.

Edit: I've just remembered that newer builds routinely crash when updating or recreating the database from scratch on my Clip+. I'm sorry to say that I've given up on updating, the old build I'm using works flawlessly for me and I'm going to stick with it.
« Last Edit: September 26, 2024, 08:06:26 PM by Carlo »
Logged

Offline rdtyphn

  • Member
  • *
  • Posts: 34
Re: Playing and browsing from the file browser has become sluggish on Clip+
« Reply #11 on: January 20, 2025, 01:44:30 PM »
Great news, I recently updated to the newest builds for the H2 player. I had some trouble updating because I kept getting a white screen on boot and updated the native bootloader several times. After using the JZtool method I was able to boot rockbox and everything seems stable. I haven't had any freezes and hangs over the past two days which is unusually good.
Thanks
Logged

Offline rdtyphn

  • Member
  • *
  • Posts: 34
Re: Playing and browsing from the file browser has become sluggish on Clip+
« Reply #12 on: March 07, 2025, 08:58:15 AM »
It started happening again with the display corruption and slow browsing.
Logged

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Audio Playback, Database and Playlists
| | |-+  Playing and browsing from the file browser has become sluggish on Clip+
 

  • SMF 2.0.19 | SMF © 2021, Simple Machines
  • Rockbox Privacy Policy
  • XHTML
  • RSS
  • WAP2

Page created in 0.154 seconds with 22 queries.