Screen resolution too low on monitor

I was unable to use the maximum resolution I have on my monitor with Ubuntu. I was limited to only using an 800×600 screen resolution.

Here are my specs:

  • Ubuntu 64bit Hardy
  • Samsung T240 22″ monitor
  • NVIDIA Ge Force 9800 GTX
  • Intel Quad Core

I am using the Nvidia native driver + software and installed it onto my system. Get it from here (I can’t remember which one, but probably the second):

To fix the resolution problem above, I did the following:

  1. Download and install the native NVIDIA driver software
  2. Close your X-session in order to run the nvidia drivers installation program. Do this by running the command:
    sudo /etc/init.d/gdm stop
  3. Run the NVIDIA drivers installation program by running the command:
    sudo nvidia-installer
  4. After running the driver installation program, your X11 config file that the installer generated could be incorrect (mine was), open up your X11 config file by typing the command:
    sudo vim /etc/X11/xorg.conf
  5. Change the following entries in your xorg.conf file:

    • In the section titled “Monitor”, comment out the line defining “modeline” by putting a “#” before it. This line should not be executed.
    • In the sub-section called “Display” within the section called “Screen”, change the resolutions listed to “1920” by “1200”.
  6. Restart your X server by running the command:
    sudo /etc/init.d/gdm start

Your monitor should now start with the higher resolution. Try restarting your computer if you don’t see a difference yet or all features are not yet working. Your final X11 config file could look the following:


# xorg.conf (X.Org X Window System server configuration file)
#
# This file was generated by failsafeDexconf, using
# values from the debconf database and some overrides to use vesa mode.
#
# You should use dexconf or another such tool for creating a "real" xorg.conf
# For example:
# sudo dpkg-reconfigure -phigh xserver-xorg
Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "us"
EndSection

Section “InputDevice”
Identifier “Configured Mouse”
Driver “mouse”
EndSection

Section “Device”
Identifier “Configured Video Device”
Boardname “vesa”
Busid “PCI:3:0:0”
Driver “vesa”
Screen 0
EndSection

Section “Monitor”
Identifier “Configured Monitor”
Vendorname “Plug ‘n’ Play”
Modelname “Plug ‘n’ Play”
#modeline “640×480@60” 25.2 640 656 752 800 480 490 492 525 -vsync -hsync
Gamma 1.0
EndSection

Section “Screen”
Identifier “Default Screen”
Device “Configured Video Device”
Monitor “Configured Monitor”
Defaultdepth 24
SubSection “Display”
Depth 24
Virtual 1920 1200
Modes “1920×1200@60”
EndSubSection
EndSection

Section “ServerLayout”
Identifier “Default Layout”
screen 0 “Default Screen” 0 0
EndSection
Section “Module”
Load “glx”
Load “GLcore”
Load “v4l”

Advertisements

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