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 with SDL1.2 binaries #913

Open
mw-mbelge opened this issue Dec 13, 2017 · 10 comments
Open

Black screen with SDL1.2 binaries #913

mw-mbelge opened this issue Dec 13, 2017 · 10 comments

Comments

@mw-mbelge
Copy link

mw-mbelge commented Dec 13, 2017

I am seeing the same issue, exactly as described on the issue #354, on 4.9.59-v7+. Basically, I get a black screen when running SDL1.2 binaries on a headless Pi 3. Has the same issue come back again?

@pelwell
Copy link
Contributor

pelwell commented Dec 13, 2017

  1. Have you tried on earlier kernels? sudo rpi-update <commit-id> allows you to choose a specific version, where the commit-id can be found on the Hexxeh firmware repo (use the links on the right of each entry).

  2. It's probably a silly question, but what does it mean to get a black screen on a headless Pi 3? Where is the screen?

@mw-mbelge
Copy link
Author

What I meant by headless is no desktop is installed (Lite version). Console is output to HDMI. SDL binaries used to work in this configuration through framebuffer drivers.

I'll try earlier kernels see at what point SDL broke.

@arielscarpinelli
Copy link

I'm experiencing the same issue with 4.9.41-v7+, so it is gotta be older than that

@DFXThomas
Copy link

DFXThomas commented Mar 19, 2018

I can confirm this is still a problem with the latest Raspbian and a Raspberry Pi 3, Model B+.
I experienced a black screen when I tried to run DOSBox from the console. Really annoying.

@JamesH65
Copy link
Contributor

JamesH65 commented Jan 9, 2019

This appears to be a problem in the SDL 1.2 library, not the Pi firmware. However, the linked issues seems to say it is fixed in our repo prior to this report, so not entirely sure whats going on. I'll have a look tomorrow to see if the patch has somehow fallen out. Ping @XECDesign just in case.

@JamesH65
Copy link
Contributor

JamesH65 commented Jan 9, 2019

(Of course, if anyone has tried a recent distro, and its now works, please add comment here)

@XECDesign
Copy link
Contributor

Thanks, I'll take a look.

@XECDesign
Copy link
Contributor

I've added patches from RetroPie's version of SDL and it works a lot better in general. Haven't checked different kernel versions.

@spl237 are the other changes staged in the repo good to go live? If so, I'll push those along with the sdl fixes.

@XECDesign
Copy link
Contributor

Updated sdl 1.2 should be in the repo now. Has it fixed the issue?

@JamesH65
Copy link
Contributor

Thanks for doing that @XECDesign, I cannot try it but hopefully someone on participents list can.

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

No branches or pull requests

6 participants