Bug 99822 - weston12.0: only have 30fps on egl application
Summary: weston12.0: only have 30fps on egl application
Status: RESOLVED FIXED
Alias: None
Product: Wayland
Classification: Unclassified
Component: weston (show other bugs)
Version: unspecified
Hardware: Other Linux (All)
: medium normal
Assignee: Wayland bug list
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-02-15 08:19 UTC by Mark Yao
Modified: 2017-02-16 01:32 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments

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.