TechSpot

X has a blueish tint...

By ryejay98
Jul 5, 2002
  1. So I decided to go ahead and install Gentoo ... everything went great. I emerged X and then ran "X -configure" to get X setup.

    Well ... the resolutions is great ... but ... everything has this blue-ish tint to it. Im not sure if its just because X isn't running in enough colours or what the deal is ... but any help would be appreciated.

    Its an old P3 @ 400Mhz ... 15" Cybervision C50 monitor running an old piece of crap S3 Trio32 video card.
     
  2. Mictlantecuhtli

    Mictlantecuhtli TS Evangelist Posts: 4,919   +9

    Have you tested X in lower resolutions? S3 Trio32 doesn't have enough memory for big resolutions (but then again, 15" monitor can't display them either). With 2M memory, 1024x768x16 should work, and that's about the best possible resolution for that card.
    Oh, by the way, which version of X is it?
     
  3. ryejay98

    ryejay98 TS Rookie Topic Starter Posts: 41

    Its X 4.20 ... the latest download from gentoo.org (r12?) ....

    And so far as I can tell, X is actually only running in 640x480 resolution ... not sure of the bitdepth, tho i dont think its more then 256 colors.
     
  4. Mictlantecuhtli

    Mictlantecuhtli TS Evangelist Posts: 4,919   +9

    You could try the following:

    Find out which gfx chip your card has - the exact model

    Run xf86setup, choose the driver for that model

    Set resolutions & color depths right
     
  5. ryejay98

    ryejay98 TS Rookie Topic Starter Posts: 41

    Actually its weird ... if I start up plain X ... its all blue-ish.

    When i do "kdm" .. the initial KDE logon screen is blue-ish ... upon actually starting KDE ... everything looks fine, but very lo-res and low colour ...

    how do I specify in the X config file what default resolution and colors to use?
     
  6. Mictlantecuhtli

    Mictlantecuhtli TS Evangelist Posts: 4,919   +9

    In /etc/X11/XF86Config (or XF86Config-4), you'll find the following lines:
    Code:
    Section "Screen"
        Identifier  "Screen 1"
        Device      "S3 Savage4"
        Monitor     "Samtron 96P"
        DefaultDepth 16
    
        Subsection "Display"
            Depth       8
            Modes       "640x480" "800x600" "1024x768" "1280x1024" "640x480"
            ViewPort    0 0
        EndSubsection
        Subsection "Display"
            Depth       16
            Modes       "1280x1024" "1152x864" "1024x768" "800x600" "640x480"
            ViewPort    0 0
        EndSubsection
        Subsection "Display"
            Depth       24
            Modes       "1280x1024" "1152x864" "1024x768" "800x600" "640x480"
            ViewPort    0 0
        EndSubsection
    EndSection
    
    This is where you can edit screen resolution and color depth (DefaultDepth). Resolutions are used from left to right; if the first one doesn't work, the next one is tried. You can also change the resolution when running X by pressing CTRL + ALT + numpad - or CTRL + ALT + numpad +, it cycles through those resolutions.
     
  7. ryejay98

    ryejay98 TS Rookie Topic Starter Posts: 41

    WOOHOO - I simply added the defaultdepth line (it wasnt there) and now it works perfectly.

    You're faboo :)
     
Topic Status:
Not open for further replies.


Add New Comment

TechSpot Members
Login or sign up for free,
it takes about 30 seconds.
You may also...


Get complete access to the TechSpot community. Join thousands of technology enthusiasts that contribute and share knowledge in our forum. Get a private inbox, upload your own photo gallery and more.