Subject: Fix for GF660GT hangs
To: None <tech-x11@NetBSD.org>
From: Julio M. Merino Vidal <jmmv84@gmail.com>
List: tech-x11
Date: 12/04/2005 13:55:47
------=_Part_11955_9518609.1133700947737
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

Hello,

[ Please CC me as I'm not subscribed to this list ]

Two months ago or so I bought a GeForce 6600GT video card.
I reconfigured XFree86 to use it but it always hangs when using this
card: after some activity (such as opening a web browser and
navigating for few minutes), X locks up.  I can only move the mouse
but nothing else; the only thing I can do is ssh to the box and reboot it.

I switched to X.Org (from the CVS tree), which fixed this issue but
introduced several other problems.  The most annoying one is the lack
of integration with the base system.  And as it doesn't bring me any
real advantages (aside from not hanging), I decided to look for the
problem and fix XFree86.

Fortunately, it was easy to locate the change in X.Org's CVS tree that
solved this issue.  I applied it to our xsrc tree, rebuilt the nv driver an=
d
all is fine now.

I've attached the patch.  Is it OK to commit it to our tree?  (Providing
pointers to the original patch, of course.)  I don't know what policy we
have as regards changes to X's code.

Thanks,

--
Julio M. Merino Vidal <jmmv84@gmail.com>
The Julipedia - http://julipedia.blogspot.com/
The NetBSD Project - http://www.NetBSD.org/

------=_Part_11955_9518609.1133700947737
Content-Type: text/x-patch; name="patch.diff"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="patch.diff"

SW5kZXg6IHhmcmVlL3hjL3Byb2dyYW1zL1hzZXJ2ZXIvaHcveGZyZWU4Ni9kcml2ZXJzL252L252
X2h3LmMKPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PQpSQ1MgZmlsZTogL2N2c3Jvb3QveHNyYy94ZnJlZS94Yy9wcm9ncmFt
cy9Yc2VydmVyL2h3L3hmcmVlODYvZHJpdmVycy9udi9udl9ody5jLHYKcmV0cmlldmluZyByZXZp
c2lvbiAxLjEuMS4yCmRpZmYgLXUgLXUgLXIxLjEuMS4yIG52X2h3LmMKLS0tIHhmcmVlL3hjL3By
b2dyYW1zL1hzZXJ2ZXIvaHcveGZyZWU4Ni9kcml2ZXJzL252L252X2h3LmMJMTggTWFyIDIwMDUg
MTM6MTE6NTcgLTAwMDAJMS4xLjEuMgorKysgeGZyZWUveGMvcHJvZ3JhbXMvWHNlcnZlci9ody94
ZnJlZTg2L2RyaXZlcnMvbnYvbnZfaHcuYwk0IERlYyAyMDA1IDEyOjQ5OjMwIC0wMDAwCkBAIC05
MTUsNyArOTE1LDcgQEAKICAgICBSSVZBX0hXX1NUQVRFICpzdGF0ZQogKQogewotICAgIGludCBp
OworICAgIGludCBpLCBqOwogCiAgICAgcE52LT5QTUNbMHgwMTQwLzRdID0gMHgwMDAwMDAwMDsK
ICAgICBwTnYtPlBNQ1sweDAyMDAvNF0gPSAweEZGRkYwMEZGOwpAQCAtMTE1Niw2ICsxMTU2LDEw
IEBACiAgICAgICAgICAgICAgIHBOdi0+UEdSQVBIWzB4MDA5MC80XSA9IDB4MDAwMDgwMDA7CiAg
ICAgICAgICAgICAgIHBOdi0+UEdSQVBIWzB4MDYxMC80XSA9IDB4MDBiZTNjNWY7CiAKKyAgICAg
ICAgICAgICAgaiA9IHBOdi0+UkVHU1sweDE1NDAvNF0gJiAweGZmOworICAgICAgICAgICAgICBm
b3IoaSA9IDA7ICEoaiAmIDEpOyBqID4+PSAxLCBpKyspOworICAgICAgICAgICAgICBwTnYtPlBH
UkFQSFsweDUwMDAvNF0gPSBpOworCiAgICAgICAgICAgICAgIGlmKChwTnYtPkNoaXBzZXQgJiAw
eGZmZjApID09IDB4MDA0MCkgewogICAgICAgICAgICAgICAgICBwTnYtPlBHUkFQSFsweDA5YjAv
NF0gPSAweDgzMjgwZmZmOwogICAgICAgICAgICAgICAgICBwTnYtPlBHUkFQSFsweDA5YjQvNF0g
PSAweDAwMDAwMGEwOwo=
------=_Part_11955_9518609.1133700947737--