I just begin OpenGL dev on a Raspberry Pi platform
I have first installed GL and GLUT libs and devel packages and have run glxgears on my raspberry Pi3 platform with the Rasbian 8.0 distrib
I have run glxgears for to have an idea about the performance of OpenGL on it and find “bads” performances
(OK, glxgears is not really a good benchmark test but it generally give a good idea about defaults OpenGL performances on a specific platform)
pi@piYann:~/Devel/OpenGL $ glxgears 41 frames in 5.0 seconds = 8.140 FPS 98 frames in 5.0 seconds = 19.563 FPS 101 frames in 5.0 seconds = 20.129 FPS 99 frames in 5.0 seconds = 19.664 FPS
I have next runned the glxGears with --info parameter for to see what is the driver used
pi@piYann:~/Devel/OpenGL $ glxgears -info GL_RENDERER = Gallium 0.4 on llvmpipe (LLVM 3.7, 128 bits) GL_VERSION = 3.0 Mesa 11.1.0 GL_VENDOR = VMware, Inc. GL_EXTENSIONS = GL_ARB_multisample GL_EXT_abgr GL_EXT_bgra GL_EXT_blend_color ...
The xdpyinfo utility give me this that seem me “not too bad” :
pi@piYann:~ $ xdpyinfo name of display: :0.0 version number: 11.0 vendor string: The X.Org Foundation vendor release number: 11702000 X.Org version: 1.17.2 maximum request size: 16777212 bytes motion buffer size: 256 bitmap unit, bit order, padding: 32, LSBFirst, 32 image byte order: LSBFirst number of supported pixmap formats: 7 supported pixmap formats: depth 1, bits_per_pixel 1, scanline_pad 32 depth 4, bits_per_pixel 8, scanline_pad 32 depth 8, bits_per_pixel 8, scanline_pad 32 depth 15, bits_per_pixel 16, scanline_pad 32 depth 16, bits_per_pixel 16, scanline_pad 32 depth 24, bits_per_pixel 32, scanline_pad 32 depth 32, bits_per_pixel 32, scanline_pad 32 keycode range: minimum 8, maximum 255 focus: window 0x180ab68, revert to Parent number of extensions: 28 BIG-REQUESTS Composite DAMAGE DOUBLE-BUFFER DPMS DRI2 GLX Generic Event Extension MIT-SCREEN-SAVER MIT-SHM Present RANDR RECORD RENDER SECURITY SGI-GLX SHAPE SYNC X-Resource XC-MISC XFIXES XFree86-DGA XFree86-VidModeExtension XINERAMA XInputExtension XKEYBOARD XTEST XVideo default screen number: 0 number of screens: 1 screen #0: dimensions: 1360x768 pixels (360x203 millimeters) resolution: 96x96 dots per inch depths (7): 16, 1, 4, 8, 15, 24, 32 root window id: 0x1aa depth of root window: 16 planes number of colormaps: minimum 1, maximum 1 default colormap: 0x20 default number of colormap cells: 64 preallocated pixels: black 0, white 65535 options: backing-store WHEN MAPPED, save-unders NO largest cursor: 1360x768 current input event mask: 0x7a003f KeyPressMask KeyReleaseMask ButtonPressMask ButtonReleaseMask EnterWindowMask LeaveWindowMask StructureNotifyMask SubstructureNotifyMask SubstructureRedirectMask FocusChangeMask PropertyChangeMask number of visuals: 61 default visual id: 0x21 visual: visual id: 0x21 class: TrueColor depth: 16 planes available colormap entries: 64 per subfield red, green, blue masks: 0xf800, 0x7e0, 0x1f significant bits in color specification: 8 bits ...
Is the Gallium driver a good driver for the Raspberry Pi3 platform or where can I find a better graphic driver for it ?
Because only about 20 fps seem me really too slow, is the VideoCore IV GPU as “slow” as this ?
(on other side, the Raspberry Pi3 is really very very small and cheap, so this is perhaps normal …)