New: Regression: Nvidia Geforce 7300 (NV4B) fails to suspend
http://bugs.freedesktop.org/show_bug.cgi?id=23223
Summary: Regression: Nvidia Geforce 7300 (NV4B) fails to suspend
Product: xorg
Version: 7.2
Platform: Other
OS/Version: All
Status: NEW
Severity: normal
Priority: medium
Component: Driver/nouveau
AssignedTo: [email protected]
ReportedBy: [email protected]
QAContact: [email protected]
Created an attachment (id=28444)
--> (http://bugs.freedesktop.org/attachment.cgi?id=28444)
Dmesg just after I completed startup.
The card suspended fine when I was still able to use malc0's 0001-merge-nv40fp.patch . But after the shift to another drm git, KMS must be enabled to be able to hibernate. I have KMS enabled now, and hibernate hangs at the first line. (like: Freezing system or something (let me know if you need the exact sentence)). On IRC, pq said that bisecting was hard (but doable), but it was better to report it first and see what comments I get. Attached are a bunch of files, which (I think) are hopefully useful. Especially the file dmesgwhens2disk seems useful. At first glance the numbers don't seem to change, but eventually they do...
Let met know if you need more info :)
drm (master-compat): 781edc5696881d268781300961fbe99390fe21f9 ddx:77d6bcfb45fca069aafdca0687760d668acd185a
Btw, the kernel documentation says that you need to modprobe nouveau modeset=1 (to enable KMS) . BUT, the nouveau module is already probed by *something else in my system*. Adding nouveau.modeset=1 to my grub.conf enables it as well o.0
Signature · 3 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
A message that is not in the archive (sent off-list or not yet received): bug-23223-8800-V0hAGp6uBxMKqLRl/[email protected]/
[Bug 23223] Regression: Nvidia Geforce 7300 (NV4B) fails to suspend
http://bugs.freedesktop.org/show_bug.cgi?id=23223
--- Comment #1 from Ronald <[email protected]> 2009-08-09 01:25:33 PST --- Created an attachment (id=28445)
--> (http://bugs.freedesktop.org/attachment.cgi?id=28445)
Dmesg, when I do dmesg -c && echo 1 > /sys/module/drm/parameters/debug &&
s2disk
Signature · 3 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
[Bug 23223] Regression: Nvidia Geforce 7300 (NV4B) fails to suspend
In reply to a message not in the archivehttp://bugs.freedesktop.org/show_bug.cgi?id=23223
--- Comment #2 from Ronald <[email protected]> 2009-08-09 01:26:36 PST --- Created an attachment (id=28446)
--> (http://bugs.freedesktop.org/attachment.cgi?id=28446)
lspci -s 01:00.0 -v -v -v > lspci
Signature · 3 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
[Bug 23223] Regression: Nvidia Geforce 7300 (NV4B) fails to suspend
In reply to a message not in the archivehttp://bugs.freedesktop.org/show_bug.cgi?id=23223
--- Comment #3 from Ronald <[email protected]> 2009-08-09 01:27:13 PST --- Created an attachment (id=28447)
--> (http://bugs.freedesktop.org/attachment.cgi?id=28447)
The log of the running Xorg server when I'm trying to suspend (I don't see
anything)
Signature · 3 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
[Bug 23223] Regression: Nvidia Geforce 7300 (NV4B) fails to suspend
In reply to a message not in the archivehttp://bugs.freedesktop.org/show_bug.cgi?id=23223
--- Comment #4 from Ben Skeggs <[email protected]> 2009-12-03 03:12:07 PST --- Can you try the latest code in git, and kernel modesetting? Thanks.
Signature · 3 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
[Bug 23223] Regression: Nvidia Geforce 7300 (NV4B) fails to suspend
In reply to a message not in the archivehttp://bugs.freedesktop.org/show_bug.cgi?id=23223
--- Comment #5 from Ronald <[email protected]> 2009-12-03 03:50:21 PST --- Yes, I will try in a week or two, thanks for the reminder.
Signature · 3 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
[Bug 23223] Regression: Nvidia Geforce 7300 (NV4B) fails to suspend
In reply to a message not in the archivehttp://bugs.freedesktop.org/show_bug.cgi?id=23223
--- Comment #6 from Ronald <[email protected]> 2009-12-22 09:03:36 PST --- Nope, still does not work. Same effect as initial report, the thing hangs on
the exact same sentence. Any data needed?
Signature · 3 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
[Bug 23223] Regression: Nvidia Geforce 7300 (NV4B) fails to suspend
In reply to a message not in the archivehttps://bugs.freedesktop.org/show_bug.cgi?id=23223
--- Comment #7 from Ronald <[email protected]> --- Just tried v3.8rc1 + nouveau HEAD and a patch from:
https://bugs.freedesktop.org/show_bug.cgi?id=50121#c31 . It suspends now, altough it takes a while. I hear stuff power down twice, I don't think that's correct...
Recent rework made things worse, the screen resumed with a black screen. Latest HEAD with mentioned patch makes stuff regress like pre kernel v3.5 rework: The screen comes up, slightly garbled. It won't respond, and eventually the entire screen locks-up.
Any pointers on what to do next??
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
Nouveau mailing list [email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau
[Bug 23223] [NV4B] nVidia Geforce 7300 (NV4B) fails to resume
In reply to a message not in the archivehttps://bugs.freedesktop.org/show_bug.cgi?id=23223
Ronald <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Hardware|Other |x86-64 (AMD64)
OS|All |Linux (All)
Summary|Regression: Nvidia Geforce |[NV4B] nVidia Geforce 7300
|7300 (NV4B) fails to |(NV4B) fails to resume
|suspend |
Version|7.2 (2007.02) |git
Keywords| |regressionSignature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
Nouveau mailing list [email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau
[Bug 23223] [NV4B] nVidia Geforce 7300 (NV4B) fails to resume
In reply to a message not in the archivehttps://bugs.freedesktop.org/show_bug.cgi?id=23223
Ronald <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #28444|0 |1
is obsolete| |
Attachment #28445|0 |1
is obsolete| |
Attachment #28446|0 |1
is obsolete| |
Attachment #28447|0 |1
is obsolete| |--- Comment #8 from Ronald <[email protected]> --- Created attachment 72137
--> https://bugs.freedesktop.org/attachment.cgi?id=72137&action=edit
Dmesg v3.8rc1+Nouveau_HEAD+patch from #50121#c31 (boot)
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
Nouveau mailing list [email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau
[Bug 23223] [NV4B] nVidia Geforce 7300 (NV4B) fails to resume
In reply to a message not in the archivehttps://bugs.freedesktop.org/show_bug.cgi?id=23223
--- Comment #9 from Ronald <[email protected]> --- Created attachment 72138
--> https://bugs.freedesktop.org/attachment.cgi?id=72138&action=edit
Dmesg v3.8rc1+Nouveau_HEAD+patch from #50121#c31 (s2disk cycle)
Suspend and resume cycle:
echo disk > /sys/power/state; dmesg -c >& v3.8rc1_nouveaudebug_cycle.txt
I see some errors in there. Hope it helps. Purged all the other old data, I hope that's okay since this is new.
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
Nouveau mailing list [email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau
[Bug 23223] [NV4B] nVidia Geforce 7300 fails to properly resume
In reply to a message not in the archivehttps://bugs.freedesktop.org/show_bug.cgi?id=23223
Ronald <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|[NV4B] nVidia Geforce 7300 |[NV4B] nVidia Geforce 7300
|(NV4B) fails to resume |fails to properly resumeSignature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
Nouveau mailing list [email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau
[Bug 23223] [NV4B] nVidia Geforce 7300 fails to properly resume
In reply to a message not in the archivehttps://bugs.freedesktop.org/show_bug.cgi?id=23223
--- Comment #10 from Marcin Slusarz <[email protected]> --- Does it boot (yes, boot, not resume) if you add nouveau.config=DEVINIT=NvForcePost=1 to kernel command line?
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
Nouveau mailing list [email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau
[Bug 23223] [NV4B] nVidia Geforce 7300 fails to properly resume
In reply to a message not in the archivehttps://bugs.freedesktop.org/show_bug.cgi?id=23223
--- Comment #11 from Ronald <[email protected]> --- Yes, it boots. But that is it, actually. By passing that kernel paremeter it seems to reproduce the exact same screen distortion if I resume: lot's of stuff is a little off (both in location and color). But I could see what I typed and recognize my splash screen wallpaper. It just had this local distorted area's that flipped state every once in a while...
I'm attaching a dmesg for your viewing pleasure. Lot's of errors...
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
Nouveau mailing list [email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau
[Bug 23223] [NV4B] nVidia Geforce 7300 fails to properly resume
In reply to a message not in the archivehttps://bugs.freedesktop.org/show_bug.cgi?id=23223
--- Comment #12 from Ronald <[email protected]> --- Created attachment 72251
--> https://bugs.freedesktop.org/attachment.cgi?id=72251&action=edit
Dmesg v3.8rc1+Nouveau_HEAD+patch from #50121#c31 + nouveau.config=DEVINIT=NvForcePost=1
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
Nouveau mailing list [email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau
[Bug 23223] [NV4B] nVidia Geforce 7300 fails to properly resume
In reply to a message not in the archivehttps://bugs.freedesktop.org/show_bug.cgi?id=23223
--- Comment #13 from Marcin Slusarz <[email protected]> --- That's exactly what I was hoping to see :).
Please attach your VBIOS (see
http://nouveau.freedesktop.org/wiki/DumpingVideoBios )
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
Nouveau mailing list [email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau
[Bug 23223] [NV4B] nVidia Geforce 7300 fails to properly resume
In reply to a message not in the archivehttps://bugs.freedesktop.org/show_bug.cgi?id=23223
--- Comment #14 from Ronald <[email protected]> --- Created attachment 72262
--> https://bugs.freedesktop.org/attachment.cgi?id=72262&action=edit
G73 (NV4B) VBIOS, version 05.73.22.54.00 retrieved with DebugFS and kernel v3.6.9
I tried to update the Wiki to reflect the current situation but my account (Rexilion) is not allowed to do so... . So this is the VBIOS retrieved from a v3.6.9 kernel.
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
Nouveau mailing list [email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau
[Bug 23223] [NV4B] nVidia Geforce 7300 fails to properly resume
In reply to a message not in the archivehttps://bugs.freedesktop.org/show_bug.cgi?id=23223
--- Comment #15 from Marcin Slusarz <[email protected]> --- Please attach boot log with above option and nouveau.debug=trace
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
Nouveau mailing list [email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau
[Bug 23223] [NV4B] nVidia Geforce 7300 fails to properly resume
In reply to a message not in the archivehttps://bugs.freedesktop.org/show_bug.cgi?id=23223
Ronald <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #72251|0 |1
is obsolete| |
--- Comment #16 from Ronald <[email protected]> --- Created attachment 72265
--> https://bugs.freedesktop.org/attachment.cgi?id=72265&action=edit
Dmesg v3.8rc1+Nouveau_HEAD+patch from #50121#c31 + nouveau.config=DEVINIT=NvForcePost=1 + nouveau.debug=trace
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
Nouveau mailing list [email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau
[Bug 23223] [NV4B] nVidia Geforce 7300 fails to properly resume
In reply to a message not in the archivehttps://bugs.freedesktop.org/show_bug.cgi?id=23223
Ronald <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #72137|0 |1
is obsolete| |
Attachment #72138|0 |1
is obsolete| |
Attachment #72265|0 |1
is obsolete| |--- Comment #17 from Ronald <[email protected]> --- Created attachment 72615
--> https://bugs.freedesktop.org/attachment.cgi?id=72615&action=edit
Dmesg v3.8rc2 + Nouveau HEAD
- NV4B
- nouveau.config=DEVINIT=NvForcePost=1 + nouveau.debug=trace
- deprecating old logs
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
Nouveau mailing list [email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau
[Bug 23223] [NV4B] nVidia Geforce 7300 fails to properly resume
In reply to a message not in the archivehttps://bugs.freedesktop.org/show_bug.cgi?id=23223
--- Comment #18 from Marcin Slusarz <[email protected]> --- Created attachment 72637
--> https://bugs.freedesktop.org/attachment.cgi?id=72637&action=edit
script limitter
VBIOS contains some scripts, which are normally run by BIOS. Nouveau executes those scripts:
1) when it detects the card is uninitialized
2) when NvForcePost=1 option is passed
3) on resume
It seems Nouveau does something wrong on your card when it executes those scripts. So, if we will fix boot with NvForcePost=1, we will also fix the resume issue.
Now, how to fix boot with NvForcePost=1? Good question ;). Figuring out which script makes the trouble will probably make it easier. With the above patch you will be able to tell how many scripts are executed and then limit which one to execute by passing module parameters: minscript and maxscript. Try it. (start by setting maxscript only)
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
Nouveau mailing list [email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau
[Bug 23223] [NV4B] nVidia Geforce 7300 fails to properly resume
In reply to a message not in the archivehttps://bugs.freedesktop.org/show_bug.cgi?id=23223
--- Comment #19 from Ronald <[email protected]> --- Created attachment 72648
--> https://bugs.freedesktop.org/attachment.cgi?id=72648&action=edit
Cat'ed dmesg logs
Yay, script bisect! I did every combination (assuming order does not matter) since I could not find any apparent pattern. Too bad...
I have scripts -1,0,1,2 and 3 on this card.
Combinations that work:
- -1
- -1,0
- -1,0,1
- 0
- 0,1
- 0,1,2
- 0,1,2,3
- 1
- 1,2
- 1,2,3
- 2
- 2,3
- 3
Combinations that fail:
- -1,0,1,2
- -1,0,1,2,3 (normal)
Weird thing is that the only other failing combination is the regular boot without script 3. Do you see any patterns?
I will attach dmesg of all combo's in one file.
Please note that: minscript=2 will execute script 1,2,3. Maxscript 2 will execute -1,0,1. So minscript=2 and maxscript=2 will execute script 1 only.
If boot is scrambled, nouveau will give fbcon messages on each lockup. If it's not scrambled it won't, so it's directly related.
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
Nouveau mailing list [email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau
[Bug 23223] [NV4B] nVidia Geforce 7300 fails to properly resume
In reply to a message not in the archivehttps://bugs.freedesktop.org/show_bug.cgi?id=23223
--- Comment #20 from Marcin Slusarz <[email protected]> --- Argh, I made a mistake in this patch - I subtracted 1 from printed indexes.
So the only failing combination are 0-3 and 0-4, which means something about script 3 is not ok (4th script is empty).
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
Nouveau mailing list [email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau
[Bug 23223] [NV4B] nVidia Geforce 7300 fails to properly resume
In reply to a message not in the archivehttps://bugs.freedesktop.org/show_bug.cgi?id=23223
--- Comment #21 from Ronald <[email protected]> --- No problem. Glad I could help.
You mentioned script 3 being not okay. And 4 being empty. Then I noticed that the combination of 0 and 3 is fatal somehow. Because sometimes, including script 3 works out correctly.
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
Nouveau mailing list [email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau
[Bug 23223] [NV4B] nVidia Geforce 7300 fails to properly resume
In reply to a message not in the archivehttps://bugs.freedesktop.org/show_bug.cgi?id=23223
--- Comment #22 from Marcin Slusarz <[email protected]> --- Please attach an mmiotrace [1] of binary driver handling suspend & resume.
[1] http://nouveau.freedesktop.org/wiki/MmioTrace
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
Nouveau mailing list [email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau
[Bug 23223] [NV4B] nVidia Geforce 7300 fails to properly resume
In reply to a message not in the archivehttps://bugs.freedesktop.org/show_bug.cgi?id=23223
--- Comment #23 from Ronald <[email protected]> --- Created attachment 72669
--> https://bugs.freedesktop.org/attachment.cgi?id=72669&action=edit
Mmiotrace of NV4B s2disk cycle, kernel v3.7.1 and nVidia 304.64
I think it worked out. Weird thing is: I tried booting with init=/bin/bash, setting up the mounts myself and making root rw and all that. Then I get a 750kb uncompressed file. So I tried again, booting using Gentoo, but without X and terminal only, and it's 30MB uncompressed.
What is the difference? I think it worked out okay though.
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
Nouveau mailing list [email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau
[Bug 23223] [NV4B] nVidia Geforce 7300 fails to properly resume
In reply to a message not in the archivehttps://bugs.freedesktop.org/show_bug.cgi?id=23223
--- Comment #24 from Ronald <[email protected]> --- Yes it worked out properly. The difference was that udev is started if I use init and seems to change something with my display. If I then do an s2disk cycle, everything is peachy and the mmiotrace is 30MB.
I started in single mode and started udev as well, I got the same result. Sorry for bothering you, thought it was a driver issue. At least I can confirm that the above mmiotrace should be okay for use.
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
Nouveau mailing list [email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau
[Bug 23223] [NV4B] nVidia Geforce 7300 fails to properly resume
In reply to a message not in the archivehttps://bugs.freedesktop.org/show_bug.cgi?id=23223
--- Comment #25 from Ronald <[email protected]> --- The card died on me yesterday. The BIOS splash shows small but many garbled artifacts. Once nouveau loads it tears the entire screen with (DMA) errors.
Two weeks ago I installed Windows on it for upgrading an e-reader. The last time I did that was maybe 4 years ago. Now, 2 Weeks later after the install the GPU dies. Food for thought!
Time to buy a new one...
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
Nouveau mailing list [email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau
[Bug 23223] [NV4B] nVidia Geforce 7300 fails to properly resume
In reply to a message not in the archivehttps://bugs.freedesktop.org/show_bug.cgi?id=23223
Ilia Mirkin <imirkin-FrUbXkNCsVf2fBVCVOL8/[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |INVALID--- Comment #26 from Ilia Mirkin <imirkin-FrUbXkNCsVf2fBVCVOL8/[email protected]> --- Original card is gone now, no more testing can be done. Marking as invalid.
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
Nouveau mailing list [email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau