Dasharo / dasharo-issues

The Dasharo issue tracker
https://dasharo.com/
25 stars 0 forks source link

V56TNE sometimes does not wake up from suspend #1018

Closed philipandag closed 2 weeks ago

philipandag commented 2 months ago

Component

Dasharo firmware

Device

NovaCustom V56 14th Gen

Dasharo version

v0.9.1-rc3

Dasharo Tools Suite version

--

Test case ID

--

Brief summary

V56TNE sometimes does not wake up from suspend

How reproducible

~20%

How to reproduce

Suspend the device, either using an UI Suspend/Sleep button or by closing the lid

Expected behavior

The device should suspend and then wake the moment you open the lid, press any internal/external keyboard key, touch/press the touchpad or the power button

Actual behavior

None of the actions above wake up the device. The power LED is green and blinking suggesting the device is suspended. Connecting via ssh does not work either. The Fn+1 function key does not start up the fans.

Screenshots

No response

Additional context

No response

Solutions you've tried

Holding the power button for a couple seconds does power down the device and pressing it after a while results in successful boot.

mkopec commented 2 months ago

I think this was an issue with the default Ubuntu kernel, installing 6.9.0 mainline works

wessel-novacustom commented 2 months ago

Missing OS and kernel information, it might have happened under Windows?

philipandag commented 2 months ago

It did happen on 6.8 kernel so that's probably the reason for this. I will again switch to 6.9 kernel to see if that's the case.

philipandag commented 2 months ago

I haven't noticed any issues with waking up from suspend on kernel 6.9 so that may be the reason for this. But using kernel 6.9 causes the secure boot to fail https://github.com/Dasharo/dasharo-issues/issues/983

wessel-novacustom commented 1 month ago

And the NVIDIA card to be inactive. Installing kernel 6.9 is therefore not a convenient workaround. We will likely need to wait for Ubuntu to release an edge kernel in case it cannot be solved by firmware.

mkopec commented 1 month ago

Also happens on ubuntu 24.10 beta, kernel 6.11, but with 100% reproduction

wessel-novacustom commented 1 month ago

Also happens on ubuntu 24.10 beta, kernel 6.11, but with 100% reproduction

Good to know!

I think this is the most important issue now that needs to be tackled. We are fine with recommending or even requiring kernel 6.11 or higher for the NVIDIA variants.

miczyg1 commented 3 weeks ago

Tested the ubuntu 24.04 today on V560TNx with kernel 6.8 and it was suspending and waking well using any wake method mentioned in the issue.

Also happens on ubuntu 24.10 beta, kernel 6.11, but with 100% reproduction

That one is true though. However it was tested on V540TNx, because none of the V560TNx could install 6.11 kernel (nvidia driver dkms was in the way). That's basically all I could do in one day (lost too much time trying to get the right environment prepared on V560TNx...).

It looks a bit weird to have EC communication issues on 6.11 but not on 6.8... managed to get a picture form the screen with some ACPI errors:

image

miczyg1 commented 3 weeks ago

More parsable output (managed to gatehr it via SSH session, which I magically restored somehow after suspend): https://paste.dasharo.com/?cf611feda4d8dc91#5yQxEgi48k5Pb7wS3VcAgkXV1ic2hKz31EV1f6ockVrv Connected a dock in the middle of that log.

The diode is still blinking so EC thinks we are in suspended state...

miczyg1 commented 3 weeks ago

Attaching a log from S0ixSelftestTool from kernel 6.11:

20241010-16-22-s0ix-output.log

Surprisingly the tool had no problem with reliably suspending and waking the laptop (although the sleep is scheduled to last 15s only) without breaking EC. But when issued supend from GUI or echo freeze > /sys/power/state then it crashes blinking infinitely (even if I do poweroff via SSH, laptop is shut down but LED is still blinking)

mkopec commented 2 weeks ago

Possibly fixed by:

Will close once confirmed

mkopec commented 2 weeks ago

Confirmed fixed on all units.