You are not logged in.

#1 2015-03-04 13:34:13

kligegilk
Member
Registered: 2015-02-11
Posts: 17

ASUS UX303LN sometimes fails to suspend

Hi there,

I sometimes experience problem when trying to suspend with my ASUS UX303LN laptop. It begins proceeding the suspend but I can still hear some component on (the fan possibly ?) and then I cannot resume (blank screen.)

Here is my journalctl -xe output :

mars 04 02:58:48 kligegilk systemd-logind[453]: Lid closed.
mars 04 02:58:48 kligegilk systemd-logind[453]: Suspending...
mars 04 02:58:48 kligegilk kernel: i915 0000:00:02.0: BAR 6: [??? 0x00000000 flags 0x2] has bogus alignment
mars 04 02:58:48 kligegilk kernel: pci_bus 0000:01: Allocating resources
mars 04 02:58:48 kligegilk kernel: pci_bus 0000:02: Allocating resources
mars 04 02:58:48 kligegilk kernel: pci_bus 0000:03: Allocating resources
mars 04 02:58:48 kligegilk kernel: i915 0000:00:02.0: BAR 6: [??? 0x00000000 flags 0x2] has bogus alignment
mars 04 02:58:48 kligegilk kernel: i915 0000:00:02.0: BAR 6: [??? 0x00000000 flags 0x2] has bogus alignment
mars 04 02:58:48 kligegilk kernel: i915 0000:00:02.0: BAR 6: [??? 0x00000000 flags 0x2] has bogus alignment
mars 04 02:58:48 kligegilk kernel: i915 0000:00:02.0: BAR 6: [??? 0x00000000 flags 0x2] has bogus alignment
mars 04 02:58:48 kligegilk kernel: acpi device:64: Cannot transition to power state D3cold for parent in (unknown)
mars 04 02:58:48 kligegilk kernel: i915 0000:00:02.0: BAR 6: [??? 0x00000000 flags 0x2] has bogus alignment
mars 04 02:58:48 kligegilk kernel: i915 0000:00:02.0: BAR 6: [??? 0x00000000 flags 0x2] has bogus alignment
mars 04 02:58:48 kligegilk NetworkManager[454]: <info>  sleep requested (sleeping: no  enabled: yes)
mars 04 02:58:48 kligegilk NetworkManager[454]: <info>  sleeping...
mars 04 02:58:48 kligegilk NetworkManager[454]: <info>  (wlp2s0): device state change: activated -> unmanaged (reason 'sleeping') [100 10 37]
mars 04 02:58:48 kligegilk NetworkManager[454]: <info>  (wlp2s0): deactivating device (reason 'sleeping') [37]
mars 04 02:58:48 kligegilk NetworkManager[454]: <info>  (wlp2s0): canceled DHCP transaction, DHCP client pid 11586
mars 04 02:58:48 kligegilk NetworkManager[454]: <info>  (wlp2s0): DHCPv4 state changed bound -> done
mars 04 02:58:48 kligegilk avahi-daemon[1207]: Withdrawing address record for fe80::eab1:fcff:fee3:727c on wlp2s0.
mars 04 02:58:48 kligegilk avahi-daemon[1207]: Withdrawing address record for 192.168.1.72 on wlp2s0.
mars 04 02:58:48 kligegilk avahi-daemon[1207]: Leaving mDNS multicast group on interface wlp2s0.IPv4 with address 192.168.1.72.
mars 04 02:58:48 kligegilk avahi-daemon[1207]: Interface wlp2s0.IPv4 no longer relevant for mDNS.
mars 04 02:58:48 kligegilk avahi-daemon[1207]: Received packet from invalid interface.
mars 04 02:58:48 kligegilk kernel: wlp2s0: deauthenticating from 00:17:33:de:18:ec by local choice (Reason: 3=DEAUTH_LEAVING)
mars 04 02:58:48 kligegilk NetworkManager[454]: <info>  Removing DNS information from /usr/bin/resolvconf
mars 04 02:58:48 kligegilk kernel: cfg80211: Calling CRDA to update world regulatory domain
mars 04 02:58:48 kligegilk NetworkManager[454]: <info>  NetworkManager state is now ASLEEP
mars 04 02:58:48 kligegilk kernel: IPv6: ADDRCONF(NETDEV_UP): wlp2s0: link is not ready
mars 04 02:58:48 kligegilk dbus[460]: [system] Activating via systemd: service name='org.freedesktop.nm_dispatcher' unit='dbus-org.freedesktop.nm-dispatcher.service'
mars 04 02:58:48 kligegilk dbus[460]: [system] Successfully activated service 'org.freedesktop.nm_dispatcher'
mars 04 02:58:48 kligegilk nm-dispatcher[726]: Dispatching action 'down' for wlp2s0
mars 04 02:58:49 kligegilk systemd-sleep[800]: Suspending system...

Any clue ?

Last edited by kligegilk (2015-03-04 14:24:05)

Offline

#2 2015-03-05 15:52:03

kligegilk
Member
Registered: 2015-02-11
Posts: 17

Re: ASUS UX303LN sometimes fails to suspend

It is a quite difficult bug to analyze since it seems randomly triggered. Sometimes it doesn't occur during a day and, without any apparent reason, there it is.

I am currently testing without Intel power management option (enable_fbc option).

I didn't mention that I was suspecting VirtualBox's vboxdrv to be the culprit but I appeared it is not — the bug did occur without vboxdrv and launched and without any VM.
I tried to disable wifi and connectivity (simply by switching to plane mode) but did occur with that as well.

Do you have any advice to troubleshoot that kind of issue ?

Thanks by advance

Last edited by kligegilk (2015-03-05 15:58:54)

Offline

#3 2015-03-05 18:19:39

kligegilk
Member
Registered: 2015-02-11
Posts: 17

Re: ASUS UX303LN sometimes fails to suspend

Not the Intel power management option. It happens after quite intense use of the laptop.

Offline

#4 2015-04-01 09:54:07

kligegilk
Member
Registered: 2015-02-11
Posts: 17

Re: ASUS UX303LN sometimes fails to suspend

Another Intel power management option (enable_rc6) seems to mitigate the bug when disabled. It is only occurring once each two days.

In any case, the bug seems occuring after a quite intensive use of the laptop. Or at least after a long time from reboot.

Last edited by kligegilk (2015-04-01 09:55:34)

Offline

#5 2015-04-03 00:09:35

BullZhot
Member
Registered: 2015-03-23
Posts: 4

Re: ASUS UX303LN sometimes fails to suspend

Just confirming here also, I'm having the exact same issue with UX302LN.
It seems only us LN users have this problem exactly. I do believe however, that when I first got my laptop, this did not occur! That was using linux 3.12 I believe, or maybe 3.11. I'm pretty certain it only started after an upgrade from that. Then it got worse and now a bit better again without the 'enable_rc6' option. The problem is that all error logging seems to stop whenever the problem occurs, its just a sudden death. Which makes it very hard to debug.
I'm also getting the fan running whenever this happens. Maybe we just need to only suspend whenever the fan isnt already running tongue that would be a really strange workaround!
Oh, and btw, I stopped my laptop from suspending when closing the lid, it just turns off the monitor, at least I dont have to worry about it randomly dying on me, only because of battery deficiencies.

Offline

#6 2015-04-05 00:08:09

captain_curly
Member
Registered: 2015-04-04
Posts: 4

Re: ASUS UX303LN sometimes fails to suspend

Got the same issue with a UX303LN, though I'm running Linux Mint 17.1 with kernel 3.16.0-28

In my experience the problem has nothing to do with whether the fan is running when suspending or not. The only way I can be sure that it has suspended properly is by putting some load on the CPU so the fan spins up before suspending. If the fan stops, I know suspend is successful, if not I need to power it off. If the fan isn't spinning when I suspend I don't dare put it away in my bag before a couple of minutes have gone by to see if it cools down or heats up since it seem like the CPU occasionally runs at full speed whenever suspend fails.

Sometimes I can go for days with multiple suspend/resume per day without anything happening, other times it fails during the first suspend after cold boot

Wish I researched a bit better before deciding on UX303LN vs UX32LN sad

Offline

#7 2015-04-05 10:18:57

kligegilk
Member
Registered: 2015-02-11
Posts: 17

Re: ASUS UX303LN sometimes fails to suspend

I will try updating the bios, even though there's nothing in changelogs about suspending issues.

It is not specific to Zenbooks I think. At least it might not be, but more about some component inside. Maybe USB buses, or intel video (or maybe bumblebee/nvidia drivers are a path to explore), …

@BullZhot : Can't afford to let it awake since the HDD wouldn't appreciate to be shocked x)

Offline

#8 2015-04-06 07:28:42

or3x
Member
Registered: 2015-03-26
Posts: 1

Re: ASUS UX303LN sometimes fails to suspend

I have this exact issue on my UX32LN (basically the same as the UX303), suspend fails about once every 5-10 times when closing the lid/pressing the power button. Up until a few days ago, it seems I had avoided this issue by using the Gnome-shell suspend (top right corner, hold alt and press the pause-button). Using this, the suspend seemed to always work, whereas closing the lid would sometimes randomly fail.

However, after the latest kernel update [3.19.2] (and a lot of other updates, i hadn't updated for a while) the random behavior seems to affect the Gnome-shell suspend as well... I have also looked at the journalctl logs and found nothing that looks out of the ordinary.

So this issue doesn't seem to only affect the UX303LN...

Offline

#9 2015-04-06 12:21:40

captain_curly
Member
Registered: 2015-04-04
Posts: 4

Re: ASUS UX303LN sometimes fails to suspend

Ok, good to know. Just had the impression that running Linux was problem free on UX32LN.

Seems to be happening more frequently these days, suspend now fails more often than it succeeds. Don't use the same logging system as you Arch guys, but my pm-suspend.log shows nothing out of the ordinary. Log shows the exact same kernel modules loaded when failing as when succeeding, and running the same pm-utils hooks. Not an easy thing to debug...

Offline

#10 2015-04-17 15:28:35

grepe
Member
Registered: 2012-01-28
Posts: 8

Re: ASUS UX303LN sometimes fails to suspend

OK, I'm here just to confirm that the UX303LA (the model without SSD and keyboard backlight) still doesn't suspend propertly. I am running mainline kernel 4.0.0-1 from yaourt.

I can confirm everything that kligeglik says - the computer simply doesn't wake up or power down when I work with it for a longer period of time. If I restart the computer and try to suspend or power down, things usually work correctly, but if I use the computer for some time or just let it on for a longer period of time and then attempt to suspend, it doesn't wake up (after waking up from suspend the fan seams to be spinning, screen backlight is on, but nothing else - no network interface, black screen). Under similar conditions powering down fails (system just shuts off all processes properly, then writes "Power down." and the computer keeps running).

So far I tried adding or removing various kernel options (none of the options that I use now seams to be responsible), unloading various kernel modules before suspend or shutdown, unmounting various disc partitions (I suspected failed unmounting of Private encfs folder), adding various options to the shutdown command... nothing helps.

Any other ideas what can I do to debug this? It is quite frustrating to have an ultrabook without the possibility to use the suspend to RAM option and necessity to power it down by holding the power button for 6 seconds every time...

Last edited by grepe (2015-04-17 15:32:16)

Offline

#11 2015-04-18 17:18:01

kligegilk
Member
Registered: 2015-02-11
Posts: 17

Re: ASUS UX303LN sometimes fails to suspend

So hopefully that is not a hardware problem. What do you think about a bug ticket on some linux tracker ?

Alternatively, the problem seems to be less important when playing with i915 enable_rc6 option. This must be linked with intel graphics. There must be a way to test without using the intel chip.

Last edited by kligegilk (2015-04-19 15:27:38)

Offline

#12 2015-04-20 08:58:36

grepe
Member
Registered: 2012-01-28
Posts: 8

Re: ASUS UX303LN sometimes fails to suspend

I would submit a bug report, but I really don't know where to. Is it some Arch issue? A kernel issue? Something else? For example, I did not find Ubuntu discussion for the same model. Do they do something differently or just nobody submitted it?

I have no idea where to start debugging. Any kinds of logs that I could think about just do not contain any useful information.

Offline

#13 2015-04-27 22:02:32

grepe
Member
Registered: 2012-01-28
Posts: 8

Re: ASUS UX303LN sometimes fails to suspend

Ok guys, after 6 months of trying hard, I'm giving up on Arch here.

I've been on linux for about 15 years, I think I do enjoy problem solving and I would really like to help the community to advance this project... but this is just too much. I suspect doing LFS would turn out to be less work than attemptting to run Arch on Zenbook (which is sad, cause I used to like Arch for its easy to understand architecture and adaptability).

Since I installed it on my latest computer, I struggled with non-functional soft keys (can be made to work with some kernel options and/or update), non-functioning multitouch on touchpad (unsupported hardware issue, resolved in kernel 4.0+ and with some extra configuration for X), non-functioning power down (extremely annoying), non-functioning suspend to RAM (infuriating), non-functioning hibernate (can be made to work with some effort and following the wiki), unstable WiFi (can be resolved with some config and update), WiFi that doesn't connect at random circumstances because it keeps disconnecting right after authenticating for "reason=3" (and no, neither of the solutions posted online works... judging by their number and diversity this error can indicate practically any possible problem), screwed up upgrades (require some googling and manually fixing some stuff that gets screwed up after automatic upgrade), randomly resetting HW clock date to January 6th 1976 after reboot (usually can be noticed by websites not loading because of invalid SSL certificate), unusable default config for NTP and some services failing to start up at boot for no good reason (e.g. PostgreSQL).

Sorry guys, I don't have time for this shit any more. It took me about 20 minutes to install Ubuntu and I haven't experience a single issue in the past week.

Maybe this is not the advice that you are looking for, but it may help someone: do not run Arch on Zenbook UX303L.

Offline

#14 2015-04-28 12:58:47

kligegilk
Member
Registered: 2015-02-11
Posts: 17

Re: ASUS UX303LN sometimes fails to suspend

Interesting, are you running specific modules or software on your ubuntu install ?

Offline

#15 2015-04-28 20:37:22

grepe
Member
Registered: 2012-01-28
Posts: 8

Re: ASUS UX303LN sometimes fails to suspend

If you have a specific question, I can post the configuration... but no, I just have plain install. Didn't change a thing except installed kernel 4.0 for touchpad support from the first ppa i could google up. The powering down worked before that too, but i didn't test it throughly.

Offline

#16 2015-04-30 13:11:36

kligegilk
Member
Registered: 2015-02-11
Posts: 17

Re: ASUS UX303LN sometimes fails to suspend

What do you use for graphics for instance ? If you got a discrete card, did you install bumblebee or anything else ?

Offline

#17 2015-05-03 07:48:04

Arkamririon
Member
From: Germany
Registered: 2005-12-27
Posts: 35

Re: ASUS UX303LN sometimes fails to suspend

Hi, I recently bought a UX303LN and my try with Ubuntu was not great (graphic issues with bumblebee, white-screen on resume)
Now with Arch on my UX303LN I'm much happier. Regarding to this topic I noticed one thing: Suspend worked great until I installed laptop-mode-tools. After removing laptop-mode-tools suspend & resume are both working again as expected.

Offline

#18 2015-05-03 15:21:26

kligegilk
Member
Registered: 2015-02-11
Posts: 17

Re: ASUS UX303LN sometimes fails to suspend

Are you sure of that ? And what about on the long run ? Last question : do you use something like TLP for power management ?

Offline

#19 2015-05-03 16:19:09

Arkamririon
Member
From: Germany
Registered: 2005-12-27
Posts: 35

Re: ASUS UX303LN sometimes fails to suspend

Installed Arch last friday, so I'm not completely sure. But since Friday I tried suspend several times just to see if something goes wrong with it. So far no problems (except when laptop-mode-tools was installed). No power management solution installed except acpid.

Offline

#20 2015-05-05 09:29:53

grepe
Member
Registered: 2012-01-28
Posts: 8

Re: ASUS UX303LN sometimes fails to suspend

@kligegilk: output of `lspci` shows `00:02.0 VGA compatible controller: Intel Corporation Haswell-ULT Integrated Graphics Controller (rev 0b)` and i see the i915 in loaded modules (i have the UX303LA model, not LN with the extra graphics). kernel parameters are just `BOOT_IMAGE=/vmlinuz-4.0.0-040000-generic root=/dev/mapper/ubuntu--vg-root ro quiet splash vt.handoff=7` (didn't touch anything, but everything works out of the box - including buttons for suspend etc). after more testing the battery life seams little lower, but i'm now using the ntb with external display and the built in lcd turned off, so i get back to around 6h.

@Arkamririon: i did have laptop-mode-tools and they did nothing but mess, so i removed them. didn't help with my suspend issues though.

Last edited by grepe (2015-05-05 09:30:39)

Offline

#21 2015-05-26 23:09:51

captain_curly
Member
Registered: 2015-04-04
Posts: 4

Re: ASUS UX303LN sometimes fails to suspend

So suspend works fine in Ubuntu, but fails in Mint and Arch?

Which desktop environment are you guys running? Wonder if that might have something to do with it. 

I'm running Cinnamon but I've also tried using MATE every now and then and that seems to suspend just fine, though I haven't done extensive testing. Also, I've noticed that shutting down the computer, either via GUI or CLI, often fails when running Cinnamon; it just hangs forever after logging out. If I want to shut down properly, and not press and hold the power button, I have to tell the computer to restart which will cause it to shut down completely :-/
Restart and shutdown in MATE works just fine, so I'm beginning to suspect this might have something to do with either Cinnamon or GNOME.

Offline

#22 2015-07-06 14:03:55

sPHERE
Member
From: Москва
Registered: 2008-07-01
Posts: 76
Website

Re: ASUS UX303LN sometimes fails to suspend

captain_curly wrote:

Ok, good to know. Just had the impression that running Linux was problem free on UX32LN.

Seems to be happening more frequently these days, suspend now fails more often than it succeeds. Don't use the same logging system as you Arch guys, but my pm-suspend.log shows nothing out of the ordinary. Log shows the exact same kernel modules loaded when failing as when succeeding, and running the same pm-utils hooks. Not an easy thing to debug...

Exact same issues here on a UX32LN (i7 4510U, Geforce 840M, 8gb RAM, 256GB SSD, 1080p panel). However, running the LTS kernel fixes the issue for me, but I would like to run the latest linux-ck-haswell kernel (as I am right now), but the freezes on suspend is a big problem for me.

Was this ever submitted?

Offline

#23 2015-07-12 10:12:50

kligegilk
Member
Registered: 2015-02-11
Posts: 17

Re: ASUS UX303LN sometimes fails to suspend

As long as I could search, It has never been submitted.

Offline

#24 2015-07-13 18:25:52

czikus
Member
Registered: 2013-12-13
Posts: 3

Re: ASUS UX303LN sometimes fails to suspend

I'm on Ubuntu 14.10 and on UX301LA and I'm fighting with this problem now for about one year with no luck. After several months of trying, I noticed that disabling USB 3 in bios makes the problems less frequent, but they would still appear. Now, recently, there was a bios update for UX301LA which mentions black screen problems when coming out of S3, so I installed it. The only outcome was that now it happens even more often and even with USB3 disabled.

Offline

#25 2015-07-16 22:09:48

khalismur
Member
Registered: 2015-07-16
Posts: 4

Re: ASUS UX303LN sometimes fails to suspend

Hello folks. In new here.

I've been lurking the forums for a while before I try installing Arch on a UX32L.
I currently run Ubuntu 15.04 and have never experienced suspend problems. This issue is the single thing backing me off from Arch ATM..

Offline

Board footer

Powered by FluxBB