Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19

Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19

Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19

Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19
32-bit colours
Results 1 to 4 of 4

Thread: 32-bit colours

  1. #1
    Agent007
    Guest

    32-bit colours

    Hi!

    Am using RedHat Linux 7.2, How can i force Xserver use 32bit colors instead of 16bit or 24bit. the graphics card is a Riva TnT with 16MB RAM. Supports 16bit and 32 bit colours NOT 24bit.

    thanks,
    Agent007

  2. #2
    JimH
    Guest

    Re:32-bit colours

    Under X the value 32 is not a valid color depth. That said under X a setting of 24 is 32. ;D

    From the X docs:
    "depth means the number of bits in a pixel that are actually use to determine the pixel colour. 32 is not a valid depth value. Most hardware that uses 32 bits per pixel only uses 24 of them to hold the colour information, which means that the colour depth is 24, not 32."

    This information is for using the open source nvidia driver included with XFree86. If you are using the closed source binary only drivers from nvidia this may be different. Try looking at the docs nvidia provides for their drivers. I don't use nvidia based graphics cards. Some one else on the board who uses the binsry nvidia drivers might know the answer.

    Jim H

  3. #3
    Braveo
    Guest

    Re:32-bit colours

    To add to his post:

    When you have 32-bit color depth, what you really have is 24-bit color depth with extra information added in.

    You have 4 channels, RGBA
    Red
    Green
    Blue
    Alpha

    RGB is the actual color depth, while Alpha is nothing more than a description of how to mask that particular pixel when it's overlaid with something else.

    This allows for transparency effects, irregular shapes, etc.

  4. #4
    Agent007
    Guest

    Re:32-bit colours

    Thanks for ur help guys!! I've been searching all over help, but was'nt successful until now. This forum is cool!!

    rgds,
    Agent007

Similar Threads

  1. Weird Colours when shutting down
    By mme in forum Windows - General Topics
    Replies: 1
    Last Post: 10-11-2006, 06:16 AM
  2. Colours in X
    By kornp in forum Linux - Software, Applications & Programming
    Replies: 2
    Last Post: 07-16-2002, 03:58 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •