Hi,
We have a performance problem with OpenGl ES2.0. eglSwapBuffers is very slow.
We have a Gumstix Overo fire with Tobi expansion board (OMAP3530 with SGX530).
Here the configuration:
OS: Ubuntu 11.04, Kernel 3.0.4-x3 (RobertCNelson), Graphics SDK 4.03.00.02, Egl Version 1.4 build 1.6.16.3977, Display resolution: (HDMI)1024x768@62Hz,
In Our Application the eglSwapBuffers-time is between 25ms an 110ms (depends how many features are activated). The window resolution is 640x480.
The frame rate is between 5fps and 15fps. Our aim is a frame rate around 30fps.
Does anyone know this problem with too high eglSwapBuffers-time?
What can do or try to reduce the eglSwapBuffers time?
In which range should be the eglSwapBuffers-time with our configuration?
Regards,
Christoph
Some additional informations
WSEGL settings
cat: /etc/powervr.ini: No such file or directory
------
ARM CPU information
Processor : ARMv7 Processor rev 3 (v7l)
processor : 0
BogoMIPS : 497.82
Features : swp half thumb fastmult vfp edsp thumbee neon vfpv3
CPU implementer : 0x41
CPU architecture: 7
CPU variant : 0x1
CPU part : 0xc08
CPU revision : 3
Hardware : Gumstix Overo
Revision : 0020
Serial : 0000000000000000
------
SGX driver information
Version 1.6.16.3977 (release) /home/OveroBoard/Kernel/RobertCNelson-stable-kernel/KERNEL
System Version String: SGX revision = 1.2.1
------
Framebuffer settings
mode "640x480-61"
# D: 24.000 MHz, H: 30.000 kHz, V: 60.730 Hz
geometry 640 480 640 480 32
timings 41666 80 48 3 7 32 4
accel true
rgba 8/16,8/8,8/0,0/0
endmode
Frame buffer device information:
Name : omapfb
Address : 0x9f400000
Size : 1228800
Type : PACKED PIXELS
Visual : TRUECOLOR
XPanStep : 1
YPanStep : 1
YWrapStep : 0
LineLength : 2560
Accelerator : No
------
Rotation settings
0
------
Kernel Module information
Module Size Used by
bufferclass_ti 5827 0
omaplfb 8627 0
pvrsrvkm 157660 2 bufferclass_ti,omaplfb
bridgedriver 168660 0
mailbox_mach 4206 0
mailbox 5322 2 bridgedriver,mailbox_mach
dm_crypt 16660 0
joydev 9764 0
libertas_sdio 9172 0
usbhid 38109 0
uvcvideo 64880 0
libertas 50714 1 libertas_sdio
videodev 87802 1 uvcvideo
snd_usb_audio 96740 1
rtc_twl 4492 0
snd_hwdep 5865 1 snd_usb_audio
ads7846 10267 0
snd_usbmidi_lib 18192 1 snd_usb_audio
cfg80211 167238 1 libertas
twl4030_madc_hwmon 2612 0
gpio_keys 6176 0
------
Boot settings
console=ttyO2,115200n8 mpurate=720 vram=12M omapfb.mode=dvi:640x480MR-32@60 omapfb.debug=y omapdss.def_disp=dvi root=/dev/mmcblk0p2 rw rootfstype=ext3 rootwait
------
Linux Kernel version
Linux overo 3.0.4-x3 #1 SMP Mon Oct 10 13:09:46 CEST 2011 armv7l armv7l armv7l GNU/Linux