attract icon indicating copy to clipboard operation
attract copied to clipboard

Image load delay on the Raspberry Pi 4

Open multigamesystem opened this issue 4 years ago • 5 comments

Ive been noticing a new bug with the latest build of Attract Mode running on the Pi4.

With the Robospin theme image layers load in a delayed or sluggish manner when loading a layout.

Once the layout is loaded into cache it loads fine when pulled back up until the cache is reset or the system is restarted.

The images load in order according to their file size. Similar to how an old webpage would load on a slow internet connection.

Here is a video of the bug in action. https://drive.google.com/file/d/15_aRsenj4Mg1dJ12rVMAuurZFYmw_SD0/view?usp=drivesdk

multigamesystem avatar Oct 16 '20 23:10 multigamesystem

Duplicate of https://github.com/mickelson/attract/issues/641

oomek avatar Oct 16 '20 23:10 oomek

Duplicate of #641

I saw that but wasn't sure if it was the same issue.

multigamesystem avatar Oct 17 '20 00:10 multigamesystem

Same thing, a deferred image loading on a separate thread. if the image is not able to finish loading on the same frame it's blank until you start changing the properties of the image which forces binding of a newly loaded texture.

oomek avatar Oct 17 '20 00:10 oomek

I've been trying to discuss with Andrew the possibility of deferring FromOldSelection transition until all images are loaded, but haven't heard back from him regarding that.

oomek avatar Oct 17 '20 00:10 oomek

I've been trying to discuss with Andrew the possibility of deferring FromOldSelection transition until all images are loaded, but haven't heard back from him regarding that.

Thank you for your quick response and efforts.

multigamesystem avatar Oct 17 '20 00:10 multigamesystem