-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Excessive CPU usage in Ubuntu 14.04 with GNOME 3 & Xorg #5
Comments
The VM host is VirtualBox 6.1.29 r148218 running under the latest MacOS;
|
I can reproduce the problem using Ubuntu 14.04 and 20.04 running on KVM/QEMU (with 2 CPUs 4GB RAM) with the unity desktop where the CPU utilisation due to compiz and Xorg jumps to approximately 93% and 21% respectively as soon as the application is opened, even if the display isn't being updated. Simplifying the display to reduce the number of X11 primitives that need to be redrawn each time the display is updated made no apparent difference to the CPU utilisation. The problem seems to be specific to compiz as after switching to the MATE desktop environment on Ubuntu 20.04 Xorg only consumes about 12% of the available CPU on the same virtual machine. |
I just tried building and running the latest from GitHub in a VM running Ubuntu 14.04, and I found that it was dropping mouse events as well, and also just being unbearably sluggish overall. I noticed that while the app was running, compiz was running at over 100% CPU, and xorg was using another 40% or so. Compiz pegging a core could explain the dropped events.
Note that this version does include the -std=gnu99 option that was mentioned earlier... it also includes -no-pie in src/makefile, which I had to remove because it was not recognized, and causing compilation to fail.
Output from dpkg --get-selections attached.[
dpkg-selections.txt
](url)
The text was updated successfully, but these errors were encountered: