desktop background has wrong size when zoomed with laptop and external monitor attached

Bug #640609 reported by Amir Eldor
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
nvidia-graphics-drivers (Ubuntu)
Confirmed
Undecided
ijf8090

Bug Description

I'm using Ubuntu 10.04, recently upgraded from Ubuntu 9.10 through the upgrade option on the update manager.
I have a laptop with a resolution of 1280x800 attached to a monitor of 1680x960 resolution. I have an nVidia graphics card configured to use twinview with both monitors on the same origin.

The background image with the 'zoom' style, makes the size of the background have a wrong size, as if two background layers are placed on top of each other, one with size 1280x800 and the other with size 1680x960.

The screenshot shows what's going on.

What's supposed to happen? Show only one image on the background whose size is 1680x960.

Revision history for this message
Amir Eldor (amireldor) wrote :
Revision history for this message
Amir Eldor (amireldor) wrote :

Oh, and I forgot to mention this bug also appears in the GDM login screen, i.e. 'two' backgrounds on top of each other, each with different resolution.

Revision history for this message
Amir Eldor (amireldor) wrote :

seems to be fixed in 10.10

Revision history for this message
Amir Eldor (amireldor) wrote :

Well, maybe it's not fixed.
It seems to be a problem related to my nVidia graphics card.

I used the nvidia-settings application to setup the dual view option. When I first had the attached monitor unconfigured - the GDM login screen was only on the laptop display, then I logged in, attached the monitor, ran nvidia-settings, setup twin view, and it worked fine.

But once I ran `gksu nvidia-settings` aWhen I dind saved the twin view settings to my X configuration file, after logging out the GDM login screen showed the bug and the bug also appeared after logging in.

Revision history for this message
Amir Eldor (amireldor) wrote :

I meant 1680x1050 resolution instead of 1680x960 but that doesn't matter much.

Anyway, I changed my nvidia-settings generated xorg.conf a bit (attaching).
The idea is that instead of having the "metamodes" option to be: DFP resolution set to 1280x800 and CRT resolution set to 1680x1050, I set them both to 1680x1050.

I guess that what happens now is that the DFP resolution for the laptop screen is invalid and thus the laptop screen is blackened, but the attached monitor shows the picture at the specified 1680x1050 resolution. But one I disconnect the monitor and restart the X server (by logging out) it defaults back to the 1280x800 resolution and shows a picture on the laptop monitor.

In all of the above situations the background appears just fine with the 'zoom' option.

Revision history for this message
Victor Vargas (kamus) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. Please attach your log file (/var/log/Xorg.0.log) to the bug report.

affects: ubuntu → nvidia-graphics-drivers (Ubuntu)
Changed in nvidia-graphics-drivers (Ubuntu):
status: New → Incomplete
Revision history for this message
Amir Eldor (amireldor) wrote :

This is the Xorg log after tweaking my xorg.conf (setting both CRT and DFP to the same resolution).
Do you wish to see the Xorg log after restoring the original xorg.conf file as the bug appears again?

Revision history for this message
ijf8090 (i-finlay) wrote :

I think that what you are seeing is your laptop screen being overlaid on your external monitor. Go to System, Preferences, Monitor.

I have laptop w. docking station and external monitor and the following worked for me.
Drag and drop laptop screen so it does not overlap monitor

Go to System, Preferences. Power management, on AC Power,
 Put Computer to sleep when incactive for: Never
 When laptop lid closed Blank screen.

Changed in nvidia-graphics-drivers (Ubuntu):
assignee: nobody → ijf8090 (i-finlay)
Revision history for this message
Amir Eldor (amireldor) wrote :

I opened system >> preferences >> monitor, which showed a little note that it will open the nvidia-settings instead of the regular gnome monitor dialog. I then followed your idea but a bit differently as it did not work first. I marked the laptop screen as the primary monitor and now the backgrounds do not overlap. I saved the changes to xorg.conf.

However, when I logged out and the login screen appeared, the little box where you enter your password was not centered on the big monitor but instead centered at the top-left region of the screen, as if it was centered around 1280x800 resolution and not the 1650x960 resolution.

I fixed this again after editing the xorg.conf file and settings the DFP resolution to 1650x960 and now the backgrounds do not overlap, the login screen's box is centered, and when the external monitor is not attached the laptop monitor is working correctly.

Bryce Harrington (bryce)
Changed in nvidia-graphics-drivers (Ubuntu):
status: Incomplete → Confirmed
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.