Getting more than 256 colours out of my Trident

Getting more than 256 colours out of my Trident

Post by Grant Byer » Wed, 08 Jul 1998 04:00:00



Hi..

I have a Trident TVGA9440AGI video card..
The problem i have is getting more than 256 colours.. I know it's capable
because it will display 24bit true colour under Win95...

I've tried unsuccesfully modifying my X setup.. Does anyone have any suggestions
??
Is it maybe that I'm using an old display driver ??
I have RedHat 4.1 Installed. Should I upgrade ??

Any help at all would be much appreciated
Thanx In advance :)

Grant

 /---------------------/

/---------------------/

 
 
 

Getting more than 256 colours out of my Trident

Post by Michael Huttinge » Fri, 10 Jul 1998 04:00:00



> Hi..

> I have a Trident TVGA9440AGI video card..
> The problem i have is getting more than 256 colours.. I know it's capable
> because it will display 24bit true colour under Win95...

First, when you start X, see if

  startx -- -bpp 16

starts up X in 16 bit planes (instead of 8 bpp, or 256 colors).  If so,
then all should be well in the driver.  Add in a line in your XF86Config
file to set your default colors to 16 (or 24 or whatever) bit planes.
Add into your Screen Section:

  DefaultColorDepth 16

Note that is the startx -- -bpp 16 command does not work, then neither
will this as your driver won't support the higher screen colors.
Perhaps a newer driver would help in this case.

My XF86Config Screen section follows.  Note the default color
specification:

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

# The Colour SVGA server

Section "Screen"
    Driver      "svga"
    # Use Device "Generic VGA" for Standard VGA 320x200x256
    #Device      "Generic VGA"
    Device      "STB Velocity 128"
    Monitor     "My Monitor"
    DefaultColorDepth 16
    Subsection "Display"
        Depth       16
        # Omit the Modes line for the "Generic VGA" device
        Modes       "1024x768" "800x600" "640x480"
        ViewPort    0 0
        # Use Virtual 320 200 for Generic VGA
    EndSubsection
    Subsection "Display"
        Depth       8
        Modes       "1024x768" "800x600" "640x480"
        ViewPort    0 0
    EndSubsection
    Subsection "Display"
        Depth       24
        Modes       "1024x768" "800x600" "640x480"
        ViewPort    0 0
    EndSubsection
    Subsection "Display"
        Depth       32
        Modes       "1024x768" "800x600" "640x480"
        ViewPort    0 0
    EndSubsection
EndSection

--

  Mike Huttinger
  Electrical/Computer Engineer
  IPACT, Inc.