Skip to contentSkip to conversation

New: suspend doesn't works

Bug 22763 [email protected] 1 participant 15 messages Jul 14, 2009 – Sep 27, 2009 1 message not in the archive

lore
Share & tools
lore
#0 lore raw

http://bugs.freedesktop.org/show_bug.cgi?id=22763

Summary: suspend doesn't works
Product: xorg
Version: git
Platform: x86 (IA32)
OS/Version: Linux (All)
Status: NEW
Severity: normal
Priority: medium
Component: Driver/nouveau
AssignedTo: [email protected]
ReportedBy: [email protected]
QAContact: [email protected]

xf86-video-nouveau, libdrm and kernel modules from git.

DDX driver is patched with:
http://people.freedesktop.org/~stuart/nv0x-nv4x_suspend/0001-merge-nv40fp.patch

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-22763-8800-V0hAGp6uBxMKqLRl/[email protected]/

#2 lore raw

[Bug 22763] suspend doesn't works

http://bugs.freedesktop.org/show_bug.cgi?id=22763

--- Comment #1 from Francesco Marella <[email protected]> 2009-07-14 04:32:47 PST --- Created an attachment (id=27676)
--> (http://bugs.freedesktop.org/attachment.cgi?id=27676)
kernel messages

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.
#3 lore raw

[Bug 22763] suspend doesn't works

In reply to a message not in the archive

http://bugs.freedesktop.org/show_bug.cgi?id=22763

--- Comment #2 from Francesco Marella <[email protected]> 2009-07-14 04:33:24 PST --- Created an attachment (id=27677)
--> (http://bugs.freedesktop.org/attachment.cgi?id=27677)
Xorg log

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.
#4 lore raw

[Bug 22763] suspend doesn't works

In reply to a message not in the archive

http://bugs.freedesktop.org/show_bug.cgi?id=22763

--- Comment #3 from Francesco Marella <[email protected]> 2009-07-14 04:44:18 PST --- (In reply to comment #0)

Quoted 5 lines

xf86-video-nouveau, libdrm and kernel modules from git.

DDX driver is patched with:
http://people.freedesktop.org/~stuart/nv0x-nv4x_suspend/0001-merge-nv40fp.patch

System prepare itself for suspend, hard disk spin down, screen go black, then wake up again and screen saver ask password to login.

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.
#5 lore raw

[Bug 22763] suspend doesn't works

In reply to a message not in the archive

http://bugs.freedesktop.org/show_bug.cgi?id=22763

--- Comment #4 from Francesco Marella <[email protected]> 2009-07-14 04:44:56 PST --- Created an attachment (id=27678)
--> (http://bugs.freedesktop.org/attachment.cgi?id=27678)
pm-powersave

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.
#6 lore raw

[Bug 22763] suspend doesn't works

In reply to a message not in the archive

http://bugs.freedesktop.org/show_bug.cgi?id=22763

--- Comment #5 from Ben Skeggs <[email protected]> 2009-07-14 05:21:57 PST ---

Quoted 1 line · On Tue, 2009-07-14 at 04:44 -0700, bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ@publi…

http://bugs.freedesktop.org/show_bug.cgi?id=22763

This is the intended behaviour currently, suspend will fail (and that patch *definitely* will since you're using KMS) so I made the nouveau module refuse to suspend.

I've been working on this a bit this week, and have code that *may* work on your system. It'll hit git later this week perhaps, there's still a couple of issues to iron out.

Ben.

Quoted 7 lines

--- Comment #4 from Francesco Marella <[email protected]> 2009-07-14 04:44:56 PST --- Created an attachment (id=27678)

--> (http://bugs.freedesktop.org/attachment.cgi?id=27678)

Quoted 4 lines

--> (http://bugs.freedesktop.org/attachment.cgi?id=27678)
pm-powersave

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.
#7 lore raw

[Bug 22763] suspend doesn't works

In reply to a message not in the archive

http://bugs.freedesktop.org/show_bug.cgi?id=22763

--- Comment #6 from Francesco Marella <[email protected]> 2009-07-22 00:09:49 PST --- compiled a custom kernel and updated DDX driver,
after wake up, the cursor is a transparent square block filled with some
colored pixels. screen is shifted up by ~25 pixel and switching screen
resolution via gnome-display-properties gives me back an usable cursor and
screen.

thank you.
-fm

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.
#8 lore raw

[Bug 22763] suspend doesn't works

In reply to a message not in the archive

http://bugs.freedesktop.org/show_bug.cgi?id=22763

--- Comment #7 from Francesco Marella <[email protected]> 2009-07-22 00:10:39 PST --- Created an attachment (id=27899)
--> (http://bugs.freedesktop.org/attachment.cgi?id=27899)
Xorg log

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.
#9 lore raw

[Bug 22763] suspend doesn't works

In reply to a message not in the archive

http://bugs.freedesktop.org/show_bug.cgi?id=22763

Francesco Marella <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

  Attachment #27676|0                           |1
        is obsolete|                            |
  Attachment #27677|0                           |1
        is obsolete|                            |
  Attachment #27678|0                           |1
        is obsolete|                            |

--- Comment #8 from Francesco Marella <[email protected]> 2009-07-22 00:12:10 PST --- Created an attachment (id=27900)
--> (http://bugs.freedesktop.org/attachment.cgi?id=27900)
kernel log

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.
#10 lore raw

[Bug 22763] suspend doesn't works

In reply to a message not in the archive

http://bugs.freedesktop.org/show_bug.cgi?id=22763

--- Comment #9 from Ben Skeggs <[email protected]> 2009-07-22 00:40:49 PST --- I'm surprised you survived suspend at all actually, only G80 is working
properly still at the moment. Working on it!

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.
#11 lore raw

[Bug 22763] suspend doesn't works

In reply to a message not in the archive

http://bugs.freedesktop.org/show_bug.cgi?id=22763

--- Comment #10 from okias <[email protected]> 2009-07-22 04:12:29 PST --- Actual state on 9600M GT.
Console testing (KMS enabled, nouveau/linux-2.6 master, rc3, kernel+ddx today
updated):
hibernate-ram: working fine! Circa 10 seconds is console extremly slow, but
after 10s console working fast

hibernate: it hibernate to hdd, it shudown self, but if is machine power on, LCD is black and system not working. Removing battery and AC power helps. After that system successfully resume from hdd to previous state.

X testing (KMS enabled, no EXAPixmaps)
hibernate-ram: switch to console, suspend, after pressing power try to continue, switch to fbcon, try to switch back X and then screen goes into state from console hibernate (same problem)

X testing (KMS enabled, EXAPixmaps)
can't test, cause now EXAPixmaps rendering one bold line(vertical block on screen circa 3 seconds and it's terrible slow

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.
#12 lore raw

[Bug 22763] suspend doesn't works

In reply to a message not in the archive

http://bugs.freedesktop.org/show_bug.cgi?id=22763

Francesco Marella <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

  Attachment #27899|0                           |1

is obsolete| |

--- Comment #11 from Francesco Marella <[email protected]> 2009-07-29 09:26:42 PST --- Created an attachment (id=28165)
--> (http://bugs.freedesktop.org/attachment.cgi?id=28165)
xorg log

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.
#13 lore raw

[Bug 22763] suspend doesn't works

In reply to a message not in the archive

http://bugs.freedesktop.org/show_bug.cgi?id=22763

Francesco Marella <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

  Attachment #27900|0                           |1

is obsolete| |

--- Comment #12 from Francesco Marella <[email protected]> 2009-07-29 09:27:11 PST --- Created an attachment (id=28166)
--> (http://bugs.freedesktop.org/attachment.cgi?id=28166)
kernel log

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.
#14 lore raw

[Bug 22763] suspend doesn't works

In reply to a message not in the archive

http://bugs.freedesktop.org/show_bug.cgi?id=22763

--- Comment #13 from Francesco Marella <[email protected]> 2009-07-29 09:33:43 PST --- drm, kernel, ddx from git
after suspend > resume > vt switch:

[...]
nouveau 0000:01:00.0: PGRAPH_ERROR - nSource: ILLEGAL_MTHD, nStatus:
PROTECTION_FAULT
nouveau 0000:01:00.0: PGRAPH_ERROR - Ch 0/2 Class 0x57d0 Mthd 0x0c34 Data 0x00000000:0x00000000
[...]

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.
#15 lore raw

[Bug 22763] suspend doesn't work

In reply to a message not in the archive

http://bugs.freedesktop.org/show_bug.cgi?id=22763

Francesco Marella <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED
            Summary|suspend doesn't works       |suspend doesn't work

--- Comment #14 from Francesco Marella <[email protected]> 2009-09-27 00:42:55 PST ---
NV46: X doesn't crash anymore after resume, no more PGRAPH_ERROR messages in
kern.log. kernel modules from git (99da349)

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.