• Can't change screen resolution


    I’ve been tryna switch my screen resolution from 1024x768 to 1280x1024 these last 3 days and it has become a nightmare. I have an old IBM E74 CRT Monitor, and a Nvidia 8600 512Mb video card.

    I found a proper configuration to put in my 10-monitor.conf file:

      
    Section "Device"  
    Identifier "Device0"  
    Driver "nvidia"  
    VendorName "NVIDIA Corporation"  
    Option "RenderAccel" "1  
    Option "TripleBuffer" "1"  
    BusID "PCI:3:0:0"  
    EndSection  
      
    Section "Monitor"  
    Identifier "VGA-0"  
    VendorName "IBM"  
    ModelName "E74"  
    HorizSync 30 - 69  
    VertRefresh 50 - 120  
    Modeline "1280x1024" 108.00 1280 1328 1440 1688 1024 1025 1028 1066 +HSync +Vsync  
    Option "DPMS"  
    EndSection  
      
    Section "Screen"   
    Identifier "Screen0"   
    Device "Device0"   
    Monitor "VGA-0"   
    Option "UseEdid" "False"   
    Option "ExactModeTimingsDVI" "True"   
    Option "ModeDebug" "True"   
    DefaultDepth 24   
    SubSection "Display"   
    Depth 24   
    Modes "1280x1024"   
    EndSubSection   
    EndSection   
    
    

    As you may see I added a custom modeline, which I got from “xrandr --verbose”.

    The problem here is that this only works till lightdm, the login screen shows at 1280x1024 but once I login, the screen switches back to 1024x768.

    I’ve found that typing “xrandr --output VGA-0 --mode 1280x1024” is a temporal solution, I could script this to run in each boot but I consider it a bad hack. I would like to configure Xorg to show me the proper screen resolution.

    In the Xorg.0.log file one can read how the resolution is set to 1280x1024 properly, and then switched to nvidia-auto-select (1024x768)

    So why does this work only till lightdm?

  • I’ve been tryna switch my screen resolution from 1024x768 to 1280x1024 these last 3 days and it has become a nightmare. I have an old IBM E74 CRT Monitor, and a Nvidia 8600 512Mb video card.

    I found a proper configuration to put in my 10-monitor.conf file:

      
    Section "Device"  
    Identifier "Device0"  
    Driver "nvidia"  
    VendorName "NVIDIA Corporation"  
    Option "RenderAccel" "1  
    Option "TripleBuffer" "1"  
    BusID "PCI:3:0:0"  
    EndSection  
      
    Section "Monitor"  
    Identifier "VGA-0"  
    VendorName "IBM"  
    ModelName "E74"  
    HorizSync 30 - 69  
    VertRefresh 50 - 120  
    Modeline "1280x1024" 108.00 1280 1328 1440 1688 1024 1025 1028 1066 +HSync +Vsync  
    Option "DPMS"  
    EndSection  
      
    Section "Screen"   
    Identifier "Screen0"   
    Device "Device0"   
    Monitor "VGA-0"   
    Option "UseEdid" "False"   
    Option "ExactModeTimingsDVI" "True"   
    Option "ModeDebug" "True"   
    DefaultDepth 24   
    SubSection "Display"   
    Depth 24   
    Modes "1280x1024"   
    EndSubSection   
    EndSection   
    
    

    As you may see I added a custom modeline, which I got from “xrandr --verbose”.

    The problem here is that this only works till lightdm, the login screen shows at 1280x1024 but once I login, the screen switches back to 1024x768.

    I’ve found that typing “xrandr --output VGA-0 --mode 1280x1024” is a temporal solution, I could script this to run in each boot but I consider it a bad hack. I would like to configure Xorg to show me the proper screen resolution.

    In the Xorg.0.log file one can read how the resolution is set to 1280x1024 properly, and then switched to nvidia-auto-select (1024x768)

    So why does this work only till lightdm?

  • Which desktop are you using? If its GNOME or Cinnamon you must set your resolution using their display settings tool in order for it to be saved. It saves the configuration in xml format at ~/.config/monitors.xml

    Best Regards,
    Dustin

  • @“lots.0.logs”:3g471rqw said:

    Which desktop are you using? If its GNOME or Cinnamon you must set your resolution using their display settings tool in order for it to be saved. It saves the configuration in xml format at ~/.config/monitors.xml

    Best Regards,
    Dustin[/quote:3g471rqw]

    I’m using gnome and I can’t find the monitors.xml file. Should I create it?

  • Nevermind, I just found the gnome display settings tool and succesfully made the changes, Thanks again Mr. Dustin

  • Glad to see you resolved it

  • I have the same issue with an external monitor I plug in at work. However It does not show the correct resolution in the GNOME display settings tool, and If I manually edit monitors.xml It changes itself back on re-boot. Any Ideas?

Posts 7Views 2177
Log in to reply