flare-engine
flare-engine copied to clipboard
main menu under weston uses lots of cpu
the menu is a cpu hog under weston, even when in sw rendering mode.
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?
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.
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.
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.
see here for my current status under weston.
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.