-
Notifications
You must be signed in to change notification settings - Fork 9
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
Launching Emulationstation blanks the screen #2
Comments
It's perfectly fine to open an issue here! |
The setup is a bit... interesting. Basically, it's the clockwork-debian base setup from https://github.com/wolfallein/clockworkpi-debian (with some patches to make it work right), layered with the things to get godot to work and get RetroPie to work. I don't have a good step by step yet. I did manage to get EmulationStation to show up, compton wasn't starting right due to a missing library. But when Emulationstation exits, it still doesn't go back to the launcher right. I think that something is happening with the window manager trying to change to the launcher window, which is what's spitting out the "X error code 2 detected" I also think that's coming from the "Native" library in the |
Alright, so, compton is compiled from source, unchanged: https://github.com/chjj/compton Yes, the issue comes from the native library, seems like the unmapping of the terminal window caused the crash.
Seems that when you kill EmulationStation the launcher tries to give focus to the Terminal window first, then fails to give it back to the launcher. Right now it's a bit inconvenient for me to test and fix this, but it's something to come back to in the future for sure. |
I had the same thought you did, so I took the terminal out of the equation. So now, ES.sh runs emulationstation directly. The same behavior is present. I don't mind giving it a try to test and try to fix and submit a PR. Coding doesn't scare me a bit. Just need the source and build scripts. Another point that might be relevant, I can't seem to get the launcher's top and bottom bars to pop up when in emulationstation, but that could be a separate issue, which I also don't mind helping with. |
I updated the repository with the source code of the native library and with basic instructions in the README, even though I'm not sure whether the procedure will work without issues. It is quite messy right now, but at least it's there. I'll surely have to do a cleanup. |
I'm glad to help if I can and if you are cool with it. |
Sure! The project is open source for exactly this reason! |
@uberlinuxguy I updated the native library contained in the repository. I don't know how outdated it was as I'm committing from my Windows pc and I usually don't have the latest version of the armv7 compiled version locally. |
I am not sure if you want me to open this as an issue here, and if not, that's ok.
I have been playing with launching Emulationstation from within your launcher, as I had mentioned I would do on the clockworkpi forums. Emulationstation will launch from X by itself, but when I try to launch it within your launcher, it seems to switch right, but it blanks the screen. Killing emulationstation doesn't return it either, you have to restart X. Right now, it runs from a gnome-terminal session because I have been playing with retropie which needs a terminal in the background for some things. I can run it without the terminal and it does the same thing.
Here is a readout ofthe log from the launcher
Let me know if there's anything else you would like to see.
The text was updated successfully, but these errors were encountered: