Page 1 of 1

GL Surface locked - even after reboot

Posted: Mon Jul 23, 2012 10:05 am
by mikerr
I've been playing around with OPENGLES in C and pi3d/python - then it all stopped working with assert: surface errors.

No problem I thought, its hung onto a resource - just reboot - but the problem persists even after a power down overnight.

Even hello_triangle no longer works:

Code: Select all

./hello_triangle.bin
hello_triangle.bin: triangle.c:174: init_ogl: Assertion `state->surface != ((EGLSurface)0)' failed.
Aborted

Re: GL Surface locked - even after reboot

Posted: Mon Jul 23, 2012 10:20 am
by dom
Are you sure you didn't switch to the 224M memory split?

Re: GL Surface locked - even after reboot

Posted: Mon Jul 23, 2012 10:32 am
by mikerr
Just did an rpi-update to check and YES, its on 224/32 !

Pretty sure I didn't change that last night, last changes were the start_elf sound fix
(was that set to 224/32?)
Otherwise I must have been changing things when half asleep or changed it without rebooting.

Changed to 128/128, reboot and all is fine again.

Thanks for the quick thinking !