[ale] Sun 24" monitor mode lines

Jeff Hubbs hbbs at attbi.com
Tue May 28 21:50:25 EDT 2002


On Tue, 2002-05-28 at 19:58, Mike Still wrote:
> Hi, I have a Sun 24" monitor that I haven't been able to get working
> correctly on Linux.  I'm running XFree 4.1 from Mandrake 8.1 with a TNT2
> 32M card driving this monitor.  I believe that my problem is that I
> don't have any mode lines for the resolutions this monitor wants to do. 
> I want to do 1600x1000.
> 
> This is my monitor:
> http://sunsolve.sun.com/handbook_pub/Devices/Monitor/MONITOR_Color_24_Premium_CRT.html
> 
> I just don't know how to get mode lines out of that information. Any
> help?  
> 
> 
> ---
> This message has been sent through the ALE general discussion list.
> See http://www.ale.org/mailing-lists.shtml for more info. Problems should be 
> sent to listmaster at ale dot org.
> 

Mike -

It's obvious to me that I'm going to have to test this monitor
extensively over the next year on your behalf.  Contact me off list for
contact information and I will meet you in a darkened, secluded
location. :-)

Seriously, though - schweet monitor.  I'm not sure that you specifically
need modelines.  Modelines are but one way to describe modes. 
Alternatively, you can define modes the way Mandrake's XFdrake makes
them at install time.  Below is a cut-down version of my
/etc/XF86Config-4:



Section "Monitor"
    Identifier "monitor1"
    VendorName "Unknown"
    ModelName  "Unknown"


# 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.
# NOTE: THE VALUES HERE ARE EXAMPLES ONLY.  REFER TO YOUR MONITOR'S
# USER MANUAL FOR THE CORRECT NUMBERS.
    HorizSync  30-85


# 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.
# NOTE: THE VALUES HERE ARE EXAMPLES ONLY.  REFER TO YOUR MONITOR'S
# USER MANUAL FOR THE CORRECT NUMBERS.
    VertRefresh 50-160


# This is a set of extended mode timings typically used for laptop,
# TV fullscreen mode or DVD fullscreen output.
# These are available along with standard mode timings.

# Sony Vaio C1(X,XS,VE,VN)?
# 1024x480 @ 85.6 Hz, 48 kHz hsync
ModeLine "1024x480"    65.00 1024 1032 1176 1344   480  488  494  563
-hsync -vsync

# 768x576 @ 79 Hz, 50 kHz hsync
ModeLine "768x576"     50.00  768  832  846 1000   576  590  595  630
# 768x576 @ 100 Hz, 61.6 kHz hsync
ModeLine "768x576"     63.07  768  800  960 1024   576  578  590  616


EndSection



# **********************************************************************
# Graphics device section
# **********************************************************************

Section "Device"
    Identifier "Generic VGA"
    Driver     "vga"
EndSection

Section "Device"
    Identifier  "ATI Radeon"
    VendorName  "Unknown"
    BoardName   "Unknown"
    Driver      "radeon"

    # Clock lines


    Option      "AGPMode"  "1"
    Option      "DPMS"  "on"
EndSection



# **********************************************************************
# Screen sections
# **********************************************************************


Section "Screen"
    Identifier "screen1"
    Device      "ATI Radeon"
    Monitor     "monitor1"
    DefaultColorDepth 24
    Subsection "Display"
        Depth       8
        Modes       "1280x1024" "1024x768" "800x600" "640x400"
        ViewPort    0 0
    EndSubsection
    Subsection "Display"
        Depth       15
        Modes       "1280x1024" "1024x768" "800x600" "640x480"
        ViewPort    0 0
    EndSubsection
    Subsection "Display"
        Depth       16
        Modes       "1280x1024" "1024x768" "800x600" "640x480"
        ViewPort    0 0
    EndSubsection
    Subsection "Display"
        Depth       24
        Modes       "1280x1024" "1024x768" "800x600" "640x480"
        ViewPort    0 0
    EndSubsection
    Subsection "Display"
        Depth       32
        Modes       "1280x1024" "1024x768" "800x600" "640x480"
        ViewPort    0 0
    EndSubsection
EndSection
    HorizSync  30-85


If you plug in the HorizSync and VertRefresh ranges from the spec and
pick a DefaultColorDepth from your vid card specs (let's assume 24 bits
is good), then you can have the following:

    Subsection "Display"
        Depth       24
        Modes       "1600x1000"
        ViewPort    0 0
    EndSubsection

and see if you get anywhere.  Personally, I'd like to see if I could
fire up that 1920 × 1200 mode.

- Jeff




---
This message has been sent through the ALE general discussion list.
See http://www.ale.org/mailing-lists.shtml for more info. Problems should be
sent to listmaster at ale dot org.






More information about the Ale mailing list