Stuttering in games with high fps and Nvidia
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Compiz |
Confirmed
|
Undecided
|
Unassigned | ||
compiz (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Problem: While playing a game with high fps (>30), which should be smooth, the game stutters. For example, when I play Minecraft, which usually runs with 40-80fps (you can see the frames per second in the game), the game stutters. 50fps look more like this game in the video http://
I only see the stuttering with my Nvidia (GT 540m), with my AMD GPU (6850HD) all games run fine, even low fps games (<30) are smooth. I also don't see the problem with other window managers (Mutter and Metacity), the games run fine with Nvidia there.
Refresh rate of Compiz is set to 60fps, VSync is activated and "Force full screen redraw (buffer swap) on repaint" is checked.
I can't remember having this issue with Ubuntu 11.10, so this problem probably came with the newer versions of Compiz. The version of the GPU driver is 302.17, but I had the stuttering with 290.10 and 295.xx too.
---
.proc.driver.
.proc.driver.
.proc.driver.
NVRM version: NVIDIA UNIX x86_64 Kernel Module 302.17 Tue Jun 12 16:03:22 PDT 2012
GCC version: gcc-Version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5)
.proc.driver.
Your system is not currently configured to drive a VGA console
on the primary VGA device. The NVIDIA Linux graphics driver
requires the use of a text-mode VGA console. Use of other console
drivers including, but not limited to, vesafb, may result in
corruption and stability problems, and is not supported.
.tmp.unity.
ApportVersion: 2.0.1-0ubuntu11
Architecture: amd64
CompizPlugins: [core,composite
CompositorRunning: compiz
DistUpgraded: Fresh install
DistroCodename: precise
DistroRelease: Ubuntu 12.04
DistroVariant: ubuntu
DkmsStatus:
nvidia-current, 302.17, 3.2.0-27-generic, x86_64: installed
vboxhost, 4.1.18, 3.2.0-26-generic, x86_64: installed
vboxhost, 4.1.18, 3.2.0-27-generic, x86_64: installed
GraphicsCard:
NVIDIA Corporation GF108 [GeForce GT 540M] [10de:0df4] (rev a1) (prog-if 00 [VGA controller])
Subsystem: Acer Incorporated [ALI] Device [1025:0487]
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Release amd64 (20120425)
JockeyStatus:
xorg:nvidia_
xorg:nvidia_
Lsusb:
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 003: ID 04fc:2801 Sunplus Technology Co., Ltd
MachineType: Acer TravelMate 5742G
NonfreeKernelMo
Package: compiz 1:0.9.7.
PackageArchitec
ProcEnviron:
TERM=xterm
PATH=(custom, no user)
LANG=de_DE.UTF-8
SHELL=/bin/bash
ProcKernelCmdLine: BOOT_IMAGE=
ProcVersionSign
Tags: precise precise ubuntu compiz-0.9
Uname: Linux 3.2.0-27-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo vboxusers
XorgConf:
Section "Device"
Identifier "Default Device"
Option "NoLogo" "True"
Option "TripleBuffer" "True"
EndSection
dmi.bios.date: 11/09/2011
dmi.bios.vendor: Acer
dmi.bios.version: V1.27
dmi.board.
dmi.board.name: TravelMate 5742G
dmi.board.vendor: Acer
dmi.board.version: V1.27
dmi.chassis.type: 10
dmi.chassis.vendor: Acer
dmi.chassis.
dmi.modalias: dmi:bvnAcer:
dmi.product.name: TravelMate 5742G
dmi.product.
dmi.sys.vendor: Acer
version.compiz: compiz 1:0.9.7.
version.ia32-libs: ia32-libs 20090808ubuntu36
version.libdrm2: libdrm2 2.4.32-1ubuntu1
version.
version.
version.
version.
version.
version.
version.
version.
version.
no longer affects: | ubuntu |
Changed in compiz: | |
status: | Incomplete → New |
Changed in compiz (Ubuntu): | |
status: | Incomplete → New |
tags: | added: nvidia-is-slow |
Changed in compiz: | |
status: | New → Confirmed |
Please try enabling vsync in the nvidia-settings dialog too. Once you've done that, you may not need it enabled in compiz. So disabling vsync in CCSM > General > OpenGL might help.
Please also run this command in a terminal, which will upload information about your system:
apport-collect 1029085
The vsync and rendering methods are going to change dramatically (for the better) in Ubuntu 12.10. So this might be an issue we've already resolved in development. However that new faster code has not yet even been released in 12.10-alpha for you to test.