-
Notifications
You must be signed in to change notification settings - Fork 274
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
vc_dispmanx_display_open failed! (Pi Zero W - Raspbian Buster) #100
Comments
If DispmanX cannot be loaded, then it is not a wiring nor a fbcp-ili9341 config/build issue, but something is going wrong with the display driver load. The only reason I have observed that to happen is mentioned in issue #75, when hardware VC4 KMS GL driver is used (dtoverlay=vc4-kms-v3d in /boot/config.txt) instead of the default driver. Try double-checking if that might be the reason here? |
Thanks for the quick reply. 😃
Even if I comment out the pi4 section I get the same error. |
Oh, this is on the new Raspbian Buster? It looks like there are some changes on Buster. Briefly googling, https://www.raspberrypi.org/forums/viewtopic.php?t=243429 suggests "Dispmanx is still there with FKMS (or legacy)." Perhaps |
Hmm, no immediate idea either, I'm afraid. Reading raspberrypi/firmware#1154 suggests that DispmanX should work on Buster, at least when used on a Pi 4. Did the same Raspbian Buster image work on a Pi 3B+? (or was the successful Pi 3B+ test on Stretch?) In absence of better ideas, downgrading to Stretch should fix the issue. |
What i'm observing is that with Buster, if HDMI is connected to the Pi, vc_dispmanx_display_open does not fail. If no HDMI is attached, then this reliably happens. I'm currently evaluating if forcing HDMI will cause it to work. |
Thanks for the important info! If it turns out to be not fixable/configurable in software, an appropriate action may be to raise the issue in https://github.com/raspberrypi/firmware/ |
I configured
for my config.txt and the display is working fine under buster on a Pi 3B. Those settings seem to be enough to force the HDMI to be on (as well as set to an almost-readable resolution for the TFT). |
btw, for some reason, on the buster image that i have been testing, without enabling SPI, fbcp-ili9341 still works, with my ST7789 display. |
Yeah, that is expected - fbcp-ili9341 does not use the kernel spi driver but directly accesses the spi peripheral for fastest performance. This can actually conflict with the kernel spi driver so it is best to disable the kernel spi option altogether so that they will not try to simultaneously access spi. |
Awesome, thanks for explaining that! |
Confirmed trying out locally on Raspbian Buster with a Pi 4B, setting |
I encountered the same issue while trying to run fbcp-ili9341 on a Pi Zero using DietPi (based on Raspbian Lite Buster).
What I found is, I had a GPU memory split set at 16MB in /boot/config.txt ( |
Figured I'd put up what fixed this problem for me, in the hopes that it helps someone else in the future:
you will need to make sure the "tv is on" before running
you should be good to go! |
I successfully got a 2.8" ili9341 to work a Raspberry Pi 3B+. Now I'm trying the sam display with a Raspberry Pi Zero W. The screen flashes briefly and then i get this error:
Am I doing something wrong?
Configuration:
Wiring:
Setup:

The text was updated successfully, but these errors were encountered: