CGXMode

CGraphX Mode

  • Main Window - Pick your Card, (make/delete/edit) Screen mode and Monitor config file
  • Monitor Specification - Enter all of your monitors settings
  • Edit Mode - Edit the details of a specific screen mode
  • Edit Mode Real Time - Edit a specific screen mode in "real time"
  • Tooltypes - CGXMode Tooltypes
  • Error - Error messages from CGXMode

  • OVERVIEW- You should read this complete page so that you have a good understanding on how CGXMode works, what number it wants and how it reacts with your monitor. It does not get to heavy into tecnobabble as most all the other monitor pages do and it is geared around CGXMode and the terms it uses vs what your monitor manual migiht use. The AA(AGA) and A2410 drivers will not use CGXMode. If you have any questions let us know at cgxmode@vgr.com.
    Interface


    Monitor Specification


    This is where you can tell CGXMode the display specifications for your monitor. The manual for your monitor should have most of these numbers in the back. If it does not then you should contact the MFG of your monitor (or check their web site) to get the correct numbers. The more numbers you can feed into the Monitor Specification settings the more you can get out of your monitor with CGX. If you plug a few numbers in and guess others it _will_ be a pain to edit screen modes and you will not get the results you need or want. MAKE SURE you input the correct numbers, if you guess and you are wrong you might damage your monitor: You will see this everytime you edit your monitors specification:
    MC1
    This is window where you can enter all of your monitors display specifications:
    MC2


    Edit Mode


    To use the Edit Mode and get the most out of it would be best to understand some of the terms that are used. The problem is that many times there are 4 or 5 different terms that could mean the same thing. This makes it hard to take your monitors information and move it into what CGXMode wants. Below is a generic timing example from the back of a Nanao Flexscan F560iW manual. These terms seem to be used alot for different monitor mfgs and seems to be a good middle ground to match upto CGXMode's terms. You should see something like the timing layout below for your monitor. If it does not then you should contact the MFG of your monitor (or check their web site) to get the correct numbers.
    A: Front Porch
    B: Sync Period
    C: Back Porch
    D: Blanking Period
    E: Display Period
    F: Total Cycle
    S: Sync Singal Level
    V: Video Signal Level
    Time2

    Here is the same basic timing layout with the numbers that CGXMode wants in bold-bigger text and what same thing in the Nanao manual refers to them as. This should help you take the numbers and terms from your monitor's manual and compare them to both of these charts to figure out what numbers from your monitor's manual and where to plug them into CGXMode.
    Time
    EM1
  • Scan Mode:
  • Pixel Clock: This is the total number of pixels that can be displayed in one second. Value is in MHz ie. 85 [Mhz] -> 85 million pixels / second. Also sometimes called dotclock. If this number to high you will get a bad or no display. The value you enter here is limited by the bandwidth of the graphics card and the mode type that is selected. For most cards maximum graphics card bandwidth varies depending on the depth. Anything beyond 100MHz Pixel Clock will make the pointer flicker because it uses a software cursor insted of having the gfx card use its hardware cursor.
    Horizontal Timing
    • Resolution: This is the horizontal resolution for this screen mode. The value is in dots. Make this bigger will give a wider screen. Less will get a skinner screen.
    • Sync Length: Horizontal Sync Length (Blanking Period) = Pulse Offset(Front Porch) + Pulse Length(Sync Pulse) + (Back Porch). The Sync Length (Blanking Period) is the total time that the monitor needs to move the beam from the end of one line and to the start of the next. This includes the Front/Back Porches that surround the actual Sync Pulse that tells the monitor to move the beam to the next frame. Sync Length is use to change the size of the viewing area. When the Sync Length is made smaller the Horizontal size of the display is increased. This is becase you are making the borders smaller making more room for more viewable screen area. Reducing the sync length, increases horizontal refresh rate and that is limited by the monitor. Just the opposite happens when you make the Sync Length larger. You make the borders bigger thus leaving less room for viewable display area. That is why monitors with low horizontal refresh rates often are not that flexible when it comes to border sizes. The number is in µs (microseconds)
    • Pulse Offset: Pulse Offset(Front Porch) is the window in time just before the the monitor gets the Sync Pulse to tell it to move the beam to the next scan line. This can be used to to center the screen. When you change the pulse offset you are moving the starting horizontal position of the border, thus moving the viewable area with it. Increasing the Pulse Offset µs will move the screen to the left. Decreasing the µs will move the screen to the right.
    • Pulse Length: Pulse Length(Sync Pulse) is the actual pulse that tells the monitor to move the beam to the next scan line. Pulse length specifies the duration of the pulse in µs. You can't modify anything really by increasing or decreasing the Pulse Length it just needs to be over the minimum that the monitor can handle. If you change the value alot the monitor probably needs to resync and the scren may move in unpredictable ways. Its not real good for "editing" a mode.
    • Polarity: Specifies the polarity of the actual sync pulse.
      • Negative - Sync Pulse is negative
      • Positive - Sync Pulse is positive
    • Frequency [kHz] This is the final horizontal frequency in Kilohertz that will be used for that screen mode.
    Vertical Timing
    • Resolution: This is the vertical resolution for this screen mode. The value is in lines. Make this bigger will give a taller screen. Less will get a shorter screen.
    • Sync Length: Vertical Sync Length (Blanking Period) = Pulse Offset(Front Porch) + Pulse Length(Sync Pulse) + (Back Porch). The Sync Length (Blanking Period) is the total time that the monitor needs to move the beam from the bottom of the screen to the top of the screen. This includes the Front/Back Porches that surround the actual Sync Pulse that tells the monitor to move the beam to the next line. Sync Length is use to change the size of the viewing area. When the Sync Length is made smaller the vertical size of the display is increased. This is becase you are making the borders smaller making more room for more viewable screen area. Reducing the sync length, increases vertical refresh rate and that is limited by the monitor. Just the opposite happens when you make the Sync Length larger. You make the borders bigger thus leaving less room for viewable display area. The number is in ms (milliseconds)
    • Pulse Offset: Pulse Offset(Front Porch) is the window in time just before the the monitor gets the Sync Pulse to tell it to move the beam from the top of the screen from the bottom. This can be used to to center the screen. When you change the pulse offset you are moving the starting vertical position of the border, thus moving the viewable area with it. Increasing the Pulse Offset ms will move the screen up. Decreasing the ms will move the screen down.
    • Pulse Length: Pulse Length(Sync Pulse) is the actual pulse that tells the monitor to move the beam to the next scan line. Pulse length specifies the duration of the pulse in ms. You can't modify anything really by increasing or decreasing the Pulse Length it just needs to be over the minimum that the monitor can handle. If you change the value alot the monitor probably needs to resync and the scren may move in unpredictable ways. Its not real good for "editing" a mode.
    • Polarity: Specifies the polarity of the actual sync pulse.
      • Negative - Sync Pulse is negative
      • Positive - Sync Pulse is positive
    • Frequency [Hz] This is the final vertical frequency in Hertz that will be used for that screen mode.

    Edit Mode - "Real Time Mode"


    When you click on the Test button from the Edit Mode window it opens a screen with a test pattern screen with the settings that are in the Edit Mode window and then puts the Edit Mode window on top of the test pattern screen. Doing this allows you to see the direct relationship between the numbers that you input and change to how it will effect editing the screen. The only difference from the normal Edit Mode window and Test-Edit Mode window is that the Hidden, Type, ScanMode, PixelClock and Resolution can not be changed and are ghosted out. Test1

    As with the normalEdit Mode window you can enter the number in directly or by using the up and down gads. With the Test-Edit Mode you can also use the keyboard to quickly edit the screen mode values. Here is a overview table as to what the keys do:
    Key(s) Result
    ESC Will exit the Test-Edit Mode and restore the values if you had changed any while editing on the test pattern screen
    RETURN Will accept the values you have edited and take you back to the Edit Mode window and update the new number there
    I Will inverse all the colors on the test pattern screen, ie black to white etc...
    [UP-ARROW] This is used for centering the screen by moving the screen up. This key edits the Vertical Pulse Offset (It adds milliseconds (ms) to the current value).
    [DOWN-ARROW] This is used for centering the screen by moving the screen down. This key edits the Vertical Pulse Offset (It subtracts milliseconds (ms) from the current value).
    [LEFT-ARROW] This is used for centering the screen by moving the screen left. This key edits the Horizontal Pulse Offset (It adds microseconds (µs) to the current value).
    [RIGHT-ARROW] This is used for centering the screen by moving the screen right. This key edits the Horizontal Pulse Offset (It subtracts microseconds (µs) from the current value).
    [SHIFT]+[UP-ARROW] This is used for making the vertical height (tallness) of the screen bigger. This key edits the Vertical Sync Lenght (It subtracts milliseconds (ms) from the current value).
    [SHIFT]+[DOWN-ARROW] This is used for making the vertical height (tallness) of the screen smaller. This key edits the Vertical Sync Lenght (It adds milliseconds (ms) to the current value).
    [SHIFT]+[LEFT-ARROW] This is used for making the horizontal width (wideness) of the screen bigger. This key edits the Horizontal Sync Lenght (It subtracts milliseconds (ms) from the current value).
    [SHIFT]+[RIGHT-ARROW] This is used for making the horizontal width (wideness) of the screen smaller. This key edits the Horizontal Sync Lenght (It adds milliseconds (ms) to the current value).


    CGXMode Tooltypes


    Below is a list of current tooltypes for CGXMode:
    Tooltype OFF Tooltype ON
    (ADVANCED): If the ADVANCED tooltype is 'off' (ie not there or setup like '(ADVANCED)') then CGXMode will not be in the in ADVANCED mode. This means that CGXMode will do the math so that when you edit a screen it will not allow you to overdrive or push your monitor specs out side of the monitors range. This is more or less a safety check. You should check to see if ADVANCED tooltype is there before you start editing screenmodes if you wish CGXMode to check for overdriving your monitor! ADVANCED: If the ADVANCED tooltype is there then CGXMode will NOT do 'the math', thus it will not do safety check on the numbers you input and if you overdriver your monitor (enter a number that is to high or to low) you could damage your monitor. Overdriving or underdriving your monitor could damage it. Older and 'cheaper' monitors do not have any protection against this. Some newer and 'better' monitors have protection against overdriving or underdriving.. but you should never count on that. If you do not understand what all the numbers you are editing for a screen in CGXMode do and how they related to the MAX and MIN for your monitor you should NOT USE the ADVANCED Mode.


    CGXMode Error Messages


    Below is a list of errors you might get from CGXMode:
    Error Message What it means
    Can't update testmode definition: You might have the wrong cgx library and monitor driver combination. Your libs/monitordirver/cgxmode are not current and you should try to update to the latest of everything.
    Can't open test screen: Can't open test screen happened with old cgxmode's when you wanted to modify a card displaymode although the driver was not installed. Also if you are low on fast memory with the old CGXMode you also might get this error. The new cgxmode versions use a new interface to update the test mode config. From r69a readme: "added 2 new LVOs to cgxsystem.library that handle communication with CGXMode" You should try to update to the latest CGX and latest CGXMode.

    This page is ©1997-1998 up the yang by RCR/FM. You may not use ANY of this page without direct permission!! As of November 20th, 1997 this is the 2,971st hit to this page. If you have any questions you can email vgr@best.com.