Jerky movement of windows on desktop using Ubuntu 11.10

Bug #957881 reported by pst007x
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Compiz Core
New
Undecided
Unassigned
compiz (Ubuntu)
New
Undecided
Unassigned

Bug Description

When moving windows on the desktop, windows movements are jerky and stalls at times.

MANUFACTURER: System76 Professional Laptop
OS: Ubuntu 11.10 64bit
MEMORY: 7.8GB
PROCESSOR: Intel® Core™ i7-2860QM CPU @ 2.50GHz × 8
GRAPHICS: GeForce GTX 580M/PCI/SSE2 (Running latest NVidia Proprietary Drivers)

Tried the following settings....
COMPOSITE-SETTING-MANAGER:

Composite:
DETECT REFRESH RATE: (UNTICK)
REFRESH RATE: (MAX)

Open GL:
VSYNC: (UNTICK)

MOUSE POLLING: (1)

pst007x@pst007x-Serval-Professional:~$ lspci
00:00.0 Host bridge: Intel Corporation 2nd Generation Core Processor Family DRAM Controller (rev 09)
00:01.0 PCI bridge: Intel Corporation Xeon E3-1200/2nd Generation Core Processor Family PCI Express Root Port (rev 09)
00:16.0 Communication controller: Intel Corporation 6 Series/C200 Series Chipset Family MEI Controller #1 (rev 04)
00:1a.0 USB Controller: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #2 (rev 05)
00:1b.0 Audio device: Intel Corporation 6 Series/C200 Series Chipset Family High Definition Audio Controller (rev 05)
00:1c.0 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 1 (rev b5)
00:1c.1 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 2 (rev b5)
00:1c.2 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 3 (rev b5)
00:1c.3 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 4 (rev b5)
00:1d.0 USB Controller: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #1 (rev 05)
00:1f.0 ISA bridge: Intel Corporation HM65 Express Chipset Family LPC Controller (rev 05)
00:1f.2 SATA controller: Intel Corporation 6 Series/C200 Series Chipset Family 6 port SATA AHCI Controller (rev 05)
00:1f.3 SMBus: Intel Corporation 6 Series/C200 Series Chipset Family SMBus Controller (rev 05)
01:00.0 VGA compatible controller: nVidia Corporation Device 1211 (rev a1)
01:00.1 Audio device: nVidia Corporation Device 0e0c (rev a1)
02:00.0 USB Controller: NEC Corporation uPD720200 USB 3.0 Host Controller (rev 04)
03:00.0 Ethernet controller: JMicron Technology Corp. JMC250 PCI Express Gigabit Ethernet Controller (rev 05)
03:00.1 System peripheral: JMicron Technology Corp. SD/MMC Host Controller (rev 90)
03:00.2 SD Host controller: JMicron Technology Corp. Standard SD Host Controller (rev 90)
03:00.3 System peripheral: JMicron Technology Corp. MS Host Controller (rev 90)
04:00.0 Network controller: Intel Corporation Centrino Advanced-N 6230 (rev 34)
05:00.0 FireWire (IEEE 1394): JMicron Technology Corp. IEEE 1394 Host Controller (rev 30)

Revision history for this message
pst007x (turone) wrote :

Updated NVidia drivers here:

sudo add-apt-repository ppa:ubuntu-x-swat/x-updates
sudo apt-get update
sudo apt-get install nvidia-current nvidia-settings

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

All issues with jerky window movement are (should be) fixed in Ubuntu 12.04. They are best described in bug 92599 which was fixed by the fix for bug 880707. Please try the workarounds listed in those bugs.

If the workarounds are not enough and you would like a preview of the new (fixed) rendering that will be in 12.04, you can try it on 11.10 using ppa:vanvugt/compiz:
    https://launchpad.net/~vanvugt/+archive/compiz
However that is not a complete preview of 12.04, which has many other performance improvements.

Revision history for this message
pst007x (turone) wrote :

Ok thanks..

Looking around, I came up with this, which reduced it:

#NVidia

...Add latest drivers PPA, and upgrade:

sudo apt-add-repository ppa:ubuntu-x-swat/x-updates

sudo apt-get update && sudo apt-get install nvidia-current nvidia-settings

(I tried Additional Drivers: "post-release updates" didn't work for me)

#COMPIZ

...Added following Compiz PPA and upgrade:

sudo apt-add-repository ppa:vanvugt/compiz

sudo apt-get update && sudo apt-get upgrade

...Or add via a source manager:

deb http://ppa.launchpad.net/vanvugt/compiz/ubuntu oneiric main

deb-src http://ppa.launchpad.net/vanvugt/compiz/ubuntu oneiric main

...then update and upgrade compiz

(the source is found here: https://launchpad.net/~vanvugt/+archive/compiz)

#Install Compiz-Setting-Manager:

(this is found in the Ubuntu software centre)

#COMPIZ SETTINGS: Open and navigate to:

...Composite setting:

DETECT REFRESH RATE: (UNTICK)

REFRESH RATE: (DOUBLE YOUR REFRESH RATE)

...Mouse Position Polling setting:

MOUSE POLL POSITION: (1).

...Snapping Windows:

SNAPPING WINDOWS: (UNTICK)

...Move Window:

OPACITY: 30

LAZY POSITIONING: (UNTICK)

...OpenGL

SYNC TO VBLANK: (UNTICK)

TEXTURE: (BEST)

LIGHTING EFFECT: (ON)

#Configuring The Right Driver

The next thing to do is to make sure that your machine uses the correct driver. To ensure that, we are going to blacklist the nouveau driver first. Open a terminal and enter the following to do so:

sudo nano /etc/modprobe.d/blacklist.conf

...At the end of the document, add this line:

[...]

blacklist nouveau

...Afterwards update your initial ram file system by entering this into a terminal:

sudo update-initramfs -u -v

...Then check:

sudo nano /etc/X11/xorg.conf

...Find the Device section and make sure the driver is set to "nvidia". It should look somewhat like this:

[...]

Section "Device"

Driver "nvidia"

Identifier "Default Device"

Option "NoLogo" "True"
EndSection

[...]

Revision history for this message
pst007x (turone) wrote :

Ubuntu 12.04LTS has resolved the issue for me. Thanks

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.