Summary: | [855GM S3] X gets corrupted after suspend/resume on R51 | ||
---|---|---|---|
Product: | xorg | Reporter: | Yves Dorfsman <yves> |
Component: | Driver/intel | Assignee: | Jesse Barnes <jbarnes> |
Status: | CLOSED FIXED | QA Contact: | Xorg Project Team <xorg-team> |
Severity: | normal | ||
Priority: | medium | CC: | diegoe, laurento.frittella |
Version: | unspecified | ||
Hardware: | x86 (IA32) | ||
OS: | Linux (All) | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Attachments: |
Description
Yves Dorfsman
2008-09-29 23:05:51 UTC
Created attachment 19296 [details]
gnome password prompt after resume, missing colours
Created attachment 19297 [details]
final state of the screen
Created attachment 19298 [details]
Xorg.0.log
As I mentioned the machine regularly gets into a state where resume works, and I can create the problem at any given point in time by rebooting, and go to suspend right away. Let me know if you want me to capture data in those states for comparison purposes. what's the kernel version? It's the stock Fedora 9 (updated) kernel:
> cat /proc/version
Linux version 2.6.25.14-108.fc9.i686 (mockbuild@) (gcc version 4.3.0 20080428 (Red Hat 4.3.0-8) (GCC) ) #1 SMP Mon Aug 4 14:08:11 EDT 2008
Can you suspend/resume from the console alone? I.e.: 1) boot up into text mode 2) modprobe i915 3) intel_reg_dumper > pre-suspend.out 4) echo mem > /sys/power/state 5) resume 6) intel_reg_dumper > post-resume.out Do those steps work? Please attach the register dumps from the above (the intel_reg_dumper tool can be found in the xf86-video-intel tree under src/reg_dumper). Here are the files. Note that I have not booted up in text mode, I let it boot up in normal mode, then ctrl-alt-F1, ran your procedure. As expected, because I had just booted up and had not logged in through gnome yet, when I pressed ctrl-alt-F7 to go back to the gdm screen in X, it ceased, as shown in the pictures uploaded earlier. Let me know if you want me to re-do the procedure from a true boot to text only. Also, when I managed to get the machine in a state when it will suspend/resume properly, is there any point of me running the intel_reg_dumper and upload the result ? Created attachment 19322 [details]
pre-suspend.out just after the boot and ctrl-alt-F1
Created attachment 19323 [details]
post suspend / resume (in text) intel_reg_dumper dump
Created attachment 19324 [details]
intel_reg_dump after a good suspend/resume
This is a intel_reg_dump after a suspend / resume that work, but after ctrl-alt-F1, so in text mode.
Created attachment 19325 [details]
intel_reg_dump after a good suspen / resume but from an X terminal
intel_reg_dump after a good suspend / resume cycle, but from X, from an X terminal.
I have upgraded with the latest Fedora Core 9 packages: Kernel: Linux version 2.6.26.5-45.fc9.i686 (mockbuild@) (gcc version 4.3.0 20080428 (Red Hat 4.3.0-8) (GCC) ) #1 SMP Sat Sep 20 03:45:00 EDT 2008 X: X.Org X Server 1.5.0 and the same problem is still there. I have been using hibernate / resume without any problem, it always comes back clean. I have done more testing with suspend / resume, but still the same results, fails most of the time.. Any progress on this ? Any test I can do to help with this ? I have a similar problem with my 855GM card in a r50e. I think we are suffering bug #13609 actually. remove NEEDINFO and ping Jesse... Upgraded Fedora with latest packages:
> cat /proc/version
Linux version 2.6.27.5-41.fc9.i686 (mockbuild@) (gcc version 4.3.0 20080428 (Red Hat 4.3.0-8) (GCC) ) #1 SMP Thu Nov 13 20:52:14 EST 2008
From Xorg.0.log:
.../...
(II) Loading /usr/lib/xorg/modules/drivers//intel_drv.so
(II) Module intel: vendor="X.Org Foundation"
compiled for 1.5.0, module version = 2.2.1
Module class: X.Org Video Driver
ABI class: X.Org Video Driver, version 4.1
(II) Loading sub module "intel_master"
(II) LoadModule: "intel_master"
(II) Loading /usr/lib/xorg/modules/drivers//intel_master_drv.so
(II) Module intel: vendor="X.Org Foundation"
compiled for 1.5.0, module version = 2.3.2
Module class: X.Org Video Driver
ABI class: X.Org Video Driver, version 4.1
.../...
(II) intel(0): Integrated Graphics Chipset: Intel(R) 855GME
(--) intel(0): Chipset: "852GM/855GM"
(--) intel(0): Linear framebuffer at 0xE0000000
(--) intel(0): IO registers at addr 0xD0000000
(II) intel(0): 2 display pipes available.
(==) intel(0): Using EXA for acceleration
The problem is still exactly the same.
Is there anything else I can provide to help ? Or tests you want me to run ?
Do you know if your distro is running vbetool post at resume time? It sounds like suspend/resume is correctly restoring the console; could you try resuming to text mode, then running 'vbetool post' by hand before switching back to X? ping Yves Sorry I missed the update from 2008/12/18.... If you update this bug and don't hear from me soon after, please don't hesitate to email me directly (yves the at sign zioup.com) I use Fedora 10, and once you logged in into your gnome session now, you cannot switch back to text mode. Here is what I have done: 1) boot up, login into gnome, suspend. Resotre At this point I only get a cursor, I can move it, but nowhere to enter my password etc.... I go to another machine, ssh into the R51, and run "vbetool post". The laptop then turns black, with just a cursor at the top left hand corner. 2) Added vbe_post to /usr/share/hal/fdi/information/10freedesktop/20-video-quirk-pm-ibm.fdi. Reboot, etc.... This time I get back to the "ghost" screen I use to get, I can see the rectangle where I'd enter my password, but it's all white. 3) Added vbemode_restore (under vbe_post), just because I noticed this is the config for another model. Reboot, etc... I get the exact same behaviour in #1. Remnoved "need info" This sounds like it could be a dup of the compiz vt switch hang, where all you'd get back after VT switch or suspend/resume is a blank screen with a cursor. Does updating your libdrm to 2.4.4 or better make the problem go away? I looked for a distro with libdrm 2.4.4 or >, but couldn't find one, so I'm going to download the source, build - might take a little while. Ok: I've tried with "Intel 2008Q4 graphics package" (http://intellinuxgraphics.org/2008Q4.html), poor graphic (black lines around all objects), but the exact same symptom when it comes to resume. Then, I tried the combination: libdrm-2.4.5 dri2proto-1.99.3 mesa_7_3 xf86-video-intel-2.6.1 (2.6.2 wouldn't compile) Graphic display is good now, but, same symptoms for resume: -hybernate / resume works 100% of the time -If I boot the machine up in normal mode (gdm), log in, open an xterm, suspend, resume, then I get a black screen and a stuck cursor. I have to do a hard reboot. -If on the contrary I work for a while, use different apps, then suspend, then it resumes fine. I have not been able to identify what exact step makes it work. Is there anything I can capture to find the difference between when it works and when it does not ? Created attachment 24382 [details] [review] save/restore fifo regs at suspend/resume time In another bug I found that we don't save/restore the FIFO regs, so on your machine things might go bad if we don't take care of it. Can you try this kernel patch? I am unable to test this patch, but I think this problem is now solved, and probably has been solved for a while: -I was on Ubuntu 8.10, kernel 2.6.27. I tried to apply the patch, but patching failed because it was missing a few files. -rather then installing a newer kernel on an old version of Ubuntu I decided to install the newer beta version of Ubuntu, 9.04, thinking I might be able to patch the kernel for that version. Once installed though, I tried to suspend/resume, and it worked, out of the box, without any patching or change. The one thing I do realise now is that, I kept trying newer versions of the Intel module and X itself, but I had never tried a newer version of the drm kernel module (except when upgrading Fedora and Ubuntu), so I am assuming that the fix for this problem is in the drm module somewhere. Here are the versions of the different elements: kernel: Linux version 2.6.28-11-generic drm kernel module: srcversion: 577B0D96244FB56F871FA81 i915 kernel module: srcversion: 342B6C179E8780AF28932E3 X: X.Org X Server 1.6.0 Intel module: intel_drv.so, compiled for 1.6.0, module version = 2.6.3 This is great news, Intel is back on the list for video cards for my next laptop ! I have only been using this version for four days now, so I am going to keep the bug open for a week or two, to make sure I test it under different scenarios. Ok great, thanks for testing. Maybe it's better to mark this one as 'fixed' for now, and you can change the resolution to 'resolved' or re-open if you see it again. And please be sure to file new bugs for any other issues you discover. Thanks! I have been using the machine for 20 days now with the above configuration (Ubuntu 9.04) and it suspend / resume without a problem. Closing this bug. |
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.