php-glfw icon indicating copy to clipboard operation
php-glfw copied to clipboard

glfw at Raspberry Desktop version

Open Poleg44 opened this issue 6 months ago • 2 comments

Hello! Today i install X11 desktop for Raspberry and try run from it. pi@raspberrypi:~/php-glfw/examples $ php 01_triangle.php 3.3.8 X11 GLX EGL OSMesa clock_gettime evdev shared php: /home/pi/php-glfw/vendor/glfw/src/window.c:954: glfwSetWindowUserPointer: Assertion `window != NULL' failed. Aborted

My 01_triangle.php that i executed from CLI dont work from Desktop

Poleg44 avatar Dec 21 '23 11:12 Poleg44

with virtual buffer work normal pi@raspberrypi:~/php-glfw/examples $ xvfb-run --auto-servernum php 01_triangle.php 3.3.8 X11 GLX EGL OSMesa clock_gettime evdev shared string(43) "4.5 (Core Profile) Mesa 23.2.1-1~bpo12+rpt2"

Poleg44 avatar Dec 21 '23 12:12 Poleg44

at https://discourse.glfw.org/t/solved-cant-get-started/1152 author say: ... switching from glfw-wayland to glfw-x11 on arch linux solved the issue. I dont know how switch...

Poleg44 avatar Dec 21 '23 12:12 Poleg44