Tell me more ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

When trying to drag a window the whole screen becomes laggy and some windows when dragged do not even appear until I release the mouse. They do appear where the window was suppose to end up after the drag but the dragging animation that happens while dragging is not seen.

I am using a NVIDIA 9500 GT 1GB with the proprietary drivers, an Intel Core 2 Duo 8500 and 4GB RAM just to make sure that this is not the problem. In 11.04 it worked correctly when dragging.

share|improve this question
Experiencing this too with similar hardware. – Evan Oct 25 '11 at 3:15
This sounds like a bug. I've experienced something similar today, but never before. I am using a Radeon HD5850, though. – Jo-Erlend Schinstad Oct 25 '11 at 3:19

4 Answers

up vote 1 down vote accepted

Install CompizConfig Settings Manager:

sudo apt-get install compizconfig-settings-manager

And in Composite, disable Detect Refresh Rate and slide the Refresh Rate up to more than 70.

Under Mouse Polling Position, change Mouse Poll Interval to 1.

Disabling Plugin Grid also might help, but that disables window snapping!!

.

share|improve this answer
Before accepting the answer (Which it worked for almost all windows), the last windows that move laggy are the ones used by Wine. Any thoughts about this ones. – Luis Alvarado Oct 25 '11 at 7:24
Notepad seems to work fine on my computer... – Evan Oct 25 '11 at 7:59
I tried a game. Am starting to think that the combination of Compiz activated for Unity + Wine running an OpenGL game makes the screen loose several FPS quickly. – Luis Alvarado Oct 25 '11 at 15:27
In General Options, Enable Unredirect Fullscreen Windows. In Workarounds, enable Legacy Fullscreen Support, this will make fullscreen windows in wine run faster. – Evan Oct 25 '11 at 20:33
For me this doesn't work. GTX 560 Ti on 11.10. – Laryllan Dec 25 '11 at 23:39

I had the same problem .. but the proposed fix didn't work.

What worked was to change the driver. I just typed "Additional Drivers" in dash. In the Additional Drivers window there was two proprietary drivers listed for my Nvidia card.

One was marked as "version current" and the other was marked as "post-release updates".

I changed it from "version current" to "post-release updates" and everything works fine now.

share|improve this answer

Solved the problem by installing the newer NVIDIA drivers 295+ from alternative repository.

I should, mention the the above tricks did not worked for me.

share|improve this answer

(At your own risk, this worked for me)

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: (This resolved one issue, but made selecting different desktops flash for a micro second on selection)

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: (TICK)

...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

[...]

Keep voting me down for trying to help, thanks for that! Well, this worked for me...

SYSTEM SET UP: Ubuntu 11.10 64bit, Memory: 7.8GB, Intel i7-2860 @2.5GHz x8 CPU, GeForce GTX 580M/PCIe/SSE2

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.