Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
XFree86 won't start.
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
JSharku
Apprentice
Apprentice


Joined: 09 Feb 2003
Posts: 189
Location: Belgium

PostPosted: Sun Feb 09, 2003 9:23 pm    Post subject: XFree86 won't start. Reply with quote

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
View user's profile Send private message
KeithReuters
Tux's lil' helper
Tux's lil' helper


Joined: 29 Sep 2002
Posts: 130
Location: Newport Beach, California // Grenoble, France

PostPosted: Sun Feb 09, 2003 9:47 pm    Post subject: Reply with quote

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


Joined: 14 Jan 2003
Posts: 437

PostPosted: Sun Feb 09, 2003 9:53 pm    Post subject: Reply with quote

Also, have a look through /var/log/XFree86.0.log and see if you can spot any error messages.
Back to top
View user's profile Send private message
KeithReuters
Tux's lil' helper
Tux's lil' helper


Joined: 29 Sep 2002
Posts: 130
Location: Newport Beach, California // Grenoble, France

PostPosted: Sun Feb 09, 2003 9:55 pm    Post subject: Reply with quote

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


Joined: 09 Feb 2003
Posts: 189
Location: Belgium

PostPosted: Sun Feb 09, 2003 10:57 pm    Post subject: Reply with quote

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


Joined: 14 Jan 2003
Posts: 437

PostPosted: Mon Feb 10, 2003 12:22 am    Post subject: Reply with quote

What happens if you do
Code:

# modprobe NVdriver

?
Back to top
View user's profile Send private message
matosale
Apprentice
Apprentice


Joined: 02 Jan 2003
Posts: 218
Location: Lima - Peru // Linz - Austria

PostPosted: Mon Feb 10, 2003 12:34 am    Post subject: Reply with quote

If you have the lastest kernel/glx version you have to put
Code:
nvidia
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
View user's profile Send private message
JSharku
Apprentice
Apprentice


Joined: 09 Feb 2003
Posts: 189
Location: Belgium

PostPosted: Mon Feb 10, 2003 12:39 am    Post subject: Reply with quote

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. :oops: :oops:

Thanks anyway.

Sharku
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