-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
[core] Issues running in native mode with PLATFORM_DRM
in Bullseye in RPI Zero W
#2439
Comments
PLATFORM_KMS
in Bullseye in RPI Zero WPLATFORM_DRM
in Bullseye in RPI Zero W
Are you in GUI mode but switched to virtual terminal or plain console? You can try to switch boot mode from Desktop to CLI in raspi-config. |
Additional info when trying to run
|
@gen2brain No GUI mode, console only. I'm in RPI OS Lite with no desktop environment. |
Ok, I don't think |
It was reported by users it worked ok for them... but not for me. In any case, I'm closing the issue. Feel free to reopen if you find it and you face the same problem than me. |
After lot of investigation, one user in Discord found the solution to this issue! In In that case, it works as expected! |
I'm trying to run raylib in native mode in RPI Zero W with latest RPI OS Bullseye and KMS driver. After installing required libraries (libgles2-dev, libgbm-dev, libdrm-dev), compilation works ok but program crashes on run:
The system is properly configured to run on native mode with Full KMS acceleration enabled:
Driver is properly enabled in
/boot/config.txt
In case it is relevant, user permissions have been reviewed:
The output is the HDMI, it should be the default output and it seems to be detected correctly:
The error is related to function
gbm_surface_lock_front_buffer()
-> ERROR: DISPLAY: Failed GBM to lock front buffer.Any idea?
EDIT: useful info: https://symbolibre.org/graphics-acceleration-on-the-raspberry-pi-zero.html
The text was updated successfully, but these errors were encountered: