Issue description
This issue began investigation starting at here in the discord https://discord.com/channels/426912293134270465/426912293956222978/1501577144948490333
On all Raspberry Pi boards:
make PLATFORM=PLATFORM_DRM GRAPHICS=GRAPHICS_API_OPENGL_ES2
Works as expected. All examples build without errors and run cleanly.
However, between 32-bit and 64-bit platforms:
make PLATFORM=PLATFORM_DRM GRAPHICS=GRAPHICS_API_OPENGL_SOFTWARE
On the Raspberry Pi 2 (32-bit): Only some examples (textures_bunnymark) built and ran with this gets a Segmentation Fault when it tries to take control of the screen to render. There is no black flash to indicate it even got that far
On the Raspberry Pi 5 (64-bit): textures_bunnymark behaves as expected but only at 2560x1440.
Environment
Raspberry Pi 2 (32-bit) with Raspbian Trixie (Debian 13)
Boot into terminal mode with raspi-config > System > Boot then reboot
Code Example
First boot into terminal
then
sudo su
apt install libdrm-dev libegl1-mesa-dev libgles2-mesa-dev libgbm-dev
git clone https://github.com/raysan5/raylib
git checkout tags/6.0
cd raylib
cd src
make PLATFORM=PLATFORM_DRM GRAPHICS=GRAPHICS_API_OPENGL_SOFTWARE -j4
cd ..
cd examples
make PLATFORM=PLATFORM_DRM GRAPHICS=GRAPHICS_API_OPENGL_SOFTWARE -j4
cd textures
./textures_bunnymark
segfault occurs after a short time after bunnymark is executed, it never takes control of rendering.
If you change SOFTWARE with ES2, it works.
Issue description
This issue began investigation starting at here in the discord https://discord.com/channels/426912293134270465/426912293956222978/1501577144948490333
On all Raspberry Pi boards:
make PLATFORM=PLATFORM_DRM GRAPHICS=GRAPHICS_API_OPENGL_ES2Works as expected. All examples build without errors and run cleanly.
However, between 32-bit and 64-bit platforms:
make PLATFORM=PLATFORM_DRM GRAPHICS=GRAPHICS_API_OPENGL_SOFTWAREOn the Raspberry Pi 2 (32-bit): Only some examples (textures_bunnymark) built and ran with this gets a Segmentation Fault when it tries to take control of the screen to render. There is no black flash to indicate it even got that far
On the Raspberry Pi 5 (64-bit): textures_bunnymark behaves as expected but only at 2560x1440.
Environment
Raspberry Pi 2 (32-bit) with Raspbian Trixie (Debian 13)
Boot into terminal mode with
raspi-config > System > BootthenrebootCode Example
First boot into terminal
then
segfault occurs after a short time after bunnymark is executed, it never takes control of rendering.
If you change SOFTWARE with ES2, it works.