Following an unsuccessful attempt to build a basic OpenGL ES2.0 application I saw for the PI, which failed due to the function graphics_get_display_size,
I took a step backwards and started trying to build the samples which came along with my RespberryPI3.
the samples are located at /opt/vc/src
All samples have been built successfully. including hello_triangle2 .
Executing the applications ,however, they break for an assertion in the code for the internal graphics_get_display_size function . the return code is -1.
I tried updating the firmware using sudo raspi-update.
I updated all drivers and apps using sudo apt-get install update and later upgrade.
my kernel is at 4.4.13 ( if I am not mistaking- anyways , fully upgraded to the latest version)
yet in vain.
I thus went even further deeper for the hello_dispmanx sample , which is supposed to do some functionalities with the vc_dispmanx functions , even this application , which goes one level lower , returns some awkward printing of the screen resolution (4 x 13338890, which are basically , two wrong int32s ) .
I thus need the help of you guys. did any of you encounter such a thing ? is there a solution to this one?
Thank you .