Tiny Core Linux
Tiny Core Extensions => TCE Q&A Forum => Topic started by: kagashe on December 04, 2008, 09:46:53 AM
-
I installed Xorg.tce 7.4., made xorg.conf with Xorg -configure command, modified .xsession file as required. I am getting this error:
Fatal server error:
Add/ScreenInit failed for driver 0.
I am appending xorg.conf below
Section "ServerLayout"
Identifier "X.org Configured"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection
Section "Files"
ModulePath "/usr/local/lib/X11/modules"
FontPath "/usr/local/lib/X11/fonts/misc/"
FontPath "/usr/local/lib/X11/fonts/TTF/"
FontPath "/usr/local/lib/X11/fonts/OTF"
FontPath "/usr/local/lib/X11/fonts/Type1/"
FontPath "/usr/local/lib/X11/fonts/100dpi/"
FontPath "/usr/local/lib/X11/fonts/75dpi/"
EndSection
Section "Module"
Load "glx"
Load "dri"
Load "extmod"
Load "dbe"
Load "freetype"
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 "Monitor"
#DisplaySize 300 230 # mm
Identifier "Monitor0"
VendorName "HCM"
ModelName "HCM510LSA"
HorizSync 30.0 - 63.0
VertRefresh 55.0 - 75.0
Option "DPMS"
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 "SWcursor" # [<bool>]
#Option "ColorKey" # <i>
#Option "CacheLines" # <i>
#Option "Dac6Bit" # [<bool>]
#Option "DRI" # [<bool>]
#Option "NoDDC" # [<bool>]
#Option "ShowCache" # [<bool>]
#Option "XvMCSurfaces" # <i>
#Option "PageFlip" # [<bool>]
Identifier "Card0"
Driver "intel"
VendorName "Unknown Vendor"
BoardName "Unknown Board"
BusID "PCI:0:2:0"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
SubSection "Display"
Viewport 0 0
Depth 1
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 4
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 8
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 15
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 16
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 24
EndSubSection
EndSection
kagashe
-
Please also post Xorg.0.log from /var/log after trying this, there should be more info about the error.
-
Xorg.0.log attached.
kagashe
-
(EE) GARTInit: Unable to open /dev/agpgart (No such device)
The agpgart module is missing. My bad, this should have been mentioned more clearly in Xorg info.
Please use graphics-2.6.26.tcem. You'll get the agpgart module, which is needed to allocate more videoram, and also the modules for accelerated 3D, Xvideo and other things.
Edit: Xorg-7.4.tcel.info now edited. Would you say it's clear enough now?
-
You could also just try the vesa module, which should work on most setups - change "intel" to "vesa" for the driver.
Should there be an easy way to use the a vesa config?
-
That would be no better than Xvesa in his case, as the bios only allocated ~750kb of video ram. Would force him to 640x480 still.
Perhaps a sample vesa config file could be included. To teh todo list!
-
I was thinking more on terms of a script to edit something after a X -configure so that the other devices would be configured.
-
Please use graphics-2.6.26.tcem. You'll get the agpgart module, which is needed to allocate more videoram, and also the modules for accelerated 3D, Xvideo and other things.
I am already using graphics-2.6.26.tcem, even then getting that error in Xorg.0.log.
You could also just try the vesa module, which should work on most setups - change "intel" to "vesa" for the driver.
That would be no better than Xvesa in his case, as the bios only allocated ~750kb of video ram. Would force him to 640x480 still.
Yes. vesa driver on Xorg provides 640x480 only, however, Xvesa is working with -swaprgb option on 1024x768x32.
Thanks everybody. But I would like to use intel driver.
I have tried this machine on Ubuntu Intrepid and Fedora 10 Live CD both of which have Xorg 7.4 and the intel driver works.
Ubuntu uses xserver 1.5.2 and Fedora uses 1.5.3 and you are using 1.5.1. Could it make any difference with the driver?
I have also tried Ubuntu Intrepid and Fedora 10 on another machine with an older intel card. On Ubuntu I had to remove compiz to make it work. On Fedora intel driver does not work at all on this machine and I had to use vesa.
I think Xorg 7.4 is still in heavy development.
kagashe
-
On my machine you have to help things along like this:
$ sudo modprobe agpgart
$ sudo modprobe intel-agp
$ sudo modprobe drm
$ startx
-
On my machine you have to help things along like this: $ sudo modprobe agpgart
$ sudo modprobe intel-agp
$ sudo modprobe drm
$ startx
Wonderful! It works for me as well. Thank you.
You people rock!
kagashe