batocera-linux / batocera.linux

batocera.linux
https://batocera.org
Other
2k stars 515 forks source link

Slow Emulationstation loading on OGS (RGB10 Max) #4670

Closed superrune closed 2 years ago

superrune commented 3 years ago

Hi,

I'm not sure if this is an actual bug, but I thought I'd open up an issue anyway.

When loading Batocera on my RGB10 Max, there is a long pause at the end of loading EmulationStation. This happens after the systems are loaded, and the last item is showing ("Collections" on my machine). I timed the pause to be 11 seconds long, which is longer than loading the systems themselves. In comparison, both ARKOS and RetroOz spends less than a second at this point.

Here's a comparison of the time it takes from power on to you EmulationStation is open: Batocera: 34 secs (11 sec spent when on loading ES after systems are loaded) ArkOS: 15 secs (ES opens immediately after systems are loaded) RetroOZ: 23 secs (ES opens immediately after systems are loaded)

The systems have the same amount of ROMS (around 1000).

If there is a way to speed this up, that would be awesome :)

lbrpdx commented 3 years ago

This sounds like an EmulationStation issue, you should open it is https://github.com/batocera-linux/batocera-emulationstation (@fabricecaruso any idea?)

lbrpdx commented 2 years ago

I just made a measurement on my OGS with 13860 games on Batocera 35-dev, all stored on a SanDisk 128GB SDCard, formatted in default ext4 and network set up through DHCP:

I'm not familiar with what is loaded on the two other distros mentioned, but do you still experience boot slowness? I assume you don't have "preload UI elements on boot" and "preload metadata media on boot" in the "frontend developer options" of your "system settings" (because those two options can explain why it takes longer -- and they've changed names recently, not sure how they were called in Sept 2021).

fabricecaruso commented 2 years ago

When it's showing the last item ( "Collections" in your case ) it's in fact, spending time loading themes logos to display in the carousel... Did you compare using the same themes ( with the same sdcart type ) ?

superrune commented 2 years ago

I just updated to the latest beta version of Batocera, and there is no longer a pause after loading the systems. So all is good here now!

lbrpdx commented 2 years ago

@superrune can we close the issue then?

superrune commented 2 years ago

Yes, feel free to do so.