View previous topic :: View next topic |
Author |
Message |
JSharku Apprentice
Joined: 09 Feb 2003 Posts: 189 Location: Belgium
|
Posted: Sun Feb 09, 2003 9:23 pm Post subject: XFree86 won't start. |
|
|
I can't get X working at all on my new gentoo system. Every time I try running startx, the server crashes on me:
Code: | Fatal server error:
no screens found |
I've run xf86config so many times I know the options by heart now. This is the XF86config file I'm currently using, which I got by mixing a working RedHat XF86config and the one created by xf86config:
Code: | Section "ServerLayout"
Identifier "Default Layout"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection
Section "Module"
Load "dbe" # Double buffer extension
SubSection "extmod"
Option "omit xfree86-dga" # don't initialise the DGA extension
EndSubSection
Load "type1"
Load "freetype"
# Load "glx"
EndSection
Section "Files"
RgbPath "/usr/X11R6/lib/X11/rgb"
FontPath "/usr/X11R6/lib/X11/fonts/local/"
FontPath "/usr/X11R6/lib/X11/fonts/misc/"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/Type1/"
FontPath "/usr/X11R6/lib/X11/fonts/Speedo/"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi/"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi/"
EndSection
Section "InputDevice"
Identifier "Keyboard0"
Driver "Keyboard"
Option "AutoRepeat" "500 30"
Option "XkbRules" "xfree86"
Option "XkbModel" "pc105"
Option "XkbLayout" "gb"
EndSection
Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "IMPS/2"
Option "Device" "/dev/mouse"
Option "Emulate3Buttons" "no"
Option "ZAxisMapping" "4 5"
EndSection
Section "Monitor"
Identifier "LS902UT"
DisplaySize 346 260
HorizSync 30.0 - 96.0
VertRefresh 50.0 - 160.0
Modeline "1400x1050" 129.0 1400 1464 1656 1960 1050 1051 1054 1100 +hsync +vsync
Modeline "1400x1050" 151.0 1400 1464 1656 1960 1050 1051 1054 1100 +hsync +vsync
Modeline "1400x1050" 162.0 1400 1464 1656 1960 1050 1051 1054 1100 +hsync +vsync
Modeline "1400x1050" 184.0 1400 1464 1656 1960 1050 1051 1054 1100 +hsync +vsync
Option "dpms"
EndSection
Section "Device"
Identifier "Gf4"
Driver "nv"
#VideoRam 131072
# Insert Clocks lines here if appropriate
EndSection
Section "Screen"
Identifier "Screen0"
Device "Gf4"
Monitor "LS902UT"
DefaultDepth 24
Subsection "Display"
Depth 24
Modes "1024x768" "1280x1024"
EndSubsection
EndSection
Section "DRI"
Group 0
Mode 0666
EndSection
|
I've tried using the "pure" file created by xf86config as well as copying the RedHat one "as is", and I even tried symlinking the file to XF86config-4 thinking that might help. No joy, always the same error.
I also tried adding "PCI 1:0:0" to the video card section because there's an old 3DFX voodoo card on the PCI bus as well; although I wouldn't expect that to cause any problems. The voodoo is one of those patch-through things: it doesn't have it's own VGA capabilities, so I wouldn't expect it to count as a second "head". And in any case XFree86 on redhat doesn't seem to have any problems with it, I've made no modifications to the config file since adding the card and it still runs fine.
Basically I've run out of ideas for things to try.
Sharku |
|
Back to top |
|
|
KeithReuters Tux's lil' helper
Joined: 29 Sep 2002 Posts: 130 Location: Newport Beach, California // Grenoble, France
|
Posted: Sun Feb 09, 2003 9:47 pm Post subject: |
|
|
Okay.
emerge nvidia-kernel
emerge nvidia-glx
uncomment load "glx"
and change driver "nv" to driver "nvidia".
try loading xfree, and send the output here.
Pascal. |
|
Back to top |
|
|
fifo Guru
Joined: 14 Jan 2003 Posts: 437
|
Posted: Sun Feb 09, 2003 9:53 pm Post subject: |
|
|
Also, have a look through /var/log/XFree86.0.log and see if you can spot any error messages. |
|
Back to top |
|
|
KeithReuters Tux's lil' helper
Joined: 29 Sep 2002 Posts: 130 Location: Newport Beach, California // Grenoble, France
|
Posted: Sun Feb 09, 2003 9:55 pm Post subject: |
|
|
run X with
startx -- -verbose 5 -logverbose 5
So we can get as much information as possible and thus be able to try to help ya =) |
|
Back to top |
|
|
JSharku Apprentice
Joined: 09 Feb 2003 Posts: 189 Location: Belgium
|
Posted: Sun Feb 09, 2003 10:57 pm Post subject: |
|
|
KeithReuters wrote: | run X with
startx -- -verbose 5 -logverbose 5
So we can get as much information as possible and thus be able to try to help ya =) |
I had tried both with and without the nvidia accelerated drivers before, same thing, I forgot to mention it. Anyway I just tried "startx -- -verbose 5 -logverbose 5" like you suggested, both with and without the nvidia driver and I put the logs it generated at
http://users.pandora.be/sharku/XFree86.0.log-without_glx
http://users.pandora.be/sharku/XFree86.0.log-with_glx
As far as I can tell from these logs, both the nv and nvidia module fail to load for some reason, but I can't figure out why.
Sharku |
|
Back to top |
|
|
fifo Guru
Joined: 14 Jan 2003 Posts: 437
|
Posted: Mon Feb 10, 2003 12:22 am Post subject: |
|
|
What happens if you do
Code: |
# modprobe NVdriver
|
? |
|
Back to top |
|
|
matosale Apprentice
Joined: 02 Jan 2003 Posts: 218 Location: Lima - Peru // Linz - Austria
|
Posted: Mon Feb 10, 2003 12:34 am Post subject: |
|
|
If you have the lastest kernel/glx version you have to put into Code: | /etc/modules.autoload | and then reboot
Of course with the new "nvidia" driver (NOT "nv")
I hope it helps _________________ Alejandro Matos
Perumanta Austriapi
"...tupac manchis kama..."
Linux Registered User: #287900
Linux Registered Machine: #169303
http://counter.li.org
-- |
|
Back to top |
|
|
JSharku Apprentice
Joined: 09 Feb 2003 Posts: 189 Location: Belgium
|
Posted: Mon Feb 10, 2003 12:39 am Post subject: |
|
|
fifo wrote: | What happens if you do
Code: |
# modprobe NVdriver
|
? |
Ooops... forgot that bit. Never occurred to me to take a look at my /etc/modules.conf on RH either.
Thanks anyway.
Sharku |
|
Back to top |
|
|
|