New "Black Screen of Death"
-
@pjft said in Video Preview in EmulationStation:
@hansolo77 OK, that's as up to date as it gets.
Could you move the conversation to a separate thread and add me to it, as this is not related to this topic anymore?
Any emulators you notice this happening with? Does it also happen with any other theme?
Thanks.
Thanks for helping me out. At the moment, I started noticing it when I was coming back from playing Sonic CD on the Sega CD. Picodrive is the emulator. The problem originated from my attempts to scrape videos with UXS. All my other systems worked fine, but Sega CD and PSX were giving me multiple entries of games (because of how it was finding the files). I managed to get Sega CD working the way I like it. Tested a game to make sure it still works. When I backed OUT of the game and returned to EmulationStation, I just have a black screen.
The new version of ES seems to render out a black screen as part of it's start up process too. I don't know if that's related or not. I created a boot up animation that finishes on the classic white background and the ES logo saying "loading". Now it boots into a black screen with the "loading" logo, and doesn't match my animation. This is trivial, but something I noticed.
I also noticed there is that VRAM setting in EmulationStation. I never noticed that before. If it's new, I adjusted it up to 1000mb (or whatever the highest setting is). Should I change that back to the lowest (far left) setting? I did change that before noticing issues..
As to your other questions.. I've not tried any other emulators/systems yet, and I'm experiencing this on the Carbon theme. I don't have any other themes installed, since the memory capacity was preventing me from having more than 10 systems installed (where I have 13 right now).
-
@hansolo77 please set your vram back to 100 and res start your system. Do a full system restart, not jus ES. I am also assuming that you have reduced all of the video sizes to 320x240 @ 30fps. Give that a try and report back.
Edit: the black Es splash screen and the black screens instead of white is an intentional update. That is showing correctly.
-
I will try that... as for resizing.. I didn't do that. I kept it at 640x480 but set the FPS to 30. It definitely fixed the pixelated GREEN videos from before.
-
@hansolo77 I think we had this in another post early this weekend? You are experiencing issues because the VLC player can't handle the videos larger than 320x240 @ 30fps. That combined with the VRAM set to high are causing all of your issues. Vram should be at 100, if it needs to be changed at all the range should be from 70 - 120.
All this being said, a new OMX player update was just committed by @pjft which will greatly improve video performance. I would still make your videos 320x240 anyways.
-
Ok, I will try to reduce the resolution down to 320x240. I just tested NES (rather than Sega CD) and it does the same thing, coming out of the system to a black screen.
-
Does it matter if I have the transition set to fade or slide? And should I have the view set to Automatic, or video? Does automatic fallback to image if there isn't a video?
-
@hansolo77 fade always runs smoother than side if there are memory issues, however i am able to run the comic book theme with a ton of videos and a ton of systems at 100 VRAM and slide transitions.
Automatic will allow the system to show video view if video is present or detailed view if no video files are present. Video forces all views to video, detail forces all views to just images even if videos are present.
Edit: how many videos do you have? It appears you are having memory issues when exiting the games.
-
"TONS" of videos. a video for each rom, complete romsets for many systems. I'm on vacation this week, so I'M sure I'll have it cracked soon.
-
@hansolo77 certainly reducing video size will help, as @TMNTturtlguy states. That being said, if you update from source now you'll be able to enable OMX player which may save you that trouble. That being said, it's certainly good practice to reduce them to 480x360@30 fps or lower for the Pi.
VRAM should be at 100, yes, and it did help, as updating Carbon from source as well. You may need to do this separately in RetroPie Setup as I'm not sure whether updating all packages updates the theme.
I'd try another theme as well just to narrow down where the problem might be.
-
It's going to take quite some time to batch process all systems to get their video sizes down. It's a shame there's no easy way to automate it. I have to transfer the videos over to my computer, 1 system at a time, then go through and load them into a batch for processing. My computer isn't all that fast so it's taking about 2 hours just for Atari 2600. So for me to be able to test and see if that solution works will be a couple days at least.
In the mean time, I will attempt to update EmulationStation from source and see if the OMX player helps. How do I go about "enabling" it as you say. Is it obvious from within RetroPie's menus, or do I have to do some manual ini/xml editing? Also, how do you update a theme from source? As I recall, the current version I'm using I got as a zip I had to manually put inside a themes folder.
Thanks for your help though guys. We'll get there eventually!
-
@hansolo77 OMX player should be in other settings or video settings within emulationstation.
I don't quite recall how to install themes from source - I believe there's an entry in RetroPie Setup, but downloading it from the GitHub repository and unpacking will also do the trick.
-
@hansolo77 Themes are available through the retropie menu. Go to retropie and there should be an option of ES Themes. Select that and then you can install, update and uninstall from the menu. Or as @pjft has said, you can just download the zip from github.
Another suggestion. Since you are pulling all of the videos off of the Pi to downsize, save a copy to your computer or an external hard drive. That way in the future you do not have to worry about pulling them off to modify them. I have a copy of everything on my pi on an external hard drive. I can then modify them, delete what is on my pi and put the new stuff on. It is also a good backup.
-
That's actually what I'm doing.. I'm keeping the original size and the resized on a spare drive in my computer.. that way if OMX player DOES solve the problem, I can just put those originals back.
I will attempt to update the theme after I get all the videos resized.
-
So here's some interesting developments...
I updated EmulationStation from source to get the OMX update. That seemed to completely eliminate all the problems with the video playback I was having (green, pixelated, etc). It also fixed the ALSA underrun error I was having. I haven't completely resized all my videos yet. Only the Atari's are done right now. But N64 and PSX were really bad with the video corruption, and it's completely fixed now.
I also updated the Carbon theme. I still get the "black screen of death" when I return from games. I tested it on different systems and even tried the 4 other themes I have installed (although none of them have been updated to support videos yet). So even THOSE these, using static images, returned me to a black screen.
I think whatever fix @fieldofcows did to ES got omitted in the most recent updates, or isn't working anymore. It's doing the exact same thing it was doing before.
-
@hansolo77 that should not be correct, but there's an easy way to test that: you can download and install one of the fieldofcows binaries and see how it goes for you, and report back.
Have you reverted VRAM to 100?
-
Yes I'm at 100 VRAM.
How do I get and install one of the binaries? -
@hansolo77 in the thread you previously posted at, there should have been a link in the first post about how to install them. What build were you on beforehand? Version number?
-
I'm not sure actually. I just blindly updated. :(
-
@hansolo77 :)
OK.
What Pi are you on? Pi 3, I believe?
Could you do the following: after returning from a game and getting that black screen, could you exit emulationstation and check what's the content of
~/.emulationstation/es_log.txt
?
Could you send it over?
I'm actually not on my pi at the moment, as I'm traveling for work today, but I'm thinking there may have been a new change just this weekend that may be causing this.
@TMNTturtlguy could you - or anyone else - update from source and test the same steps? It might be that this actually is more widespread after this weekend.
-
@hansolo77 so I put just tested out my theory about you running out of memory due to "too many video files causing you to run out of memory". I created a system with 150 videos at 320x240 and then I copied that multiple times in es_systems. At 10 systems I ran ok, at 16 systems I started having issues with the video and other md_images not showing up on exit. If i back out to the main system screen and go back into the game select menu they are back. At 18 systems I started having a bigger slow down in performance than expected. Then I ran this same test on another pi with another sd card. I noticed much less slowdown, but at 18 systems the meta data images still loaded slower. All of my tests were using the comic book theme running a VRAM of 100, no overclocking, omx video player, videos at 320x240 @ 30fps.
I wonder if you would be kind enough to create a copy of your es_systems.cfg file and reduce the number of systems you are loading to test performance.
Edit just to clarify I did not update from source to test this, and I am just leaving home, so can't test now. Also note that he @hansolo77 has been having these issue prior to the updates pushed this weekend. I and others have been replying to multiple posts since Thursday or Friday. Thanks
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.