[Wayland-bugs] [Bug 86815] XWayland [weston 1.6.0] takes all CPU and is very slow on eee-pc
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Tue Dec 9 00:53:16 PST 2014
https://bugs.freedesktop.org/show_bug.cgi?id=86815
--- Comment #6 from Pekka Paalanen <ppaalanen at gmail.com> ---
(In reply to Mildred Ki'Lya from comment #4)
> perf data gathered over the few seconds of running xterm inside weston is
> available here:
>
> http://mildredkilya.nfshost.com/perf-20141208.data.tar.bz2
Unfortunately this package contains only the program binaries needed study the
trace deeper, but not the trace itself. Yeah, 'perf archive' does that for some
reason.
(In reply to Mildred Ki'Lya from comment #5)
> Could this be related somehow to the version of OpenGL supported by this
> intel driver? This card only supports OpenGL 1.4.
Really? I'm surprised glamor runs at all then. Yes, I suspect that is the
issue, the glamor fallbacks could be very heavy on that OpenGL version and an
Atom CPU, that you would probably be better off without glamor.
The next thing to try would be to disable glamor in Xwayland. I think the
following patch to Weston should do it:
diff --git a/xwayland/launcher.c b/xwayland/launcher.c
index df2efd2..5471db0 100644
--- a/xwayland/launcher.c
+++ b/xwayland/launcher.c
@@ -116,6 +116,7 @@ weston_xserver_handle_event(int listen_fd, uint32_t mask,
void *data)
"-listen", unix_fd,
"-wm", wm_fd,
"-terminate",
+ "-shm",
NULL) < 0)
weston_log("exec of '%s %s -rootless "
"-listen %s -listen %s -wm %s "
That is, just add "-shm" to the argument list. I'm not aware of any easier way
to do it.
Let us know how that affects. If it works for you, then we have two possible
items to fix:
- make forcing glamor off easier in Weston
- patch Xwayland server or glamor to revert to "shm" on such low GL support
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/wayland-bugs/attachments/20141209/de039e56/attachment.html>
More information about the wayland-bugs
mailing list