View previous topic :: View next topic |
Author |
Message |
mcc666 n00b
Joined: 17 Apr 2003 Posts: 31
|
Posted: Fri Jul 25, 2003 7:01 pm Post subject: No display subsection in screen |
|
|
Hi,
i have some problem with x86. When i start xfree i get this error:
No display subsection in screen section "Screen0" for depth/fbbpp 8/8.
I cut off section for 8 bits cause i do not want to have 256 colors , and it's run in 8 bits by default. I want to have 24 bit color. What to do?
My XF86Config:
Section "ServerLayout"
Identifier "XFree86 Configured"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse1" "SendCoreEvents"
EndSection
Section "Files"
RgbPath "/usr/X11R6/lib/X11/rgb"
ModulePath "/usr/X11R6/lib/modules"
FontPath "/usr/X11R6/lib/X11/fonts/misc/"
FontPath "/usr/X11R6/lib/X11/fonts/Speedo/"
FontPath "/usr/X11R6/lib/X11/fonts/Type1/"
FontPath "/usr/X11R6/lib/X11/fonts/CID/"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi/"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi/"
EndSection
Section "Module"
Load "record"
Load "extmod"
Load "dbe"
Load "dri"
Load "glx"
Load "xtrap"
Load "type1"
Load "speedo"
EndSection
Section "InputDevice"
Identifier "Keyboard0"
Driver "keyboard"
Option "XkbRules" "xfree86"
Option "XkbModel" "pc105"
Option "XkbLayout" "pl"
EndSection
Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "IMPS/2"
Option "Device" "/dev/psaux"
Option "Emulate3Buttons"
Option "ZAxisMapping" "4 5"
EndSection
Section "InputDevice"
Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "IMPS/2"
Option "Device" "/dev/usbmouse"
Option "ZAxisMapping" "4 5"
EndSection
Section "Monitor"
#DisplaySize 270 210 # mm
Identifier "Monitor0"
VendorName "LCD-Monitors"
ModelName "Generic 1024x768"
Option "DPMS"
HorizSync 31-50
VertRefresh 60-61
ModeLine "1024x768/60Hz" 65 1024 1032 1176 1344 768 771 777 806 -HSync -VSync
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 "SWcursor" # [<bool>]
#Option "PciRetry" # [<bool>]
#Option "NoAccel" # [<bool>]
#Option "SetMClk" # <freq>
#Option "MUXThreshold" # <i>
#Option "ShadowFB" # [<bool>]
#Option "Rotate" # [<str>]
#Option "VideoKey" # <i>
#Option "NoMMIO" # [<bool>]
#Option "NoPciBurst" # [<bool>]
#Option "MMIOonly" # [<bool>]
#Option "CyberShadow" # [<bool>]
#Option "CyberStretch" # [<bool>]
#Option "XvHsync" # <i>
#Option "XvVsync" # <i>
#Option "XvBskew" # <i>
#Option "XvRskew" # <i>
#Option "FpDelay" # <i>
#Option "Display1400" # [<bool>]
#Option "Display" # [<str>]
#Option "GammaBrightness" # [<str>]
Identifier "Card0"
Driver "trident"
VendorName "TRIDENT"
BoardName "CyberBlade/i1"
ChipSet "cyberbladei1"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
# SubSection "Display"
# Depth 1
# Virtual 0 0
# EndSubSection
# SubSection "Display"
# Depth 4
# Virtual 0 0
# EndSubSection
# SubSection "Display"
# Depth 8
# Virtual 0 0
# EndSubSection
# SubSection "Display"
# Depth 15
# Virtual 0 0
# EndSubSection
# SubSection "Display"
# Depth 16
# Virtual 0 0
# EndSubSection
# SubSection "Display"
# Depth 24
# Virtual 0 0
# EndSubSection
Subsection "Display"
Depth 24
Modes "1024x768"
ViewPort 0 0
EndSubsection
EndSection
Section "ServerFlags"
EndSection
Regards
MCC |
|
Back to top |
|
|
c07 Veteran
Joined: 25 Oct 2002 Posts: 1091
|
Posted: Fri Jul 25, 2003 8:42 pm Post subject: |
|
|
Read
and use DefaultDepth.
BTW, if you post code, use the "code" BBCode. It is much more readable. |
|
Back to top |
|
|
mcc666 n00b
Joined: 17 Apr 2003 Posts: 31
|
Posted: Sat Jul 26, 2003 2:10 pm Post subject: |
|
|
thx very much - i didn't know
MCC |
|
Back to top |
|
|
|