Unity 3D is slow with NVIDIA driver 295.49 and GeForce 7000M / nForce 610M.

Bug #997170 reported by Ptitphysik
40
This bug affects 8 people
Affects Status Importance Assigned to Milestone
Compiz
Invalid
Undecided
Unassigned
Compiz Core
Invalid
Undecided
Unassigned
Unity
Invalid
Undecided
Unassigned
compiz (Ubuntu)
Invalid
Undecided
Unassigned
unity (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Ubuntu 12.04

Compiz : 1:0.9.7.8-0ubuntu1
Unity : 5.12-0ubuntu1
nvidia-current-updates : 295.49-0ubuntu0.1 0

After instaling 295.49, Unity 3D is slow, Compiz is taking sometimes more 70% CPU.

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: unity 5.12-0ubuntu1
ProcVersionSignature: Ubuntu 3.2.0-24.38-generic 3.2.16
Uname: Linux 3.2.0-24-generic x86_64
NonfreeKernelModules: nvidia
.proc.driver.nvidia.gpus.0: Error: [Errno 21] est un dossier: '/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-0ubuntu7
Architecture: amd64
CompizPlugins: [core,composite,opengl,compiztoolbox,decor,vpswitch,snap,mousepoll,resize,place,move,wall,grid,regex,imgpng,session,gnomecompat,animation,fade,unitymtgrabhandles,workarounds,scale,expo,ezoom,unityshell]
CompositorRunning: compiz
Date: Wed May 9 17:16:24 2012
DistUpgraded: Fresh install
DistroCodename: precise
DistroVariant: ubuntu
DkmsStatus:
 nvidia-current, 295.40, 3.2.0-23-generic, x86_64: installed
 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 C67 [GeForce 7000M / nForce 610M] [10de:0533] (rev a2) (prog-if 00 [VGA controller])
   Subsystem: Packard Bell B.V. Device [1631:c106]
InstallationMedia: Ubuntu 12.04 "Precise" - Build amd64 LIVE Binary 20120425-15:28
JockeyStatus:
 xorg:nvidia_current - NVIDIA accelerated graphics driver (Proprietary, Disabled, Not in use)
 xorg:nvidia_current_updates - NVIDIA accelerated graphics driver (post-release updates) (Proprietary, Enabled, In use)
MachineType: PACKARD BELL BV EasyNote_SJ51
ProcEnviron:
 TERM=xterm
 PATH=(custom, no user)
 LANG=fr_FR.UTF-8
 SHELL=/bin/bash
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.2.0-24-generic root=UUID=bf4a98d3-315b-4fd4-b19e-3e319e983477 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: 03/12/2008
dmi.bios.vendor: Phoenix Technologies Ltd.
dmi.bios.version: 1.0H-3221-0010
dmi.board.name: EasyNote_SJ51
dmi.board.vendor: PACKARD BELL BV
dmi.board.version: REFERENCE
dmi.chassis.type: 3
dmi.chassis.vendor: PACKARD BELL BV
dmi.chassis.version: Version 1.0
dmi.modalias: dmi:bvnPhoenixTechnologiesLtd.:bvr1.0H-3221-0010:bd03/12/2008:svnPACKARDBELLBV:pnEasyNote_SJ51:pvrPB96F09302:rvnPACKARDBELLBV:rnEasyNote_SJ51:rvrREFERENCE:cvnPACKARDBELLBV:ct3:cvrVersion1.0:
dmi.product.name: EasyNote_SJ51
dmi.product.version: PB96F09302
dmi.sys.vendor: PACKARD BELL BV
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
version.libgl1-mesa-dri-experimental: libgl1-mesa-dri-experimental N/A
version.libgl1-mesa-glx: libgl1-mesa-glx 8.0.2-0ubuntu3
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

Revision history for this message
Ptitphysik (amalpeyre) wrote :
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Can you confirm the CPU usage drops significantly when vsync is disabled?

To disable vsync...
1. Run "ccsm" (from the "compizconfig-settings-manager" package)
2. Go to the OpenGL section and untick "Sync To VBlank".

Also, can you please confirm whether the problem only occurs with the latest nvidia driver? Did it happen with 295.40? Does it happen with nouveau?

Changed in unity (Ubuntu):
status: New → Incomplete
Revision history for this message
Ptitphysik (amalpeyre) wrote :

When vsync enabled :
295.40 2D : OK
295.40 3D : can't use
295.49 2D : compiz lag
295.49 3D : compiz lag

When vsync is disabled :
295.40 2D : OK
295.40 3D : can't use
295.49 2D : OK
295.49 3D : compiz lag

Revision history for this message
Zed (darkbroodzed) wrote :

Ubuntu 12.04 geforce 6600
295.40 2D : compiz lag
295.40 3D : compiz lag
295.49 2D : compiz lag
295.49 3D : compiz lag

what mean compiz lag: whan try get any windows in full screen compiz freeze for 1-2 sec
any full screen 3d application get 0.01 fps

when boot in unity 2d any 3d application work fine

Revision history for this message
Daniel van Vugt (vanvugt) wrote :

All, could you please test Compiz without Unity so we know which is the problem here?

To test Compiz without Unity you need to log out and log into a "Gnome Classic" session. If you don't have that option then you will need to install packages "gnome-panel" and/or "gnome-shell" first.

summary: - Unity 3D is slow with driver 295.49 and GeForce 7000M / nForce 610M.
+ Unity 3D is slow with NVIDIA driver 295.49 and GeForce 7000M / nForce
+ 610M.
Changed in unity:
status: New → Confirmed
Changed in unity (Ubuntu):
status: Incomplete → Confirmed
Changed in compiz-core:
status: New → Confirmed
Changed in compiz (Ubuntu):
status: New → Confirmed
Changed in compiz-core:
status: Confirmed → Incomplete
Changed in unity:
status: Confirmed → Incomplete
Changed in compiz (Ubuntu):
status: Confirmed → Incomplete
Changed in unity (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Ptitphysik (amalpeyre) wrote :

GeForce 7000M / nForce 610M

With Gnome Shell, everything seems to be OK.

Revision history for this message
Daniel van Vugt (vanvugt) wrote :

It does sounds like compiz' high CPU usage is probably why unity feels slow. Could you please try gathering some compiz profile information by...

1. INSTALLATION
sudo apt-get install linux-tools-common
Then you also need the package specific for your kernel. You can find out what it is called by running "perf". That will tell you what you need.

2. RECORD PERFORMANCE
Start this and let it run for a while:
    perf record -p `pidof compiz`
Then stop it with Ctrl+C.

3. CREATE A REPORT
In the same directory (where perf record created file 'perf.data'), run:
    perf report > compizperf.txt

And attach the file compizperf.txt to this bug.

Revision history for this message
Daniel van Vugt (vanvugt) wrote :

And please test Gnome Classic, not just Gnome Shell.

Revision history for this message
Ptitphysik (amalpeyre) wrote :

With Gnome Classic. compiz CPU is normal.

Compiz perf with Unity 3D :

Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Thanks, but the results look incomplete. I need to improve my profiling instructions to get better results. Sorry about that.

Changed in compiz:
status: New → Incomplete
Revision history for this message
Zed (darkbroodzed) wrote :

gnome-classic
start glxgears => 100% cpu usage

Changed in compiz:
status: Incomplete → Confirmed
Changed in compiz-core:
status: Incomplete → Confirmed
Changed in unity:
status: Incomplete → Confirmed
Changed in compiz (Ubuntu):
status: Incomplete → Confirmed
Changed in unity (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
Zed (darkbroodzed) wrote :

Any suggestions how to fix that bug?
If i start XBMC (http://xbmc.org/) on logon screen i get 60+ fps
if like Xwindows apps 2-10 fps.

Revision history for this message
fcole90 (fcole90) wrote :

Thank you for taking the time to report this bug. We have tried to recreate this on the latest release of Ubuntu and cannot reproduce it. This bug is being marked as Invalid. If you believe the problem to still exist in the latest version of Ubuntu please comment on why that is the case and change the bug status to NEW.

Changed in compiz:
status: Confirmed → Invalid
Changed in compiz-core:
status: Confirmed → Invalid
Changed in unity:
status: Confirmed → Invalid
Changed in compiz (Ubuntu):
status: Confirmed → Invalid
Changed in unity (Ubuntu):
status: Confirmed → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.