Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
No display subsection in screen
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
mcc666
n00b
n00b


Joined: 17 Apr 2003
Posts: 31

PostPosted: Fri Jul 25, 2003 7:01 pm    Post subject: No display subsection in screen Reply with quote

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
View user's profile Send private message
c07
Veteran
Veteran


Joined: 25 Oct 2002
Posts: 1091

PostPosted: Fri Jul 25, 2003 8:42 pm    Post subject: Reply with quote

Read
Code:
man XF86Config

and use DefaultDepth.

BTW, if you post code, use the "code" BBCode. It is much more readable.
Back to top
View user's profile Send private message
mcc666
n00b
n00b


Joined: 17 Apr 2003
Posts: 31

PostPosted: Sat Jul 26, 2003 2:10 pm    Post subject: Reply with quote

thx very much - i didn't know :-( :oops:

MCC
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum