Support and General Use > Hardware
Xduoo x3
speachy:
--- Quote from: saratoga on August 29, 2018, 03:19:35 PM ---Could try some video game music. NES or SNES files are a few kilobytes :)
--- End quote ---
I tossed a couple of 25-year-old protracker .MODs on the X3, and it's puttering along with no effort whatsoever. Granted, that's a lot less CPU-intensive than decoding mp3s, but it supports the theory that the SD driver is the culprit.
The X3's jz4760's SD code was something I substantially altered from the vortex sources when forward-porting to rockbox mainline -- necessary due to the SD/storage thread rework that landed a while back -- but the result was nearly identical to the jz4740 SD driver, with the differences due to the '60 having two SD controllers & slots. Consequently, I suspect that the Onda VX7x7 and other '40 targets also share this SD problem.
speachy:
Still poking. Found out we're driving the SD peripheral off the wrong clock source and likely using the MAX divider too. Fixing that seemed to improve things marginally. Heavily updated the debug menu. Accumulating a small pile of minor fixes things here and there that should be safe to apply..
Another data point is that the player can barely manage slightly better than realtime playback if we're on the final track of a folder (with repeat off).
It could still be the threading code isn't sane; taking to long to context switch or schedule, or perhaps not managing cache invalidation sanely.
(It would be really nice if we had someone with one of the jz7440 targets that could provide additional data points...)
speachy:
Okay, found the culprit. Part of the AGPTek Rocker merge was a change that disabled compiler optimizations for libmad, thus trashing mp3 decoding performance (and smashing its stack!)
flac, wmv, m4a worked fine. (vorbis is being stupid, but I'll get to that later..)
I have a series of patches in gerrit now, awaiting review and merging. Two are essential,:
http://gerrit.rockbox.org/r/1905
http://gerrit.rockbox.org/r/1907 (EDIT: #1907 has been committed)
but I think all of the patches in that series are worth applying. I think that this fix from the X1 series is also advised:
http://gerrit.rockbox.org/r/#/c/1797/
Gerrit won't let me add any reviewers, and I have no commit rights, so this is all I can do.
wodz:
Threading error fixed in #1905 was spotted by me but who cares :-) Anyway I lost ability to merge patches from gerrit :-/
Dulus_No:
xDuoo X3-II got a Rockbox port: https://vk.com/wall-85070453_8323
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version