Skip to content
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

Black screen after resuming SDL2 application on Android #11878

Open
MVoloshin opened this issue Jan 7, 2025 · 4 comments
Open

Black screen after resuming SDL2 application on Android #11878

MVoloshin opened this issue Jan 7, 2025 · 4 comments
Milestone

Comments

@MVoloshin
Copy link

Hello! I've tried to build Bochs for Android with SDL2 (UI code looks like this: https://github.com/bochs-emu/Bochs/blob/master/bochs/gui/sdl2.cc).
Application runs fine, but if I minimize application and then restore it or put my screen to sleep and then wake it up - I just see black screen. What could be the reason? If necessary, I could provide apk and logcat output

@ronaaron
Copy link

I'm seeing the same issue. Code which worked in with .8 isn't working with .11

@slouken
Copy link
Collaborator

slouken commented Jan 14, 2025

Yes, apk and logcat would be helpful.

I checked the diff between .8 and .11 for Android and the only changes were version number and copyright date, so more clues would be great.

Are you able to reproduce it with the testsprite SDL test program?

@slouken slouken added this to the 2.32.0 milestone Jan 14, 2025
@slouken
Copy link
Collaborator

slouken commented Jan 14, 2025

I tried with testsprite2 on a Samsung Galaxy Note 8 and it works fine here, both bringing up the task switch UI and going back to the home screen and then back to the app.

@ronaaron
Copy link

I retract my comment; turns out I had made a small change between versions that had an outsized impact. Sorry.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants