Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 04-25-2005, 07:53 PM   #1
Registered: Apr 2004
Location: east midlands, england
Distribution: Ubuntu 9.04
Posts: 56

Rep: Reputation: 15
Getting the resolution right in xorg.conf

Hi all,

I'm trying to get my second PC's display to a resolution of 1280x1024.

lspci tells me the graphics card is a Matrox Graphics, Inc. MGA 1064SG [Mystique] (rev 03) tells me the card supports 1280x1024 at a colour depth of 16 bits/pixel.

The monitor is an Eizo F57, which has a recommended resolution of 1280 dots x 1024 lines @ 89 Hz, and certainly used to run at that resolution on this (my main) PC.

xorg.conf invites me to 'feel free to try resolutions such as "1152x864", "1280x1024"', in a comment.

So, I did. I plugged in the appropriate values for the card and the monitor into xorg.conf:

Section "Monitor"

    Identifier  "Eizo"

# HorizSync is in kHz unless units are specified.
# HorizSync may be a comma separated list of discrete values, or a
# comma separated list of ranges of values.

     HorizSync  30-96

# VertRefresh is in Hz unless units are specified.
# VertRefresh may be a comma separated list of discrete values, or a
# comma separated list of ranges of values.

     VertRefresh 50-160

and ..

Section "Screen"
    Identifier  "Screen 1"
    Device      "VESA Framebuffer"
    Monitor     "Eizo"

# If your card can handle it, a higher default color depth (like 24 or 32)
# is highly recommended.

   DefaultDepth 16

# "1024x768" is also a conservative usable default resolution.  If you
# have a better monitor, feel free to try resolutions such as
# "1152x864", "1280x1024", "1600x1200", and "1800x1400" (or whatever your
# card/monitor can produce)

    Subsection "Display"
        Depth       8
        Modes "1280x1024" "1152x864" "1024x768" "800x600" "640x480"
    Subsection "Display"
        Depth       16
        Modes "1280x1024" "1152x864" "1024x768" "800x600" "640x480"
    Subsection "Display"
        Depth       24
        Modes "1280x1024" "1152x864" "1024x768" "800x600" "640x480"
    Subsection "Display"
        Depth       32
        Modes "1280x1024" "1152x864" "1024x768" "800x600" "640x480"


.. however, my box steadfastly refuses to display at any other resolution than 1024x768!

/var/log/Xorg.0.log tells me:

(II) VESA(0): Supported VESA Video Modes:                            
(II) VESA(0): 720x400@70Hz
(II) VESA(0): 720x400@88Hz
(II) VESA(0): 640x480@60Hz
(II) VESA(0): 640x480@67Hz
(II) VESA(0): 640x480@72Hz
(II) VESA(0): 640x480@75Hz
(II) VESA(0): 800x600@56Hz
(II) VESA(0): 800x600@60Hz
(II) VESA(0): 800x600@72Hz
(II) VESA(0): 800x600@75Hz
(II) VESA(0): 832x624@75Hz
(II) VESA(0): 1024x768@87Hz (interlaced)
(II) VESA(0): 1024x768@60Hz
(II) VESA(0): 1024x768@70Hz
(II) VESA(0): 1024x768@75Hz
(II) VESA(0): 1280x1024@75Hz
(II) VESA(0): 1152x870@75Hz
.. which seems promising, but also mentions, later on::

(II) VESA(0): Total Memory: 32 64KB banks (2048kB)
(II) VESA(0): Eizo: Using hsync range of 30.00-96.00 kHz
(II) VESA(0): Eizo: Using vrefresh range of 50.00-160.00 Hz
(II) VESA(0): Not using mode "1280x1024" (no mode of this name)
(II) VESA(0): Not using mode "1152x864" (no mode of this name)

.. anyone got any insight? I'm scratching my head at the moment! The "no
mode of this name" message would seem to be a useful clue but I couldn't
find anything particularly helpful when I googled.


Dig It : a forum for European Beatles fans -
Old 04-26-2005, 02:03 PM   #2
Harmaa Kettu
Registered: Apr 2005
Location: Finland
Posts: 196

Rep: Reputation: 30
(II) VESA(0): Total Memory: 32 64KB banks (2048kB)
If this is correct, the card does not have enough memory for the mode you want (1280*1024*2 bytes/pixel = 2.5MB).
Also, the vesa driver is slow and supports only 60hz refresh rate, so you may want to use mga instead. Generate a new xorg.conf by running "X -configure" as root and copy the "Device" section from that to your old xorg.conf file.

Another trick that often helps with resolution/refresh rate problems is adding
Option "NoDPMS"
to the "Monitor" Section of X config file.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
xorg.conf and 1440x900 resolution mrsolo Linux - Software 6 11-15-2010 11:32 PM
Screen Resolution problems connected with xorg.conf and xorgconfig with Slackware 10 tvisher Linux - Newbie 17 04-03-2007 08:39 AM
Resolution -> Xorg.conf & Sound Raiwan Linux - Newbie 3 10-31-2005 09:40 PM
X11 Resolution - not read from xorg.conf felixc Linux - Newbie 3 10-24-2005 05:27 PM
Changing resolution in FC3. Which xorg.conf line do I edit? ColKurtz Linux - Newbie 2 02-18-2005 01:09 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:09 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration