From owner-freebsd-x11@FreeBSD.ORG Mon Mar 2 00:26:07 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 1C8441065672 for ; Mon, 2 Mar 2009 00:26:07 +0000 (UTC) (envelope-from rnoland@FreeBSD.org) Received: from gizmo.2hip.net (gizmo.2hip.net [64.74.207.195]) by mx1.freebsd.org (Postfix) with ESMTP id DBBD98FC08 for ; Mon, 2 Mar 2009 00:26:06 +0000 (UTC) (envelope-from rnoland@FreeBSD.org) Received: from [192.168.1.2] (adsl-1-207-68.bna.bellsouth.net [65.1.207.68]) (authenticated bits=0) by gizmo.2hip.net (8.14.3/8.14.3) with ESMTP id n220Ohnl044800 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 1 Mar 2009 19:24:43 -0500 (EST) (envelope-from rnoland@FreeBSD.org) From: Robert Noland To: Joseph Olatt In-Reply-To: <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> <20090301230519.GA2587@shell.eskimo.com> Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="=-rABV18jBI6UEwPGyFwWf" Organization: FreeBSD Date: Sun, 01 Mar 2009 18:25:57 -0600 Message-Id: <1235953557.1236.27.camel@widget.2hip.net> Mime-Version: 1.0 X-Mailer: Evolution 2.24.4 FreeBSD GNOME Team Port X-Spam-Status: No, score=-1.6 required=5.0 tests=AWL,BAYES_00,RCVD_IN_PBL, RCVD_IN_SORBS_DUL,RDNS_DYNAMIC autolearn=no version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on gizmo.2hip.net 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: Mon, 02 Mar 2009 00:26:07 -0000 --=-rABV18jBI6UEwPGyFwWf Content-Type: multipart/mixed; boundary="=-9ct76k5nazKfv/VbVwsC" --=-9ct76k5nazKfv/VbVwsC Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Sun, 2009-03-01 at 15:05 -0800, Joseph Olatt wrote: > 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, > > > > >=20 > > > > > I have a system with the following graphics card: > > > > >=20 > > > > > Nvidia GeForce 7100 / nForce 620i > > > > >=20 > > > > > It was never supported by Xorg's nv driver. However, without an=20 > > > > > /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. > > > > >=20 > > > > > After upgrading to Xorg-7.4, that stopped working. > > > > >=20 > > > > > Now if I try to run "startx" *without* /etc/X11/xorg.conf,=20 > > > > > I get the following: > > > > > http://www.eskimo.com/~joji/x11/startx_no_xorg_conf.log > > > > >=20 > > > > > The corresponding Xorg.0.log is: > > > > > http://www.eskimo.com/~joji/x11/Xorg.0.log_no_xorg_conf > > > > >=20 > > > > >=20 > > > > > If I try "X -configure", I get: > > > > > http://www.eskimo.com/~joji/x11/X_-configure.log > > > > >=20 > > > > > When I try to run "startx", I get the following: > > > > > http://www.eskimo.com/~joji/x11/startx_xorg_conf.log > > > > >=20 > > > > > The corresponding Xorg.0.log is: > > > > > http://www.eskimo.com/~joji/x11/startx_xorg_conf.log > > > > >=20 > > > > > The xorg.conf file is: > > > > > http://www.eskimo.com/~joji/x11/xorg.conf > > > >=20 > > > > 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 Monito= r 0. > > > > Get rid of all of the Device sections except for the one that has C= ard0. > > > > And finally, get rid of all of the Screen sections except for Scree= n0. > > > > See what that does... > > > >=20 > > > > robert. > > > > > >=20 > > > Hello Robert, > > >=20 > > > I've removed everything except the lines for Screen 0. Running startx > > > gave the following: > > > http://www.eskimo.com/~joji/x11/startx_1.log > > >=20 > > > Corresponding Xorg.0.log is: > > > http://www.eskimo.com/~joji/x11/Xorg.0.log_1 > > >=20 > > > xorg.conf is: > > > http://www.eskimo.com/~joji/x11/xorg.conf_1 > > >=20 > > > thoughts? > > >=20 > > > Thanks for your willingness to provide suggestions... > >=20 > > 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. > >=20 > > http://people.freebsd.org/~rnoland/patch-xf86-video-nv > >=20 > > robert. > >=20 > Thanks very much for the patch. When I went to patch xf86-video-nv, I > found that I did not have the following directory: >=20 > /usr/ports/x11-drivers/xf86-video-nv/files >=20 > 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: >=20 > http://www.eskimo.com/~joji/x11/patch_2 >=20 > I got the feeling that the new source had already been patched. So I ^C > the patch and proceed to do the following: >=20 > cd /usr/ports/x11-drivers/xf86-video-nv > make deinstall > make reinstall clean > X -configure >=20 > Output of "X -configure" is at: > http://www.eskimo.com/~joji/x11/X_-configure_2 >=20 > The xorg.conf file is: > http://www.eskimo.com/~joji/x11/xorg.conf_2 >=20 > I then ran startx. Got error. Output is at: > http://www.eskimo.com/~joji/x11/startx_2 >=20 > Corresponding Xorg.0.log file is: > http://www.eskimo.com/~joji/x11/Xorg.0.log_2 >=20 Oh, right I committed that earlier today as it was clearly broken. So, now the config looks right, but your chip isn't supported... You can try the attached patch, or try the nouveau driver, though that will require pulling libdrm from git at the moment. robert. > At this point I tried "portmaster -d -a" just to be at the latest. > That did not help. >=20 > 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... >=20 > I'm not sure what happened... >=20 > The modified xorg.conf file with the vesa driver is: > http://www.eskimo.com/~joji/x11/xorg.conf_vesa_few_colors >=20 > The corresponding Xorg.0.log file: > http://www.eskimo.com/~joji/x11/Xorg.0.log_few_colors >=20 >=20 > I can live with the vesa driver if I could get my colors back... >=20 > regards, > joseph --=20 Robert Noland FreeBSD --=-9ct76k5nazKfv/VbVwsC Content-Disposition: attachment; filename="nv-driver-add-pciid.patch" Content-Transfer-Encoding: base64 Content-Type: text/x-patch; name="nv-driver-add-pciid.patch"; charset="us-ascii" SW5kZXg6IGZpbGVzL3BhdGNoLXNyYy1udl9kcml2ZXIuYw0KPT09PT09PT09PT09PT09PT09PT09 PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PQ0KUkNTIGZpbGU6 IC9ob21lL3BjdnMvcG9ydHMveDExLWRyaXZlcnMveGY4Ni12aWRlby1udi9maWxlcy9wYXRjaC1z cmMtbnZfZHJpdmVyLmMsdg0KcmV0cmlldmluZyByZXZpc2lvbiAxLjENCmRpZmYgLXUgLXIxLjEg cGF0Y2gtc3JjLW52X2RyaXZlci5jDQotLS0gZmlsZXMvcGF0Y2gtc3JjLW52X2RyaXZlci5jCTEg TWFyIDIwMDkgMTg6MjI6MDIgLTAwMDAJMS4xDQorKysgZmlsZXMvcGF0Y2gtc3JjLW52X2RyaXZl ci5jCTIgTWFyIDIwMDkgMDA6MjQ6MzEgLTAwMDANCkBAIC0xLDUgKzEsNSBAQA0KIC0tLSBzcmMv bnZfZHJpdmVyLmMub3JpZwkyMDA4LTA4LTI2IDE1OjQ2OjE5LjAwMDAwMDAwMCAtMDUwMA0KLSsr KyBzcmMvbnZfZHJpdmVyLmMJMjAwOS0wMi0yOCAyMDoyNDozNi4wMDAwMDAwMDAgLTA2MDANCisr Kysgc3JjL252X2RyaXZlci5jCTIwMDktMDMtMDEgMTg6MjE6NTYuMDAwMDAwMDAwIC0wNjAwDQog QEAgLTc3LDExICs3NywyMiBAQA0KICBzdGF0aWMgQm9vbAlOVlNldE1vZGVWQkUoU2NybkluZm9Q dHIgcFNjcm4sIERpc3BsYXlNb2RlUHRyIHBNb2RlKTsNCiAgDQpAQCAtMjcsMyArMjcsMTEgQEAN CiAgICAgIHsgMCwgMCwgMCB9DQogIH07DQogICNlbmRpZg0KK0BAIC0zMDEsNiArMzEyLDcgQEAN CisgICB7IDB4MTBERTAyMjEsICJHZUZvcmNlIDYyMDAiIH0sDQorICAgeyAweDEwREUwMjIyLCAi R2VGb3JjZSA2MjAwIEEtTEUiIH0sDQorIA0KKysgIHsgMHgxMERFMDdFNSwgIkdlRm9yY2UgNzEw MCIgfSwNCisgICB7IDB4MTBERTAwOTAsICJHZUZvcmNlIDc4MDAgR1RYIiB9LA0KKyAgIHsgMHgx MERFMDA5MSwgIkdlRm9yY2UgNzgwMCBHVFgiIH0sDQorICAgeyAweDEwREUwMDkyLCAiR2VGb3Jj ZSA3ODAwIEdUIiB9LA0K --=-9ct76k5nazKfv/VbVwsC-- --=-rABV18jBI6UEwPGyFwWf Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.10 (FreeBSD) iEYEABECAAYFAkmrJ5UACgkQM4TrQ4qfRONBgQCcCB8mjase0QfPoQsPahYxk//Z QWwAnin2z4WeRHlN9DSJXW+LYCbs51OZ =q4me -----END PGP SIGNATURE----- --=-rABV18jBI6UEwPGyFwWf--