Freezed sometimes when sleep

Hello Dear,
I have been using Leap from 15.1 until the current one, 15.6. Unforunately, the latest one seems quite buggy. I’ve already reported sveral issues in the forum.

The new one is:
I’ve configured the system to sleep when lid is closed. it usually works, but occasionally, when I reopen the lid, the OS is forzen, The screen stays black, the Caps Lock LED blinks, and I have to force a shutdown using the power button.

I assume from another thread you are refering to a Lenovo T14. Different generations of the Lenovo T14 are known to have issues with GNU/Linux when recovering from a sleep mode. For example:

Example-1:

.
https://www.reddit.com/r/thinkpad/comments/lnyrt6/til_i_learn_newer_thinkpads_have_a_setting_for/

To test if that is your issue, change BIOS settings from “Windows” or “S0i” to “Linux” or “S3”.

Example-2: (I think this was combined with example-1 and 3 as a fix)

If an AMD T14, sometimes a kernel parameter and iGPU memory setting change helps.

https://www.reddit.com/r/thinkpad/comments/1jpfnlw/heres_how_to_fix_suspend_issues_and_hard_lock_ups/

In the above case, some users have success changing “Integrated GPU memory” from “auto” to a fixed value. You may need to try different values … (4GB or 8GB or ?? ).

Example-3: (this was combined with example-1 and 2 as a fix)

I read for T14’s with AMD hardware (likely only some generations of the T14) the boot code "amdgpu.dcdebugmask=0x10 " being added to Grub menu.

https://www.reddit.com/r/thinkpad/comments/1jpfnlw/heres_how_to_fix_suspend_issues_and_hard_lock_ups/


I don’t know if any of those are applicable to you.

ALSO - ensure your Lenovo T14’s BIOS is up to date.

  1. Try this troubleshooting step: choose the DE’s “sleep” option, let the laptop go to sleep, then close the lid … same freeze behaviour?
  2. Is there a specific count of blinks? Many machines are configured to blink a number of times to signify a specific issue. Next time, count the blinks, then refer to your machine’s documentation.

#2 and #3 are the same. Yet there are 2 things with some Lenovo Thinkpad models. AFAICT the OP can do:

  • add amdgpu.dcdebugmask=0x10 to the kernel boot parameters through YaST’s Bootloader module. This for the sleep/resume issue.
  • Set the GPU RAM to 4GB or 8GB, instead of “Auto”. This for the freezing issue.

I don’t understand that comment about being the same. Do you mean the references are the same?

Yes the references are the same, … but if you dig deep into the references, you will read the (speculative) things to try are different.

Or are you saying changing “Integrated GPU memory” from “auto” to a fixed value (to try different values … (4GB or 8GB or ??) ) is the same as adding the boot code "amdgpu.dcdebugmask=0x10 " being added to Grub menu ?

I don’t think that is what you mean.

I meant the links are the same. The things to try are not the same AFAICT, but could have the same impact for the user. I can confirm that in my cases setting the GPU RAM to a fixed value solved freezing.