Yeah, there is no way to just drop /usr/bin/compiz from 12.04 onto a
14.04 install.  It simply will not work due to plugin mismatches, etc.

One way to see if 3d is enabled is to run
/usr/lib/nux/unity_support_test -p and see the output.  If it says "Not
software rendered: no" then the effects are turned off.

I did an experiment by setting nomodeset=1 in the kernel command line
for both 12.04 and 14.04.  This enabled llvmpipe on the machine and in
12.04, the nice Unity2d was running, but as Marco said that was
deprecated since 12.10.  On 14.04, it's the software rendered
Compiz+Unity3d which pales in comparison to Unity2d.  This is because
all of the OpenGL rendering is done in the CPU which is not very
efficient at these tasks.  When I ran this on 14.04 (bare metal mind
you), I'm guessing the frame rate is ~20 fps w/ very high CPU usage when
dragging a window around.  Even scrolling up and down in Firefox
produces lower frame rates and high CPU usage.

There really isn't anything we can do in Compiz and Unity3d to help this
anymore than what we already do as Marco suggested.  What would help is
a VMWare kernel module that virtualizes the GPU in Linux.

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to compiz in Ubuntu.
https://bugs.launchpad.net/bugs/1293384

Title:
  Compiz CPU usage dramatically increased in Ubuntu 14.04

Status in Compiz:
  New
Status in “compiz” package in Ubuntu:
  Confirmed

Bug description:
  It appears that the workload of low-level graphical operations used by
  compiz when, for example, moving windows has increased dramatically
  between Ubuntu 12.04 and Ubuntu 14.04.

  This might not be that visible when using high-end gpus, but should be
  clearly visible when using compiz on llvmpipe and to some-extent
  invalidates the approach of using compiz on top of llvmpipe as a
  fallback when no GPU is available:

  How to reproduce:
  1) Use the unity-3d desktop in Ubuntu 14.04 on top of a non-accelerating Xorg 
driver like "modesetting". Move windows around. Note peak and average cpu-usage.

  How to verify compiz is the culprit:
  1) copy /usr/bin/compiz from a Ubuntu 12.04 installation. Drop it in as 
/usr/bin/compiz on 14.04. Reboot. Perform the same window movement. CPU-usage 
should be substantially lower.

  This problem also affects VMs running on VMware ESX with a software-
  rendering GPU. Window movement becomes sluggish, which suggests that
  even with GPUs, compiz has increased the number of operations required
  to move windows.

To manage notifications about this bug go to:
https://bugs.launchpad.net/compiz/+bug/1293384/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to