Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 1 Mar 2009 15:05:19 -0800
From:      Joseph Olatt <joji@eskimo.com>
To:        Robert Noland <rnoland@FreeBSD.org>
Cc:        freebsd-x11@FreeBSD.org
Subject:   Re: X stopped working after upgrade to Xorg-7.4
Message-ID:  <20090301230519.GA2587@shell.eskimo.com>
In-Reply-To: <1235875033.1289.105.camel@widget.2hip.net>
References:  <20090228210928.GA422@shell.eskimo.com> <1235858084.1289.103.camel@widget.2hip.net> <20090301020758.GA4336@shell.eskimo.com> <1235875033.1289.105.camel@widget.2hip.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Feb 28, 2009 at 08:37:13PM -0600, Robert Noland wrote:
> On Sat, 2009-02-28 at 18:07 -0800, Joseph Olatt wrote:
> > On Sat, Feb 28, 2009 at 03:54:44PM -0600, Robert Noland wrote:
> > > On Sat, 2009-02-28 at 13:09 -0800, Joseph Olatt wrote:
> > > > Hello,
> > > > 
> > > > I have a system with the following graphics card:
> > > > 
> > > > Nvidia GeForce 7100 / nForce 620i
> > > > 
> > > > It was never supported by Xorg's nv driver. However, without an 
> > > > /etc/X11/xorg.conf file, I could run "startx" and X would start
> > > > up and I was able to run twm. I suspect it was using the vesa
> > > > driver or fbdev.
> > > > 
> > > > After upgrading to Xorg-7.4, that stopped working.
> > > > 
> > > > Now if I try to run "startx" *without* /etc/X11/xorg.conf, 
> > > > I get the following:
> > > > http://www.eskimo.com/~joji/x11/startx_no_xorg_conf.log
> > > > 
> > > > The corresponding Xorg.0.log is:
> > > > http://www.eskimo.com/~joji/x11/Xorg.0.log_no_xorg_conf
> > > > 
> > > > 
> > > > If I try "X -configure", I get:
> > > > http://www.eskimo.com/~joji/x11/X_-configure.log
> > > > 
> > > > When I try to run "startx", I get the following:
> > > > http://www.eskimo.com/~joji/x11/startx_xorg_conf.log
> > > > 
> > > > The corresponding Xorg.0.log is:
> > > > http://www.eskimo.com/~joji/x11/startx_xorg_conf.log
> > > > 
> > > > The xorg.conf file is:
> > > > http://www.eskimo.com/~joji/x11/xorg.conf
> > > 
> > > Ok, something has gone horribly wrong in the probe phase.  Get rid of
> > > all of the Screen lines from ServerLayout except for the entry for
> > > Screen 0.  Get rid of all of the Monitor sections except for Monitor 0.
> > > Get rid of all of the Device sections except for the one that has Card0.
> > > And finally, get rid of all of the Screen sections except for Screen0.
> > > See what that does...
> > > 
> > > robert.
> > <snip>
> > 
> > Hello Robert,
> > 
> > I've removed everything except the lines for Screen 0. Running startx
> > gave the following:
> > http://www.eskimo.com/~joji/x11/startx_1.log
> > 
> > Corresponding Xorg.0.log is:
> > http://www.eskimo.com/~joji/x11/Xorg.0.log_1
> > 
> > xorg.conf is:
> > http://www.eskimo.com/~joji/x11/xorg.conf_1
> > 
> > thoughts?
> > 
> > Thanks for your willingness to provide suggestions...
> 
> Ok, it looks like the driver is just broken... I'm not sure why a
> release with the fixed code hasn't been made, but try this patch.
> 
> http://people.freebsd.org/~rnoland/patch-xf86-video-nv
> 
> robert.
<snip>

Thanks very much for the patch. When I went to patch xf86-video-nv, I
found that I did not have the following directory:

/usr/ports/x11-drivers/xf86-video-nv/files

So, I removed "/usr/ports/x11-drivers/xf86-video-nv/*" and updated the
ports. I then got the "files" directory. When I ran "patch <
patch-xf86-video-nv", I got the following error:

http://www.eskimo.com/~joji/x11/patch_2

I got the feeling that the new source had already been patched. So I ^C
the patch and proceed to do the following:

cd /usr/ports/x11-drivers/xf86-video-nv
make deinstall
make reinstall clean
X -configure

Output of "X -configure" is at:
http://www.eskimo.com/~joji/x11/X_-configure_2

The xorg.conf file is:
http://www.eskimo.com/~joji/x11/xorg.conf_2

I then ran startx. Got error. Output is at:
http://www.eskimo.com/~joji/x11/startx_2

Corresponding  Xorg.0.log file is:
http://www.eskimo.com/~joji/x11/Xorg.0.log_2


At this point I tried "portmaster -d -a" just to be at the latest.
That did not help.

Since the time I wrote to you last, I had changed the driver to "vesa"
and with some other changes, I actually got the xserver running. But
soon after that, I lost the ability to display a lot of colors. For
example, "xterm -bg black -fg lightgreen" shows the  the foreground
color as white. Firefox looks like it is missing a lot of colors...

I'm not sure what happened...

The modified xorg.conf file with the vesa driver is:
http://www.eskimo.com/~joji/x11/xorg.conf_vesa_few_colors

The corresponding Xorg.0.log file:
http://www.eskimo.com/~joji/x11/Xorg.0.log_few_colors


I can live with the vesa driver if I could get my colors back...

regards,
joseph



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