Skip to content

Can I use Raylib on Raspberry PI for HDMI and DSI (Official Screen) at same time? (PLATFORM_DRM) #4800

Closed Answered by tomvdb
tomvdb asked this question in Q&A
Discussion options

You must be logged in to vote
Answered by tomvdb Feb 26, 2025

After some research it looks like it's technically possible with the libdrm, but it looks like there would be quite a bit of changes needed on raylib side. Also two different apps can't use the drm at same time (not neccesarily a problem). Basically a single app would need to connect to the drm card and then create two buffers and set them to the 2 different outputs. So it looks technically possible but not without some changes to rcore_drm.c and even raylib (don't think it can handle seperate "windows").

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by tomvdb
Sign up for free to join this conversation on . Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant
@tomvdb