Bug 358671

Summary: intel video suspend/resume - requires VT switch to restore X
Product: [Fedora] Fedora Reporter: Michael E Brown <mebrown>
Component: hal-infoAssignee: David Zeuthen <davidz>
Status: CLOSED INSUFFICIENT_DATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: 7CC: austin, comphappy, kyrsjo, mcepl, mclasen, sergio, tjb, xgl-maint
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-04-25 04:48:59 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
this is the xorg.conf
none
Xorg.0.log from before suspend
none
Xorg.0.log from after resume none

Description Michael E Brown 2007-10-30 17:30:28 UTC
Description of problem:

Dell D620 using 'intel' video driver. When resuming from suspend, X will not
come back up until you switch to a text console and back, eg. <ALT>-F1, then
<ALT>-F7. (even though text mode console doesnt actually work: see BZ# 358631)

The driver displays a funkadelic screen with interesting vertical green lines
everywhere.

Works ok with 'i810' driver.

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

xorg-x11-drv-i810- 2.0.0-4.fc7.x86_64

How reproducible:

every time

Steps to Reproduce:
1. suspend
2. resume
3.
  
Actual results:

not X

Expected results:

X

Additional info:

Dell D620 with core2 duo processor running SMP

00:02.0 VGA compatible controller: Intel Corporation Mobile 945GM/GMS,
943/940GML Express Integrated Graphics Controller (rev 03)
00:02.1 Display controller: Intel Corporation Mobile 945GM/GMS, 943/940GML
Express Integrated Graphics Controller (rev 03)

Linux duo 2.6.22.9-91.fc7 #1 SMP Thu Sep 27 20:47:39 EDT 2007 x86_64 x86_64
x86_64 GNU/Linux


The moon is 2160 miles in diameter.

Comment 1 Michael E Brown 2007-10-31 01:34:18 UTC
Created attachment 243981 [details]
this is the xorg.conf

The issue cannot be reproduced without an xorg.conf because the system defaults
to 'i810' driver.

Comment 2 Michael E Brown 2007-10-31 01:34:51 UTC
Created attachment 243991 [details]
Xorg.0.log from before suspend

Comment 3 Michael E Brown 2007-10-31 01:35:37 UTC
Created attachment 244001 [details]
Xorg.0.log from after resume

Comment 4 Michael E Brown 2007-10-31 01:36:50 UTC
Comment on attachment 243991 [details]
Xorg.0.log from before suspend

obsolete because description shows up wrong in comment list...

Comment 5 Michael E Brown 2007-11-02 16:34:31 UTC
fixed by:

pm-suspend --quirk-vbe-post

Looks like this needs to be added to the quirks list for this machine? (Latitude
D620 with intel 945 video)

Comment 6 Michael E Brown 2007-11-08 04:12:50 UTC
cloned the upstream git repo per
http://people.freedesktop.org/~hughsient/quirk/quirk-suspend-report.html

The upstream repository appears to already have these quirks. When is the next
update going to be released with this patch?

Comment 7 Matěj Cepl 2007-11-08 11:57:11 UTC
Changing component to people who are responsible for maintaining the quirks.

Comment 9 Matěj Cepl 2007-12-11 10:17:07 UTC
*** Bug 312901 has been marked as a duplicate of this bug. ***

Comment 10 Brennan Ashton 2008-02-24 23:08:57 UTC
Same problem, but that quirk does not work for me, intel 945 video as well. I
can get the console back with --quirk-vbemode-restore. When I use the post,
nothing changes and i get a lot of "enters" in the terminal.

Comment 11 Kyrre Ness Sjøbæk 2008-02-25 16:07:12 UTC
(In reply to comment #10)
> Same problem, but that quirk does not work for me, intel 945 video as well. I
> can get the console back with --quirk-vbemode-restore. When I use the post,
> nothing changes and i get a lot of "enters" in the terminal.


Enter-bug: See
https://bugzilla.redhat.com/show_bug.cgi?id=417091

Comment 12 Matěj Cepl 2008-02-25 21:42:41 UTC
*** Bug 389541 has been marked as a duplicate of this bug. ***

Comment 13 Matěj Cepl 2008-02-25 21:43:47 UTC
There is tone of information in bug 389541 which was closed as duplicate of this
bug.

Comment 14 Thomas J. Baker 2008-02-25 22:32:12 UTC
I'm not sure this is really a duplicate of 389541 as for me on a Dell M1330 with
intel hardware after resuming, X is fine, it's just the brightness is low.
Changing to VT1 and back restores the brightness.

Comment 15 Matěj Cepl 2008-02-26 14:38:20 UTC
Reporter, is this really different from your experience?

Comment 16 Brian Powell 2008-04-25 04:48:59 UTC
The information we've requested above is required in order
to review this problem report further and diagnose/fix the
issue if it is still present.  Since there have not been any
updates to the report since thirty (30) days or more since we
requested additional information, we're assuming the problem
is either no longer present in the current Fedora release, or
that there is no longer any interest in tracking the problem.

Setting status to "CLOSED INSUFFICIENT_DATA".  If you still
experience this problem after updating to our latest Fedora
release and can provide the information previously requested, 
please feel free to reopen the bug report.

Thank you in advance.

Note that maintenance for Fedora 7 will end 30 days after the GA of Fedora 9.

Comment 17 Kyrre Ness Sjøbæk 2008-04-25 07:46:49 UTC
I have manualy pached my quirks-file, so it works-for-me (now) - but has the
patch from upstream trickled down to fedora?

Comment 18 Thomas J. Baker 2008-04-25 14:08:33 UTC
Care to share the patch? I know it's not fixed in F8 as my wife's 1330 still has
the problem.

Comment 19 Sergio Basto 2008-04-25 18:50:56 UTC
with kernel-2.6.24.4-64.fc8 and last intel drive (from gits) , works for me 

Comment 20 Kyrre Ness Sjøbæk 2008-04-27 10:56:25 UTC
(In reply to comment #18)
> Care to share the patch? I know it's not fixed in F8 as my wife's 1330 still has
> the problem.

In /usr/share/hal/fdi/information/10freedesktop, edit the file
20-video-quirk-pm-dell.fdi

I added this <match> tag:
<match key="system.hardware.product" contains="D520">
    <merge key="power_management.quirk.vbe_post" type="bool">true</merge>
</match>

You should match the model and/or make of the computer correctly, but this is
how you do it. Also check that you are using the right (combination) of quirks
first. The possible quirks may be found at:
http://people.freedesktop.org/~hughsient/quirk/quirk-suspend-try.html
Also see:
http://people.freedesktop.org/~hughsient/quirk/quirk-suspend-report.html

Restarted hal (maybe rebooted?), and it worked.

Good luck!