Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 24 Feb 2008 23:01:00 -0500
From:      Yousif Hassan <yousif@alumni.jmu.edu>
To:        knowtree@aloha.com
Cc:        freebsd-gnome@freebsd.org
Subject:   Re: Xorg wil not start, nv module fails to load
Message-ID:  <1203912060.6271.16.camel@geonosis.far-far-away.us>
In-Reply-To: <200802250118.m1P1IWWU000574@yoda.pixi.com>
References:  <200802250118.m1P1IWWU000574@yoda.pixi.com>

next in thread | previous in thread | raw e-mail | index | archive | help
> (II) Loading /usr/local/lib/xorg/modules/extensions//libextmod.so

This is probably not your problem...

> (EE) Unable to locate/open config file

This is fine - as you guessed later on, newer versions of xorg do not
necessarily need a configuration file to start (depending on h/w, of
course)...

> 3. Why does the build operating system say RELEASE when I have RC1? Is 7.0 
> RELEASE out yet? Have I been sleeping under a rock? Could that be the 
> problem?

This isn't the problem either.

> (II) LoadModule: "nv"
> (WW) Warning, couldn't open module nv
> (II) UnloadModule: "nv"
> (EE) Failed to load module "nv" (module does not exist, 0)
> (II) LoadModule: "fbdev"
> (WW) Warning, couldn't open module fbdev
> (II) UnloadModule: "fbdev"
> (EE) Failed to load module "fbdev" (module does not exist, 0)
> (II) LoadModule: "vesa"
> (WW) Warning, couldn't open module vesa
> (II) UnloadModule: "vesa"
> (EE) Failed to load module "vesa" (module does not exist, 0)
> (II) LoadModule: "vga"
> (WW) Warning, couldn't open module vga
> (II) UnloadModule: "vga"
> (EE) Failed to load module "vga" (module does not exist, 0)
> (II) LoadModule: "mouse"
> (WW) Warning, couldn't open module mouse
> (II) UnloadModule: "mouse"
> (EE) Failed to load module "mouse" (module does not exist, 0)
> (II) LoadModule: "kbd"
> (WW) Warning, couldn't open module kbd
> (II) UnloadModule: "kbd"
> (EE) Failed to load module "kbd" (module does not exist, 0)
> (EE) No drivers available.
> Fatal server error:
> no screens found

This is your problem - X can't find any video drivers ("devices") to
load - so it can't construct the screen object which is needed to drive
the display.  The newest versions of xorg are modular - have you built
at least *some* of the required drivers?

How did you install X?  Package or port?  You should definitely have
gotten some drivers along with the package (unless you did something
wrong) and if you built it from source via ports (/usr/ports/x11/xorg)
it should have gotten you into xorg-drivers; as part of the build.  I
always build xorg from source and it works like a charm each time.

Anyway look in /usr/ports/x11-drivers/xorg-drivers - check the config
there (make config) - some default drivers need to be built.  At minimum
- for your needs anyway - you need "mouse" "kbd" and a video driver.
You should build "vga" and "vesa" at least, and if you know your NVIDIA
card is supported by the open source driver, build "nv" too.

At this point that might be enough for you, unless you want to use the
proprietary NVIDIA driver - needed for things like compositing, etc.  If
you're ok with the vesa or nv driver you should be good to go w/o a
config file, for the most part (again this depends on your h/w but it
ought to work).

For the "nvidia" driver by NVIDIA corp, you'll have to figure out which
one you need for your card.  Then go to /usr/ports/x11 and pick the
proper nvidia driver, where your choice is either nvidia-driver,
nvidia-driver-71xx or nvidia-driver-96xx.  When you get it built, you
can set your loader to load the kernel module for it and then you can
create /etc/X11/xorg.conf (use 'nvidia-xconfig' to create it
automatically)

--Yousif




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1203912060.6271.16.camel>