You are not logged in.

#1 2008-10-21 23:42:41

archnildon
Member
Registered: 2008-10-15
Posts: 12

Xorg depth switch

I'm using 24bit color depth. When I switch to 16, I can't start X. It looks like white liquid in my screen.
my xorg:

Section "ServerLayout"
    Identifier    "Default Layout"
    screen          0 "aticonfig-Screen[0]" 0 0
    InputDevice    "Touchpad" "CorePointer"
EndSection

Section "Files"
    RgbPath      "/usr/share/X11/rgb"
    ModulePath   "/usr/lib/xorg/modules"
    FontPath     "/usr/share/fonts/misc"
    FontPath     "/usr/share/fonts/100dpi:unscaled"
    FontPath     "/usr/share/fonts/75dpi:unscaled"
    FontPath     "/usr/share/fonts/TTF"
    FontPath     "/usr/share/fonts/Type1"
EndSection

Section "Module"
    Load  "glx"
    Load  "extmod"
    Load  "xtrap"
    Load  "record"
    Load  "GLcore"
    Load  "dbe"
    Load  "dri"
    Load  "freetype"
EndSection

Section "DRI"
    Mode 0666
EndSection

Section "InputDevice"
    Identifier  "Keyboard0"
    Driver      "kbd"
EndSection

Section "InputDevice"
    Identifier  "Mouse0"
    Driver      "mouse"
    Option        "Protocol" "auto"
    Option        "Device" "/dev/input/mice"
    Option        "ZAxisMapping" "4 5 6 7"
EndSection

Section "InputDevice"
    Identifier    "Touchpad"
    Driver        "synaptics"
    Option        "Device"    "/dev/psaux"
    Option        "Protocol"    "auto-dev"
    Option        "SendCoreEvents"
    Option        "LeftEdge"    "1700"
    Option        "RightEdge"    "5300"
    Option        "TopEdge"    "1700"
    Option        "BottomEdge"    "4200"
    Option        "FingerLow"    "25"
    Option        "FingerHigh"    "30"
    Option        "MaxTapTime"    "180"
    Option        "MaxTapMove"    "220"
    Option        "VertScrollDelta" "100"
    Option        "MinSpeed"    "0.06"
    Option        "MaxSpeed"    "0.12"
    Option        "AccelFactor" "0.0010"
    Option        "SHMConfig"    "on"
EndSection

Section "Monitor"
    Identifier    "aticonfig-Monitor[0]"
    Option        "VendorName"    "ATI Proprietary Driver"
    Option        "ModelName"    "Generic Autodetecting Monitor"
    Option        "DPMS"    "true"
EndSection

Section "Device"

        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
        ### [arg]: arg optional
        #Option     "NoAccel"                # [<bool>]
        #Option     "NoDRI"                  # [<bool>]
        #Option     "SWcursor"               # [<bool>]
        #Option     "Dac6Bit"                # [<bool>]
        #Option     "BusType"                # [<str>]
        #Option     "DRM_nbufs"              # <i>
        #Option     "DRM_bufsize"            # <i>
        #Option     "Capabilities"           # <i>
        #Option     "CapabilitiesEx"         # <i>
        #Option     "ClientDriverName"       # [<str>]
        #Option     "KernelModuleParm"       # [<str>]
        #Option     "AGPMask"                # <i>
        #Option     "AGPv3Mask"              # <i>
        #Option     "BufferTiling"           # [<bool>]
        #Option     "Profile"                # <str>
        #Option     "RingSize"               # <i>
        #Option     "EnableDepthMoves"       # [<bool>]
        #Option     "GammaCorrectionI"       # <i>
        #Option     "GammaCorrectionII"      # <i>
        #Option     "OpenGLOverlay"          # [<bool>]
        #Option     "DefaultVisualTrueColor"     # [<bool>]
        #Option     "VideoOverlay"           # [<bool>]
        #Option     "DesktopSetup"           # [<str>]
        #Option     "MonitorLayout"          # [<str>]
        #Option     "ForceMonitors"          # [<str>]
        #Option     "EnableMonitor"          # <str>
        #Option     "OverlayOnCRTC2"         # [<bool>]
        #Option     "Mode2"                  # [<str>]
        #Option     "PairModes"              # [<str>]
        #Option     "HSync2"                 # [<str>]
        #Option     "VRefresh2"              # [<str>]
        #Option     "ScreenOverlap"          # <i>
        #Option     "MemClock"               # <i>
        #Option     "ASICClock"              # <i>
        #Option     "UseInternalAGPGART"     # [<bool>]
        #Option     "FastSwap"               # [<bool>]
        #Option     "Stereo"                 # [<bool>]
        #Option     "StereoSyncEnable"       # <i>
        #Option     "DisableOvScaler"        # [<bool>]
        #Option     "UseFastTLS"             # <i>
        #Option     "BlockSignalsOnLock"     # [<bool>]
        #Option     "ForceGenericCPU"        # [<bool>]
        #Option     "CenterMode"             # [<bool>]
        #Option     "OffScreenPixmaps"       # [<bool>]
        #Option     "EnableOpaqueOverlayVisual"     # [<bool>]
        #Option     "TMDSCoherentMode"       # [<bool>]
        #Option     "EnablePrivateBackZ"     # [<bool>]
        #Option     "TVFormat"               # [<str>]
        #Option     "TVStandard"             # [<str>]
        #Option     "TVOverscan"             # [<bool>]
        #Option     "TVHSizeAdj"             # <i>
        #Option     "TVVSizeAdj"             # <i>
        #Option     "TVHPosAdj"              # <i>
        #Option     "TVVPosAdj"              # <i>
        #Option     "TVHStartAdj"            # <i>
        #Option     "TVColorAdj"             # <i>
        #Option     "PseudoColorVisuals"     # [<bool>]
        #Option     "PreferredVRefresh"      # <i>
        #Option     "FastStart"              # [<bool>]
        #Option     "ProfileDriver"          # [<bool>]
        #Option     "PPPTforGART"            # [<bool>]
        #Option     "TexturedVideo"          # [<bool>]
        #Option     "TexturedVideoSync"      # [<bool>]
        #Option     "Textured2D"             # [<bool>]
        #Option     "TexturedXrender"        # [<bool>]
        #Option     "DPMS"                   # [<bool>]
        #Option     "MaxGARTSize"            # <i>
        #Option     "LogoPosX"               # <i>
        #Option     "LogoPosY"               # <i>
        #Option     "LogoColFG"              # <i>
        #Option     "LogoColBG"              # <i>
        #Option     "SwapScreens"            # [<bool>]
        #Option     "FBC"                    # [<bool>]
        #Option     "FrontBufferMode"        # <i>
        #Option     "BackBufferMode"         # <i>
        #Option     "DepthBufferMode"        # <i>
        #Option     "OverlayBufferMode"      # <i>
        #Option     "VideoOverlayBufferMode"     # <i>
        #Option     "EnableIrqMgr"           # [<bool>]
        #Option     "EnablePPLIB"            # [<bool>]
        #Option     "DefaultOnDC"            # [<bool>]
        #Option     "EnableRandR12"          # [<bool>]
        #Option     "DisableRotation"        # [<bool>]
        #Option     "EnableCrossFire"        # [<bool>]
        #Option     "DisableDlm"             # [<bool>]
#    Option    "AGPMode" "4"
#    Option    "ColorTiling" "on"
#    Option "AccelMethod" "EXA"
#    Option "EnablePageFlip" "on"
    Identifier  "aticonfig-Device[0]"
    Driver      "fglrx"
    VendorName  "ATI Technologies Inc"
    BoardName   "RS485 [Radeon Xpress 1100 IGP]"
    BusID       "PCI:1:5:0"
EndSection

Section "Screen"
    Identifier    "aticonfig-Screen[0]"
    Device        "aticonfig-Device[0]"
    Monitor        "aticonfig-Monitor[0]"
    Defaultdepth    24
    SubSection "Display"
        Viewport    0    0
        Depth    24
    EndSubSection
EndSection

Thank you for help.

Offline

#2 2008-10-22 23:31:54

test1000
Member
Registered: 2005-04-03
Posts: 834

Re: Xorg depth switch

uh, i don't know about that, but as said in update msg(when pacman installed your packages)     RgbPath      "/usr/share/X11/rgb"
should be deleted or commented out.. try doing that and see if you can startup then..


KISS = "It can scarcely be denied that the supreme goal of all theory is to make the irreducible basic elements as simple and as few as possible without having to surrender the adequate representation of a single datum of experience." - Albert Einstein

Offline

#3 2008-10-23 05:35:33

klixon
Member
From: Nederland
Registered: 2007-01-17
Posts: 525

Re: Xorg depth switch

You have to add depth 16 to your display settings... change this

    SubSection "Display"
        Viewport    0    0
        Depth    24
    EndSubSection
EndSection

into this

    SubSection "Display"
        Viewport    0    0
        Depth    24 16 # <=here it is
    EndSubSection
EndSection

Stand back, intruder, or i'll blast you out of space! I am Klixon and I don't want any dealings with you human lifeforms. I'm a cyborg!

Offline

#4 2008-10-25 23:20:46

archnildon
Member
Registered: 2008-10-15
Posts: 12

Re: Xorg depth switch

Still can't change it. First I saw that strange white liguid, I was afraid my display is broken smile
klixon:

    SubSection "Display"
        Viewport    0    0
        Depth    24 16 # <= this results to parsing error
    EndSubSection
EndSection

adding another SubSection or replacing 24 with 16 doesn't work.
test1000: I think it's not distro specific, because in mint it doesn't work either.

Maybe it's driver problem?

Offline

#5 2008-10-28 22:19:50

archnildon
Member
Registered: 2008-10-15
Posts: 12

Re: Xorg depth switch

bump is allowed here?:D

Offline

#6 2008-11-06 01:55:56

archnildon
Member
Registered: 2008-10-15
Posts: 12

Re: Xorg depth switch

How is it possible that I can run X in 24bit depth and can't in 16bit depth? sad

Offline

#7 2008-11-06 06:47:24

ak-89
Member
From: Finland
Registered: 2008-08-26
Posts: 86
Website

Re: Xorg depth switch

Ati's proprietary drivers does support only 24bit depth.
http://ati.amd.com/products/catalyst/linux.html#9

Q9:        What colour modes are currently supported?
A9:     24-bit True Colour is currently the only native colour mode for the ATI Proprietary Linux Driver. 8-bit colour can be achieved using the pseudo-colour visuals feature, but may not work in all applications. 16-bit colour is not supported; if any of your critical applications require 16-bit colour, you should not install the ATI Proprietary Linux Driver.

Offline

#8 2008-11-06 20:08:45

archnildon
Member
Registered: 2008-10-15
Posts: 12

Re: Xorg depth switch

ak-89 wrote:

Ati's proprietary drivers does support only 24bit depth.
http://ati.amd.com/products/catalyst/linux.html#9

Q9:        What colour modes are currently supported?
A9:     24-bit True Colour is currently the only native colour mode for the ATI Proprietary Linux Driver. 8-bit colour can be achieved using the pseudo-colour visuals feature, but may not work in all applications. 16-bit colour is not supported; if any of your critical applications require 16-bit colour, you should not install the ATI Proprietary Linux Driver.

tyvm smile

Offline

Board footer

Powered by FluxBB