White flicker on moving through UI after update to 4.2.3
-
@TMNTturtlguy Hah. The moment you start thinking about this at night it's when you know you're in too deep :)
Yes, at this stage it's a problem with the logos in particular - in fact, I'll be more explicit: with the fact that we load two copies of the logos in memory - one for the selected version, the other for the unselected one. But it's all a bit convoluted.
I'm intrigued by your experiments with PNGs, though. Will you send that version of the theme my way for me to test? I'd love to see if it takes up less memory than the SVG (I doubt it, if it's 1920x1080), but in particular if it's being re-used in memory.
The Re-Use SVG option is not ideal, and I'm not happy with it as it brings all these other smaller side effects into play, which I'm not that keen on having to deal with, as it feels like the end result might be much worse than the original one.
A test for you, then, if you're keen on testing:
If your PNG overlay is 1920x1080 (which I imagine it may be), why not just having a single image, without overlay? i.e. having a single full res image for the system, with the border in it? I imagine (though I'd love to check that myself afterwards) that that overlay - if full res - will take up exactly the same amount of memory as any other full-res image. So, in effect, you're loading, for every system, a full-res overlay (that may perhaps be reused), and a HD image with the background.
Just a thought, if it's easy for you to test - though I think I had sent you earlier one such theme, with a single 1080p image as background.
Thanks for the tests here.
I don't think a video is necessary - I know exactly what you mean.
I am thinking that, if we get rid of the re-use SVG option (which I'd be in favor off), I might try to implement an option to "force reload all images" when coming back from a game - if, of course, that actually solves it. :)
It'll cause the return to ES after a game to take a bit more time, but it could perhaps make things work in heavier themes? What transition are you using these days - slide or fade?
Thanks.
-
@pjft The overlay is 1920x1080 - It works because I exported the SVG file to a PNG at 1080 resolution and have not opened it in an editing program. I tired 720 and it was to "Jaggy". I will try further testing, but when i try to combine it with the main 720 image it rasterizes the border and thus we loose clarity. I also found that if my backgrounds are 1080, i cannot compress the file size below 512kb without loosing color and clarity, what we worked so hard to fix with the dithering. When the files get over 512kb I have found that performance is really bad when running more than 8-10 systems.
As for testing. I don't have a full release ready, i would like to get you an advanced copy in some way without posting a link on here, and without either of us sharing personal contact info. Any thoughts?
Edit: i need to go to a work meeting, i will be back in 2 hours and will look into getting you the theme then.
-
@pjft just tested your las build...
Is perfect for carbon theme! Thanks.
For heavy themes, you may add one flag in the theme.xml, so their authors could set the Re-Use SVG from theme...
It's just an idea...
-
@TMNTturtlguy No urgency.
I can download it from your GitHub, if you create a separate branch. No biggie. If you can't, it's also fine.
I am curious, however. Did you have a chance of trying out the 1080p version I sent you via MEGA earlier in the week - so, single image but 1080p?
I am intrigued by how much difference the file size/compression actually makes vs the resolution. If you could compare both and tell me your findings, I'd already be happy.
-
Wow I was gone a few days an already people are posting solutions. I'll try them out and post later.
-
@pjft I hadn't previously tested, but did download your files. I didn't test because a follow message said to ignore and try the SVG fixes you were working on in ES.
I did just test your 1080 version and it does not perform as well as the new option I created. I get long black screen pauses and still get the white flash on the logos. In my newest update the black screen is eliminated except for after exiting the game. Also, the 1080 theme is 320mb and my version is 50mb.
As for resolution and crispness. The line work in my new theme is much crisper than the line work in the 1080 version where the line work is merged into the background. Let me know when you are active on the forum. Thanks
-
Ok all.
New build in the same link.
Please test. Should be fixed, at least 99.9% :)
Would love your feedback and testing. So many iterations back and forth that maybe something is missing.
-
Hi all.
It seems this should now be available in the main Emulationstation release, so if you update from source in RetroPie-Setup, it should be good to go.
Do let me know if anything egregious comes up, but most changes were fairly self contained hopefully.
Hopefully this helps your bigger themes run smoother overall, even with the slide transition! And it should also get rid of those pesky ALSA buffer underruns that would sometimes crop up and freeze the CPU momentarily while navigating in ES.
Best.
-
Just tested the newest ES.
PERFECT.
But the update isn't available yet, isn't it?
Now, only the N64 freeze problem remains... Can you take a look?
When I launch one N64 rom with mupenplus64 (not lr) the system "freezes" if I enter in the runcommand option. Not really a freeze, but the keyboard does nothing.
Enter intro launch options is not possible too.
I opened another post but it does not have any reply.
https://retropie.org.uk/forum/topic/10224/runcommand-freezes-after-mupen64plus/2
-
@josete2k It should be available if you updated from source. What makes you think it isn't in the main EmulationStation?
There are no options, it's just (supposedly) fixed.
In regards to the N64, I can't say I can help with that, as I have no such experience. Hopefully someone will be able to help!
-
@josete2k N64 is a beast! Can you remind me what raspberry pi you are running? I think i remember 3B which is good.
Have you tried a different rom? there are some roms that just will not run on the pi. If you legally own mario 64 i would suggest you try to find a mario 64 rom. I have found that it runs very smoothly without any overclocking on a pi 3. If you can give me more background i might be able to help you more. I have several 64 games running smoothly, but it was a real struggle.
-
@TMNTturtlguy It's not a ROM thing. It's just that when you exit the game you are unable to get into any options in configuration that use the console, also if you drop to the command line the keyboard will not register any presses. It's odd. I just reboot after playing N64 to reset everything.
EDIT: see this thread https://retropie.org.uk/forum/topic/10224/runcommand-freezes-after-mupen64plus
-
@AlexMurphy I will have to check that out. I haven't played N64 games in awhile with all the work I have been doing on the theme, this did not happen to me in the past. I wonder if it is an emulator update issue or an update to ES that is causing this? When did you notice this starting to happen?
Also we should take this conversation to a different thread. Thanks
-
@TMNTturtlguy Can't remember at all. One thing is that mupen64plus now supports
select+start
to exit. -
I just tried the comic book theme and it does run very smooth, I do notice that if I scroll fast after I exit a game, the comic book stills in the background will be white for one sec til the background graphics load, I can still see the pane when it happens. Unfortunately the white box issue is still present for other themes that I use as well.
-
@RedBatman Update ES from source using the script. Might take around 30 minutes depending on your internet connection.
-
@AlexMurphy Where is that located? How do I update ES from source?
-
@RedBatman In the main ES menu under
Configuration
>RetroPie SetUp Script
>manage packages
>manage core packages
>emulationstation
>update from source
-
@AlexMurphy you should actually always exit emulationstation and update from source from the command line. Updating from source without exiting emulationstation can cause issues and you may run out of memory.
-
@TMNTturtlguy Yeah, sorry, I do. I always run the SetUp script from the terminal. I should have advised that. Good call.
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.