https://bugs.freedesktop.org/show_bug.cgi?id=36327
Summary: fujitsu siemens amilo li1718: ati radeon x200m does not resume from suspend Product: DRI Version: unspecified Platform: x86 (IA32) OS/Version: Linux (All) Status: NEW Severity: normal Priority: medium Component: DRM/Radeon AssignedTo: dri-devel@lists.freedesktop.org ReportedBy: lengyel.karesz@gmail.com
Created an attachment (id=45728) --> (https://bugs.freedesktop.org/attachment.cgi?id=45728) lspci -v
When trying to resume from suspend, the computer freezes totally, after a second or so. Nothing can be found in the logs, because loging doesn't even start until then. Resuming from hibernation works fine.
I've realised, that if i delete the i2c-algo-bit.ko file (therefore preventing it from being loaded) the resume/suspend will work fine, but there is no compositing, sadly. Using "nomodeset", and trying resume from suspend failed.
It is an RC415ME chip (it is written on it).
This bug was also submitted a long time ago here: https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-ati/+bug/577340...
https://bugs.freedesktop.org/show_bug.cgi?id=36327
--- Comment #1 from Karesz L. lengyel.karesz@gmail.com 2011-04-17 07:26:09 PDT --- Created an attachment (id=45729) --> (https://bugs.freedesktop.org/attachment.cgi?id=45729) Xorg.0.log
https://bugs.freedesktop.org/show_bug.cgi?id=36327
Alex Deucher agd5f@yahoo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #45729|text/x-log |text/plain mime type| | Attachment #45729|0 |1 is patch| |
https://bugs.freedesktop.org/show_bug.cgi?id=36327
--- Comment #2 from Alex Deucher agd5f@yahoo.com 2011-04-17 10:11:28 PDT --- Removing i2c-algo-bit.ko prevents radeon from loading since it depends on it; that's why 3D/compositing fail. Please attach your xorg log and dmesg output both with and without i2c-algo-bit.ko present.
https://bugs.freedesktop.org/show_bug.cgi?id=36327
--- Comment #3 from Karesz L. lengyel.karesz@gmail.com 2011-04-17 10:37:35 PDT --- Created an attachment (id=45733) --> (https://bugs.freedesktop.org/attachment.cgi?id=45733) Dmesg - i2c_algo_bit loaded
https://bugs.freedesktop.org/show_bug.cgi?id=36327
--- Comment #4 from Karesz L. lengyel.karesz@gmail.com 2011-04-17 10:39:02 PDT --- Created an attachment (id=45734) --> (https://bugs.freedesktop.org/attachment.cgi?id=45734) Dmesg - i2c_algo_bit NOT loaded, before suspending
https://bugs.freedesktop.org/show_bug.cgi?id=36327
--- Comment #5 from Karesz L. lengyel.karesz@gmail.com 2011-04-17 10:39:52 PDT --- Created an attachment (id=45735) --> (https://bugs.freedesktop.org/attachment.cgi?id=45735) Dmesg - i2c_algo_bit NOT loaded, after a succesful resume
https://bugs.freedesktop.org/show_bug.cgi?id=36327
--- Comment #6 from Karesz L. lengyel.karesz@gmail.com 2011-04-17 10:42:19 PDT --- Created an attachment (id=45736) --> (https://bugs.freedesktop.org/attachment.cgi?id=45736) Xorg.0.log - i2c_algo_bit NOT loaded
https://bugs.freedesktop.org/show_bug.cgi?id=36327
--- Comment #7 from Karesz L. lengyel.karesz@gmail.com 2011-04-17 10:46:19 PDT --- Created an attachment (id=45737) --> (https://bugs.freedesktop.org/attachment.cgi?id=45737) Lsmod - i2c present
https://bugs.freedesktop.org/show_bug.cgi?id=36327
--- Comment #8 from Karesz L. lengyel.karesz@gmail.com 2011-04-17 10:47:06 PDT --- Created an attachment (id=45738) --> (https://bugs.freedesktop.org/attachment.cgi?id=45738) lsmod - i2c NOT present
https://bugs.freedesktop.org/show_bug.cgi?id=36327
--- Comment #9 from Karesz L. lengyel.karesz@gmail.com 2011-04-18 12:51:22 PDT --- I've made a custom kernel, and applied this (I modified the nx6125's patch a bit):
--- a/drivers/gpu/drm/radeon/radeon_combios.c +++ b/drivers/gpu/drm/radeon/radeon_combios.c @@ -3171,6 +3171,14 @@ void radeon_combios_asic_init(struct drm_device *dev) rdev->pdev->subsystem_device == 0x30a4) return;
+ /* quirk for rs4xx FSC Amilo Li1718 laptop to make it resume + * - it hangs on resume inside the dynclk 1 table. + */ + if (rdev->family == CHIP_RS480 && + rdev->pdev->subsystem_vendor == 0x103c && + rdev->pdev->subsystem_device == 0x10fb) + return; + /* DYN CLK 1 */ table = combios_get_table_offset(dev, COMBIOS_DYN_CLK_1_TABLE); if (table)
I haven't been able to resume with it correctly, but, in some cases, the system froze a little bit after, than before. These times, the lcd got backlit, and some broken images, lines, colours, dots appeared.
https://bugs.freedesktop.org/show_bug.cgi?id=36327
--- Comment #10 from Евгений М. eumospan@gmail.com 2011-04-18 16:19:55 PDT --- Created an attachment (id=45792) --> (https://bugs.freedesktop.org/attachment.cgi?id=45792) lspci -vnn on my Toshiba on my Satellite L35-S2366
This bug has been around for more than 3 years for me. My experience is that if in the xorg.conf file I put
Option "DRI" "off"
I can resume from suspend if booting with radeon.modeset=0 kernel option. That does not give me 3D acceleration. If I put Option "DRI" "on" I lose resume, no matter what the kernel option is, however get 3D. I tried a variety of kernel and usually grab and build the freshest stable release from the kernel.org E.g., currently it is 2.6.38.3 (Apr 17)
https://bugs.freedesktop.org/show_bug.cgi?id=36327
Евгений М. eumospan@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #45792|lspci -vnn on my Toshiba on |lspci -vnn on my Toshiba description|my Satellite L35-S2366 |Satellite L35-S2366
https://bugs.freedesktop.org/show_bug.cgi?id=36327
--- Comment #11 from Евгений М. eumospan@gmail.com 2011-04-19 05:46:47 PDT --- Forgot to mention one more thing related to the Karesz' last comment. Neither Alex' patch from https://bugs.freedesktop.org/show_bug.cgi?id=29062 , nor the simple "return;" statement (without any if's to fight that DYN CLK 1 table issue) made any progress for me (including the recent 2.6.38.2 build)
https://bugs.freedesktop.org/show_bug.cgi?id=36327
--- Comment #12 from Евгений М. eumospan@gmail.com 2011-04-21 08:12:17 PDT --- Created an attachment (id=45921) --> (https://bugs.freedesktop.org/attachment.cgi?id=45921) an unsuccessful wakeup attempt kernel log
As I already mentioned this in https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-ati/+bug/577340, repeating it here. After I tried to unsuccessfully install fglrx, which I removed while running full 3D, I subsequently tried to suspend and resume. The resume did not work, however, I saw one of the vt's with the kernel log in it. It appears to be a log of the wakeup attempt with a couple of stack traces. Not sure if it can shed any new light on our issue and attach that piece of kern.log here.
https://bugs.freedesktop.org/show_bug.cgi?id=36327
--- Comment #13 from Karesz L. lengyel.karesz@gmail.com 2011-05-19 03:39:03 PDT --- Any news on this?
https://bugs.freedesktop.org/show_bug.cgi?id=36327
--- Comment #14 from Karesz L. lengyel.karesz@gmail.com 2011-05-19 03:49:36 PDT --- I'm a little confused, <a href="https://bugs.freedesktop.org/attachment.cgi?id=45729">this Xorg.0.log</a> is marked as a patch, but I'm not really sure, if it is.
https://bugs.freedesktop.org/show_bug.cgi?id=36327
Michel Dänzer michel@daenzer.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #45729|1 |0 is patch| |
https://bugs.freedesktop.org/show_bug.cgi?id=36327
--- Comment #15 from Евгений М. eumospan@gmail.com 2011-05-19 07:00:19 PDT --- No Karesz, it is not a patch.
https://bugs.freedesktop.org/show_bug.cgi?id=36327
--- Comment #16 from Karesz L. lengyel.karesz@gmail.com 2011-05-19 23:11:47 PDT --- Created an attachment (id=46931) --> (https://bugs.freedesktop.org/attachment.cgi?id=46931) A failed resume's recurring log- Fedora 15 beta
I've made a bootable live Fedora 15 beta USB, booted, and noticed, that gnome3 had only a suspend in it's "live user options" menu, so I clicked it. It suspended correctly, as expected. Then I pressed the power button, to see whether it resumes, or not. It doesn't, but the screen got backlit, and this message kept running on the screen. Pressing ctrl+alt+F3 stopped it, and I was able to take a photo of it (don't know how to get this message in text form), and I enhanced it a little.
https://bugs.freedesktop.org/show_bug.cgi?id=36327
Karesz L. lengyel.karesz@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #46931|0 |1 is obsolete| |
--- Comment #17 from Karesz L. lengyel.karesz@gmail.com 2011-05-20 00:23:32 PDT --- Created an attachment (id=46933) --> (https://bugs.freedesktop.org/attachment.cgi?id=46933) failed resume attempts log
I've just typed the image above. Hopefuly it's more help this way.
https://bugs.freedesktop.org/show_bug.cgi?id=36327
--- Comment #18 from Karesz L. lengyel.karesz@gmail.com 2011-06-27 23:32:24 PDT --- Any news on this one?
https://bugs.freedesktop.org/show_bug.cgi?id=36327
--- Comment #19 from Евгений М. eumospan@gmail.com 2011-06-29 15:43:32 PDT --- (In reply to comment #18) As far as the 3.0.0-rc5 is concerned, there is no good news for this card, unfortunately.
https://bugs.freedesktop.org/show_bug.cgi?id=36327
--- Comment #20 from Karesz L. lengyel.karesz@gmail.com 2011-07-06 10:48:51 PDT --- Okay, I had some time, and tried this:
I've made this script:
#!/bin/sh sync echo 1 > /sys/power/pm_trace echo mem > /sys/power/state
(from here: http://lxr.linux.no/linux+v2.6.34.1/Documentation/power/s2ram.txt )
I've rebooted after the failed resume process, and looked for the Magic number in dmesg. I've found this:
[ 1.104884] PM: Hibernation image not present or could not be loaded. [ 1.104907] registered taskstats version 1 [ 1.105184] Magic number: 3:841:901 [ 1.105360] rtc_cmos 00:04: setting system clock to 2011-07-05 20:53:56 UTC (1309899236) [ 1.105365] BIOS EDD facility v0.16 2004-Jun-25, 0 devices found [ 1.105367] EDD information not available. [ 1.105548] Freeing unused kernel memory: 700k freed
I haven't found any "hash matches...." lines. How to continue?
https://bugs.freedesktop.org/show_bug.cgi?id=36327
--- Comment #21 from Karesz L. lengyel.karesz@gmail.com 2011-10-08 14:22:15 PDT --- Hey! I've made an ubuntu 11.10 (64bit) live usb-stick. After 4 failures, it finally resumed OK from suspend. Tried it again, and it failed. I'm linking the dmesg output. Maybe this will help.
https://bugs.freedesktop.org/show_bug.cgi?id=36327
--- Comment #22 from Karesz L. lengyel.karesz@gmail.com 2011-10-08 14:26:54 PDT --- Created an attachment (id=52129) --> (https://bugs.freedesktop.org/attachment.cgi?id=52129) dmesg output after a succesful resume
https://bugs.freedesktop.org/show_bug.cgi?id=36327
--- Comment #23 from Karesz L. lengyel.karesz@gmail.com 2011-10-08 14:29:26 PDT --- (From update of attachment 52129) Kernel it is using: 3.0.0-12
https://bugs.freedesktop.org/show_bug.cgi?id=36327
--- Comment #24 from Karesz L. lengyel.karesz@gmail.com --- Okay, hi again. So, I don't know what you just did, but resume from suspend just works like a charm now. Since I don't want it to fail again, I'm sharing this information with you. Any tips on why is it working?
https://bugs.freedesktop.org/show_bug.cgi?id=36327
Alex Deucher agd5f@yahoo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED
--- Comment #25 from Alex Deucher agd5f@yahoo.com --- Fixed with this patch: http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=ac...
dri-devel@lists.freedesktop.org