You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I followed https://github.com/raysan5/raylib/wiki/Working-on-Raspberry-Pi and installed raylib library by command make PLATFORM=PLATFORM_DRM. Everything has builded correctly, even examples. Rpi was connected by HDMI cable to my PC monitor and example ./shapes_basis_shapes showed up correctly on the PC monitor.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello,
I would like to ask what needs to set for raylib, to correctly detect new display.
I have Raspberry Pi 4, with display https://www.waveshare.com/wiki/3.5inch_RPi_LCD_(A)
I followed https://github.com/raysan5/raylib/wiki/Working-on-Raspberry-Pi and installed raylib library by command
make PLATFORM=PLATFORM_DRM
. Everything has builded correctly, even examples. Rpi was connected by HDMI cable to my PC monitor and example./shapes_basis_shapes
showed up correctly on the PC monitor.Then I followed steps for display https://www.waveshare.com/wiki/3.5inch_RPi_LCD_(A). Terminal showed up on display after reboot. Trying run
./shapes_basis_shapes
again failed with output:INFO: Initializing raylib 38.-dev INFO: DISPLAY: No graphic card set, trying card1 INFO: DISPLAY: Failed to open graphic card1, trying card0 WARNINGL DISPLAY: Failed to open graphic card FATAL: Failed to initialize Graphic device
Thanks for help
Valentyn Cihala
Beta Was this translation helpful? Give feedback.
All reactions