WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: [SOLVED] Xorg xserver fatal error.  (Read 10693 times)

Offline kagashe

  • Full Member
  • ***
  • Posts: 129
    • My Tryst with Linux
[SOLVED] Xorg xserver fatal error.
« 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:
Quote
Fatal server error:
Add/ScreenInit failed for driver 0.

I am appending xorg.conf below
Quote
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


« Last Edit: December 05, 2008, 03:15:58 AM by kagashe »

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11049
Re: Xorg xserver fatal error.
« Reply #1 on: December 04, 2008, 10:19:20 AM »
Please also post Xorg.0.log from /var/log after trying this, there should be more info about the error.
The only barriers that can stop you are the ones you create yourself.

Offline kagashe

  • Full Member
  • ***
  • Posts: 129
    • My Tryst with Linux
Re: Xorg xserver fatal error.
« Reply #2 on: December 04, 2008, 11:37:42 AM »
Xorg.0.log attached.

kagashe

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11049
Re: Xorg xserver fatal error.
« Reply #3 on: December 04, 2008, 11:46:59 AM »
Quote
(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?
« Last Edit: December 04, 2008, 11:51:48 AM by curaga »
The only barriers that can stop you are the ones you create yourself.

Offline ^thehatsrule^

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 1726
Re: Xorg xserver fatal error.
« Reply #4 on: December 04, 2008, 02:26:35 PM »
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?

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11049
Re: Xorg xserver fatal error.
« Reply #5 on: December 04, 2008, 03:16:54 PM »
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!
The only barriers that can stop you are the ones you create yourself.

Offline ^thehatsrule^

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 1726
Re: Xorg xserver fatal error.
« Reply #6 on: December 04, 2008, 04:14:31 PM »
I was thinking more on terms of a script to edit something after a X -configure so that the other devices would be configured.

Offline kagashe

  • Full Member
  • ***
  • Posts: 129
    • My Tryst with Linux
Re: Xorg xserver fatal error.
« Reply #7 on: December 05, 2008, 02:10:34 AM »
Quote
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.

Quote
You could also just try the vesa module, which should work on most setups - change "intel" to "vesa" for the driver.
Quote
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


Online Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14851
Re: Xorg xserver fatal error.
« Reply #8 on: December 05, 2008, 02:20:39 AM »
On my machine you have to help things along like this:
Code: [Select]
$ sudo modprobe agpgart
$ sudo modprobe intel-agp
$ sudo modprobe drm
$ startx

Offline kagashe

  • Full Member
  • ***
  • Posts: 129
    • My Tryst with Linux
Re: Xorg xserver fatal error.
« Reply #9 on: December 05, 2008, 02:37:47 AM »
On my machine you have to help things along like this:
Code: [Select]
$ sudo modprobe agpgart
$ sudo modprobe intel-agp
$ sudo modprobe drm
$ startx
Wonderful! It works for me as well. Thank you.

You people rock!

kagashe