Bug 99822

Summary: weston12.0: only have 30fps on egl application
Product: Wayland Reporter: Mark Yao <mark.yao>
Component: westonAssignee: Wayland bug list <wayland-bugs>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: medium CC: mark.yao
Version: unspecified   
Hardware: Other   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:

Description Mark Yao 2017-02-15 08:19:56 UTC
weston version: 1.12.0

kernel version: Linux version 4.4.41
drm driver: support drm atomic.

gpu verion: Mali-T860 OpenGL ES 3.2 v1.r13p0-00rel0

Test:
./weston-simple-egl 
153 frames in 5 seconds: 30.600000 fps
152 frames in 5 seconds: 30.400000 fps
153 frames in 5 seconds: 30.600000 fps


/glmark2/bin/glmark2-es2-wayland
[build] use-vbo=false: FPS: 31 FrameTime: 32.258 ms
[build] use-vbo=true: FPS: 31 FrameTime: 32.258 ms
[texture] texture-filter=nearest: FPS: 30 FrameTime: 33.333 ms
[texture] texture-filter=linear: FPS: 30 FrameTime: 33.333 ms
[texture] texture-filter=mipmap: FPS: 30 FrameTime: 33.333 m

Does any body know why the application only have 30fps on weston/wayland framework?
Comment 1 Daniel Stone 2017-02-15 08:37:56 UTC
Yeah, this has been annoying me too. You need to set repaint-window=15 in the [core] section of weston.ini. Either all repaints really do take that long, or there's a bug in the KMS driver timings. I've only seen this on Rockchip, not other hardware.
Comment 2 Mark Yao 2017-02-16 01:32:23 UTC
Cool! repaint-window=15 works.

now glmark2-es2-wayland become 60fps.

Thanks Daniel.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.