Change Resolution of Unknown Monitor in Ubuntu 11.10

Ubuntu LogoI have the HP v185e Monitor and it was unrecognizable by my Ubuntu 11.10. The “Display” setting shows “Unknown Monitor”, and the maximum resolution I could get is 1024 x 768, the optimal resolution is 1368 x 768. I found that the “Unknown Monitor” could be set with XRandr from the posting in the Ubuntu Forum.

I did that right and the resolution is 1368 x 768, but after restarting, the resolution options were reverted back to 1024 x 768. From the Ask Ubuntu, I found that Ubuntu 11.10 have different way to permanenting the XRandr customization than it’s predecessors.

XRandr 001

Here’s the summary (I’m using the example of adding 1440 x 900 resolution):

  1. Open Terminal and type
  2. $ xrandr
  3. The XRandr will show the maximum resolution allowed like this:
  4. Screen 0: minimum 320 x 200, current 1368 x 768, maximum 8192 x 8192
    VGA1 connected 1368x768+0+0 (normal left inverted right x axis y axis) 0mm x 0mm
       1368x768_60.00   59.9*+
       1024x768       60.0  
       1024x768_60.00   59.9  
       800x600        60.3     56.2  
       848x480        60.0  
       640x480        59.9  
       1280x800_60.00   59.8  
    HDMI1 disconnected (normal left inverted right x axis y axis)
    DP1 disconnected (normal left inverted right x axis y axis)
    HDMI2 disconnected (normal left inverted right x axis y axis)
    DP2 disconnected (normal left inverted right x axis y axis)
    
  5. Type “cvt [x resolution] [y resolution]” in the terminal, for my case is like this:
  6. $ cvt 1440 900
  7. The Terminal will show the output:
  8. # 1440x900 59.89 Hz (CVT 1.30MA) hsync: 55.93 kHz; pclk: 106.50 MHz
    Modeline "1440x900_60.00"  106.50  1440 1528 1672 1904  900 903 909 934 -hsync +vsync
    
  9. For the next step, type:
  10. $ xrandr --newmode [Modeline]

    in my case is

    $ xrandr --newmode "1440x900_60.00"  106.50  1440 1528 1672 1904  900 903 909 934 -hsync +vsync

    Copy the “Modeline” configuration from the previous output

  11. To add the new resolution to the “Display” option type:
  12. $ xrandr --addmode VGA1 1440x900_60.00

    Now the new resolution is ready in the “Display” option
    XRandr 002

  13. To apply the new resolution, type:
  14. $xrandr --output VGA1 --mode 1440x900_60.00

    And now the screen will be in the new resolution

  15. In order to make it permanent, add the resolution to /etc/X11/xorg.conf
  16. $ sudo gedit /etc/X11/xorg.conf
  17. The xorg.conf will show the output like this:
  18. Section "Monitor"
        Identifier    "Monitor0"
        Modeline "1280x800_60.00"   83.50  1280 1352 1480 1680  800 803 809 831 -hsync +vsync
        Modeline "1368x768_60.00"   85.25  1368 1440 1576 1784  768 771 781 798 -hsync +vsync
        Modeline "1024x768_60.00"   63.50  1024 1072 1176 1328  768 771 775 798 -hsync +vsync
    EndSection
    
    Section "Screen"
        Identifier     "Screen0"
        Device         "Card0"
        Monitor        "Monitor0"
        SubSection "Display"
            Modes      "1280x800_60.00" "1368x768_60.00" "1024x768_60.00"
        EndSubSection
    EndSection
    
    Section "Device"
        Identifier    "Card0"
        Driver        ""
    EndSection
    
  19. Add the new Modeline and resolution, for the “Driver” in the “Section Device” I just simply type “Intel” (because I’m using intel standard graphic card), if you are using Nvidia just simply type “nvidia”. The output is like:
  20. Section "Monitor"
        Identifier    "Monitor0"
        Modeline "1440x900_60.00"  106.50  1440 1528 1672 1904  900 903 909 934 -hsync +vsync
        Modeline "1280x800_60.00"   83.50  1280 1352 1480 1680  800 803 809 831 -hsync +vsync
        Modeline "1368x768_60.00"   85.25  1368 1440 1576 1784  768 771 781 798 -hsync +vsync
        Modeline "1024x768_60.00"   63.50  1024 1072 1176 1328  768 771 775 798 -hsync +vsync
    EndSection
    
    Section "Screen"
        Identifier     "Screen0"
        Device         "Card0"
        Monitor        "Monitor0"
        SubSection "Display"
            Modes      "1440x900_60.00" "1280x800_60.00" "1368x768_60.00" "1024x768_60.00"
        EndSubSection
    EndSection
    
    Section "Device"
        Identifier    "Card0"
        Driver        "intel"
    EndSection
    
  21. Restart and see the resolution setting is now permanent

Hope it worked


Anton Hermansyah

Logo of Anton Hermansyah

About these ads

Tags: , , , ,

21 Responses to “Change Resolution of Unknown Monitor in Ubuntu 11.10”

  1. Jiri Says:

    Thank You very much, it helped me !! :-))))

  2. neal Says:

    Thanks very much. Great help!

    I think you want to remove the word “Modeline” in Step 5 (where you said “in my case”):

    $ xrandr –newmode Modeline “1440x900_60.00″ …

    I needed to remove that word to get it to work in Mint 12 at least.

    • anhe51 Says:

      Oh yes I’m sorry, my bad. Yes, we don’t need the “Modeline” word in the -newmode command. Thanks for the correction, I’m already repair it


      Anton

  3. neal Says:

    Thanks very much Anton.

  4. Vladimir Janković (@popmilo) Says:

    Man, you saved me! :)
    Spent an hour trying to get external monitor to show something more then 1024×768…

    With your guide it was as simple as it can be, thanks very much!

  5. Rocky Says:

    thanks a lot man,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, cheers!! :-)

  6. kqeeht Says:

    awesome bro!!your info is effective.. thanks

  7. joseph Says:

    i cant find xorg.conf in ubuntu 12.04,when i used gedit it opened an empty file

  8. Santhosh Says:

    Awesome friend. It worked like charm. Thanks

  9. syed Says:

    Thanks dear Anton… it’s working.

  10. Ubuntu beginner from Finland Says:

    Well written guide. Saved my day. Thank you Anton!

  11. Fatime Says:

    My xorg.conf file empty. Could you tell me why? and what should I do?

  12. Yeshaya Says:

    It just works!
    Just let me suggest adding a few words how to use cvt for preparing the modeline lines in xorg.conf.

  13. Adam Says:

    Thanks you so much – after a week of working on this I’ve finally got my external monitor working properly :-)

    On Ubuntu 12.04 I replaces the xorg.conf with yours. Then i had to change the text “Monitor0″ and “Screen0″ to “VGA1″.
    :-)

  14. mazallah Says:

    Thanks from turkey

  15. Huy Hoàn Says:

    Thanks alot. its very helpful.

  16. Bala Says:

    In ubuntu 12.04 there is no xorg.conf file

  17. Bala Says:

    I replaces the content into the blank xorg.conf and saved. After restart it is not booting…

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s


Follow

Get every new post delivered to your Inbox.

%d bloggers like this: