Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I have a strange issue related to my fresh ubuntu 12.10 installation. Graphics adapter is a NVidia 560ti, two DELLs U2412HM are attached.

I created the required xorg.conf using nvidia-xconfig and adapted it using nvidia-settings. Applying those settings renders the correct and expected result.

However, on reboot, the screen resolution is messed up (1024x768 instead of 1920x1200 for both displays). If I switch to a console (Alt+F1) and restart lightdm (sudo service lightdm restart), everything is fine again. This reproducably happens, so after every startup resolution is messed up and can be fixed by restarting lightdm.

Here is the xorg.conf

# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings:  version 304.51  (buildd@batsu)  Fri Oct 12 12:53:54 UTC 2012

Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0" 0 0
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
    Option         "Xinerama" "0"

Section "Files"

Section "InputDevice"

    # generated from default
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "Protocol" "auto"
    Option         "Device" "/dev/psaux"
    Option         "Emulate3Buttons" "no"
    Option         "ZAxisMapping" "4 5"

Section "InputDevice"

    # generated from default
    Identifier     "Keyboard0"
    Driver         "kbd"

Section "Monitor"

    # HorizSync source: edid, VertRefresh source: edid
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "DELL U2412M"
    HorizSync       30.0 - 83.0
    VertRefresh     50.0 - 61.0
    Option         "DPMS"

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce GTX 560 Ti"

Section "Screen"

# Removed Option "metamodes" "DFP-0: 1920x1200 +1024+0, DFP-2: 1920x1200 +0+0"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "Stereo" "0"
    Option         "nvidiaXineramaInfoOrder" "DFP-0"
    Option         "metamodes" "DFP-0: 1920x1200 +1920+0, DFP-2: 1920x1200 +0+0"
    SubSection     "Display"
        Depth       24

Any clues?


As I thought my issues might have something to do with some other application that starts up along with X, I played around a bit.

I disabled network-manager and switched the network configuration to /etc/networking/interfaces (and excluded network manager from upstart).

Interestingly, now everything is back to normal and my resolution is fine right from the first boot. If someone has a similar issues, give it a try and disable network manager to check if it has any effect. However, be aware that I find that situation very strange as I am not able to explain why network-manager could have an effect on the loading of the correct nvidia X settings.

share|improve this question
add comment

Your Answer


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

Browse other questions tagged or ask your own question.