• Re: Thinkpad T14s Gen 6 AMD. Unable to resume from suspend.

    From songbird@21:1/5 to AFB on Sat Nov 9 14:50:01 2024
    AFB wrote:

    ...
    I am a bit defeated out here, so do you have any ideas for me ?

    my rusty brain seems to recall... isn't this done via
    swap?

    check to see if you have the swap partition defined,
    mounted and available, it must be large enough to hold
    the contents of memory.

    there might also be something about this written in
    the installation guide or release notes.


    songbird

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From AFB@21:1/5 to timothy.m.butterworth@gmail.com on Sat Nov 9 19:20:01 2024
    Thanks for your help :)


    @Thimothy, I see what you mean with the sleep states - but my laptop
    being (too) recent, it seems to support only s2idle (no S3 sleep) as
    /cat /sys/power/mem_sleep/ returns *[s2idle]*
    Moreover, there is no sleep options in the BIOS, also for reference
    this is the Lenovo BIOS emulator for my specific laptop <https://download.lenovo.com/bsco/index.html#/graphicalsimulator/ThinkPad%20T14s%20Gen%206%20%2821N1,21N2%29>.


    @songbird, I think I do have a swap partition, and it's slightly larger
    than the physical RAM (32 Gb).
    Here's the output of *lsblk* :
    Code: Select all <https://forums.debian.net/viewtopic.php?p=810538#>

    NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS
    nvme0n1 259:0 0 476,9G 0 disk
    ├─nvme0n1p1 259:1 0 300M 0 part /boot/efi
    ├─nvme0n1p2 259:2 0 443,1G 0 part /
    └─nvme0n1p3 259:3 0 33,5G 0 part [SWAP]




    Also since posting my question, I've kept looking for solutions and
    noticed two things :
    I am able to resume if I suspend my pc with *pm-suspend* but it doesn't
    work with *systemctl suspend* ; I am also able to resume if I add *amd_iommu=off* to the kernel parameters
    I am not sure if this would qualify as "solving" the issues since
    those are obviously workarounds.

    On sam., nov. 9 2024 at 01:36:06 -05:00:00, Timothy M Butterworth <timothy.m.butterworth@gmail.com> wrote:


    On Sat, Nov 9, 2024 at 12:32 AM AFB <blueaddagio@laposte.net <mailto:blueaddagio@laposte.net>> wrote:
    Hi everyone,

    Briefly my issue is that I am unable to resume from suspend.

    I just tested sleep on my laptop, also running Trixie and it works
    without any problems. It does not appear to be an issue with Trixie.


    I own the new T14s G6 AMD ; which runs on the AMD CPU Ryzen AI 7
    PRO 360 (released in august 2024).
    I installed Debian Testing (Trixie) - which come with /Kernel
    6.11.5-amd64/ at the time of the post.

    Unfortunately while everything seems to work fine (wifi, bluetooth,
    webcam, etc.) whenever I suspend the laptop, I am unable to resume.

    Good to hear everything else is working.

    In practice, there's no reaction (screen remains off, suspend
    indicator keeps blinking - hint that no event is registered by the
    laptop) when I :
    - Open the lid;
    - Press a keyboard button ;
    - Use the touchpad ;
    - Press the power on/off button.

    The only way to get back control of the laptop is to hold down the
    power button and do a hard reset.

    I already tried, with no success :
    - Upgrading /Kernel 6.11.6-amd64/ from Debian unstable ;
    - Disabling secureboot and security chip features from the BIOS ;
    - Enabling all devices from //proc/acpi/wakeup/.

    I am a bit defeated out here, so do you have any ideas for me ?

    In the BIOS check to see if Suspend S3 State is supported.

    <https://onlinehelp.ncr.com/Retail/Workstations/7613/HTML/Topics/UserGuide/5.%20Power%20Management/3-ACPI%20Sleep%20States%20(S0%20-%20S5).htm>

    Also check out this article about disabling modern standby and
    restoring S3 sleep.

    <https://www.reddit.com/r/ZephyrusG14/comments/xrkr8u/enable_s3_sleepdisable_modern_standby/>

    You may also want to consider disabling S1, S3 and S4 in the BIOS to
    prevent the device from going into standby mode altogether.


    --
    ⢀⣴⠾⠻⢶⣦⠀
    ⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system ⢿⡄⠘⠷⠚⠋⠀ <https://www.debian.org/>
    ⠈⠳⣄⠀⠀


    <div id="geary-body" dir="auto"><div>Thanks for your help :)<br> <br><br>@Thimothy, I see what you mean with the sleep states&nbsp;- but my laptop being (too) recent, it seems to support only s2idle (no S3 sleep) as&nbsp;<em class="text-italics">cat /sys/power/mem_sleep</em>&nbsp;returns&nbsp;<strong class="text-
    strong">[s2idle]</strong><br>Moreover, there is no sleep options in the BIOS, also for reference this is the&nbsp;<a href="https://download.lenovo.com/bsco/index.html#/graphicalsimulator/ThinkPad%20T14s%20Gen%206%20%2821N1,21N2%29" class="postlink">
    Lenovo BIOS emulator for my specific laptop</a>.</div><div><br></div><div><br> <span class="mention">@songbird,</span>&nbsp;I think I do have a swap partition, and it's slightly larger than the physical RAM (32 Gb).<br>
    Here's the output of <strong class="text-strong">lsblk</strong> :
    <div class="codebox"><p>Code: <a href="https://forums.debian.net/viewtopic.php?p=810538#">Select all</a></p><pre><code>NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS
    nvme0n1 259:0 0 476,9G 0 disk
    ├─nvme0n1p1 259:1 0 300M 0 part /boot/efi
    ├─nvme0n1p2 259:2 0 443,1G 0 part /
    └─nvme0n1p3 259:3 0 33,5G 0 part [SWAP] </code></pre><pre><code><br></code></pre><pre><code><br></code></pre></div><br>

    Also since posting my question, I've kept looking for solutions and noticed two things :
    <ol><li> I am able to resume if I suspend my pc with <strong class="text-strong">pm-suspend</strong> but it doesn't work with <strong class="text-strong">systemctl suspend</strong> ;</li>
    <li> I am also able to resume if I add <strong class="text-strong">amd_iommu=off</strong> to the kernel parameters</li>
    </ol>

    I am not sure if this would qualify as "solving" the issues since those are obviously workarounds.</div></div><div id="geary-quote" dir="auto"><br>On sam., nov. 9 2024 at 01:36:06 -05:00:00, Timothy M Butterworth &lt;timothy.m.butterworth@gmail.com&gt;
    wrote:<br><blockquote type="cite"><div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, Nov 9, 2024 at 12:32 AM AFB &lt;<a href="mailto:blueaddagio@laposte.net">blueaddagio@laposte.net</a>&gt;
    wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div id="m_-8441246505593979995geary-body" dir="auto"><div>Hi everyone,<br>
    <br>Briefly my issue is that I am unable to resume from suspend.<br></div></div></blockquote><div><br></div><div>I just tested sleep on my laptop, also running Trixie and it works without any problems.&nbsp; It does not appear to be an issue with Trixie.<
    /div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div id="m_-8441246505593979995geary-body" dir="auto"><div>

    I own the new T14s G6 AMD ; which runs on the AMD CPU Ryzen AI 7 PRO 360 (released in august 2024).<br>
    I installed Debian Testing (Trixie) - which come with <em>Kernel 6.11.5-amd64</em> at the time of the post.<br>

    Unfortunately while everything seems to work fine (wifi, bluetooth,
    webcam, etc.) whenever I suspend the laptop, I am unable to resume.<br></div></div></blockquote><div><br></div><div>Good to hear everything else is working.</div><div>&nbsp;</div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:
    1px solid rgb(204,204,204);padding-left:1ex"><div id="m_-8441246505593979995geary-body" dir="auto"><div>
    In practice, there's no reaction (screen remains off, suspend indicator
    keeps blinking - hint that no event is registered by the laptop) when I :<br>
    - Open the lid; <br>
    - Press a keyboard button ;<br>
    - Use the touchpad ;<br>
    - Press the power on/off button.<br>

    The only way to get back control of the laptop is to hold down the power button and do a hard reset.<br>

    I already tried, with no success :<br>
    - Upgrading <em>Kernel 6.11.6-amd64</em> from Debian unstable ;<br>
    - Disabling secureboot and security chip features from the BIOS ;<br>
    - Enabling all devices from <em>/proc/acpi/wakeup</em>.<br>

    I am a bit defeated out here, so do you have any ideas for me ?</div></div></blockquote><div><br></div><div>In the BIOS check to see if Suspend S3&nbsp; State is supported.&nbsp;</div><div><br></div><div><a href="https://onlinehelp.ncr.com/Retail/
    Workstations/7613/HTML/Topics/UserGuide/5.%20Power%20Management/3-ACPI%20Sleep%20States%20(S0%20-%20S5).htm">https://onlinehelp.ncr.com/Retail/Workstations/7613/HTML/Topics/UserGuide/5.%20Power%20Management/3-ACPI%20Sleep%20States%20(S0%20-%20S5).htm</a><
    /div></div><div><br clear="all"></div><div>Also check out this article about disabling modern standby and restoring S3 sleep.</div><div><br></div><div><a href="https://www.reddit.com/r/ZephyrusG14/comments/xrkr8u/enable_s3_sleepdisable_modern_standby/">
    https://www.reddit.com/r/ZephyrusG14/comments/xrkr8u/enable_s3_sleepdisable_modern_standby/</a></div><div><br></div><div>You may also want to consider disabling S1, S3 and S4 in the BIOS to prevent the device from going into standby mode altogether.</div>
    <div><br></div><div><br></div><span class="gmail_signature_prefix">-- </span><br><div dir="ltr" class="gmail_signature"><div dir="ltr"><span style="color:rgb(34,34,34)">⢀⣴⠾⠻⢶⣦⠀</span><br style="color:rgb(34,34,34)"><span style="color:rgb(34,
    34,34)">⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system</span><br style="color:rgb(34,34,34)"><span style="color:rgb(34,34,34)">⢿⡄⠘⠷⠚⠋⠀&nbsp;</span><a href="https://www.debian.org/" rel="noreferrer" style="color:rgb(17,85,204)"
    target="_blank">https://www.debian.org/</a><br style="color:rgb(34,34,34)"><span style="color:rgb(34,34,34)">⠈⠳⣄⠀⠀</span><br></div></div></div>
    </blockquote></div>

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Red Spiral@21:1/5 to blueaddagio@laposte.net on Sat Nov 9 21:00:01 2024
    On Sat, Nov 9, 2024 at 6:42 PM AFB <blueaddagio@laposte.net> wrote:
    I am able to resume if I suspend my pc with pm-suspend but it doesn't work with systemctl suspend ;
    I am also able to resume if I add amd_iommu=off to the kernel parameters

    I am not sure if this would qualify as "solving" the issues since those are obviously workarounds.

    On sam., nov. 9 2024 at 01:36:06 -05:00:00, Timothy M Butterworth <timothy.m.butterworth@gmail.com> wrote:



    In practice, there's no reaction (screen remains off, suspend indicator keeps blinking - hint that no event is registered by the laptop) when I :
    - Open the lid;
    - Press a keyboard button ;
    - Use the touchpad ;
    - Press the power on/off button.

    The only way to get back control of the laptop is to hold down the power button and do a hard reset.

    First reference which may be useful, AMD laptops. https://www.reddit.com/r/Fedora/comments/1ad0crm/random_resume_after_suspend_issue_on_thinkpad/

    Probably it's not the same problem but just in case watch, Intel laptops. https://www.reddit.com/r/thinkpad/comments/1cvwepj/intermittent_suspendresume_issues_on_lenovo_l13/

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From AFB@21:1/5 to All on Sat Nov 9 02:20:01 2024
    Hi everyone,

    Briefly my issue is that I am unable to resume from suspend.

    I own the new T14s G6 AMD ; which runs on the AMD CPU Ryzen AI 7 PRO
    360 (released in august 2024).
    I installed Debian Testing (Trixie) - which come with /Kernel
    6.11.5-amd64/ at the time of the post.

    Unfortunately while everything seems to work fine (wifi, bluetooth,
    webcam, etc.) whenever I suspend the laptop, I am unable to resume.

    In practice, there's no reaction (screen remains off, suspend
    indicator keeps blinking - hint that no event is registered by the
    laptop) when I :
    - Open the lid;
    - Press a keyboard button ;
    - Use the touchpad ;
    - Press the power on/off button.

    The only way to get back control of the laptop is to hold down the
    power button and do a hard reset.

    I already tried, with no success :
    - Upgrading /Kernel 6.11.6-amd64/ from Debian unstable ;
    - Disabling secureboot and security chip features from the BIOS ;
    - Enabling all devices from //proc/acpi/wakeup/.

    I am a bit defeated out here, so do you have any ideas for me ?


    <div id="geary-body" dir="auto"><div>Hi everyone,<br>
    <br>Briefly my issue is that I am unable to resume from suspend.<br>

    I own the new T14s G6 AMD ; which runs on the AMD CPU Ryzen AI 7 PRO 360 (released in august 2024).<br>
    I installed Debian Testing (Trixie) - which come with <em class="text-italics">Kernel 6.11.5-amd64</em> at the time of the post.<br>

    Unfortunately while everything seems to work fine (wifi, bluetooth,
    webcam, etc.) whenever I suspend the laptop, I am unable to resume.<br>

    In practice, there's no reaction (screen remains off, suspend indicator
    keeps blinking - hint that no event is registered by the laptop) when I :<br>
    - Open the lid; <br>
    - Press a keyboard button ;<br>
    - Use the touchpad ;<br>
    - Press the power on/off button.<br>

    The only way to get back control of the laptop is to hold down the power button and do a hard reset.<br>

    I already tried, with no success :<br>
    - Upgrading <em class="text-italics">Kernel 6.11.6-amd64</em> from Debian unstable ;<br>
    - Disabling secureboot and security chip features from the BIOS ;<br>
    - Enabling all devices from <em class="text-italics">/proc/acpi/wakeup</em>.<br>

    I am a bit defeated out here, so do you have any ideas for me ?</div></div>

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Charles Curley@21:1/5 to AFB on Sat Nov 9 06:00:01 2024
    On Fri, 08 Nov 2024 23:57:16 +0100
    AFB <blueaddagio@laposte.net> wrote:

    I am a bit defeated out here, so do you have any ideas for me ?

    See if anyone on ThinkWiki has any ideas. And try the Bookworm (Debian
    12) live CD. If that works, fall back to that.

    --
    Does anybody read signatures any more?

    https://charlescurley.com
    https://charlescurley.com/blog/

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)