flare-engine icon indicating copy to clipboard operation
flare-engine copied to clipboard

main menu under weston uses lots of cpu

Open leaf-node opened this issue 10 years ago • 6 comments

the menu is a cpu hog under weston, even when in sw rendering mode.

leaf-node avatar Dec 26 '14 19:12 leaf-node

Maybe all these issues with performance are caused by Weston or by SDL implementsation, that runs on top of Weston, and not by our engine? Does all works nice on X11?

igorko avatar Dec 28 '14 11:12 igorko

there isn't a much cpu usage under x11.

weston/wayland is still a bit unstable and there are lots of bug fixes coming in over time. i don't know how good sdl's port to wayland is, but at least right now it works almost perfectly.

leaf-node avatar Dec 29 '14 23:12 leaf-node

i just tested flare with westonwithout XWayland installed and the graphics didn't init. the menu music did start to play. So it looks like flare under weston requires xwayalnd for now.

leaf-node avatar Dec 30 '14 20:12 leaf-node

can you try latest SDL2 from hg ? I saw there were some wayland related commits, so I guess some work on fixing support was done.

igorko avatar Jun 12 '15 08:06 igorko

see here for my current status under weston.

leaf-node avatar Jul 26 '15 18:07 leaf-node

I was able to get things working with weston 1.9.0 and xwayland 1.18.0. I tested with and without SDL2 from hg master.

In both cases, flare uses as much cpu when rendering the menu as it does during gameplay. In this case, it is near full use of both cores.

My guess is that this ancient laptop's Intel Core Duo T2400 doesn't have a version of OpenGL supported by weston. I think this issue needs to be tested by someone with more recent hardware.

leaf-node avatar Jan 17 '16 18:01 leaf-node