← Back to team overview

dx-packages team mailing list archive

[Bug 1010898] Re: unity transparency seems to use CPU

 

Can you still reproduce this problem?

** Changed in: unity
       Status: New => Incomplete

** Changed in: unity (Ubuntu)
       Status: New => Incomplete

-- 
You received this bug notification because you are a member of DX
Packages, which is subscribed to unity in Ubuntu.
Matching subscriptions: dx-packages
https://bugs.launchpad.net/bugs/1010898

Title:
  unity transparency seems to use CPU

Status in Unity:
  Incomplete
Status in unity package in Ubuntu:
  Incomplete

Bug description:
  When I play a video or open an opengl game and then open the dash or
  press the Super-Key until the Dash-Help appears, then the CPU usage is
  utilized heavily while the HUD shows up, when I expected no increased
  CPU usage after the transitition (which is sluggish by the way),
  because no additional operations on the CPU need to be done after the
  dash help is opened. The only thing I can think of is transparency
  which needs to be calculated, because the video is playing always
  needs to be updated, but this shouldn't increase CPU usage, because it
  _should_ take place on the GPU for being a purely graphical operation
  which my graphics can do easily (blur inclusive).

  The CPU utilization is lower if you switch from blur to no blur, so
  this fortifies my assumption that the actual graphical transparency
  calculation takes place on the CPU or that some ping pong effect moves
  buffers from GPU to CPU and back, slowing things down, i don't know
  after all.

  Playing a video increases compiz CPU utilization from ~5 to ~20 and
  and Xorg cpu utilization from ~5 to ~28

  Also the FPS of video games decreases when the dash is activated, with
  blur even more.

  Last but not least, when I playback a video and activate the dash or
  the dash help the video shortly interrupts for about ~200ms.


  For comparison:
  The single-parameter transparency of the compiz-plugin "Opacity, Brightness and Saturation" does not affect CPU usage at all, at least not visibly.

  ProblemType: Bug
  DistroRelease: Ubuntu 12.04
  Package: unity 5.12-0ubuntu1.1
  ProcVersionSignature: Ubuntu 3.2.0-24.39-generic 3.2.16
  Uname: Linux 3.2.0-24-generic x86_64
  NonfreeKernelModules: nvidia
  .proc.driver.nvidia.gpus.0: Error: [Errno 21] Ist ein Verzeichnis: '/proc/driver/nvidia/gpus/0'
  .proc.driver.nvidia.registry: Binary: ""
  .proc.driver.nvidia.version:
   NVRM version: NVIDIA UNIX x86_64 Kernel Module  295.49  Mon Apr 30 23:46:33 PDT 2012
   GCC version:  gcc version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5)
  .tmp.unity.support.test.0:
   
  ApportVersion: 2.0.1-0ubuntu8
  Architecture: amd64
  CompizPlugins: [core,composite,opengl,decor,gnomecompat,place,move,snap,mousepoll,resize,compiztoolbox,imgpng,vpswitch,session,grid,regex,wall,unitymtgrabhandles,animation,expo,ezoom,workarounds,fade,scale,unityshell]
  CompositorRunning: compiz
  Date: Sat Jun  9 16:02:48 2012
  DistUpgraded: Fresh install
  DistroCodename: precise
  DistroVariant: ubuntu
  DkmsStatus:
   nvidia-current, 295.40, 3.2.0-24-generic, x86_64: installed
   nvidia-current-updates, 295.49, 3.2.0-24-generic, x86_64: installed
  GraphicsCard:
   NVIDIA Corporation G98M [GeForce G 105M] [10de:06ec] (rev a1) (prog-if 00 [VGA controller])
     Subsystem: Acer Incorporated [ALI] Device [1025:0205]
  InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Release amd64 (20120425)
  JockeyStatus:
   xorg:nvidia_current - Beschleunigter Grafiktreiber von NVIDIA (Proprietär, Deaktiviert, Nicht benutzt)
   xorg:nvidia_current_updates - NVIDIAs beschleunigte Grafiktreiber (Nachträgliche Aktualisierungen) (Proprietär, Aktiviert, In Benutzung)
  MachineType: Acer Aspire 5738
  ProcEnviron:
   LANGUAGE=de_CH:de
   PATH=(custom, user)
   LANG=de_CH.UTF-8
   SHELL=/bin/bash
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.2.0-24-generic root=UUID=954648ee-fb9c-484d-bda9-6e49dc0e779a ro quiet splash vt.handoff=7
  SourcePackage: unity
  UpgradeStatus: No upgrade log present (probably fresh install)
  XorgConf:
   Section "Device"
   	Identifier	"Default Device"
   	Option	"NoLogo"	"True"
   EndSection
  dmi.bios.date: 02/20/2009
  dmi.bios.vendor: Phoenix Technologies LTD
  dmi.bios.version: V1.03
  dmi.board.name: JV50
  dmi.board.vendor: Acer
  dmi.board.version: Rev
  dmi.chassis.type: 10
  dmi.chassis.vendor: Acer
  dmi.chassis.version: N/A
  dmi.modalias: dmi:bvnPhoenixTechnologiesLTD:bvrV1.03:bd02/20/2009:svnAcer:pnAspire5738:pvr0100:rvnAcer:rnJV50:rvrRev:cvnAcer:ct10:cvrN/A:
  dmi.product.name: Aspire 5738
  dmi.product.version: 0100
  dmi.sys.vendor: Acer
  version.compiz: compiz 1:0.9.7.8-0ubuntu1
  version.ia32-libs: ia32-libs N/A
  version.libdrm2: libdrm2 2.4.32-1ubuntu1
  version.libgl1-mesa-dri: libgl1-mesa-dri 8.0.2-0ubuntu3.1
  version.libgl1-mesa-dri-experimental: libgl1-mesa-dri-experimental N/A
  version.libgl1-mesa-glx: libgl1-mesa-glx 8.0.2-0ubuntu3.1
  version.nvidia-graphics-drivers: nvidia-graphics-drivers N/A
  version.xserver-xorg-core: xserver-xorg-core 2:1.11.4-0ubuntu10.2
  version.xserver-xorg-input-evdev: xserver-xorg-input-evdev 1:2.7.0-0ubuntu1
  version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:6.14.99~git20111219.aacbd629-0ubuntu2
  version.xserver-xorg-video-intel: xserver-xorg-video-intel 2:2.17.0-1ubuntu4
  version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:0.0.16+git20111201+b5534a1-1build2

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