Screen is stretched when using dual monitors

Bug #1404147 reported by Chris Cowan
38
This bug affects 7 people
Affects Status Importance Assigned to Milestone
Unity
Confirmed
Undecided
Unassigned
unity (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

When I'm in dual monitor mode (not mirrored mode; mirrored mode works 100% fine), the applications are stretched, and my mouse clicks don't line up with the applications. See the attached image. Notice the highlighted text in the webpage near the middle of the two screens. My mouse was where the red dot was when I made that highlight. (The mouse doesn't show up in screenshots I guess.)

I was supposed to have the application menu bar on both screens, but it and the menus only show up on the right screen. They work fine relatively, though sometimes as dropdown menus close they momentarily visibly stretch like the applications are.

----
System information:
I was running Ubuntu 14.04 with the nvidia-331 drivers, dual monitor mode was working great, but then in the last few weeks it started acting up like this often. Probably related to some recent updates I guess. Logging out and back in would sometimes fix it. I decided to do a full reinstall to 14.10, but now the issue always happens.

The login screen and gnome-shell both work fine with dual monitor mode. (I'll boot up my computer, see the login screen on my left monitor with the background going to the right monitor exactly as it should, I'll log in with Unity selected, and then it suddenly decides to stretch everything ridiculously until I switch to single or mirrored monitor mode.)

I do not get this specific issue when I use the default nouvea driver, but I do get tons of graphical artifacting and the screen freezes eventually when I'm in dual or mirrored monitor mode (single works fine), so that's not an option for me.

I'm currently using the nvidia-331 version 331.113-0ubuntu0.1 package. I've tried downgrading to nvidia-331 version 331.89-0ubuntu5, and adding the xorg-edgers PPA and upgrading to nvidia-346, but the exact issue persisted.

Tags: nvidia-331
Revision history for this message
Chris Cowan (macil) wrote :
Revision history for this message
Andrea Azzarone (azzar1) wrote :

nvidia-331 are causing a lot of issues. There are some some fixes scheduled in the next weeks.

Changed in unity:
status: New → Confirmed
Changed in unity (Ubuntu):
status: New → Confirmed
tags: added: nvidia-331
Revision history for this message
Chris Cowan (macil) wrote :

Is this being worked on? Are there any known workarounds? (Besides switching to gnome-shell -- I ran into a bug there too! https://bugzilla.gnome.org/show_bug.cgi?id=741749 )

I'm the only one I know in real life or among my online contacts that doesn't use multiple monitors. It's especially frustrating since things had went from working great to suddenly not working in a regular update one day!

Revision history for this message
Chris Cowan (macil) wrote :

This still happens in a fresh install of Ubuntu 15.04 with "NVIDIA binary driver - version 346.59 from nvidia-346 (proprietary, tested)" installed from the Ubuntu Additional Drivers tool.

Though I think I discovered a work-around. It seems like it only happens later if my monitor was plugged when the login screen was open. If I disconnect my monitor's HDMI cable, log out, log back in, and reconnect the monitor, it seems to work fine for that session so far.

Revision history for this message
Gabriel Samfira (gabriel-samfira) wrote :

This still happens in 16.04 on a Thinkpad P50

Revision history for this message
Shacharm (shacharm) wrote :

+1 on ubuntu 16.04 Thinkpad P50
additional drivers version 361.42 from nvidia-361 (propriety, tested)

Revision history for this message
Lokidiabel (lokidiabel) wrote :

This is also an issue with the following setup:

Intel HD 4000 + Nvidia GTX 570 in Mult-Monitor Mode (Asus name it that way, basicly it let you use all outputs of all devices so you can attach more monitors).

OS: Ubuntu 16.04 -> latest patches
Nvidia 370.24 Driver + Intel ubuntu Default.

Please fix. In Windows this work since many years.

Revision history for this message
Mark Cocker (mark-earth) wrote :

I have this issue on a W530, Ubuntu 16.10, using either NVIDIA binary driver V367.57 (proprietary) and V370.28 (open source).

What works: Built-in display only. 2nd display only. Mirrored display. Nouveau driver with built-in AND 2nd display.

Revision history for this message
Mark Cocker (mark-earth) wrote :

Notice in IMG_20161027_105742.jpg that the windows are stretched on both monitors, but the window switcher and unity launcher display fine on the 2nd monitor.

Revision history for this message
Simon Scott (sscottza) wrote :

Same problem here. Exactly the same as OP described. It has been going on for months/years.
Lenovo T420s
Nvidia NVS 4200M graphics card
Ubuntu 16.04.1 LTS
Nvidia binary driver 378.13 from nvidia-378 (open source)

I only notice this when I connect my external monitor to the DislayPort. Connecting via VGA connector does not give this problem.

Revision history for this message
Sébastien (sebastien-arod) wrote :

Same issue
Clevo P651RS
GTX1070
nvidia-367
Ubuntu 16.10

Revision history for this message
Leon Teichroeb (bigleon00) wrote :

I have also had this problem for a few years now across many different versions of Ubuntu and Nvidia drivers. It has never worked without the nouveau driver

Asus N56VZ
GT650m
Ubuntu 16.04 LTS
Nvidia-367

Revision history for this message
Guillermo Alonso (flood1993) wrote :

Exact same problem. I've tried many online solutions but I can't get it to work.

Using an HDMI connection.

MSI GS43VR
GeForce GTX 1060/PCIe/SSE2
ubuntu 16.04 LTS
Nvidia binary driver 381.22 from nvidia-381 (open source)

Works:
- External monitor only

Does not work:
- First monitor only
- Extended mode
- Mirror mode

However, during my trial and error process, I got to manage to get everything except extended mode working.

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.