Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 01 Mar 2009 18:25:57 -0600
From:      Robert Noland <rnoland@FreeBSD.org>
To:        Joseph Olatt <joji@eskimo.com>
Cc:        freebsd-x11@FreeBSD.org
Subject:   Re: X stopped working after upgrade to Xorg-7.4
Message-ID:  <1235953557.1236.27.camel@widget.2hip.net>
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>

next in thread | previous in thread | raw e-mail | index | archive | help

--=-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.
> > > <snip>
> > >=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.
> <snip>
>=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 <rnoland@FreeBSD.org>
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
cmMtbnZfZHJpd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IEdUIiB9LA0K


--=-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--




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