No GUI after waking from sleep

Hello!
Not sure if it’s a Kernel and/or hardware issue, so sorry if it’s wrong.

I noticed that when I put my laptop in sleep, the close the lid, open the lid back up, it will wake the laptop that, no issue so far, but, it resumes with the starting/startup messages that you see when booting EOS, with the mouse/cursor.

Trying to switch to the terminal (Ctrl + Alt + F2, F3, etc.) doesn’t work, and I have to force the PC to shutdown with holding the power button.

Now, by the time of wring, I have set Optimus to use the iGPU, and I’m on battery, not sure if that could cause the issue.

Hardware: inxy output

Note: When I put the laptop in sleep without closing the lid, it wakes up normally (and like a lightning, compared to Windows).
Also, closing the lid without putting it to sleep just turns off the screen (which is normal), and opening the lid resumes as nothing happened.

Hello,
can you check journalctl for the time of sleep/waking up and see if there are any relevant notifications?

Hey!
So, when I go to sleep without closing the lid (left), you can see after the 4s, it wakes up.
But on the lid closed (left), you can see that even after the wake-up, it doesn’t write in the logs.

I would say it’s two different states that your machine is entering (freeze on the left, sleep on the right)

Do you use bumblebee? Just asking because of the two modinfo errors on the right side (acpi_call and bbswitch). Before that it’s starting the Nvidia GPU.
So, it could be a GPU issue.

Here a wiki page regarding hybrid graphics: https://wiki.archlinux.org/title/hybrid_graphics

From your inxi-output I see you have AMD and Nvidia, correct?

I don’t remember installing BumbleBee. I just use OptimusManager, with the QT tray to easily, switch.
But it’s weird that it tries to wake the (Nvidia) GPU up, even though I’m in integrated mode.

Here are also some settings.



You can check whether it’s installed with pacman -Qs bumblebee.

Also, please give the ouput of lsmod. That might be a long list, maybe put it in scrollable quotes or a txt-file. That command lists the loaded kernel modules.

Edit: Is there a difference in the behaviour depending on if you are on battery or external power supply?

Nothing found.

luxi@endeavouros ~ > sudo lsmod
Module                  Size  Used by
exfat                 102400  1
snd_seq_dummy          16384  0
snd_hrtimer            16384  1
snd_seq               102400  7 snd_seq_dummy
ccm                    20480  9
rfcomm                 94208  16
nft_objref             16384  1
nf_conntrack_netbios_ns    16384  1
nf_conntrack_broadcast    16384  1 nf_conntrack_netbios_ns
nvidia_drm             77824  6
nvidia_modeset       1515520  3 nvidia_drm
nft_fib_inet           16384  1
nft_fib_ipv4           16384  1 nft_fib_inet
nft_fib_ipv6           16384  1 nft_fib_inet
nft_fib                16384  3 nft_fib_ipv6,nft_fib_ipv4,nft_fib_inet
nft_reject_inet        16384  8
nf_reject_ipv4         16384  1 nft_reject_inet
nf_reject_ipv6         24576  1 nft_reject_inet
nft_reject             16384  1 nft_reject_inet
nft_ct                 24576  8
nft_chain_nat          16384  3
nf_nat                 61440  1 nft_chain_nat
nf_conntrack          192512  4 nf_nat,nft_ct,nf_conntrack_netbios_ns,nf_conntrack_broadcast
nf_defrag_ipv6         24576  1 nf_conntrack
nf_defrag_ipv4         16384  1 nf_conntrack
nvidia              61456384  113 nvidia_modeset
nf_tables             311296  281 nft_ct,nft_reject_inet,nft_fib_ipv6,nft_objref,nft_fib_ipv4,nft_chain_nat,nft_reject,nft_fib,nft_fib_inet
nfnetlink              20480  2 nf_tables
cmac                   16384  4
algif_hash             20480  1
algif_skcipher         16384  1
af_alg                 36864  6 algif_hash,algif_skcipher
bnep                   32768  2
snd_sof_amd_rembrandt    16384  0
snd_sof_amd_renoir     16384  0
snd_sof_amd_acp        53248  2 snd_sof_amd_rembrandt,snd_sof_amd_renoir
snd_sof_pci            24576  2 snd_sof_amd_rembrandt,snd_sof_amd_renoir
snd_sof               344064  2 snd_sof_amd_acp,snd_sof_pci
cdc_mbim               20480  0
vfat                   24576  1
snd_sof_utils          20480  1 snd_sof
cdc_wdm                36864  1 cdc_mbim
fat                    98304  1 vfat
snd_hda_codec_realtek   184320  1
iwlmvm                565248  0
snd_hda_codec_generic   114688  1 snd_hda_codec_realtek
intel_rapl_msr         20480  0
snd_soc_core          413696  1 snd_sof
ledtrig_audio          16384  1 snd_hda_codec_generic
snd_hda_codec_hdmi     94208  1
amdgpu              11571200  114
snd_compress           28672  1 snd_soc_core
mac80211             1404928  1 iwlmvm
intel_rapl_common      36864  1 intel_rapl_msr
ac97_bus               16384  1 snd_soc_core
uvcvideo              167936  4
snd_hda_intel          61440  2
snd_usb_audio         409600  1
snd_pcm_dmaengine      16384  1 snd_soc_core
btusb                  69632  0
snd_intel_dspcfg       36864  2 snd_hda_intel,snd_sof
snd_intel_sdw_acpi     20480  1 snd_intel_dspcfg
edac_mce_amd           57344  0
videobuf2_vmalloc      20480  1 uvcvideo
btrtl                  28672  1 btusb
snd_pci_ps             20480  0
libarc4                16384  1 mac80211
snd_usbmidi_lib        49152  1 snd_usb_audio
snd_hda_codec         200704  4 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec_realtek
snd_rpl_pci_acp6x      20480  0
videobuf2_memops       20480  1 videobuf2_vmalloc
btbcm                  24576  1 btusb
snd_hda_core          126976  5 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek
snd_rawmidi            49152  1 snd_usbmidi_lib
snd_acp_pci            16384  0
gpu_sched              49152  1 amdgpu
cdc_ncm                49152  1 cdc_mbim
kvm_amd               180224  0
videobuf2_v4l2         40960  1 uvcvideo
snd_pci_acp6x          20480  0
btintel                49152  1 btusb
drm_buddy              20480  1 amdgpu
snd_seq_device         16384  2 snd_seq,snd_rawmidi
snd_hwdep              20480  2 snd_usb_audio,snd_hda_codec
btmtk                  16384  1 btusb
videobuf2_common       90112  4 videobuf2_vmalloc,videobuf2_v4l2,uvcvideo,videobuf2_memops
drm_ttm_helper         16384  1 amdgpu
cdc_ether              24576  1 cdc_ncm
snd_pcm               180224  13 snd_sof_amd_acp,snd_hda_codec_hdmi,snd_pci_acp6x,snd_hda_intel,snd_usb_audio,snd_hda_codec,snd_sof,snd_compress,snd_soc_core,snd_sof_utils,snd_hda_core,snd_pci_ps,snd_pcm_dmaengine
kvm                  1232896  1 kvm_amd
bluetooth             987136  46 btrtl,btmtk,btintel,btbcm,bnep,btusb,rfcomm
iwlwifi               516096  1 iwlmvm
videodev              327680  5 videobuf2_v4l2,uvcvideo,videobuf2_common
usbnet                 61440  3 cdc_mbim,cdc_ncm,cdc_ether
snd_timer              49152  3 snd_seq,snd_hrtimer,snd_pcm
ttm                    98304  2 amdgpu,drm_ttm_helper
snd_pci_acp5x          20480  0
ideapad_laptop         45056  0
irqbypass              16384  1 kvm
ecdh_generic           16384  1 bluetooth
mc                     81920  7 videodev,snd_usb_audio,videobuf2_v4l2,uvcvideo,videobuf2_common
mii                    16384  1 usbnet
apple_mfi_fastcharge    20480  0
drm_display_helper    241664  1 amdgpu
r8169                 118784  0
snd_rn_pci_acp3x       24576  0
snd                   143360  24 snd_hda_codec_generic,snd_seq,snd_seq_device,snd_hda_codec_hdmi,snd_hwdep,snd_hda_intel,snd_usb_audio,snd_usbmidi_lib,snd_hda_codec,snd_hda_codec_realtek,snd_sof,snd_timer,snd_compress,snd_soc_core,snd_pcm,snd_rawmidi
sparse_keymap          16384  1 ideapad_laptop
crc16                  16384  1 bluetooth
cfg80211             1171456  3 iwlmvm,iwlwifi,mac80211
snd_acp_config         16384  4 snd_rn_pci_acp3x,snd_sof_amd_rembrandt,snd_acp_pci,snd_sof_amd_renoir
platform_profile       16384  1 ideapad_laptop
realtek                36864  1
rapl                   16384  0
soundcore              16384  1 snd
cec                    90112  1 drm_display_helper
joydev                 28672  0
mdio_devres            16384  1 r8169
cm32181                16384  0
snd_soc_acpi           16384  2 snd_sof_amd_acp,snd_acp_config
rfkill                 36864  11 iwlmvm,bluetooth,ideapad_laptop,cfg80211
wmi_bmof               16384  0
industrialio          118784  1 cm32181
mousedev               24576  0
libphy                180224  3 r8169,mdio_devres,realtek
snd_pci_acp3x          20480  0
i2c_piix4              36864  0
acpi_cpufreq           32768  0
mac_hid                16384  0
k10temp                16384  0
fuse                  188416  1
loop                   32768  0
ip_tables              32768  0
x_tables               61440  1 ip_tables
dm_crypt               61440  2
cbc                    16384  0
encrypted_keys         28672  1 dm_crypt
trusted                53248  2 encrypted_keys,dm_crypt
asn1_encoder           16384  1 trusted
tee                    36864  1 trusted
uas                    32768  4
usb_storage            86016  1 uas
usbhid                 77824  0
serio_raw              20480  0
atkbd                  36864  0
nvme                   65536  0
libps2                 24576  1 atkbd
vivaldi_fmap           16384  1 atkbd
crct10dif_pclmul       16384  1
crc32_pclmul           16384  0
hid_multitouch         32768  0
ucsi_acpi              16384  0
i8042                  53248  1 ideapad_laptop
polyval_clmulni        16384  0
xhci_pci               24576  0
nvme_core             221184  1 nvme
video                  65536  3 amdgpu,ideapad_laptop,nvidia_modeset
typec_ucsi             57344  1 ucsi_acpi
polyval_generic        16384  1 polyval_clmulni
gf128mul               20480  1 polyval_generic
ghash_clmulni_intel    16384  0
sha512_ssse3           57344  0
aesni_intel           397312  15
crypto_simd            16384  1 aesni_intel
roles                  16384  1 typec_ucsi
cryptd                 28672  5 crypto_simd,ghash_clmulni_intel
ccp                   143360  1 kvm_amd
sp5100_tco             20480  0
typec                  94208  1 typec_ucsi
xhci_pci_renesas       24576  1 xhci_pci
nvme_common            24576  1 nvme_core
serio                  28672  4 serio_raw,atkbd,i8042
wmi                    40960  3 video,wmi_bmof,ideapad_laptop
i2c_hid_acpi           16384  0
i2c_hid                40960  1 i2c_hid_acpi
btrfs                2023424  2
blake2b_generic        20480  0
libcrc32c              16384  4 nf_conntrack,nf_nat,btrfs,nf_tables
crc32c_generic         16384  0
crc32c_intel           24576  3
xor                    24576  1 btrfs
raid6_pq              122880  1 btrfs
dm_mirror              28672  0
dm_region_hash         24576  1 dm_mirror
dm_log                 24576  2 dm_region_hash,dm_mirror
dm_mod                192512  7 dm_crypt,dm_log,dm_mirror
vboxnetflt             32768  0
vboxnetadp             28672  0
vboxdrv               618496  2 vboxnetadp,vboxnetflt
pkcs8_key_parser       16384  0
crypto_user            20480  0

Note: This is now plugged in, with Optimus set ty Hybrid.

I haven’t tried that yet.

That might be interesting to know.

But when I googled the problem, I found that:

So, following that you could check if there is an uefi-firmware-update available. Just make sure you have your data backed up before you update it.

Just tried it, and it works like a charm.

The latest BIOS’s already on the laptop.

So, it works with the charger plugged in or on battery?

Edit: Can you try and set the battery startup mode in your Optimus settings from integrated to hybrid and see if it works then?

Plugged in, (and monitors connected if that makes a differences)

I won’t have time this weekend, but I’ll try remember when I’ll have time.

1 Like

Finally found some time to test. Sorry for the wait. :sweat_smile:

Nope, same behavior, even the external screen doesn’t detect anything.

Update your packages. The new Plasma version contains several related fixes (multi-monitor, powerdevil, etc.).
Reboot to test.

If no change, try resetting local Plasma/KDE configuration, or maybe add a new user to test clean.

This seems to have resolved the issue.

But unfortunately, that doesn’t solve this issue.

But thanks for the help!

Do you mean Plasma is broken?...
One solution is not enough… :face_holding_back_tears:

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.