Page 1 of 2 12 LastLast
Results 1 to 10 of 21

Thread: xrandr add screen resolution

Hybrid View

  1. #1
    Join Date
    Apr 2006
    Location
    Chicago
    Beans
    97
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    xrandr add screen resolution

    when i go System -> Preferences -> Display

    I'm only offered :

    1360x768 (16:9)
    1152x864 (4:3)

    How do i add more screen resolutions?

    I tried adding more to /etc/X11/xorg.conf but its not showing up in the options box.

    Thanks

  2. #2
    Join Date
    Oct 2008
    Beans
    1

    Re: xrandr add screen resolution


  3. #3
    Join Date
    Apr 2006
    Location
    Chicago
    Beans
    97
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: xrandr add screen resolution

    Here are the steps

    1. Use xrandr to make sure that the new mode can fit within the maximum framebuffer size
      Code:
      xrandr | grep maximum
    2. Use gtf to create a mode line
      Code:
      gtf 1440 900 59.9
    3. Add new mode using xrandr
      Code:
      xrandr --newmode "1440x900_59.90"  106.29  1440 1520 1672 1904  900 901 904 932  -HSync +Vsync
    4. Add this newly added mode to the desired output (VGA/LVDS etc)
      Code:
      xrandr --addmode VGA 1440x900_59.90
    5. Choose the new mode
      Code:
      xrandr --output VGA --mode 1440x900_59.90



    TO MAKE THE CHANGES PERSISTENT
    Code:
    sudo gedit /etc/X11/xorg.conf
    Find this: (yours might look different than from below)
    Section "Screen"
    Identifier "Primary Screen"
    Device "ATI Technologies, Inc. M22 [Radeon Mobility M300]"
    EndSection

    and add this to it

    DefaultDepth 24
    SubSection "Display"
    Depth 24
    Modes "1280x1024" "1024x768" "640x480"
    EndSubSection

    so it should all look similar to this:

    Section "Screen"
    Identifier "Primary Screen"
    Device "ATI Technologies, Inc. M22 [Radeon Mobility M300]"
    DefaultDepth 24
    SubSection "Display"
    Depth 24
    Modes "1280x1024" "1024x768" "640x480"
    EndSubSection
    EndSection


    MAKE SURE YOU ADD YOUR NEW RESOLUTION TO THE MODES LINE
    Modes "1280x1024" "1024x768" "640x480"


    Thanks to:
    https://wiki.ubuntu.com/X/Config/Res...%20resolutions

    http://www.arunviswanathan.com/node/53

  4. #4
    Join Date
    Mar 2008
    Beans
    4,714
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: xrandr add screen resolution

    Thank you for the nice write-up. =D>

  5. #5
    Join Date
    May 2007
    Location
    Buenos Aires
    Beans
    4
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: xrandr add screen resolution

    In case the frame buffer size is a limitation for the resolution you want to add (it happened to me), just modify/create the "Virtual" parameter in the "Display" subsection of your xorg.conf. Here's how mine looks after configuring the frame buffer size to use my 22' widescreen (resol: 1680x1050)...

    Code:
    Section "Screen"
    	Identifier	"Default Screen"
    	Monitor		"Configured Monitor"
    	Device		"Configured Video Device"
    	SubSection "Display"
    		Virtual	2960 1050
    		Depth 24
    		Modes "1680x1050" "1280x800"
    	EndSubSection
    EndSection

  6. #6
    Join Date
    Oct 2010
    Beans
    2

    Re: xrandr add screen resolution

    I am extremely confused right now. I want my screen resolution
    To be 1280x1024 on 60.00mhz and I have an hp vs17e screen
    Any help would be appreciated

  7. #7
    Join Date
    Apr 2011
    Beans
    1

    Re: xrandr add screen resolution

    Quote Originally Posted by max_power View Post
    Here are the steps

    1. Use xrandr to make sure that the new mode can fit within the maximum framebuffer size
      Code:
      xrandr | grep maximum
    2. Use gtf to create a mode line
      Code:
      gtf 1440 900 59.9
    3. Add new mode using xrandr
      Code:
      xrandr --newmode "1440x900_59.90"  106.29  1440 1520 1672 1904  900 901 904 932  -HSync +Vsync
    4. Add this newly added mode to the desired output (VGA/LVDS etc)
      Code:
      xrandr --addmode VGA 1440x900_59.90
    5. Choose the new mode
      Code:
      xrandr --output VGA --mode 1440x900_59.90



    TO MAKE THE CHANGES PERSISTENT
    Code:
    sudo gedit /etc/X11/xorg.conf
    Find this: (yours might look different than from below)
    Section "Screen"
    Identifier "Primary Screen"
    Device "ATI Technologies, Inc. M22 [Radeon Mobility M300]"
    EndSection

    and add this to it

    DefaultDepth 24
    SubSection "Display"
    Depth 24
    Modes "1280x1024" "1024x768" "640x480"
    EndSubSection

    so it should all look similar to this:

    Section "Screen"
    Identifier "Primary Screen"
    Device "ATI Technologies, Inc. M22 [Radeon Mobility M300]"
    DefaultDepth 24
    SubSection "Display"
    Depth 24
    Modes "1280x1024" "1024x768" "640x480"
    EndSubSection
    EndSection


    MAKE SURE YOU ADD YOUR NEW RESOLUTION TO THE MODES LINE
    Modes "1280x1024" "1024x768" "640x480"


    Thanks to:
    https://wiki.ubuntu.com/X/Config/Res...%20resolutions

    http://www.arunviswanathan.com/node/53
    Sir, you're the first to lay out so nicely how to work the mysterious xrandr option of adding a mode.

    Althoug using OpenSuSE myself, you helped me a lot. And then to realize you wrote this 2 years ago!!

    Wonder why there is so little out there about the new setup. It almost made me go back a few versions to be able to use the infamous SaX XOrg configurator...
    You saved me from that horror! I had to use CRT1 instead of VGA, but one finds that out pretty quickly...

    Thanks a bunch.
    Last edited by fnaaijkens; April 12th, 2011 at 11:58 AM. Reason: forgot 1 thing

  8. #8
    Join Date
    Jan 2011
    Beans
    12

    Re: xrandr add screen resolution [tag: native custom]

    What might make things a lot easier for you (everyone) is to make sure your monitor D-SUB cable has all the pins intact. I changed mine for a completely separate reason but lo and behold then ubuntu picks up the monitor res through the cable and sets it appropriately without me having to do a thing.

    Checking the pins on the cables, the nasty old grey one is missing a pin that is present on the nice new(er) blue-ended cable.

    Live and learn I suppose...

  9. #9
    Join Date
    Oct 2011
    Beans
    3

    Unhappy Re: xrandr add screen resolution

    hey, I tried to add a new screen resolution, but whenever I type in sudo gedit /etc/X11/xorg.conf in my terminal the message that the text editor only display is this


    Section "Device"
    Identifier "Default Device"
    Option "NoLogo" "True"
    EndSection


    I'm new in ubuntu, I tried copying those previous codes and replace the ones in the text editor, but it only ruined the display so I have to install ubuntu again.. My videocard is nvidia 7300gt.

    all available resolutions are below 1280x720.. help me please..

  10. #10
    Join Date
    Apr 2006
    Location
    Chicago
    Beans
    97
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: xrandr add screen resolution

    Quote Originally Posted by Grim_reaper10 View Post
    hey, I tried to add a new screen resolution, but whenever I type in sudo gedit /etc/X11/xorg.conf in my terminal the message that the text editor only display is this


    Section "Device"
    Identifier "Default Device"
    Option "NoLogo" "True"
    EndSection


    I'm new in ubuntu, I tried copying those previous codes and replace the ones in the text editor, but it only ruined the display so I have to install ubuntu again.. My videocard is nvidia 7300gt.

    all available resolutions are below 1280x720.. help me please..
    This is an old old thread but I can try to help you.

    What kind of video card do you have? Nvidia? ATI? Intel?

Page 1 of 2 12 LastLast

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •