Laptop display doesn't resume after wake from suspend (Intel 12th Gen, Gnome, Wayland)

Just tested with optimus-manager and switcheroo-control. Screen doesn’t turn on after wake-up in both cases. : /

2 Likes

Maybe try the magic resurrect command

xrandr --auto
# or
xrandr  --output eDP-1 --auto

in display manager (GDM) Xsetup script.
BTW, did you use SDDM at all when trying Plasma?

UPDATE!!

So I was playing around with connecting an external monitor via the HDMI port and ran into the same suspend issue - laptop monitor off, keyboard backlight off, but volume buttons make the beep. However, the second display showed the blurred image that normally comes when the its on the GDM login screen.

I typed in the password, and the second monitor showed the desktop. And the primary was on as well, but without any backlight (I could tell cause this site was open in firefox, and I could move the window around with GNOME’s guestures)

I remember reading in the arch wiki that xiaomi laptops have a non-standard backlight path, I wonder if that could be a reason? That was for a different model though

1 Like

I don’t think the system’s completely woken up from sleep - the keyboard backlight is still off (the caps lock LED only briefly lights up when I toggle), the fans are off too. What should I check?

1 Like

It sounds reasonable. :wink:
You may try the suggested workaround in the linked post.

Also, work on this with backlight wiki.

Wouldn’t be any harm to try adding /etc/X11/xorg.conf.d/10-backlight.conf file as per that Arch wiki and see if it changes anything.

Tried it. Xorg fails to load, just get a blank screen with a cursor.

I have the journal from that entry. Can’t the the xorg log, unfortunately
https://0x0.st/s/rNhNiXKsxTxhU7TgawOLKA/HrSe.log

1710   │ Feb 13 01:27:36 jbook-pro /usr/lib/gdm-x-session[789]: (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
1711   │ Feb 13 01:27:36 jbook-pro /usr/lib/gdm-x-session[789]: (II) LoadModule: "glx"
1712   │ Feb 13 01:27:36 jbook-pro /usr/lib/gdm-x-session[789]: (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
1713   │ Feb 13 01:27:36 jbook-pro /usr/lib/gdm-x-session[789]: (II) Module glx: vendor="X.Org Foundation"
1714   │ Feb 13 01:27:36 jbook-pro /usr/lib/gdm-x-session[789]:         compiled for 1.21.1.7, module version = 1.0.0
1715   │ Feb 13 01:27:36 jbook-pro /usr/lib/gdm-x-session[789]:         ABI class: X.Org Server Extension, version 10.0
1716   │ Feb 13 01:27:36 jbook-pro /usr/lib/gdm-x-session[789]: (II) LoadModule: "intel"
1717   │ Feb 13 01:27:36 jbook-pro /usr/lib/gdm-x-session[789]: (WW) Warning, couldn't open module intel
1718   │ Feb 13 01:27:36 jbook-pro /usr/lib/gdm-x-session[789]: (EE) Failed to load module "intel" (module does not exist, 0)
1719   │ Feb 13 01:27:36 jbook-pro /usr/lib/gdm-x-session[789]: (EE) No drivers available.
1720   │ Feb 13 01:27:36 jbook-pro /usr/lib/gdm-x-session[789]: (EE)
1721   │ Feb 13 01:27:36 jbook-pro /usr/lib/gdm-x-session[789]: Fatal server error:
1722   │ Feb 13 01:27:36 jbook-pro /usr/lib/gdm-x-session[789]: (EE) no screens found(EE)
1723   │ Feb 13 01:27:36 jbook-pro /usr/lib/gdm-x-session[789]: (EE)

The PCI path in the wiki matches my device

[julius@jbook-pro ~]$ lspci
00:00.0 Host bridge: Intel Corporation 12th Gen Core Processor Host Bridge/DRAM Registers (rev 02)
00:02.0 VGA compatible controller: Intel Corporation Alder Lake-P GT1 [UHD Graphics] (rev 0c)
00:04.0 Signal processing controller: Intel Corporation Alder Lake Innovation Platform Framework Processor Participant (rev 02)
00:06.0 PCI bridge: Intel Corporation 12th Gen Core Processor PCI Express x4 Controller #0 (rev 02)
00:06.2 PCI bridge: Intel Corporation 12th Gen Core Processor PCI Express x4 Controller #2 (rev 02)
00:07.0 PCI bridge: Intel Corporation Alder Lake-P Thunderbolt 4 PCI Express Root Port #0 (rev 02)
00:08.0 System peripheral: Intel Corporation 12th Gen Core Processor Gaussian & Neural Accelerator (rev 02)
00:0d.0 USB controller: Intel Corporation Alder Lake-P Thunderbolt 4 USB Controller (rev 02)
00:0d.2 USB controller: Intel Corporation Alder Lake-P Thunderbolt 4 NHI #0 (rev 02)
00:12.0 Serial controller: Intel Corporation Alder Lake-P Integrated Sensor Hub (rev 01)
00:14.0 USB controller: Intel Corporation Alder Lake PCH USB 3.2 xHCI Host Controller (rev 01)
00:14.2 RAM memory: Intel Corporation Alder Lake PCH Shared SRAM (rev 01)
00:14.3 Network controller: Intel Corporation Alder Lake-P PCH CNVi WiFi (rev 01)
00:15.0 Serial bus controller: Intel Corporation Alder Lake PCH Serial IO I2C Controller #0 (rev 01)
00:15.1 Serial bus controller: Intel Corporation Alder Lake PCH Serial IO I2C Controller #1 (rev 01)
00:16.0 Communication controller: Intel Corporation Alder Lake PCH HECI Controller (rev 01)
00:19.0 Serial bus controller: Intel Corporation Alder Lake-P Serial IO I2C Controller #0 (rev 01)
00:19.1 Serial bus controller: Intel Corporation Alder Lake-P Serial IO I2C Controller #1 (rev 01)
00:1e.0 Communication controller: Intel Corporation Alder Lake PCH UART #0 (rev 01)
00:1e.3 Serial bus controller: Intel Corporation Device 51ab (rev 01)
00:1f.0 ISA bridge: Intel Corporation Alder Lake PCH eSPI Controller (rev 01)
00:1f.3 Multimedia audio controller: Intel Corporation Alder Lake PCH-P High Definition Audio Controller (rev 01)
00:1f.4 SMBus: Intel Corporation Alder Lake PCH-P SMBus Host Controller (rev 01)
00:1f.5 Serial bus controller: Intel Corporation Alder Lake-P PCH SPI Controller (rev 01)
01:00.0 3D controller: NVIDIA Corporation TU117M [GeForce MX550] (rev a1)
02:00.0 Non-Volatile memory controller: KIOXIA Corporation Device 000c

It shows it’s failing to load the intel module? Do you have Intel driver installed?

xf86-video-intel

Yeah, I realised that. I’ve installed the driver, but now xorg is broken :joy:
Can’t type in the terminal and some apps stutter. I had to uninstall the driver to make it through the installer as well, it’s why I couldn’t select the nvidia option during install.

Also, and the backlight is still off :joy: This really is fun

Check backlight names and values, logs, etc., by Archwiki.
Test kernel parameters, to find the most useful, or controllable.

I thought xorg was already broken? :grin:

Edit: Isn’t this Gnome? Did you switch to xorg?

On resume, intermittently.
Too many Xorg broken topics :stuck_out_tongue_winking_eye:

Ive never been one of those that use hibernation or suspend. I’d rather just turn it off or have the screen shutdown. :man_shrugging:

1 Like

It’s very convenient on a laptop. But I guess now I’ll just shutdown after I’m done working for the day. And the lid switch works reliably enough, so at least something has come from this.