Summary: Resetting VGA Resolution

From: Doug Thomas (dlthomas0_at_yahoo.com)
Date: 06/14/04

  • Next message: Don Newcomer: "SUMMARY: gcc 3.4.0"
    Date: Mon, 14 Jun 2004 07:44:03 -0700 (PDT)
    To: TRU64_List <tru64-unix-managers@ornl.gov>
    
    

    Thanx to Thomas Sjolshagen, Kris Smith, Dr Thomas.Blinn, John Lanier,
    Nilesh M. Virani, and Denise McCracken for your replies. Their replies
    are listed below. It's somewhat lengthy, but there's alot of good
    info.

    *** Summary ***

    It turns out that my problems are hardware related. The 433au at work
    has a PowerStorm 4D50T graphics card. I found the latest driver (for
    5.1a) at http://www.support.compaq.com/open3d/sw4d50t.htm. It would
    not install on 5.1b, so I installed 5.1a, installed the drive (looking
    good), upgrading to 5.1b removed the driver and I was back to 640x480.

    My home machine is actually a 433a. It has an AccelGraphics card, for
    which I could only find NT drivers.

    *** Replies ***

    *** Thomas Sjolshagen

    Some of the PWS's had graphics cards where you had to set the
    resolution
    by way of a turnable switch at the top (the part of the card facing up
    from the PCI slot itself)...

    *** Kris Smith

            The change that you are looking to make will be in the
    /usr/var/X11/Xservers.conf file. You should find a section in that file
    that refers to your video driver. It will look something like:
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    ! you specify command line arguments here
    args <
    ! PowerStorm 300/350 Server args start
    ! -pn -vclass PseudoColor -su -bs -nice -2
            -pn -vclass PseudoColor -nice -2
    ! PowerStorm 300/350 Server args end
    >
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
            To change to a different resolution from default, change the
    arguments to
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    ! you specify command line arguments here
    args <
    ! PowerStorm 300/350 Server args start
            -pn -su -bs -nice -2 -screen 1024x768 -vsync 60
    ! PowerStorm 300/350 Server args end
    >
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

            You will want to make sure you do not set the scan rate and
    resolution too high for the monitor or the card or you could damage the
    equipment. The documentation is a bit spread out in terms of the X
    Windows system on Tru64. Try the man pages for X, xdm, Xserver and
    Xserver.conf for the details. The command line switches and flags from
    above are explained in the man pages for Xserver.conf. You may also
    want
    to refer to the documentation for your graphics cards for better
    insight
    into the settings and a description of the driver. Hope this helps.

    *** Dr Thomas.Blinn

    If I recall correctly, the PWS 433au is an EISA system. As such,
    it has an EISA bus and the keyboard, mouse, and so forth are all
    connected to that bus. I have no idea what your system has for
    a graphics interface (you didn't say). But it sounds for all the
    world like your graphics interface (and maybe more) simply isn't
    being recognized by V5.1B as supported hardware. You're getting
    basic VGA support and it sounds like no X server is starting up.

    Assuming that you even got the X bits loaded during installation,
    using the "sizer" command should show you what the system thinks
    you have for graphics support and the resolution that should be
    used by default. "sizer -gt" shows the "graphics type" and if it
    does show something, "sizer -gr" should show the resolution that
    is native support.

    If you've got one of the older 3D graphics cards that doesn't have
    any support in the V5.1B, then you will need to find a card that is
    supported to get X to run on it. That may be the problem.

    With EISA bus systems, you need to make sure that the EISA database
    in the console is correct; there is a weird utility program called
    the "ECU" for "EISA configuration utility" that is only available
    on a floppy disk and that is used to maintain the database; if your
    database is messed up, then things like graphics support may not
    work correctly.

    I suspect the real problem is that you have an unsupported (and maybe
    not supportable) graphics card in these systems, but that's just a
    guess.

    *** John Lanier

    Here is something I have sent to customers in the past:
    =========================================================

    "Changing Graphics Resolution Or Vertical Refresh Rate under Tru64
    UNIX"
     
     
     
    The steps necessary to change the Xservers graphics resolution differs
     
    depending on which X Windowing System is in use, XDM/Motif or the new
     
    standard CDE (Common Desktop Environment).
     
     
     
    Change the Resolution and Refresh rate on CDE GUI
     
     
     
    1) Login to the system as "root".
     
    2) Check to see if the directory /etc/dt/config exists, if not create
    it
    as
     
    follows.
     
     
     
    Example:
     
    # mkdir /etc/dt/config
     
    # chmod 755 /etc/dt/config
     
    3) Copy the Xservers file from the path /usr/dt/config to the path
     
    /etc/dt/config.
     
    Example:
     
    # cp /usr/dt/config/Xservers /etc/dt/config/Xservers
     
    4) Edit the file /etc/dt/config/Xservers and add the appropriate
    Xserver
     
    Option, "-screen0" and or "-vsync0" to the line that starts the
    Xserver.
     
    This line is generally the last line in the file Xservers.
     
     
     
    Example line from the Xservers file used with CDE:
     
    :0 Local local@console /usr/bin/X11/X :0 -screen0 1280x1024
     
     
     
    Xserver Options:
     
            -screen[screen] WxH
     
                Set screen (W)width and (H)height.
     
            -vsync[screen] Hz
     
                Set screen (Hz) Vertical refresh rate
     
        NOTES on adding Xserver options
     
     
     
    These are device dependent Xserver options and not available for ALL
     
    graphics options please refer to the Graphics options
    Owners/Installation
     
    Guide for supported Resolutions and Refresh Rates.
     
     
     
    Both the Width and Height should be specified in the "-screen" option
    and
     
    not just the Width. On some Xserver graphics devices setting ONLY the
    Width
     
    will cause the Xserver to fail.
     
     
     
    The [screen] number need not be specified if only 1 screen exists or if
    the
     
    user wants all screens to use the same values. The [screen] value is
    generally
     
    '0' as shown in the example below.
     
    Example: -screen0 1280x1024
     
                              ^
     
                              |_ [screen] value
     
     
     
    Anything added after the "-I" option will be ignored by the Xserver and
     
    passed on to the DDX, Device Dependent X layer of the server, i.e. the
     
    driver. Generally this option is used to pass "ffbdodma" settings for
    the
     
    graphics device. The "-screen" and or "-vsync" option(s) should precede
    the
     
    "-I" option. The "-screen" and or "-vsync" option(s) should precede the
     
    "-I" option.
     
     
     
    5) Restart the CDE GUI.
     
        For Digital UNIX V4.* systems use:
     
     
     
                # /sbin/init.d/xlogin stop
     
         # /sbin/init.d/xlogin start
     
     
     
    Examples of some typical Resolution and Refresh rate settings using
    CDE:
     

    Set the Screen Resolution to 800x600, common on the AlphaStation 1000
    systems using the Cirrus Logic graphics controller.
     
    :0 Local local@console /usr/bin/X11/X :0 -screen0 800x600
     
    Set the Screen Resolution to 1024x768 and the Vertical Refresh rate to
    60Hz. Commonly needed on the AlphaServer's using the S3Trio cards and
    monitors that do not support the cards default resolution of 1024x768
    resolution at 70Hz.
     
    :0 Local local@console /usr/bin/X11/X :0 -screen0 1024x768 -vsync0 60
     
    Set the Screen Resolution to 1280x1024 and the Vertical Refresh Rate to
    72Hz. Commonly setup on systems with the S3Trio64 2MB Video controller
    (PB2GA-JB/JD). This higher resolution is NOT supported on the S3Trio
    1MB
    Video Controllers (PB2GA-JA/JC).
     
    :0 Local local@console /usr/bin/X11/X :0 -screen0 1280x1024 -vsync0 72
     

    *** Nilesh M. Virani

    Just boot kernel through genvmunix and rebuild the kernel.

    P00>>> b -file genvmunix

    #doconfig

    I had faced the same situation once and the problem got resolved by
    this.

    *** Denise McCracken

            Did you check to make sure that your video card is supported with
    5.1b? If you look at the startup messages (uerf -Rr 300|more or dia
    -R|more
    if you have Decevent, or /var/adm/messages), you will see which video
    driver
    was loaded at the last boot. If it's the standard VGA driver and not
    the
    one specifically for your card, then it will come up in 16-color
    640x480.

            
                    
    __________________________________
    Do you Yahoo!?
    Friends. Fun. Try the all-new Yahoo! Messenger.
    http://messenger.yahoo.com/


  • Next message: Don Newcomer: "SUMMARY: gcc 3.4.0"

    Relevant Pages

    • Re: Video card support under TRU64 5.1b
      ... has a PowerStorm 4D50T graphics card. ... Some of the PWS's had graphics cards where you had to set the ... To change to a different resolution from default, ... basic VGA support and it sounds like no X server is starting up. ...
      (comp.unix.tru64)
    • Re: Graphics hardware compatibility
      ... ATI Radeon X1250 256MB Shared Graphics featuring ATI Avivo Technology ... Xvideo support would be nice ... This card worked beautifully ...
      (comp.unix.bsd.freebsd.misc)
    • Re: x server crashing - sometimes
      ... settings for changing the resolution I did not see anything about ... onboard graphics. ... configured to select a user installed graphics card if one is installed. ... currently assigned to the video card. ...
      (Ubuntu)
    • Re: Can my computer support 2048*1152? Options
      ... I would expect the monitor to work at 2048x1152 if you used the VGA connector. ... The 1920x1080 is probably a recommended resolution for quality playback of HD content, not a limit on the resolutions the x1250 can support. ... If you have problems you can fit a cheap PCI-E graphics card which will support 2048x1152. ...
      (microsoft.public.windows.vista.general)
    • Re: /boot/loader graphics support & extensibility
      ... It needs a different loader. ... If you want to support EFI ... which graphics functions we're talking about. ... The Forth code clearly needs a way to query the resolution ...
      (freebsd-hackers)