From owner-freebsd-x11@FreeBSD.ORG Sun Mar 1 23:05:21 2009 Return-Path: Delivered-To: freebsd-x11@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 32C30106566B; Sun, 1 Mar 2009 23:05:21 +0000 (UTC) (envelope-from joji@eskimo.com) Received: from ultra7.eskimo.com (ultra7.eskimo.com [204.122.16.70]) by mx1.freebsd.org (Postfix) with ESMTP id 12CD58FC15; Sun, 1 Mar 2009 23:05:20 +0000 (UTC) (envelope-from joji@eskimo.com) Received: from shell.eskimo.com (root@shell.eskimo.com [204.122.16.72]) by ultra7.eskimo.com (8.14.0/8.14.3) with ESMTP id n21N5GCt004788; Sun, 1 Mar 2009 15:05:16 -0800 Received: from shell.eskimo.com (joji@localhost [127.0.0.1]) by shell.eskimo.com (8.14.3/8.14.3) with ESMTP id n21N5Ker002756; Sun, 1 Mar 2009 15:05:20 -0800 Received: (from joji@localhost) by shell.eskimo.com (8.14.3/8.12.10/Submit) id n21N5JuB002755; Sun, 1 Mar 2009 15:05:19 -0800 Date: Sun, 1 Mar 2009 15:05:19 -0800 From: Joseph Olatt To: Robert Noland Message-ID: <20090301230519.GA2587@shell.eskimo.com> 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> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1235875033.1289.105.camel@widget.2hip.net> User-Agent: Mutt/1.4.2.2i Cc: freebsd-x11@FreeBSD.org Subject: Re: X stopped working after upgrade to Xorg-7.4 X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 01 Mar 2009 23:05:21 -0000 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. > > > > > > 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. 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