Bug 183886

Summary: New pm-utils-0.11-1 breaks video / x11 resume after suspend
Product: [Fedora] Fedora Reporter: wilksen
Component: pm-utilsAssignee: Phil Knirsch <pknirsch>
Status: CLOSED RAWHIDE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: rvokal
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-03-03 15:04:22 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Fixed /etc/pm/functions-ati file none

Description wilksen 2006-03-03 13:12:57 UTC
Description of problem:


Version-Release number of selected component (if applicable): 0.11-1


How reproducible:

Always.


Steps to Reproduce:
1. Install devel kernel (2.6.15-1.1991, 2.6.15-1.1996 or 2.6.15-1.2008)
   and pm-utils-0.11-1
2. Reboot.
3. Suspend laptop with either Fn+F4, gnome-power-manager suspend or 
   pm-suspend on command line.
  
Actual results:

Laptop suspends correctly, console output looks ok when it comes back on
but as soon as it tries to resume X11 it hangs and video as well as 
keyboard are rendered unusable (wireless doesn't come up either).


Expected results:

X11 should resume fine as it did with pm-utils-0.09.1-2.


Additional info:

Laptop is a Thinkpad T42p with an ATI FireGL Mobility T2 (rev 80, M10 NT).
The new pm-utils script fails for all above mentioned kernels whereas it
the older pm-utils-0.09.1-2 works fine. Kernel boot parameters being used
are acpi_serialize and acpi_sleep=s3_bios. Omitting the acpi_sleep=s3_bios
does not fix it either. It used to work on all my Thinkpads for
2.6.x kernels only by using acpi_sleep=s3_bios as kernel parameter.

Comment 1 Phil Knirsch 2006-03-03 13:28:33 UTC
Can you test it with the attached functions-ati script? Copy it to /etc/pm/ and
see if the suspend/resume works again.

Seems like the fixes for some ATI bases machines breaks the ones for which it
previously worked, so i'm currently building a new version with the old
functions-ati.

Read ya, Phil

Comment 2 Phil Knirsch 2006-03-03 13:30:07 UTC
Created attachment 125593 [details]
Fixed /etc/pm/functions-ati file

Comment 3 wilksen 2006-03-03 14:54:54 UTC
The above script fixes the issue for me. X11 now resumes fine. 
Tested with kernel-2.6.15-1.2008_FC5 and pm-utils-0.11-1 on an 
ATI FireGL T2. Thanks Phil.

Comment 4 Phil Knirsch 2006-03-03 15:04:22 UTC
OK, great. So much for trying out to fix some corner cases and breaking tons of
other stuff while doing so. ;)

Fix will be in pm-utils-0.13 and later which should hit rawhide in the next few
days.

Read ya, Phil