Summary: | suspend doesn't work | ||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Product: | xorg | Reporter: | Francesco Marella <francesco.marella> | ||||||||||||||||
Component: | Driver/nouveau | Assignee: | Nouveau Project <nouveau> | ||||||||||||||||
Status: | RESOLVED FIXED | QA Contact: | Xorg Project Team <xorg-team> | ||||||||||||||||
Severity: | normal | ||||||||||||||||||
Priority: | medium | ||||||||||||||||||
Version: | git | ||||||||||||||||||
Hardware: | x86 (IA32) | ||||||||||||||||||
OS: | Linux (All) | ||||||||||||||||||
Whiteboard: | |||||||||||||||||||
i915 platform: | i915 features: | ||||||||||||||||||
Attachments: |
|
Description
Francesco Marella
2009-07-14 04:31:33 UTC
Created attachment 27676 [details]
kernel messages
Created attachment 27677 [details]
Xorg log
(In reply to comment #0) > 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. Created attachment 27678 [details]
pm-powersave
On Tue, 2009-07-14 at 04:44 -0700, bugzilla-daemon@freedesktop.org wrote: > 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. > > > > > > --- Comment #4 from Francesco Marella <francesco.marella@gmail.com> 2009-07-14 04:44:56 PST --- > Created an attachment (id=27678) > --> (http://bugs.freedesktop.org/attachment.cgi?id=27678) > pm-powersave > > 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 Created attachment 27899 [details]
Xorg log
Created attachment 27900 [details]
kernel log
I'm surprised you survived suspend at all actually, only G80 is working properly still at the moment. Working on it! 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 Created attachment 28165 [details]
xorg log
Created attachment 28166 [details]
kernel log
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 [...] NV46: X doesn't crash anymore after resume, no more PGRAPH_ERROR messages in kern.log. kernel modules from git (99da349) Thanks. |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.