Resolution

Differences between revisions 1 and 4 (spanning 3 versions)
Revision 1 as of 2008-10-29 17:50:26
Size: 2308
Editor: c-67-168-235-241
Comment:
Revision 4 as of 2008-11-05 20:22:10
Size: 3046
Editor: c-67-168-233-128
Comment:
Deletions are marked like this. Additions are marked like this.
Line 2: Line 2:

For help on manually configuring screen resolutions, please see [[X/Config/Resolution]]. For procedures to troubleshoot resolution problems, read on.
Line 5: Line 7:
Computer monitors contain a small binary packet of information called '''Extended Display Information Data''' (EDID), which describes the monitor's size, modelines, etc. During startup or when a monitor is hotplugged, the X server queries this data from the monitor and uses it to set a resolution. Computer monitors contain a small binary packet of information called ''Extended Display Information Data'' (EDID), which describes the monitor's size, modelines, etc. During startup or when a monitor is hotplugged, the X server queries this data from the monitor and uses it to set a resolution.
Line 15: Line 18:
''Workaround (for GNOME)'': '''Workaround (for GNOME)''':
Line 24: Line 27:
 * You should be able to use System > Preferences > Screen Resolution to fine tune your resolution from here.  * You should be able to use System > Preferences > Screen Resolution to fine tune your resolution from here, or see [[X/Config/Resolution Configuring Resolution]] for ways to configure resolutions manually.
Line 26: Line 29:
''Workaround (for KDE)'': '''Workaround (for KDE)''':
Line 36: Line 39:
'''Workaround (for XFCE)'''
 * ''Please fill this in''
Line 37: Line 42:
'''Troubleshooting Approach''':
Review the {{{Xorg.0.log}}} to see how it interprets the EDID information and what resolution it arrived at. Often errors or warnings will indicate where it has gotten confused. For example, "Using fuzzy aspect match for initial modes" indicates it did not find a valid resolution and is extrapolating (evidently incorrectly).
Line 38: Line 45:

'''Troubleshooting approach''': Review the Xorg.0.log
The output from {{{get-edid | parse-edid}}} (from the read-edid package) can be used to examine the EDID more closely.

Over the years, Xorg has gotten much better at automatically detecting and configuring monitor resolutions.

For help on manually configuring screen resolutions, please see X/Config/Resolution. For procedures to troubleshoot resolution problems, read on.

How It Works

Computer monitors contain a small binary packet of information called Extended Display Information Data (EDID), which describes the monitor's size, modelines, etc. During startup or when a monitor is hotplugged, the X server queries this data from the monitor and uses it to set a resolution.

Problem: Monitor shows "Out of Range"

This typically happens when the graphics card is trying to use a resolution beyond what the monitor is capable of handling.

First, look and see if a resolution is hardcoded in your xorg.conf. These days this is rarely needed, but if you're using an xorg.conf from an older install or something, it could be set. Try moving aside your xorg.conf and boot without any xorg.conf so it's all auto-detected, or disable the resolution lines.

If booting with an auto-detected configuration doesn't work, then there is a deeper problem. Usually this indicates that the EDID information your monitor is providing is incorrect.

Workaround (for GNOME):

  • Start up Ubuntu in Recovery Mode and get a root prompt
  • Set GNOME to auto-login, by editing /etc/gdm/gdm.conf and setting AutomaticLoginEnable=true and AutomaticLogin to your preferred user account.

  • In your ~/.xprofile add a line to specify a safer resolution:

  # Depending on your video card, your output may be 
  # 'VGA-0', 'VGA0', 'DVI', 'LVDS', etc. instead of 'VGA'
  xrandr --output VGA --mode 1024x768

Workaround (for KDE):

  • Start up Ubuntu in Recovery Mode and get a root prompt
  • Hardcode the startup resolution in /etc/kde4/kdm/Xsetup (Change VGA to the proper name of your output, like DVI-1, LVDS, or whatever):

  xrandr --output VGA --mode 1024x768
  • Modify the mode 1024x768 to your preferred resolution in the above line

There may still be a brief 'out of range' error when the initial wallpaper is shown at full resolution, but then it shifts and login/normal operation follows.

Workaround (for XFCE)

  • Please fill this in

Troubleshooting Approach: Review the Xorg.0.log to see how it interprets the EDID information and what resolution it arrived at. Often errors or warnings will indicate where it has gotten confused. For example, "Using fuzzy aspect match for initial modes" indicates it did not find a valid resolution and is extrapolating (evidently incorrectly).

The output from get-edid | parse-edid (from the read-edid package) can be used to examine the EDID more closely.

X/Troubleshooting/Resolution (last edited 2010-04-05 21:46:12 by pool-74-107-129-37)