ES Gamelist Scroll Bug - Black boxes appear when rapidly scrolling through the game list
-
@KazanTheMan what is the theme supposed to look like when displayed correctly? It appears you are trying to render the text over an image? What version of retropie and emulationstation are you running? First guess might be to modify your your VRAM up or down and see if that helps. It could be a memory issue when scrolling quickly and trying to render the text and images on top of each other? Try testing by increasing the vram by 10 each time until you get to 130 or 140, if that doesn't work try going down by 10 to as low as 60 or 70. I would suspect going up might be better? Do you get a lot of white flashing screens if you switch from system to system?
Another test I would run is simply moving the text postituon in one is the system theme views and see if it occurs when you have all of the images and text on screen, but not on top of each other.
The last thing I would look at is file sizes of your images. You are showing a lot of images on each view, how many kbs? Are they all meta data images from your game list or are they individually patched images? Maybe sharing your theme.xml might help some trouble shooting?
-
@TMNTturtlguy Correctly displayed, the video/detail view should look like this: http://imgur.com/YxqTp6p
On Windows, ES 2.1.5rp. On my RPi3, 4.2.2 updated from source as of April 15th, with ES 2.1.6rp.
I will try the vram changes, but seeing as how the issue occurs on both PC and my RPi version of ES, I do not believe vram to be the issue. I will give a go at moving the elements around to see what happens when they are not overlapping, that sounds like a strong possibility, but as I said I can replicate this across multiple themes, not just mine. It just seems to be most severe with my theme, so the overlapping elements could be playing a role.
The total file size for theme element images is 857kB, system logos add another 10kB per system, and the system image in the background is approximately 900kB for each system, at a maximum. The other images like logos and screenshots are all scraped data provided by metadata tags, and including the mp4 video, adds another 750-900kB.
If you'd like to take a look at the theme to troubleshoot, it can be found here.
-
@KazanTheMan have you considered crunching the .png images in SteamBP-master/_inc/images? not sure, but it can reduce the total size (from ~892K to ~492K) and may help with those artifacts. all the system-image.png files are also pretty hefty, i managed to shave off up to 10% of those with trimage, but there are likely other apps that might be better/more up-to-date out in the wild.
-
I have the same issue with the theme I made. It disappears after reboot, but returns with quick scrolling through games.
-
I just tested a version of my theme with no images included, so the only images being displayed were the ones that emulationstation itself forces display of, namely md_image, md_video, md_marquee, and system logos. Screenshot: http://imgur.com/duTH2SM
It happens with the simplebigart theme as well: http://imgur.com/QurXD5L http://imgur.com/Sz2oyDQ
At this point I don't believe it is an issue with my theme or my system as I can replicate it across multiple systems and themes. Interestingly, themes that hide metadata texts by placing them at 1,1 don't have this issue, likely because the artifacts seem to always render below and/or to the right of existing text. I'm going to submit an issue for this on github at this point.
-
@KazanTheMan I was also able to recreate this on all of my themes today on the newest updates. It only happens to my "md_description" the other metadata on mine is fine. The crazy thing is that once it happens, it stays there for that entire system, but not the others. Once you go back to the system, the shaded box is still there. Once you enter a game, and then exit, back to normal. Definitely something going on with the latest update.
-
@KazanTheMan I am working on a fix for this. Hoping to finish it up this weekend.
-
@jdrassa Just an update on this, you may already be aware this happens, but I am also getting the dark black overlay on the md_description randomly on exiting games. I can't put a finger on what causes it, but every 5th or 6th time i exit a game, the description gets the black overlay, just like when you scroll quickly. Thanks
-
The fix for this was merged into the RetroPie repository last night.
-
@jdrassa awesome! is this an ES update?
-
@TMNTturtlguy Yes. You may need to do an update from source though.
-
-
@jdrassa Thanks for the quick fix. Props to you.
-
@TMNTturtlguy Thanks for the note.
There's no need to share the code - as soon as it's accepted to the main repository I'll just update from there.
Thanks.
EDIT: Oh, I see it's already accepted. I'll look into that in the coming days/weeks.
-
@TMNTturtlguy could you check if in the latest, updated from source, main ES the lower ribbon in system view is showing up (the background of the "xxx games available" text)?
It's not showing for me in your theme at the moment, after I merged the latest ES changes, so wanted to check if it's my merged version that's broken or the main one.
I know it used to show!
Thanks!
-
@pjft I will look at that when i get a chance and get back to you. I bet i know what the issue is....is the games available text in the comic book font?
I tried to implement the new carousel feature into the theme, but i couldn't figure out the <feature> tag for the carousel, since then i have a thread on how to do that, just haven't had time to implement it yet. SOOOO instead i worked with @modmaster who was running an older version of ES without carousel support. We found that i was able to modify the games available text line with a new font but not the color of the background. What happened was on my updated build, i see the comic font and the standard grey translucent bar. @modmaster would see the standard text with standard grey translucent bar. If i tried to change the color of the background of the bar to a white to match the background bar behind the system logo, it would work prefect on my build with carousel support, but on the previous version that @modmaster ran he would get the white screen block letter systems view.
Long post, sorry. I will test on my end later. In the mean time, you could go into the comic_book.xml and the following right below <text name="systemInfo">. this should correct the issue. Note, i believe 99 is the correct opacity for the bar, but you could try 90 instead.
<backgroundColor>ffffff99</backgroundColor>
Here is the entire block
<text name="systemInfo"> <backgroundColor>8d8d8d50</backgroundColor> <color>000000</color> <fontPath>./art/Shaka_Pow.ttf</fontPath> <fontSize>0.035</fontSize> </text>
-
@TMNTturtlguy I see. Yes, it's that text, though Carbon still renders as expected. Could be that, then.
I can't test right now, but if you feel you may know what's happening, then I'll leave this here and you then let us know if it's happening in the main ES, and if that's the theme's problem, the main ES's problem or if it just happens on my merged version (which I haven't yet shared a binary of, but I may share with you a way to get it from the source, if it helps).
Thanks. Hope you're doing well.
-
@pjft Test results using the posted version of my Comic Book Theme:
Running ES V2.1.6RP-OMX-MERGED from the Apr17 file - I have a grey bar that is transparent and has comic book style black words "XX GAMES AVAILABLE". So on your build prior to what you are modifying now, my theme code works correctly and the bar shows up. (doesn't mean that the code is the correct one to use though!)
I didn't have the updated ES from @jdrassa installed on my "testing" build yet, so i started an install from source. I have been stuck at 81% for about an hour now. Every 5 minutes or so the green light on the pi flashes a few times, otherwise it is just on solid. I am going to leave it run while i get some sleep and if it finishes i will update in the morning. If not, it looks like i will do a fresh install of everything and then let you know! (p.s. my test build is on one of the 128 cards i was working with before, so glad that I have converted my actual systems over to the smaller cards and USB!)
-
@TMNTturtlguy thanks for the time. If it's too much effort, don't worry, I'll test it out in the coming days. Thanks for looking into it!
-
@pjft No problem testing on my end. The update from source stalled out for 5 hours at 81%, but the good news is the card booted back up, so i am attempting it once again. 5 minutes in and we are at 23% and running. I am glad to do all the testing you need as you are more than overly helpful for with all my problems, issues, and requests! Keep the testing requests coming!
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.