Nouveau Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ@public.gmane.org
To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org
Subject: [Bug 54700] Distorted graphics (double cursor) with GeForce 4200Go (NV28)
Date: Thu, 01 May 2014 18:53:48 +0000	[thread overview]
Message-ID: <bug-54700-8800-HFHbX0KLDC@http.bugs.freedesktop.org/> (raw)
In-Reply-To: <bug-54700-8800-V0hAGp6uBxMKqLRl/0Ahz6D7qz1kEfGD2LY78lusg7I@public.gmane.org/>


[-- Attachment #1.1: Type: text/plain, Size: 2096 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=54700

--- Comment #61 from nv28m <nv28m-Y8qEzhMunLyT9ig0jae3mg@public.gmane.org> ---
I had the feeling that there's not much chance that the dump alone will help.
So I did some debugging on my own, after all it can't be that hard if I have
the hardware at hand to play with ;)

First I've collected all writes locations out from the dump, and ignored the
part which looked like a frame buffer. I got around 260 locations, I guess most
of these must be mapped registers.

Then I did the nvidia boot and kexec to nouveau, when everything works except
that the GPU locks after a while.

Anyway, it's stable enough to dump of those 260 registers. Then I made a
suspend to RAM, and back. Screen trashing is back of course, but let's dump
those registers again.

Comparing the dumps reveals that 30 locations are different now.

I wrote all those registers back as they were before the suspend. Of course
console went immediately blank. But I can still start X blindly, which hangs of
course, but at least I can move a flawless cursor around. (normally it's
trashed as well)

So it must be one of these. I resorted to normal bisecting from here to find
transhing/non-trashing set of registers. There were plenty of hangs and reboots
;)

At the end I got what I wanted. The winner is:
nvapoke 00100080 e1000000

This register is e0000000 after suspend or after clean boot. So all this
trouble only because of a single bit was not set ;(

The earlier GPU lockup (with kexec nouveau after nvidia driver init) does not
happen anymore when I only set this bit, but nothing else. It probably must be
due to some other uninitialized state, but I'm not sure if it's worth to find
out what it is, after all the default state on boot is ok.

From here I pass the ball back. Please, with this knowledge could someone fix
up the driver? Most likely it would be better done on the kernel side as the
KMS frame buffer is affected too. Of course testing patches should be no
problem ;)

Thanks!

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 2857 bytes --]

[-- Attachment #2: Type: text/plain, Size: 181 bytes --]

_______________________________________________
Nouveau mailing list
Nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org
http://lists.freedesktop.org/mailman/listinfo/nouveau

  parent reply	other threads:[~2014-05-01 18:53 UTC|newest]

Thread overview: 84+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-09-09 18:46 [Bug 54700] New: Distorted graphics (double cursor) with GeForce 4200Go (NV28) bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
     [not found] ` <bug-54700-8800-V0hAGp6uBxMKqLRl/0Ahz6D7qz1kEfGD2LY78lusg7I@public.gmane.org/>
2012-09-09 18:49   ` [Bug 54700] " bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2012-09-09 18:50   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2012-09-09 19:15   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2013-07-07 12:16   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2013-07-07 12:24   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2013-07-07 12:25   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2013-07-07 12:26   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2013-07-07 12:27   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2013-07-07 12:28   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2013-07-07 12:34   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2013-07-07 14:00   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2013-07-07 14:12   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2013-07-07 15:48   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2013-07-07 16:20   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2013-07-07 16:24   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2013-07-07 16:25   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2013-07-07 16:27   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2013-07-07 16:34   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2013-07-07 17:31   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2013-07-07 17:38   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2013-07-07 17:47   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2013-07-07 17:51   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2013-07-08  9:14   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2013-07-13  9:48   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2013-07-13  9:51   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2013-07-13  9:52   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2013-07-13  9:52   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2013-07-13  9:53   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2013-07-13 10:00   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2013-07-13 11:55   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2013-07-13 11:56   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2013-07-13 11:56   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2013-07-13 11:57   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2013-07-24  0:55   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2013-07-24  9:02   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2013-07-24 11:33   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2013-07-28 18:18   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2013-07-28 18:19   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2013-07-28 18:20   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2013-07-28 18:24   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2013-07-28 18:25   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2013-07-28 18:27   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2013-07-28 18:28   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2013-07-28 18:29   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2013-07-28 18:34   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2013-07-28 18:37   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2013-07-28 18:49   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2013-07-28 19:00   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2013-07-29  0:43   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2013-07-31  7:29   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2013-07-31 14:34   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2013-07-31 14:58   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2013-08-26  4:24   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2013-12-11 15:02   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2013-12-11 17:24   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2014-04-27  7:34   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2014-04-27  8:48   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2014-04-27 17:12   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2014-04-27 21:46   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2014-04-28 18:55   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2014-04-30  8:24   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2014-05-01 18:53   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ [this message]
2014-05-01 21:12   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2014-05-02 17:17   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2014-05-02 17:28   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2014-05-02 21:19   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2014-05-02 23:44   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2014-05-02 23:48   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2014-05-03  5:45   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2014-11-11 18:27   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2014-11-17 18:40   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2015-01-02 20:01   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2015-02-17  9:00   ` [Bug 54700] Distorted graphics (double cursor) with GeForce 4200Go (NV28M) bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2015-02-17  9:09   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2016-01-21 12:20   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2016-01-21 12:29   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2016-01-21 19:38   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2016-01-22  1:47   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2016-01-22  9:55   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2016-01-23 20:37   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2016-01-23 20:49   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2016-01-27  7:24   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2019-12-04  8:31   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-54700-8800-HFHbX0KLDC@http.bugs.freedesktop.org/ \
    --to=bugzilla-daemon-cc+yj3umiyqdupfqwhejaq@public.gmane.org \
    --cc=nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox