You are not logged in.

#1 2020-07-10 06:16:36

nmmm
Member
Registered: 2019-03-18
Posts: 5

Asus Zenbook UX430 does not wake up from sleep or restart

I have this problem from may be an year, but I was not able to pinpoint where it is:

When I send my laptop to sleep, most of times works OK, but sometimes it can not go to sleep, and caps lock blinking.

When I wake up my laptop, most of times works OK, but sometimes it can not wake up and caps lock blinking. Sometimes it is in login screen, e.g. it was restarted.

Last two days I left my phone to charge on USB cable (I did not install my phone in anyway, using just USB power) - I found my laptop on login screen.

I am using XFCE with LXDE display manager. Boot is via syslinux + EFI.

I stopped XFCE power management. Also tried lots of syslinux options, currently I use LTS kernel with following options:

mem_sleep_default=deep quiet nowatchdog pcie_aspm=force i915.enable_fbc=1 i915.enable_guc=2 acpi_osi=! acpi_osi="Windows 2009"

At work I use USB-C screen, I have feeling when I use it, the laptop have problems more often, but problems appear without using the screen too.

Because this may be USB problem, I must say my wireless USB mouse is connected 24x7,

Last edited by nmmm (2020-07-10 19:06:23)

Offline

#2 2020-07-10 14:37:09

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 17,363

Re: Asus Zenbook UX430 does not wake up from sleep or restart

Not that it help much, but the blinking caps lock is a solid indication of a kernel panic
https://wiki.archlinux.org/index.php/Ge … nel_panics
https://en.wikipedia.org/wiki/Kernel_panic


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Online

#3 2020-07-10 18:47:19

nmmm
Member
Registered: 2019-03-18
Posts: 5

Re: Asus Zenbook UX430 does not wake up from sleep or restart

I know is kernel panic, but had no idea how to debug it...

Offline

#4 2020-07-18 15:58:59

kvtb
Member
Registered: 2014-01-11
Posts: 29

Re: Asus Zenbook UX430 does not wake up from sleep or restart

I think I have a similar issue
please read https://www.reddit.com/r/linuxquestions … m_is_idle/ if it sounds familiar.

I have nothing connected via USB -  I don't think it is a USB problem

Can you reproduce it using

# echo platform > /sys/power/pm_test

and then suspend (Fn+F1) ?

Last edited by kvtb (2020-07-18 16:01:13)

Offline

#5 2020-07-19 15:40:24

kvtb
Member
Registered: 2014-01-11
Posts: 29

Re: Asus Zenbook UX430 does not wake up from sleep or restart

@nmmm are you able to build a custom kernel to do some tests?

I've rebuild Linux 5.7.8 to include the following config:
         PM_TRACE_RTC y
         PM_TRACE y
         PM_DEBUG y

Then using the info here: https://wiki.ubuntu.com/DebuggingKernelSuspend

I enabled PM tracing and then suspend the system

sudo sh -c "sync && echo 1 > /sys/power/pm_trace && pm-suspend"

this did not result in crash

I also did this:

echo deep | sudo tee /sys/power/mem_sleep

then repeat

sudo sh -c "sync && echo 1 > /sys/power/pm_trace && pm-suspend"

it resulted in a crash

After hard reboot, analysed the output of dmesg.

$ dmesg|grep Magic
[    0.642939] PM:   Magic number: 15:382:321

$ dmesg|grep matches
[    0.642947] tty tty46: hash matches
[    0.642957] pci 0000:00:02.0: hash matches

then, lspci shows:

00:02.0 VGA compatible controller: Intel Corporation UHD Graphics 620 (rev 07)


So if the instructions are correct and the pm_trace does work, the graphics card driver is the issue

If you can reproduce this, please do so! thanks

Offline

#6 2020-07-21 12:20:04

kvtb
Member
Registered: 2014-01-11
Posts: 29

Re: Asus Zenbook UX430 does not wake up from sleep or restart

for now, it seems that the following kernel option gives a workaround for this issue:

i915.enable_dc=0

Offline

#7 2020-08-03 18:24:54

nmmm
Member
Registered: 2019-03-18
Posts: 5

Re: Asus Zenbook UX430 does not wake up from sleep or restart

@kvtb

I wanted to do longer test before I post.

i915.enable_dc=0

Indeed fixed the problem.

In fact, now I am running only with:

rw mem_sleep_default=deep quiet nowatchdog i915.enable_dc=0

Offline

Board footer

Powered by FluxBB