You are not logged in.

#1 2014-09-02 07:49:01

Smetterleen
Member
Registered: 2014-09-02
Posts: 13

Screen Freeze after suspend

Hi archies,

This is my first post, so sorry if any required information is missing.

After installing arch on my current box (Dell Latitude E4300) I am experiencing problems with suspend. My laptop will go into suspend mode just find, but when I wake it up, the screen freezes after about 1s. I can see my desktop just fine, but the system is completely unresponsive (can't switch tty's, no mouse movement, no reaction to keypresses).

I have tried both the native systemd suspend and pm-suspend.
Output of pm-suspend log:

Tue Sep  2 09:52:13 CEST 2014: Running hooks for suspend.
Running hook /usr/lib/pm-utils/sleep.d/00logging suspend suspend:
Linux gargamel 3.16.1-1-ARCH #1 SMP PREEMPT Thu Aug 14 07:40:19 CEST 2014 x86_64 GNU/Linux
Module                  Size  Used by
ctr                    12927  1 
ccm                    17534  1 
joydev                 17063  0 
snd_hda_codec_hdmi     45117  1 
gpio_ich               12905  0 
coretemp               12820  0 
hwmon                  12930  1 coretemp
iTCO_wdt               12831  0 
iTCO_vendor_support    12649  1 iTCO_wdt
snd_hda_codec_idt      56908  1 
snd_hda_codec_generic    63126  1 snd_hda_codec_idt
mousedev               17272  0 
dell_wmi               12477  0 
ppdev                  16782  0 
snd_hda_intel          26327  0 
kvm                   413027  0 
snd_hda_controller     26727  1 snd_hda_intel
sparse_keymap          12818  1 dell_wmi
mac_hid                12633  0 
psmouse               102792  0 
evdev                  21544  12 
arc4                   12536  2 
serio_raw              12849  0 
pcspkr                 12595  0 
iwldvm                176250  0 
dell_laptop            17077  0 
dcdbas                 13263  1 dell_laptop
mac80211              514630  1 iwldvm
snd_hda_codec         108552  5 snd_hda_codec_hdmi,snd_hda_codec_idt,snd_hda_codec_generic,snd_hda_intel,snd_hda_controller
microcode              22061  0 
iwlwifi               156837  1 iwldvm
cdc_ether              12564  0 
usbnet                 34978  1 cdc_ether
snd_hwdep              17244  1 snd_hda_codec
cdc_wdm                17427  0 
cdc_acm                30362  0 
mii                    12675  1 usbnet
lpc_ich                20768  0 
hid_generic            12393  0 
snd_pcm                88487  4 snd_hda_codec_hdmi,snd_hda_codec,snd_hda_intel,snd_hda_controller
cfg80211              454161  3 iwlwifi,mac80211,iwldvm
snd_timer              26614  1 snd_pcm
i2c_i801               16965  0 
snd                    69340  8 snd_hwdep,snd_timer,snd_hda_codec_hdmi,snd_hda_codec_idt,snd_pcm,snd_hda_codec_generic,snd_hda_codec,snd_hda_intel
rfkill                 18867  3 cfg80211,dell_laptop
soundcore              13031  2 snd,snd_hda_codec
i915                  864723  2 
drm_kms_helper         49262  1 i915
drm                   258005  4 i915,drm_kms_helper
e1000e                215644  0 
tpm_tis                17134  0 
wmi                    17339  1 dell_wmi
thermal                17559  0 
shpchp                 35210  0 
intel_agp              17432  0 
tpm                    31467  1 tpm_tis
intel_gtt              17848  3 i915,intel_agp
parport_pc             26351  0 
button                 12909  1 i915
ptp                    17692  1 e1000e
parport                35749  2 ppdev,parport_pc
pps_core               17225  1 ptp
i2c_algo_bit           12744  1 i915
i2c_core               50152  5 drm,i915,i2c_i801,drm_kms_helper,i2c_algo_bit
video                  17995  1 i915
battery                13356  0 
ac                     12715  0 
acpi_cpufreq           17218  1 
processor              27777  3 acpi_cpufreq
ext4                  497695  3 
crc16                  12343  1 ext4
mbcache                17171  1 ext4
jbd2                   86460  1 ext4
usbhid                 44507  0 
hid                   102220  2 hid_generic,usbhid
sd_mod                 44356  4 
sr_mod                 21903  0 
crc_t10dif             12431  1 sd_mod
cdrom                  47479  1 sr_mod
crct10dif_common       12356  1 crc_t10dif
ata_generic            12490  0 
pata_acpi              12771  0 
atkbd                  22254  0 
libps2                 12739  2 atkbd,psmouse
firewire_ohci          43373  0 
ata_piix               33592  3 
sdhci_pci              22095  0 
firewire_core          56700  1 firewire_ohci
sdhci                  39043  1 sdhci_pci
crc_itu_t              12347  1 firewire_core
led_class              12859  3 sdhci,iwldvm,dell_laptop
mmc_core              110475  2 sdhci,sdhci_pci
libata                181553  3 pata_acpi,ata_generic,ata_piix
scsi_mod              142915  3 libata,sd_mod,sr_mod
ehci_pci               12512  0 
uhci_hcd               43507  0 
ehci_hcd               69939  1 ehci_pci
usbcore               199328  8 uhci_hcd,ehci_hcd,ehci_pci,usbhid,usbnet,cdc_acm,cdc_wdm,cdc_ether
usb_common             12440  1 usbcore
i8042                  18002  2 libps2,dell_laptop
serio                  18282  6 serio_raw,atkbd,i8042,psmouse
             total       used       free     shared    buffers     cached
Mem:       4003760     822696    3181064     121744      46548     422388
-/+ buffers/cache:     353760    3650000
Swap:            0          0          0

/usr/lib/pm-utils/sleep.d/00logging suspend suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/00powersave suspend suspend:

/usr/lib/pm-utils/sleep.d/00powersave suspend suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/01grub suspend suspend:

/usr/lib/pm-utils/sleep.d/01grub suspend suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/49bluetooth suspend suspend:

/usr/lib/pm-utils/sleep.d/49bluetooth suspend suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/75modules suspend suspend:

/usr/lib/pm-utils/sleep.d/75modules suspend suspend: success.
Running hook /etc/pm/sleep.d/90alsa suspend suspend:

/etc/pm/sleep.d/90alsa suspend suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/90clock suspend suspend:

/usr/lib/pm-utils/sleep.d/90clock suspend suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/94cpufreq suspend suspend:

/usr/lib/pm-utils/sleep.d/94cpufreq suspend suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/95led suspend suspend:

/usr/lib/pm-utils/sleep.d/95led suspend suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/98video-quirk-db-handler suspend suspend:
Kernel modesetting video driver detected, not using quirks.

/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler suspend suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/99video suspend suspend:
kernel.acpi_video_flags = 0

/usr/lib/pm-utils/sleep.d/99video suspend suspend: success.
Tue Sep  2 09:52:14 CEST 2014: performing suspend

Some system info:

[joep@gargamel ~]$ lspci -k | grep -A 2 -i "VGA"
00:02.0 VGA compatible controller: Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller (rev 07)
	Subsystem: Dell Device 024d
	Kernel driver in use: i915

dmesg output that might be interesting:

[    7.193672] usbcore: registered new interface driver cdc_wdm
[    7.193745] cdc_acm 5-6:1.3: ttyACM1: USB ACM device
[    7.194076] cdc_acm 5-6:1.9: ttyACM2: USB ACM device
[    7.194251] usbcore: registered new interface driver cdc_acm
[    7.194253] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
[    7.240050] [drm:init_ring_common] *ERROR* render ring initialization failed ctl 0001f001 (valid? 1) head 000104a4 tail 00000000 start 003eb000 [expected 003eb000]
[    7.240064] [drm:i915_gem_init] *ERROR* Failed to initialize GPU, declaring it wedged
[    7.249918] cdc_ether 5-6:1.7 wwan0: register 'cdc_ether' at usb-0000:00:1d.7-6, Mobile Broadband Network Device, 02:80:37:ec:02:00
[    7.249947] usbcore: registered new interface driver cdc_ether
[    7.368481] fbcon: inteldrmfb (fb0) is primary device
[    7.479025] Intel(R) Wireless WiFi driver for Linux, in-tree:
[    7.479025] Copyright(c) 2003- 2014 Intel Corporation
[    7.479188] iwlwifi 0000:0c:00.0: can't disable ASPM; OS doesn't have ASPM control
[    7.479307] iwlwifi 0000:0c:00.0: irq 45 for MSI/MSI-X
...
[    8.261786] kvm: disabled by bios
[    8.274288] kvm: disabled by bios

I'm not sure what else could be interesting for troubleshooting this issue. Any help or pointers in the right direction would be greatly appreciated! Been struggling with this for almost a month and I am completely out of ideas smile.

I found this on the suspend wiki:

Suspend/hibernate doesn't work

There have been many reports about the screen going black without easily viewable errors or the ability to do anything when going into and coming back from suspend and/or hibernate. These problems have been seen on both laptops and desktops. This is not an official solution, but switching to an older kernel, especially the LTS-kernel, will probably fix this.

I guess I can try this, but I would very much like to get to the bottom of this issue first...

Thanks!
Smetterleen

Edit: included rebootl's suggestions

Last edited by Smetterleen (2014-09-02 16:16:52)

Offline

#2 2014-09-02 15:38:48

rebootl
Member
Registered: 2012-01-10
Posts: 431
Website

Re: Screen Freeze after suspend

Hello

pm-suspend

Is there a reason you're using this and not the "native" systemd suspend ? Maybe they conflict (guess, maybe try it).

See the suspend wiki and maybe the systemd one as well to get more information.

I read somewhere they are not logged, is this true? And if so, why not?), it will show a failed message like this (not sure about the exact text)

E.g. see (the first google result for 'systemd boot log') : https://bbs.archlinux.org/viewtopic.php?id=152636
I think the basic reason is that you can use the journal to filter for these, but that's my assumption. You'd have to ask/search upstream, e.g. systemd bugzilla, mailing list etc. to get more information.

Also have a look on this thread about getting more information for troubleshooting.

Edit: punctuation, wording

Last edited by rebootl (2014-09-02 15:40:31)


Personal website: reboot.li
GitHub: github.com/rebootl

Offline

#3 2014-09-02 16:06:17

Smetterleen
Member
Registered: 2014-09-02
Posts: 13

Re: Screen Freeze after suspend

Hi Rebootl,

Thanks for the reply! I have tried the native suspend first (I also assume this is the suspend that is used when I close the lid), and neither of them seem to work. I am currently investigating if there is a difference in the unresponsiveness between them. I seem to recall being able to change the brightness after the freeze when using pm-suspend, but this was not the case when using native suspend... Not sure if that is of any interest.

Thanks for the link, they explained quite a lot. I'm now pretty sure that the backlight issue has nothing to do with it, as that error only shows up every now and then, and it's presence (or non-presence) doesn't seem to affect the suspend problem.

I edited my first post to include these findings

Offline

#4 2014-09-02 16:44:37

rebootl
Member
Registered: 2012-01-10
Posts: 431
Website

Re: Screen Freeze after suspend

There's a bug report containing your error from dmesg "*ERROR* render ring initialization failed".
The description is not exactly the same "not reliably reproducable"... but it may be this. Maybe you can chime in there ? Edit: Looks like a fix for it is on the way already... (according to the comments there)

Last edited by rebootl (2014-09-02 16:47:06)


Personal website: reboot.li
GitHub: github.com/rebootl

Offline

#5 2014-09-02 17:35:35

Smetterleen
Member
Registered: 2014-09-02
Posts: 13

Re: Screen Freeze after suspend

Which bug are you talking about exactly? I can't find any matching your description...

Offline

#6 2014-09-02 17:48:18

rebootl
Member
Registered: 2012-01-10
Posts: 431
Website

Re: Screen Freeze after suspend

Ah, sorry I thought I had linked it but apparently forgot: https://bugs.freedesktop.org/show_bug.cgi?id=76554


Personal website: reboot.li
GitHub: github.com/rebootl

Offline

Board footer

Powered by FluxBB