Jump to content

X & color depth [solved]


Guest ik@z
 Share

Recommended Posts

i have changed the color depth in "/etc/X11/XF86Config'' to 32 bit but the X window did not start !

& also the same problem with the line commande startx -- -bpp 32

i want only know if the X don't support the 32 bit color depth or the probleme come from graphic card driver?

 

& thanks

 

 

[moved from Software by spinynorman]

Link to comment
Share on other sites

== XF86Config file.==

# File generated by XFdrake.

 

# **********************************************************************

# Refer to the xorg.conf man page for details about the format of

# this file.

# **********************************************************************

 

Section "Files"

# Multiple FontPath entries are allowed (they are concatenated together)

# By default, Mandrake 6.0 and later now use a font server independent of

# the X server to render fonts.

FontPath "unix/:-1"

EndSection

 

Section "ServerFlags"

#DontZap # disable <Crtl><Alt><BS> (server abort)

#DontZoom # disable <Crtl><Alt><KP_+>/<KP_-> (resolution switching)

AllowMouseOpenFail # allows the server to start up even if the mouse does not work

EndSection

 

Section "Module"

Load "dbe" # Double-Buffering Extension

Load "v4l" # Video for Linux

Load "extmod"

Load "type1"

Load "freetype"

Load "glx" # 3D layer

Load "dri" # direct rendering

EndSection

 

Section "InputDevice"

Identifier "Keyboard1"

Driver "keyboard"

Option "XkbModel" "pc102"

Option "XkbLayout" "fr"

Option "XkbOptions" "compose:rwin"

EndSection

 

Section "InputDevice"

Identifier "Mouse1"

Driver "mouse"

Option "Protocol" "ExplorerPS/2"

Option "Device" "/dev/mouse"

Option "ZAxisMapping" "6 7"

EndSection

 

Section "Monitor"

Identifier "monitor1"

VendorName "Plug'n Play"

ModelName "PHILIPS 107E4"

HorizSync 30-71

VertRefresh 50-160

 

# TV fullscreen mode or DVD fullscreen output.

# 768x576 @ 79 Hz, 50 kHz hsync

ModeLine "768x576" 50.00 768 832 846 1000 576 590 595 630

 

# 768x576 @ 100 Hz, 61.6 kHz hsync

ModeLine "768x576" 63.07 768 800 960 1024 576 578 590 616

EndSection

 

Section "Device"

Identifier "device1"

VendorName "ATI Technologies Inc."

BoardName "ATI Mach64 Utah"

Driver "ati"

Option "DPMS"

EndSection

 

Section "Screen"

Identifier "screen1"

Device "device1"

Monitor "monitor1"

DefaultColorDepth 24

 

Subsection "Display"

Depth 8

Virtual 1024 768

EndSubsection

 

Subsection "Display"

Depth 15

Virtual 1024 768

EndSubsection

 

Subsection "Display"

Depth 16

Virtual 1024 768

EndSubsection

 

Subsection "Display"

Depth 24

Virtual 1024 768

EndSubsection

EndSection

 

Section "ServerLayout"

Identifier "layout1"

InputDevice "Keyboard1" "CoreKeyboard"

InputDevice "Mouse1" "CorePointer"

Screen "screen1"

EndSection

================================================================

thanks!

Link to comment
Share on other sites

from this link:

http://www.xfree86.org/4.2.0/XF86Config.5.html

 

The range of depth values that are allowed depends on the driver. Most driver support 8, 15, 16 and 24. Some also support 1 and/or 4, and some may support other values (like 30). Note: depth means the number of bits in a pixel that are actually used 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.

 

Short answer, there's really no such thing as "32-bit color" at all. This applies to linux and MS.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...