1

I have two monitors set up using Nvidia Twinview on Ubuntu 11.10.

When I drag something (a file, a link on a website, select text, etc.), my right-hand monitor screws up. Usually the screen shifts up by about 200 pixels, and I often get weird graphics glitches.

I made a video here which is kind of grainy, but shows what happens. The video doesn't exactly show what I see because during the first 12 seconds, when dragging from the left monitor, the right monitor screws up like in the last 12 seconds.

This doesn't happen when dragging windows, only objects like files or hyperlinks. Sometimes my desktop gets stuck like that, which is really frustrating.

My graphics card is an NVidia GTX 460 SE. I've had this problem for some time, but I definitely know there was a time when I had two monitors and this didn't happen.

glxinfo

Xorg.0.log

dmesg

xorg.conf

>lspci -nn | grep VGA
>03:00.0 VGA compatible controller [0300]: nVidia Corporation Device [10de:0e23] (rev a1)

I'll also include a screenshot which basically shows what's in the video.

enter image description here

Based on fossfreedom's advice, I tried installing the 295 drivers from the ubuntu-x-swat ppa. I follow the instructions here which didn't install them.

I made sure I was booting into kernel 3.0.0-16 (before I was using 3.0.0-12) and reinstalled again to no avail.

The reinstall command says it's installing the 295 drivers, but they're not getting installed for some reason.

Kris Harper
  • 13,705

4 Answers4

1

Try to upgrade your nvidia driver with:

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

I have noticed you use 280 version of Nvidia drivers. In the above repos you will find the latest drivers and the latest version of the X server. Possibly it will fix the issues.

If anything goes wrong, you can revert with

sudo ppa-purge ppa:ubuntu-x-swat/x-updates

Friendly note from Oli: I've removed xorg-edgers from the answer above but if you find that ubuntu-x-swat doesn't get you anywhere you could try ppa:xorg-edgers/ppa which is an even more updated version of the graphics stack. You should be aware that while x-swat is mainly driver updates, edgers will try to replace the whole kit and kaboodle. It will probably eat your babies.

Oli
  • 299,380
1

ok, thinking this through ... you mentioned that you had activated the Post Release updates NVIDIA driver through the Additional Drivers window.

Behind the scenes this would have installed the nvidia-current-update package.

By installing the X-Swat package - this gives you a new nvidia-current package but as you can see, your nvidia-current-update package is taking precedent.

FIRST

Please image your computer - messing about with graphics drivers can leave you with non-booting & black screen issues. If you are not confident with resolving this through the recovery mode and terminal, then either do not proceed or have an image that you can readily restore.

Next

Now the warning is explained - deactivate the Post Update driver in Additional Drivers window. Rename you current xorg.conf file and reboot

i.e.

sudo mv /etc/X11/xorg.conf /etc/X11/xorg.conf.backup

You should now be using the default opensource nouveau drivers.

Next, purge your old nvidia packages:

sudo apt-get purge nvidia-*

Reboot.

Next add the X-Swat PPA:

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

Reopen your Additional Drivers window and activate the NVidia Current driver.

Reboot.

Check through gksudo nvidia-settings - you should now be using the v295 driver set.

Set your twin monitors as per this Q&A:

Dual monitors not working with an Nvidia card

Hopefully now your issue is now resolved.


If it is not resolved - then the nvidia driver is not the key problem here but instead is either Compiz and/or the kernel itself.

Given the imminent 12.04 release in a months time, it will come with the latest Compiz and kernel and therefore could/should resolve your issue.

I'm reluctant to recommend you pursuing the x-org-edgers PPA route - to do this you should install the Kernel in the PPA as well as the recommended packages itself.

If you want to upgrade to 12.04 beta - remember you will be helping out the developers with testing. There are other bugs that you could have to contend with. The developers are very keen for testers to test with the 12.04 multimonitor support! Therefore - if your issue is not immediately resolved with 12.04 - at least the developers should be much more keener to help you resolve this via filing launchpad.net bug reports.

fossfreedom
  • 174,526
0

In the past, I have had similar problems when both monitors did not match in geometry. Some references I have seen suggest they should be matched in scan rate as well, e.g., the same model of monitor. When I had one installation messing this up, with two different monitor sizes, the problem mostly went away after I forced my higher resolution monitor down to the same resolution as the smaller monitor. Don't know if this is the case for you, but it is probably necessary to at least run the same resolution on both for debugging.

Dan
  • 1
0

I upgraded to 12.04 and the problem seems to have been resolved.

Note that I am not using any additional drivers. The standard drivers for 12.04 seem to be fine for me, allowing 3D effects, full Unity experience, etc. They even allow me to rotate my monitors individually, which is something I could not accomplish with Nvidia.

Kris Harper
  • 13,705