#604094 chvt breaks resume with binary nvidia driver

#604094#5
Date:
2010-11-20 03:44:48 UTC
From:
To:
Package: pm-utils
Version: 1.3.0-3

Hm, interesting. Because pm-suspend (when using the binary nvidia driver) does
just that, run echo "mem" > /sys/power/state

Do you have a directory /sys/module/nvidia [1]?

Could you run
PM_DEBUG=true pm-suspend and send me the log file /var/log/pm-suspend.log please


Turning this into a bug report

Michael


[1] /usr/lib/pm-utils/sleep.d/98video-quirk-db-handler, have_nvidia()

#604094#10
Date:
2010-11-20 04:14:07 UTC
From:
To:
yes

The second attachment pm-suspend.log is the log file of a working suspend/resume due to the "backend" config file you suggested earlier (SLEEP_MODULE=uswsusp)

the first attachment is the log file of a failing resume (that is, a resume that does not automatically go back to X, requiring me to do Alt-F7).

#604094#15
Date:
2010-11-20 14:41:49 UTC
From:
To:
Might be related to

http://cgit.freedesktop.org/pm-utils/commit/?id=509f6badd8ffcc40bd3393d8c222ee8adacfa6b6

What type of nvidia hardware do you use, which version of the driver?

Could you try and re-add add_parameters --quirk-no-chvt
to 98-video-quirk-db-handler and check if that helps.

Thanks,
Michael

#604094#20
Date:
2010-11-20 21:58:38 UTC
From:
To:
Driver is Debian package (unstable) 195.36.31
Hardware is laptop Nvidia GeForce 9300M GS in a Dell Vostro 1320
My kernel is aptosid 2.6.36-0.slh.5
To do this, I guess you mean edit at around line 363 in case $1 in
suspend|hibernate.
Should I just code in  add_parameters --quirk-no-chvt at the end of the
case?

#604094#25
Date:
2010-11-20 23:21:33 UTC
From:
To:
new log file attached (resume is working)
#604094#30
Date:
2010-11-20 23:35:54 UTC
From:
To:
Fixes the problem.
what I did:
remove my use of USWSUSP
changed

98-video-quirk-db-handler
to
add_parameters --quirk-no-chvt
as the last step, outside of any if statement, in the suspend section of that script

#604094#35
Date:
2010-11-20 23:41:48 UTC
From:
To:
retitle 604094 chvt breaks resume with binary nvidia driver
thanks

Thanks a lot Tim for your help in tracking this down. Very much appreciated!

Unfortunately we are at a situation here, where chvt breaks resume for the
binary nvidia driver (as in your case) yet in other cases it is needed (as the
git commit says).

It seems we need a better heuristic for binary nvidia, when to apply chvt and
when not. I will try to get more information on that.

Cheers,
Michael

#604094#42
Date:
2023-12-21 17:56:09 UTC
From:
To:
Dear submitter,

as the package pm-utils has just been removed from the Debian archive
unstable we hereby close the associated bug reports.  We are sorry
that we couldn't deal with your issue properly.

For details on the removal, please see https://bugs.debian.org/1058701

The version of this package that was in Debian prior to this removal
can still be found using https://snapshot.debian.org/.

Please note that the changes have been done on the master archive and
will not propagate to any mirrors until the next dinstall run at the
earliest.

This message was generated automatically; if you believe that there is
a problem with it please contact the archive administrators by mailing
ftpmaster@ftp-master.debian.org.

Debian distribution maintenance software
pp.
Thorsten Alteholz (the ftpmaster behind the curtain)