Rockbox.org home
release
dev builds
extras
themes manual
wiki
device status forums
mailing lists
IRC bugs
patches
dev guide
translations



Rockbox mail archive

Subject: Playing and browsing from the file browser has become sluggish on Clip+

Playing and browsing from the file browser has become sluggish on Clip+

From: Carlo via rockbox <rockbox_at_lists.haxx.se>
Date: Sun, 11 Jun 2023 13:49:55 +0200

Since the recent playlist fixes for the data abort bug 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. Older builds from before mid-january does not show this behavior
as the browsing and playing speed is fine.

For example, the "[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 or hiccups. 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 after its fix 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 for me.

I'm aware the playlist was saved in RAM before the fixes, however it always
worked fine for years without a single crash (until the data abort one),
and now I'm basically forced to use an older build on my Clip+ players as
the significant playing and browsing delays introduced by the recent
playlist changes are aggravating.

Would it be feasible to go back to the playlist code before the chunk_alloc
changes were implemented? It worked fine without bugs or other performance
issues.

Thanks.


--
Unsubscribe: http://lists.haxx.se/cgi-bin/mailman/listinfo/rockbox
FAQ:         http://www.rockbox.org/twiki/bin/view/Main/GeneralFAQ
Etiquette:   http://www.rockbox.org/mail/etiquette.html
Received on 2023-06-11

Page template was last modified "Tue Sep 7 00:00:02 2021" The Rockbox Crew -- Privacy Policy