When called on a PI3,
eglGetDisplay(EGM_DEFAULT_DISPLAY) stops the program (tried with some test programs like
hello_triangle2) and displays this message:
* failed to add service - already in use ?
I tried to modify the memory allowed to the GPU (from 16 to 512 megs) but without any success.
It occurs in both console mode and X mode.
uname -a returns:
Linux raspberrypi 4.4.23-v7+ #913 SMP Tue Oct 4 14:16:19 BST 2016 armv71 GNU/Linux
A pretty fresh kernel.
The experimental video driver is installed too and works properly,
glxgears runs at 60fps as expected.
EDIT: The video driver doesn't like OpenGL ES (
glxgears only uses plain OGL) which seems to be the problem here.
Is there's a way to enable the video acceleration driver and run OpenGL ES programs yet or do we have to wait for the next version of Raspbian ?