Bug 248180
| Summary: | Xorg ~100% CPU upon resume from hibernation | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | xunilarodef | ||||||
| Component: | xorg-x11-drv-r128 | Assignee: | Dave Airlie <airlied> | ||||||
| Status: | CLOSED WONTFIX | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||
| Severity: | high | Docs Contact: | |||||||
| Priority: | low | ||||||||
| Version: | 10 | CC: | mlichvar, nemesis, poelstra, triage, vedran, xgl-maint | ||||||
| Target Milestone: | --- | Keywords: | Triaged | ||||||
| Target Release: | --- | ||||||||
| Hardware: | i686 | ||||||||
| OS: | Linux | ||||||||
| Whiteboard: | |||||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||||
| Doc Text: | Story Points: | --- | |||||||
| Clone Of: | Environment: | ||||||||
| Last Closed: | 2009-12-18 05:57:08 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
xunilarodef
2007-07-13 18:39:48 UTC
Created attachment 159229 [details]
X server configuration file
Created attachment 159231 [details]
X server log file
(In reply to comment #0) [nitpick for clarity] I just noticed that step 1 above in "Steps to Reproduce" was messed up; it should be: > Steps to Reproduce: > 1. System, Shutdown, Hibernate More importantly, as this bug is still with us, I have noticed that the following pair of lines are repeatedly appended to /var/log/Xorg.0.log when one is attempting to resume: (EE) R128(0): R128CCEWaitForIdle: (DEBUG) CCE idle took i = 1025 (EE) R128(0): Idle timed out, resetting engine... The longer one patiently and over-optimistically waits before restarting X, the more copies of this pair of lines are appended. These "(DEBUG) ... Idle timed out" messages are appended regardless of which suspend quirks are in effect: <merge key="power_management.quirk.vbemode_restore" type="bool">true</merge> <merge key="power_management.quirk.vbe_post" type="bool">true</merge> <merge key="power_management.quirk.vbestate_restore" type="bool">true</merge> <merge key="power_management.quirk.vga_mode_3" type="bool">true</merge> I tried Hibernate, Resume 16 times with all possible combinations of these quirks active in /usr/share/hal/fdi/information/10freedesktop/20-video-quirk-pm-dell.fdi and the "(DEBUG) ... Idle timed out" messages were appended each time. [u ~]$ uname -r 2.6.23.1-49.fc8 [u ~]$ rpm -q --whatprovides Xorg xorg-x11-server-Xorg-1.3.0.0-33.fc8 [u ~]$ rpm -q --whatprovides /usr/lib/xorg/modules/drivers/ati_drv.so xorg-x11-drv-ati-6.7.195-3.fc8 [u ~]$ rpm -q --whatprovides /usr/lib/xorg/modules/drivers/r128_drv.so xorg-x11-drv-ati-6.7.195-3.fc8 [u ~]$ This message is a reminder that Fedora 7 is nearing the end of life. Approximately 30 (thirty) days from now Fedora will stop maintaining and issuing updates for Fedora 7. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as WONTFIX if it remains open with a Fedora 'version' of '7'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Fedora version prior to Fedora 7's end of life. Bug Reporter: Thank you for reporting this issue and we are sorry that we may not be able to fix it before Fedora 7 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora please change the 'version' of this bug. If you are unable to change the version, please add a comment here and someone will do it for you. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete. If possible, it is recommended that you try the newest available Fedora distribution to see if your bug still exists. Please read the Release Notes for the newest Fedora distribution to make sure it will meet your needs: http://docs.fedoraproject.org/release-notes/ The process we are following is described here: http://fedoraproject.org/wiki/BugZappers/HouseKeeping (In reply to comment #4) This bug remains with us in Fedora 9: [root@localhost ~]# uname -r 2.6.25.3-18.fc9.i686 [root@localhost ~]# rpm -q xorg-x11-drv-ati xorg-x11-drv-ati-6.8.0-14.fc9.i386 [root@localhost ~]# rpm -q xorg-x11-drv-vesa xorg-x11-drv-vesa-1.3.0-15.20080404.fc9.i386 [root@localhost ~]# Using the vesa driver, the system will successfully hibernate and resume. But with the r128 driver, resume fails as described above, still with the lines in /var/log/Xorg.0.log: (EE) R128(0): R128CCEWaitForIdle: (DEBUG) CCE idle took i = 1025 (EE) R128(0): Idle timed out, resetting engine... And /var/log/pm-suspend.log thinks all is well: Initial commandline parameters: --quirk-vbemode-restore Mon May 26 16:06:54 EDT 2008: Running hooks for hibernate. /usr/lib/pm-utils/sleep.d/00clear hibernate: success. /usr/lib/pm-utils/sleep.d/01grub hibernate: success. /usr/lib/pm-utils/sleep.d/05led hibernate: not applicable. /usr/lib/pm-utils/sleep.d/10NetworkManager hibernate: success. /usr/lib/pm-utils/sleep.d/49bluetooth hibernate: not applicable. /usr/lib/pm-utils/sleep.d/50modules hibernate: not applicable. /usr/lib/pm-utils/sleep.d/55battery hibernate: success. /usr/lib/pm-utils/sleep.d/65alsa hibernate: success. /usr/lib/pm-utils/sleep.d/90clock hibernate: Shutting down ntpd: [ OK ] success. /usr/lib/pm-utils/sleep.d/94cpufreq hibernate: success. /usr/lib/pm-utils/sleep.d/95led hibernate: not applicable. /usr/lib/pm-utils/sleep.d/95packagekit hibernate: success. /usr/lib/pm-utils/sleep.d/99hd-apm-restore.hook hibernate: saving level 128 for device sda success. /usr/lib/pm-utils/sleep.d/99video hibernate: success. Mon May 26 16:06:58 EDT 2008: performing hibernate Mon May 26 16:09:02 EDT 2008: Awake. Mon May 26 16:09:02 EDT 2008: Running hooks for thaw /usr/lib/pm-utils/sleep.d/99video thaw: success. /usr/lib/pm-utils/sleep.d/99hd-apm-restore.hook thaw: restoring level 128 for device sda /dev/sda: setting Advanced Power Management level to 0x80 (128) success. /usr/lib/pm-utils/sleep.d/95packagekit thaw: method return sender=:1.38 -> dest=:1.78 reply_serial=2 success. /usr/lib/pm-utils/sleep.d/95led thaw: not applicable. /usr/lib/pm-utils/sleep.d/94cpufreq thaw: success. /usr/lib/pm-utils/sleep.d/90clock thaw: success. /usr/lib/pm-utils/sleep.d/65alsa thaw: success. /usr/lib/pm-utils/sleep.d/55battery thaw: success. /usr/lib/pm-utils/sleep.d/50modules thaw: success. /usr/lib/pm-utils/sleep.d/49bluetooth thaw: not applicable. /usr/lib/pm-utils/sleep.d/10NetworkManager thaw: success. /usr/lib/pm-utils/sleep.d/05led thaw: not applicable. /usr/lib/pm-utils/sleep.d/01grub thaw: not applicable. /usr/lib/pm-utils/sleep.d/00clear thaw: success. Mon May 26 16:09:14 EDT 2008: Finished. (In reply to comment #5) This bug remains with us in Fedora 10 rawhide: [u@localhost ~]$ uname -r 2.6.27-0.244.rc2.git1.fc10.i686 [u@localhost ~]$ rpm -q xorg-x11-drv-ati xorg-x11-drv-ati-6.9.0-2.fc10.i386 [u@localhost ~]$ ## which included xorg-x11-drv-r128-6.8.0-1.fc10.i386 Using the vesa driver, the system will successfully hibernate and resume. But with the r128 driver, resume fails quite similarly to the description above (e.g. one may eventually see the desktop, but it is unusable with e.g. 10 second delays to just move the cursor), with even more confirming lines in /var/log/Xorg.0.log: [mi] EQ overflowing. The server is probably stuck in an infinite loop. [mi] mieqEnequeue: out-of-order valuator event; dropping. The above pair of line appears repeatedly, with some occurrences of: (EE) R128(0): R128CCEWaitForIdle: (DEBUG) CCE idle took i = 1025 (EE) R128(0): Idle timed out, resetting engine... sprinkled among them. This bug appears to have been reported against 'rawhide' during the Fedora 10 development cycle. Changing version to '10'. More information and reason for this action is here: http://fedoraproject.org/wiki/BugZappers/HouseKeeping Disabling dri in xorg.conf and using the vbestate-restore quirk fixes resume for me. The only problem seems to be xvideo, which requires restarting Xorg to actually show a picture. The card is (--) R128(0): Chipset: "ATI Rage 128 Pro GL PF (AGP)" (ChipID = 0x5046) Any progress on this in rawhide? This message is a reminder that Fedora 10 is nearing its end of life. Approximately 30 (thirty) days from now Fedora will stop maintaining and issuing updates for Fedora 10. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as WONTFIX if it remains open with a Fedora 'version' of '10'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Fedora version prior to Fedora 10's end of life. Bug Reporter: Thank you for reporting this issue and we are sorry that we may not be able to fix it before Fedora 10 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora please change the 'version' of this bug to the applicable version. If you are unable to change the version, please add a comment here and someone will do it for you. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete. The process we are following is described here: http://fedoraproject.org/wiki/BugZappers/HouseKeeping Fedora 10 changed to end-of-life (EOL) status on 2009-12-17. Fedora 10 is no longer maintained, which means that it will not receive any further security or bug fix updates. As a result we are closing this bug. If you can reproduce this bug against a currently maintained version of Fedora please feel free to reopen this bug against that version. Thank you for reporting this bug and we are sorry it could not be fixed. |