-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The on-demand thumbnails downloader makes everything super slow when failing #17242
Comments
Haven't tested myself but apparently it also breaks achievements and overlays: https://www.reddit.com/r/RetroArch/comments/1h9za1w/the_onscreen_controls_on_ios_have_been/ 😓 edit: thumbnails2.mp4 |
+1 on this. Currently experiencing it. Not able to access http://thumbnails.libretro.com. |
I have the same issue, and since it cannot access the site, manually downloading thumbnails/boxarts/titles doesn't work either, despite showing progress in chunks of 33% then 66% for each and taking a lot of time per-game. I resorted to opening desktop UI with F5 and manually dragging the files for each, but it's extremely cumbersome and takes too long, as it doesn't support .jpg for boxarts and .png ones are only in those huge libretro console packs. |
Since all these things are tasks and there's only one thread handling tasks, any blocking networking operation will stall the entire thread. The on demand thumbnail downloader in particular is egregious about this, queuing multiple http requests. This blocks all networking, overlays, loading and saving states, etc. I have some ideas for how to fix it, and I've started experimenting with a couple. Adding another thread is a potential option but without knowledge of what type of request it is, multiple blocking networking operations can still clog all the threads. Knowing what kind of task it is, would be a breaking api change to libretro, so not really feasible. |
Incidentally this exact problem happens on iOS all the time, when it's in airplane mode. It's something I've had in the back of my mind for a long time. |
Is there an existing issue for this?
Description
At the time I'm opening this issue https://thumbnails.libretro.com is down, and I noticed it makes loading games much slower but also some other actions like loading a state or just closing RetroArch.
Here's an example:
thumbnails.mp4
edit: Here for 4.:
thumbnails_close.mp4
I use the log console to show that it takes waaaaaaay longer to close than usual (it should close almost instantly) but you can also use the task manager or whatever to see that retroarch.exe stays open for a few seconds after closing.
Note that it seems to happen ONLY if you have a game with missing thumbnail in your "History" tab.
Expected behavior
No response
Steps to reproduce the bug
Might be hard to test if the server goes back ON, I guess you could block the address in firewall or something? Idk. But anyway:
Version/Commit
1.19.1 29bee5c
Bisect Results
No response
Check in the nightly version
Yes, this is reproduced in the nightly build
Platform & operating system
Windows 10
Affected Cores
No response
Environment information
No response
Relevant log output
The text was updated successfully, but these errors were encountered: