You are not logged in.

#1 2014-08-04 09:53:57

v_
Member
Registered: 2013-09-09
Posts: 5

Cinnamon turning screen off / failing to restore desktop after suspend

Hello.
I have two issues with Cinnamon.
First is getting black screen after short time of inactivity. Screen just goes black after 20s or 2m when I'm not using mouse or keyboard. After "waking" I don't get any prompt for password. There isn't any screen darkening or so. I can avoid this by using any command in terminal, like 'watch sleep', but it is annoying.
The other issue I have is connected to waking up after suspend. I see password prompt, I can enter mine pass, prompt dissappears and nothing else happens. I need to change tty and restart Lightdm to get everything working again. It happens to me mostly (or even only) when I'm using battery .
I'm using Cinnamon 2.2.14 and Lightdm 1.10.1 but both problems have been happening to me in previous versions too. I use x64 kernel from core repo.

Have anyone seen anything like that before?

Offline

#2 2014-08-04 11:50:38

basica
Member
From: Australia
Registered: 2012-10-31
Posts: 217

Re: Cinnamon turning screen off / failing to restore desktop after suspend

Have you checked your logs to see if anything stands out there? Does the issue still occur if you don't use a DM and just startx your cinnamon-session? I've been using cinnamon for a few weeks now on my lappy and I haven't come across anything, but then again I am just startx-ing my session as opposed to running a DM.

Offline

#3 2014-08-04 11:54:13

clfarron4
Member
From: London, UK
Registered: 2013-06-28
Posts: 2,163
Website

Re: Cinnamon turning screen off / failing to restore desktop after suspend

basica wrote:

Have you checked your logs to see if anything stands out there? Does the issue still occur if you don't use a DM and just startx your cinnamon-session? I've been using cinnamon for a few weeks now on my lappy and I haven't come across anything, but then again I am just startx-ing my session as opposed to running a DM.

In addition to this, does it happen when using a different DM?


Claire is fine.
Problems? I have dysgraphia, so clear and concise please.
My public GPG key for package signing
My x86_64 package repository

Offline

#4 2014-08-04 12:25:28

v_
Member
Registered: 2013-09-09
Posts: 5

Re: Cinnamon turning screen off / failing to restore desktop after suspend

clfarron4 wrote:
basica wrote:

Have you checked your logs to see if anything stands out there? Does the issue still occur if you don't use a DM and just startx your cinnamon-session? I've been using cinnamon for a few weeks now on my lappy and I haven't come across anything, but then again I am just startx-ing my session as opposed to running a DM.

In addition to this, does it happen when using a different DM?

As far as I remember, "re-login" issue was main reason for changing from Slim to Lightdm.

Startx-ing did not help. Still the same with re-loging.

I've found this on journal and I believe it is connected with the issue.

Aug 04 14:12:01 arch cinnamon-screensaver-dialog[2415]: pam_tally(cinnamon-screensaver:setcred): Error opening /var/log/faillog for update
Aug 04 14:12:01 arch cinnamon-screensaver-dialog[2415]: pam_tally(cinnamon-screensaver:setcred): Error opening /var/log/faillog for update

/var/log/faillog doesn't containg anything readable.

I forgot to say - when I enter password and the prompt dissappears I can ctrl-alt-f2 -> ctrl-alt-f1 and I get my graphic view but it is "static", i.e. when I do anything I need to "refresh" tty to see any changes.

Offline

#5 2014-08-04 12:30:19

clfarron4
Member
From: London, UK
Registered: 2013-06-28
Posts: 2,163
Website

Re: Cinnamon turning screen off / failing to restore desktop after suspend

v_ wrote:

[I've found this on journal and I believe it is connected with the issue.

Aug 04 14:12:01 arch cinnamon-screensaver-dialog[2415]: pam_tally(cinnamon-screensaver:setcred): Error opening /var/log/faillog for update
Aug 04 14:12:01 arch cinnamon-screensaver-dialog[2415]: pam_tally(cinnamon-screensaver:setcred): Error opening /var/log/faillog for update

/var/log/faillog doesn't containg anything readable.

I think everybody has this message in their logs for cinnamon-screensaver, and we worked out on the Cinnamon Github that it's a problem with Arch and not Cinnamon, but no-one has a clue how to deal with it.

Did you actually try another DM, such as LXDM?


Claire is fine.
Problems? I have dysgraphia, so clear and concise please.
My public GPG key for package signing
My x86_64 package repository

Offline

#6 2014-08-04 12:45:26

v_
Member
Registered: 2013-09-09
Posts: 5

Re: Cinnamon turning screen off / failing to restore desktop after suspend

clfarron4 wrote:
v_ wrote:

[I've found this on journal and I believe it is connected with the issue.

Aug 04 14:12:01 arch cinnamon-screensaver-dialog[2415]: pam_tally(cinnamon-screensaver:setcred): Error opening /var/log/faillog for update
Aug 04 14:12:01 arch cinnamon-screensaver-dialog[2415]: pam_tally(cinnamon-screensaver:setcred): Error opening /var/log/faillog for update

/var/log/faillog doesn't containg anything readable.

I think everybody has this message in their logs for cinnamon-screensaver, and we worked out on the Cinnamon Github that it's a problem with Arch and not Cinnamon, but no-one has a clue how to deal with it.

Did you actually try another DM, such as LXDM?

I've installed LXDM and it seems to work for now. I'm just not sure how not using DM doesn't solve and using other DM solves this issue.

Anyway, I'll give an update if any of two problems still occurs later today.

Offline

#7 2014-08-04 13:11:58

basica
Member
From: Australia
Registered: 2012-10-31
Posts: 217

Re: Cinnamon turning screen off / failing to restore desktop after suspend

I've installed LXDM and it seems to work for now. I'm just not sure how not using DM doesn't solve and using other DM solves this issue.

I hope it fixes your issue, but yeah I don't think it necessarily will either - but it's all a matter of deduction as you try to get to the root of the problem by ruling things out.

A related anecdote: Sometimes the reasons errors happen don't immediately make any logical sense, perhaps they never do. Fresh out of high school I had a IT job where this person's computer worked perfectly fine, except it couldn't read MP3 files off CDs. It could read them off the hard drive, play them and even read them from an external hdd but not from the cd drive. So, without even trying anything else I simply tried another cd drive, and it didn't work. Long story short I replaced everything in that pc (even reinstalling windows prior to all this) bar the case and the power supply and it still didn't work. Just for the hell of it I tried a new power supply, and to my amazement it worked. I wont bore you with the rest of the story, but the point is - weirder things have happened than a new DM not causing an error while not having one does.

Offline

#8 2014-08-07 20:02:14

v_
Member
Registered: 2013-09-09
Posts: 5

Re: Cinnamon turning screen off / failing to restore desktop after suspend

Hi, it's me again.

"Re-login" issue is gone, thanks once more.

However it still happens to get my screen go black after inactivity. I can't reproduce this bug, there are just periods when it happens, i can't figure it out.
I managed to get this from journal:

Aug 07 21:46:19 arch kernel: ------------[ cut here ]------------
Aug 07 21:46:19 arch kernel: WARNING: CPU: 4 PID: 14268 at drivers/gpu/drm/i915/intel_display.c:6900 hsw_enable_pc8+0x5ee/0x6f0 [i915]()
Aug 07 21:46:19 arch kernel: PCH PWM1 enabled
Aug 07 21:46:19 arch kernel: Modules linked in: snd_seq snd_seq_device ath3k btusb bluetooth 6lowpan_iphc uvcvideo videobuf2_vmalloc videobuf2_memops videobuf2_core videodev media snd_hda_codec_
Aug 07 21:46:19 arch kernel:  parport processor microcode mei_me lpc_ich mei snd_pcm battery tpm_tis tpm wmi hp_wireless ac button video shpchp snd_timer snd soundcore ext4 crc16 mbcache jbd2 hi
Aug 07 21:46:19 arch kernel: CPU: 4 PID: 14268 Comm: kworker/4:2 Tainted: G        W     3.15.8-1-ARCH #1
Aug 07 21:46:19 arch kernel: Hardware name: Hewlett-Packard HP ProBook 450 G1/1942, BIOS L74 Ver. 01.05 11/04/2013
Aug 07 21:46:19 arch kernel: Workqueue: pm pm_runtime_work
Aug 07 21:46:19 arch kernel:  0000000000000000 00000000d51ae8a6 ffff880230497c20 ffffffff815087fe
Aug 07 21:46:19 arch kernel:  ffff880230497c68 ffff880230497c58 ffffffff81069b2d ffff880232d8c000
Aug 07 21:46:19 arch kernel:  ffff880233f93378 ffff880233f93380 ffffffffa0a7a840 ffff880234455098
Aug 07 21:46:19 arch kernel: Call Trace:
Aug 07 21:46:19 arch kernel:  [<ffffffff815087fe>] dump_stack+0x4d/0x6f
Aug 07 21:46:19 arch kernel:  [<ffffffff81069b2d>] warn_slowpath_common+0x7d/0xa0
Aug 07 21:46:19 arch kernel:  [<ffffffff81069bac>] warn_slowpath_fmt+0x5c/0x80
Aug 07 21:46:19 arch kernel:  [<ffffffffa0a47b0e>] hsw_enable_pc8+0x5ee/0x6f0 [i915]
Aug 07 21:46:19 arch kernel:  [<ffffffffa09f3508>] i915_runtime_suspend+0x88/0xf0 [i915]
Aug 07 21:46:19 arch kernel:  [<ffffffff812ced4f>] pci_pm_runtime_suspend+0x5f/0x150
Aug 07 21:46:19 arch kernel:  [<ffffffff812cecf0>] ? pci_legacy_suspend_late+0xf0/0xf0
Aug 07 21:46:19 arch kernel:  [<ffffffff8139a5f2>] __rpm_callback+0x32/0x70
Aug 07 21:46:19 arch kernel:  [<ffffffff8139a656>] rpm_callback+0x26/0xa0
Aug 07 21:46:19 arch kernel:  [<ffffffff8139aba1>] rpm_suspend+0x121/0x680
Aug 07 21:46:19 arch kernel:  [<ffffffff81077d18>] ? add_timer+0x18/0x30
Aug 07 21:46:19 arch kernel:  [<ffffffff8108537b>] ? __queue_delayed_work+0x8b/0x1c0
Aug 07 21:46:19 arch kernel:  [<ffffffff8139c41a>] pm_runtime_work+0x7a/0xd0
Aug 07 21:46:19 arch kernel:  [<ffffffff810861e8>] process_one_work+0x168/0x450
Aug 07 21:46:19 arch kernel:  [<ffffffff81086c42>] worker_thread+0x132/0x3e0
Aug 07 21:46:19 arch kernel:  [<ffffffff81086b10>] ? manage_workers.isra.23+0x2d0/0x2d0
Aug 07 21:46:19 arch kernel:  [<ffffffff8108d44a>] kthread+0xea/0x100
Aug 07 21:46:19 arch kernel:  [<ffffffff8108d360>] ? kthread_create_on_node+0x1b0/0x1b0
Aug 07 21:46:19 arch kernel:  [<ffffffff815164fc>] ret_from_fork+0x7c/0xb0
Aug 07 21:46:19 arch kernel:  [<ffffffff8108d360>] ? kthread_create_on_node+0x1b0/0x1b0
Aug 07 21:46:19 arch kernel: ---[ end trace c8fc9488082701f3 ]---

And I believe this is the cause. I understand module for Intel graphics is causing all troubles. I couldn't find anything usefull about it in google however...
Do you have any suggestions?

Last edited by v_ (2014-08-07 20:02:53)

Offline

#9 2014-10-12 17:49:31

catalin.hritcu
Member
From: Paris, France
Registered: 2014-04-27
Posts: 26
Website

Re: Cinnamon turning screen off / failing to restore desktop after suspend

I'm having the same "screen blanking" problem with Arch, MATE, and Lightdm for a couple of months now. I'm on a Lenovo Thinkpad 440p using Intel HD Graphics 4600 integrated graphics card. The laptop also has an NVidia card inside, but it's completely turned off (nvidia and nouveau drivers are blacklisted in modprobe.conf). The problem starts happening at arbitrary intervals after I boot the machine (usually hours or days) and once it starts the screen blanking happens on many pauses in typing or moving the mouse. Once it starts the only way to I know to stop the blanking is to reboot, which is hugely annoying.

Every time the screen blanks I also get the following printed in dmesg (extremely similar to the above):

[141633.750523] ------------[ cut here ]------------
[141633.750527] WARNING: CPU: 4 PID: 126 at drivers/gpu/drm/i915/intel_display.c:6900 hsw_enable_pc8+0x5ee/0x6f0 [i915]()
[141633.750527] PCH PWM1 enabled
[141633.750528] Modules linked in: ctr ccm uas usb_storage fuse snd_hda_codec_hdmi ecb uvcvideo videobuf2_vmalloc videobuf2_memops btusb videobuf2_core videodev bluetooth media hid_generic 6lowpan_iphc joydev mousedev arc4 snd_hda_codec_realtek snd_hda_codec_generic ext4 crc16 mbcache jbd2 iTCO_wdt iTCO_vendor_support coretemp iwlmvm x86_pkg_temp_thermal intel_powerclamp mac80211 kvm_intel kvm crct10dif_pclmul crc32_pclmul evdev ghash_clmulni_intel iwlwifi mac_hid psmouse aesni_intel aes_x86_64 lrw gf128mul glue_helper ablk_helper cryptd microcode i915 cfg80211 serio_raw i2c_i801 pcspkr rtsx_pci_ms memstick snd_hda_intel thermal snd_hda_controller drm_kms_helper wmi thinkpad_acpi snd_hda_codec drm nvram led_class rfkill snd_hwdep snd_pcm hwmon e1000e intel_gtt i2c_algo_bit tpm_tis battery mei_me snd_timer
[141633.750547]  ac tpm i2c_core mei snd lpc_ich soundcore ptp video shpchp pps_core processor button pci_stub vboxpci(O) vboxnetflt(O) vboxnetadp(O) vboxdrv(O) acpi_call(O) btrfs xor usbhid hid raid6_pq sd_mod sr_mod cdrom crc_t10dif crct10dif_common rtsx_pci_sdmmc mmc_core atkbd libps2 crc32c_intel ahci libahci libata ehci_pci xhci_hcd ehci_hcd scsi_mod rtsx_pci usbcore usb_common i8042 serio
[141633.750559] CPU: 4 PID: 126 Comm: kworker/4:1 Tainted: G        W  O  3.15.1-1-ARCH #1
[141633.750559] Hardware name: LENOVO 20ANCTO1WW/20ANCTO1WW, BIOS GLET68WW (2.22 ) 03/24/2014
[141633.750561] Workqueue: pm pm_runtime_work
[141633.750562]  0000000000000000 00000000f3440256 ffff8804265afc20 ffffffff81507c61
[141633.750563]  ffff8804265afc68 ffff8804265afc58 ffffffff81069acd ffff880037f58000
[141633.750564]  ffff880426e7b378 ffff880426e7b380 ffffffffa0906580 ffff880427d7f098
[141633.750566] Call Trace:
[141633.750567]  [<ffffffff81507c61>] dump_stack+0x4d/0x6f
[141633.750569]  [<ffffffff81069acd>] warn_slowpath_common+0x7d/0xa0
[141633.750570]  [<ffffffff81069b4c>] warn_slowpath_fmt+0x5c/0x80
[141633.750575]  [<ffffffffa08d38de>] hsw_enable_pc8+0x5ee/0x6f0 [i915]
[141633.750578]  [<ffffffffa087f508>] i915_runtime_suspend+0x88/0xf0 [i915]
[141633.750579]  [<ffffffff812ce34f>] pci_pm_runtime_suspend+0x5f/0x150
[141633.750581]  [<ffffffff812ce2f0>] ? pci_legacy_suspend_late+0xf0/0xf0
[141633.750582]  [<ffffffff81399ab2>] __rpm_callback+0x32/0x70
[141633.750584]  [<ffffffff81399b16>] rpm_callback+0x26/0xa0
[141633.750585]  [<ffffffff8139a061>] rpm_suspend+0x121/0x680
[141633.750587]  [<ffffffff81077cb8>] ? add_timer+0x18/0x30
[141633.750588]  [<ffffffff8108530b>] ? __queue_delayed_work+0x8b/0x1c0
[141633.750590]  [<ffffffff8139b8da>] pm_runtime_work+0x7a/0xd0
[141633.750592]  [<ffffffff81086178>] process_one_work+0x168/0x450
[141633.750593]  [<ffffffff81086bd2>] worker_thread+0x132/0x3e0
[141633.750595]  [<ffffffff81086aa0>] ? manage_workers.isra.23+0x2d0/0x2d0
[141633.750596]  [<ffffffff8108d3ca>] kthread+0xea/0x100
[141633.750598]  [<ffffffff8108d2e0>] ? kthread_create_on_node+0x1a0/0x1a0
[141633.750599]  [<ffffffff815158fc>] ret_from_fork+0x7c/0xb0
[141633.750601]  [<ffffffff8108d2e0>] ? kthread_create_on_node+0x1a0/0x1a0
[141633.750601] ---[ end trace dae98df2c26ff4e7 ]---

Does anyone know how to diagnose this problem further or where we could report it?

Offline

#10 2014-11-10 07:52:10

catalin.hritcu
Member
From: Paris, France
Registered: 2014-04-27
Posts: 26
Website

Re: Cinnamon turning screen off / failing to restore desktop after suspend

The problem still appears for me with Linux kernel 3.17.x, less frequently (a couple of times per month only) and reporting a different line number (intel_display.c:7376 instead of intel_display.c:6900). The rest is the same though:

[649516.344356] ------------[ cut here ]------------
[649516.344360] WARNING: CPU: 2 PID: 7718 at drivers/gpu/drm/i915/intel_display.c:7376 hsw_enable_pc8+0x633/0x640 [i915]()
[649516.344361] PCH PWM1 enabled
[649516.344361] Modules linked in: nls_utf8 udf crc_itu_t uas usb_storage hid_generic usbhid hid nls_iso8859_1 nls_cp437 vfat fat mmc_block ctr ccm fuse snd_hda_codec_hdmi joydev mousedev arc4 snd_hda_codec_realtek snd_hda_codec_generic ext4 uvcvideo videobuf2_vmalloc videobuf2_memops videobuf2_core mbcache v4l2_common videodev jbd2 media ecb coretemp intel_rapl x86_pkg_temp_thermal intel_powerclamp btusb bluetooth crc16 kvm_intel iTCO_wdt iwlmvm iTCO_vendor_support kvm mac80211 crct10dif_pclmul crc32_pclmul ghash_clmulni_intel aesni_intel aes_x86_64 lrw gf128mul glue_helper ablk_helper cryptd evdev iwlwifi mac_hid thinkpad_acpi serio_raw psmouse nvram cfg80211 pcspkr i915 led_class rfkill hwmon tpm_tis thermal rtsx_pci_ms tpm battery ac memstick wmi processor video snd_hda_intel snd_hda_controller drm_kms_helper
[649516.344381]  snd_hda_codec drm e1000e snd_hwdep snd_pcm intel_gtt snd_timer i2c_i801 i2c_algo_bit snd mei_me ie31200_edac ptp mei i2c_core soundcore edac_core pps_core lpc_ich button shpchp pci_stub vboxpci(O) vboxnetflt(O) vboxnetadp(O) vboxdrv(O) acpi_call(O) btrfs xor raid6_pq sd_mod sr_mod cdrom crc_t10dif crct10dif_common rtsx_pci_sdmmc mmc_core atkbd libps2 xhci_hcd ahci libahci crc32c_intel libata ehci_pci ehci_hcd scsi_mod rtsx_pci usbcore usb_common i8042 serio
[649516.344393] CPU: 2 PID: 7718 Comm: kworker/2:1 Tainted: G        W  O   3.17.1-1-ARCH #1
[649516.344394] Hardware name: LENOVO 20ANCTO1WW/20ANCTO1WW, BIOS GLET68WW (2.22 ) 03/24/2014
[649516.344395] Workqueue: pm pm_runtime_work
[649516.344396]  0000000000000000 0000000074ed01fa ffff880112517bf8 ffffffff81536850
[649516.344397]  ffff880112517c40 ffff880112517c30 ffffffff8107054d ffff88041fe80000
[649516.344398]  ffff880422e44b58 ffff880422e44b68 ffff880422e44800 ffff880427e0e098
[649516.344400] Call Trace:
[649516.344401]  [<ffffffff81536850>] dump_stack+0x4d/0x6f
[649516.344403]  [<ffffffff8107054d>] warn_slowpath_common+0x7d/0xa0
[649516.344404]  [<ffffffff810705cc>] warn_slowpath_fmt+0x5c/0x80
[649516.344411]  [<ffffffffa0555093>] hsw_enable_pc8+0x633/0x640 [i915]
[649516.344415]  [<ffffffffa04faaa5>] intel_runtime_suspend+0x1a5/0x8c0 [i915]
[649516.344416]  [<ffffffff810136b2>] ? __switch_to+0x1b2/0x5e0
[649516.344419]  [<ffffffff812e64bf>] pci_pm_runtime_suspend+0x5f/0x150
[649516.344420]  [<ffffffff812e6460>] ? pci_legacy_suspend_late+0xe0/0xe0
[649516.344422]  [<ffffffff813b50d2>] __rpm_callback+0x32/0x70
[649516.344423]  [<ffffffff813b5136>] rpm_callback+0x26/0xa0
[649516.344425]  [<ffffffff813b5681>] rpm_suspend+0x121/0x680
[649516.344426]  [<ffffffff810d69e8>] ? add_timer+0x18/0x30
[649516.344428]  [<ffffffff81087d3b>] ? __queue_delayed_work+0x8b/0x1c0
[649516.344430]  [<ffffffff813b6efa>] pm_runtime_work+0x7a/0xd0
[649516.344431]  [<ffffffff81088b85>] process_one_work+0x145/0x400
[649516.344433]  [<ffffffff8108914b>] worker_thread+0x6b/0x4a0
[649516.344434]  [<ffffffff810890e0>] ? init_pwq.part.22+0x10/0x10
[649516.344435]  [<ffffffff8108e06a>] kthread+0xea/0x100
[649516.344437]  [<ffffffff81070000>] ? register_exec_domain+0x20/0xa0
[649516.344438]  [<ffffffff8108df80>] ? kthread_create_on_node+0x1b0/0x1b0
[649516.344440]  [<ffffffff8153c77c>] ret_from_fork+0x7c/0xb0
[649516.344441]  [<ffffffff8108df80>] ? kthread_create_on_node+0x1b0/0x1b0
[649516.344442] ---[ end trace 9bd13e838200ae2c ]---

I've investigated what would it take to report this to the kernel team:

Does anyone have any advice on this?

Last edited by catalin.hritcu (2014-11-10 07:53:56)

Offline

#11 2014-11-10 07:57:09

catalin.hritcu
Member
From: Paris, France
Registered: 2014-04-27
Posts: 26
Website

Re: Cinnamon turning screen off / failing to restore desktop after suspend

And BTW, given that this seems to have nothing to do with Cinnamon (I'm running MATE), could the original poster or some admin please change the title of this thread.

Offline

#12 2014-11-10 10:03:59

catalin.hritcu
Member
From: Paris, France
Registered: 2014-04-27
Posts: 26
Website

Re: Cinnamon turning screen off / failing to restore desktop after suspend

FYI: I've sent a message about this to the intel-gfx mailing list:
http://lists.freedesktop.org/archives/i … 55179.html

Offline

#13 2014-11-10 12:30:21

catalin.hritcu
Member
From: Paris, France
Registered: 2014-04-27
Posts: 26
Website

Re: Cinnamon turning screen off / failing to restore desktop after suspend

FYI: Filed this as a bug against product DRI, component DRM/Intel:
https://bugs.freedesktop.org/show_bug.cgi?id=86105

Offline

#14 2014-12-30 06:21:52

Kamek
Member
Registered: 2013-05-24
Posts: 10

Re: Cinnamon turning screen off / failing to restore desktop after suspend

It's happening to me too, I posted my dmesg output at https://bugs.freedesktop.org/show_bug.cgi?id=86105
Any fix/workaround yet ?

Offline

Board footer

Powered by FluxBB