You are not logged in.

#1 2023-07-16 17:28:28

classikh
Member
Registered: 2023-06-13
Posts: 45

[SOLVED] Screen not responding after suspend.

Hey, i have my Arch system with below specs from the neofetch command.

                   -`                    classikh@ideapadG 
                  .o+`                   ----------------- 
                 `ooo/                   OS: Arch Linux x86_64 
                `+oooo:                  Host: 82SA IdeaPad Gaming 3 16IAH7 
               `+oooooo:                 Kernel: 6.1.38-1-lts 
               -+oooooo+:                Uptime: 11 mins 
             `/:-:++oooo+:               Packages: 1124 (pacman), 8 (flatpak) 
            `/++++/+++++++:              Shell: bash 5.1.16 
           `/++++++++++++++:             Resolution: 1920x1200 
          `/+++ooooooooooooo/`           DE: GNOME 44.3 
         ./ooosssso++osssssso+`          WM: Mutter 
        .oossssso-````/ossssss+`         WM Theme: Colloid-Dark 
       -osssssso.      :ssssssso.        Theme: Colloid-Dark [GTK2/3] 
      :osssssss/        osssso+++.       Icons: Colloid-dark [GTK2/3] 
     /ossssssss/        +ssssooo/-       Terminal: kgx 
   `/ossssso+/:-        -:/+osssso+-     CPU: 12th Gen Intel i7-12700H (20) @ 2.300GHz 
  `+sso+:-`                 `.-/+oso:    GPU: NVIDIA GeForce RTX 3060 Mobile / Max-Q 
 `++:.                           `-/+/   GPU: Intel Alder Lake-P 
 .`                                 `/   Memory: 3501MiB / 15719MiB  

When i wake my pc from suspend, the screen does not wake up, it used to work great but recently it started giving this issue.
*The only way to wake the pc is to connect an external display to the laptop, or to hard reboot.*

Any help would be much appreciated.

Last edited by classikh (2023-10-08 14:42:11)

Offline

#2 2023-07-16 17:42:43

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,601

Re: [SOLVED] Screen not responding after suspend.

Do not cross post.  If you wish a thread moved, please use the report link and ask a moderator to assist you in that.

I have closed and dust binned your other post.

On topic.  When you say suspend, I assume you mean sleep (suspend to RAM) and not hibernate (suspend to disk)?


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way

Offline

#3 2023-07-16 18:57:40

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 73,783

Re: [SOLVED] Screen not responding after suspend.

The only way to wake the pc is to connect an external display to the laptop, or to hard reboot.*

Did you try to simply switch the VT?
Can you still ssh into the system?
Or https://wiki.archlinux.org/title/Keyboa … el_(SysRq)

Avoid the hard reboot at all costs, because it'll prevent the journal from getting synced and you can't look for errors.

Offline

#4 2023-07-17 17:17:16

classikh
Member
Registered: 2023-06-13
Posts: 45

Re: [SOLVED] Screen not responding after suspend.

ewaller wrote:

When you say suspend, I assume you mean sleep (suspend to RAM) and not hibernate (suspend to disk)?

Yes i mean suspend to RAM. Can this be because of the latest lts, would downgrading my linux-lts help?

Last edited by classikh (2023-07-17 17:17:32)

Offline

#5 2023-07-17 17:18:33

classikh
Member
Registered: 2023-06-13
Posts: 45

Re: [SOLVED] Screen not responding after suspend.

seth wrote:

The only way to wake the pc is to connect an external display to the laptop, or to hard reboot.*

Did you try to simply switch the VT?
Can you still ssh into the system?
Or https://wiki.archlinux.org/title/Keyboa … el_(SysRq)

Avoid the hard reboot at all costs, because it'll prevent the journal from getting synced and you can't look for errors.

The system still works but the screen does not display anything.

Offline

#6 2023-07-17 19:41:13

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 73,783

Re: [SOLVED] Screen not responding after suspend.

Great.
Please post your complete system journal for and affected boot:

sudo journalctl -b | curl -F 'f:1=<-' ix.io

Offline

#7 2023-07-18 13:16:06

classikh
Member
Registered: 2023-06-13
Posts: 45

Re: [SOLVED] Screen not responding after suspend.

seth wrote:

Great.
Please post your complete system journal for and affected boot:

sudo journalctl -b | curl -F 'f:1=<-' ix.io

Hey, i got this link

http://ix.io/4ASJ

Offline

#8 2023-07-18 15:20:50

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 73,783

Re: [SOLVED] Screen not responding after suspend.

Jul 18 18:29:50 ideapadG kernel: Low-power S0 idle used by default for system suspend

When about was the system suspended? There seems no indication of that at all.

Random stufff:
- you've dhcpcd and NetworkManager enabled, pick one, disable the other.
- you're using nouveau, try the nvidia blob
- you're running GDM & gnome on wayland. Can you suspend from the multi-user.target (2nd link below) and wakeup to a responsive screen?

Offline

#9 2023-07-20 13:10:06

classikh
Member
Registered: 2023-06-13
Posts: 45

Re: [SOLVED] Screen not responding after suspend.

seth wrote:
Jul 18 18:29:50 ideapadG kernel: Low-power S0 idle used by default for system suspend

When about was the system suspended? There seems no indication of that at all.

Random stufff:
- you've dhcpcd and NetworkManager enabled, pick one, disable the other.
- you're using nouveau, try the nvidia blob
- you're running GDM & gnome on wayland. Can you suspend from the multi-user.target (2nd link below) and wakeup to a responsive screen?


Hey, this is a boot log after suspend, i was able to get the display working by attaching a hdmi cable to my laptop,

http://ix.io/4B2X

On a side note, which one should i keep, dhcpcd or NetworkManager?

seth wrote:

you're running GDM & gnome on wayland. Can you suspend from the multi-user.target (2nd link below) and wakeup to a responsive screen?

And i will try this.

Offline

#10 2023-07-20 14:01:33

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 73,783

Re: [SOLVED] Screen not responding after suspend.

Since you're using wifi via NM/wpa_supplicant as well as gnome, you likely want to keep NM and disable dhcpcd.


Jul 20 18:32:18 ideapadG systemd[1]: Reached target Sleep.
Jul 20 18:32:18 ideapadG systemd[1]: Starting System Suspend...
Jul 20 18:32:18 ideapadG systemd-sleep[4930]: Entering sleep state 'suspend'...
Jul 20 18:32:18 ideapadG kernel: PM: suspend entry (s2idle)
Jul 20 18:32:18 ideapadG kernel: Filesystems sync: 0.005 seconds
Jul 20 18:34:41 ideapadG kernel: Freezing user space processes
Jul 20 18:34:41 ideapadG kernel: Freezing user space processes completed (elapsed 0.001 seconds)
Jul 20 18:34:41 ideapadG kernel: OOM killer disabled.
Jul 20 18:34:41 ideapadG kernel: Freezing remaining freezable tasks
Jul 20 18:34:41 ideapadG kernel: Freezing remaining freezable tasks completed (elapsed 0.001 seconds)
Jul 20 18:34:41 ideapadG kernel: printk: Suspending console(s) (use no_console_suspend to debug)
Jul 20 18:34:41 ideapadG kernel: ------------[ cut here ]------------
Jul 20 18:34:41 ideapadG kernel: i915 0000:00:02.0: i915 raw-wakerefs=1 wakelocks=1 on cleanup
Jul 20 18:34:41 ideapadG kernel: WARNING: CPU: 6 PID: 11 at drivers/gpu/drm/i915/intel_runtime_pm.c:638 intel_runtime_pm_driver_release+0x61/0x70 [i915]
Jul 20 18:34:41 ideapadG kernel: Modules linked in: snd_seq_dummy snd_seq snd_seq_device rfcomm ccm cmac algif_hash algif_skcipher af_alg bnep 8021q garp mrp stp llc intel_tcc_cooling x86_pkg_temp_thermal intel_powerclamp snd_sof_pci_intel_tgl snd_sof_intel_hda_common soundwire_intel soundwire_generic_allocation soundwire_cadence snd_sof_intel_hda snd_sof_pci snd_sof_xtensa_dsp snd_sof snd_sof_utils snd_soc_hdac_hda coretemp snd_hda_ext_core snd_soc_acpi_intel_match snd_soc_acpi kvm_intel snd_hda_codec_realtek soundwire_bus rtw_8852be(OE) rtw_8852b(OE) snd_hda_codec_generic snd_soc_core rtw89pci(OE) snd_compress kvm ledtrig_audio rtw89core(OE) snd_hda_codec_hdmi ac97_bus irqbypass crct10dif_pclmul crc32_pclmul snd_pcm_dmaengine polyval_clmulni polyval_generic gf128mul ghash_clmulni_intel sha512_ssse3 snd_hda_intel aesni_intel snd_intel_dspcfg crypto_simd mousedev uvcvideo snd_intel_sdw_acpi cryptd videobuf2_vmalloc mac80211 btusb snd_hda_codec btrtl videobuf2_memops iTCO_wdt rapl snd_hda_core hid_multitouch
Jul 20 18:34:41 ideapadG kernel:  btbcm r8169 videobuf2_v4l2 intel_pmc_bxt mei_pxp btintel processor_thermal_device_pci snd_hwdep mei_hdcp videobuf2_common ee1004 realtek processor_thermal_device iTCO_vendor_support btmtk libarc4 snd_pcm ucsi_acpi intel_cstate intel_rapl_msr videodev mei_me intel_lpss_pci snd_timer typec_ucsi mdio_devres spi_nor i2c_i801 processor_thermal_rfim intel_lpss intel_uncore snd pcspkr bluetooth wmi_bmof processor_thermal_mbox typec cfg80211 mtd mc libphy idma64 soundcore ecdh_generic mei processor_thermal_rapl i2c_smbus intel_rapl_common roles igen6_edac ideapad_laptop i2c_hid_acpi platform_profile i2c_hid intel_hid rfkill joydev sparse_keymap int3400_thermal int3403_thermal acpi_thermal_rel int340x_thermal_zone acpi_pad mac_hid dm_multipath sg crypto_user fuse dm_mod loop bpf_preload ip_tables x_tables ext4 crc32c_generic crc16 mbcache jbd2 usbhid nvme nvme_core nvme_common i915 nouveau serio_raw atkbd libps2 drm_buddy drm_ttm_helper vivaldi_fmap intel_gtt mxm_wmi
Jul 20 18:34:41 ideapadG kernel:  drm_display_helper spi_intel_pci cec crc32c_intel xhci_pci spi_intel vmd xhci_pci_renesas ttm video i8042 serio wmi
Jul 20 18:34:41 ideapadG kernel: CPU: 6 PID: 11 Comm: kworker/u40:1 Tainted: G        W  OE      6.1.38-1-lts #1 5b635add7cb08376448ebab72e56a17f1b0ae5e4
Jul 20 18:34:41 ideapadG kernel: Hardware name: LENOVO 82SA/LNVNB161216, BIOS JMCN36WW(V3.02) 04/06/2022
Jul 20 18:34:41 ideapadG kernel: Workqueue: events_unbound async_run_entry_fn
Jul 20 18:34:41 ideapadG kernel: RIP: 0010:intel_runtime_pm_driver_release+0x61/0x70 [i915]
Jul 20 18:34:41 ideapadG kernel: Code: fc 10 48 8b 5f 50 48 85 db 75 03 48 8b 1f e8 56 1d 59 d5 45 89 e0 89 e9 48 89 da 48 89 c6 48 c7 c7 80 2b a0 c0 e8 8f 2c e5 d4 <0f> 0b 5b 5d 41 5c c3 cc cc cc cc 0f 1f 40 00 66 0f 1f 00 0f 1f 44
Jul 20 18:34:41 ideapadG kernel: RSP: 0018:ffffa0a9c0167da8 EFLAGS: 00010286
Jul 20 18:34:41 ideapadG kernel: RAX: 0000000000000000 RBX: ffff8c5e8310a530 RCX: 0000000000000027
Jul 20 18:34:41 ideapadG kernel: RDX: ffff8c621f7a1668 RSI: 0000000000000001 RDI: ffff8c621f7a1660
Jul 20 18:34:41 ideapadG kernel: RBP: 0000000000000001 R08: ffffffff97d4c2e0 R09: 0000000000000000
Jul 20 18:34:41 ideapadG kernel: R10: ffffffffffffffff R11: ffff8c622fbc300a R12: 0000000000000001
Jul 20 18:34:41 ideapadG kernel: R13: ffff8c5e89bfa338 R14: 0000000000000000 R15: ffff8c5e89bfb7b0
Jul 20 18:34:41 ideapadG kernel: FS:  0000000000000000(0000) GS:ffff8c621f780000(0000) knlGS:0000000000000000
Jul 20 18:34:41 ideapadG kernel: CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Jul 20 18:34:41 ideapadG kernel: CR2: 00007f293dad4000 CR3: 0000000238c10000 CR4: 0000000000f50ee0
Jul 20 18:34:41 ideapadG kernel: PKRU: 55555554
Jul 20 18:34:41 ideapadG kernel: Call Trace:
Jul 20 18:34:41 ideapadG kernel:  <TASK>
Jul 20 18:34:41 ideapadG kernel:  ? intel_runtime_pm_driver_release+0x61/0x70 [i915 e94ca6a3c142431fd9b23585a0cdfbf0af8f6729]
Jul 20 18:34:41 ideapadG kernel:  ? __warn+0x7d/0xd0
Jul 20 18:34:41 ideapadG kernel:  ? intel_runtime_pm_driver_release+0x61/0x70 [i915 e94ca6a3c142431fd9b23585a0cdfbf0af8f6729]
Jul 20 18:34:41 ideapadG kernel:  ? report_bug+0xe6/0x150
Jul 20 18:34:41 ideapadG kernel:  ? handle_bug+0x3c/0x80
Jul 20 18:34:41 ideapadG kernel:  ? exc_invalid_op+0x17/0x70
Jul 20 18:34:41 ideapadG kernel:  ? asm_exc_invalid_op+0x1a/0x20
Jul 20 18:34:41 ideapadG kernel:  ? intel_runtime_pm_driver_release+0x61/0x70 [i915 e94ca6a3c142431fd9b23585a0cdfbf0af8f6729]
Jul 20 18:34:41 ideapadG kernel:  ? intel_runtime_pm_driver_release+0x61/0x70 [i915 e94ca6a3c142431fd9b23585a0cdfbf0af8f6729]
Jul 20 18:34:41 ideapadG kernel:  i915_drm_suspend_late+0x115/0x140 [i915 e94ca6a3c142431fd9b23585a0cdfbf0af8f6729]
Jul 20 18:34:41 ideapadG kernel:  ? pci_pm_poweroff_late+0x40/0x40
Jul 20 18:34:41 ideapadG kernel:  dpm_run_callback+0x47/0x150
Jul 20 18:34:41 ideapadG kernel:  __device_suspend_late+0xb7/0x230
Jul 20 18:34:41 ideapadG kernel:  async_suspend_late+0x1e/0x90
Jul 20 18:34:41 ideapadG kernel:  async_run_entry_fn+0x31/0x130
Jul 20 18:34:41 ideapadG kernel:  process_one_work+0x1c4/0x3a0
Jul 20 18:34:41 ideapadG kernel:  worker_thread+0x51/0x390
Jul 20 18:34:41 ideapadG kernel:  ? process_one_work+0x3a0/0x3a0
Jul 20 18:34:41 ideapadG kernel:  kthread+0xdb/0x110
Jul 20 18:34:41 ideapadG kernel:  ? kthread_complete_and_exit+0x20/0x20
Jul 20 18:34:41 ideapadG kernel:  ret_from_fork+0x1f/0x30
Jul 20 18:34:41 ideapadG kernel:  </TASK>
Jul 20 18:34:41 ideapadG kernel: ---[ end trace 0000000000000000 ]---

Does this also happen w/ the non-LTS kernel?

Offline

#11 2023-07-20 14:11:29

classikh
Member
Registered: 2023-06-13
Posts: 45

Re: [SOLVED] Screen not responding after suspend.

seth wrote:

Does this also happen w/ the non-LTS kernel?

Hi, no i have never tried that, how do i do that?
And this used to work fine, i started encountering this issue recently

Last edited by classikh (2023-07-20 14:11:59)

Offline

#12 2023-07-20 14:13:47

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 73,783

Re: [SOLVED] Screen not responding after suspend.

You install the normal kernel and configure it in your bootloader and then select it just like you did w/ the LTS kernel when installing it?
(You can keep multiple kernels around in parallel, if that's your concern)

Offline

#13 2023-07-20 14:31:04

classikh
Member
Registered: 2023-06-13
Posts: 45

Re: [SOLVED] Screen not responding after suspend.

seth wrote:

you're running GDM & gnome on wayland. Can you suspend from the multi-user.target (2nd link below) and wakeup to a responsive screen?

Hey i tried this, waking from multi-user.target, waking from suspend works fine. Screen is responsive.

I did a boot journal for that, here's the link.

http://ix.io/4B3g

Offline

#14 2023-07-20 14:35:56

classikh
Member
Registered: 2023-06-13
Posts: 45

Re: [SOLVED] Screen not responding after suspend.

seth wrote:

You install the normal kernel and configure it in your bootloader and then select it just like you did w/ the LTS kernel when installing it?
(You can keep multiple kernels around in parallel, if that's your concern)

Hey, i don't know how to do that, could you please elaborate.

Offline

#15 2023-07-20 14:37:01

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 73,783

Re: [SOLVED] Screen not responding after suspend.

The i915 warning is there as well, so likely a red herring.
Does it happen if you run gnome on X11 and also https://wiki.archlinux.org/title/GDM#Use_Xorg_backend ?

Offline

#16 2023-07-20 14:42:48

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 73,783

Re: [SOLVED] Screen not responding after suspend.

classikh wrote:

Hey, i don't know how to do that, could you please elaborate.

https://archlinux.org/packages/core/x86_64/linux/
https://wiki.archlinux.org/title/Pacman
https://wiki.archlinux.org/title/Arch_b … oot_loader

And since you either followed some idiot on youtube or use that idiotic archinstall script that should (yeah, said it) not be on the ISO: work yourself though https://wiki.archlinux.org/title/Installation_guide

Offline

#17 2023-07-20 16:36:05

classikh
Member
Registered: 2023-06-13
Posts: 45

Re: [SOLVED] Screen not responding after suspend.

seth wrote:

The i915 warning is there as well, so likely a red herring.
Does it happen if you run gnome on X11 and also https://wiki.archlinux.org/title/GDM#Use_Xorg_backend ?


Hi, following this link https://wiki.archlinux.org/title/GDM#Use_Xorg_backend
I did,

To use the Xorg backend by default, uncomment the following line in /etc/gdm/custom.conf:

#WaylandEnable=false

And it worked. The screen is waking perfectly.
Thanks seth for finding the time!

Offline

#18 2023-07-20 19:42:48

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 73,783

Re: [SOLVED] Screen not responding after suspend.

Can you also log from GDM/X11 into a gnome/wayland session and suspend/resume from the latter?
(Ie. is this a GDM problem or a general gnome/wayland/mutter problem)

Offline

Board footer

Powered by FluxBB