Fedora Workstation - 39 - Freezes with Black Screen after entering in Sleep mode

Hi,

So the last month or so I’ve been dealing with this annoying behavior where my Fedora sometimes is unable to “wake up” after going suspended. The most annoying part is that it seems truly random.

I normally have Chrome, Firefox, Terminal (with tmux), VS Code and Sublime Merge opened for work (where Chrome and VS Code are Flatpaks) and sometimes I go to sleep with everything open and in the morning everything is working fine. Next day it might wake up frozen with a Black screen. Other times I close all the application but I still get Black screen. Now it recently started to freeze throughout the day.

I’ve tried looking through the journalctl but I do not recognize any possible red flags (not a linux sysadmin u_u’).

I also tried switching desktop environments: from Xfce to Budgie. It gave me a false positive for the first 3 days then the issue came back again.

The only workaround I have found was to disable any power management profile that could trigger suspension or turn-off screens.

Does anyone else is facing this issue?

(All my packages are up-to-date)

Welcome to Fedora @rustythehysterical

We are just able to give you some assistance if you give us the necessary information about your system.

The first I would do is to check if there is a Firmware update for your device.
Second testing an older Kernel. You can select a different one while pressing F2 or ESC while booting.

The first I would do is to check if there is a Firmware update for your device.

If you mean firmware update through DNF I can guarantee you that’s updated because I check at least twice a week. None of them seem to have fixed the issue so far u_u’.

Second testing an older Kernel. You can select a different one while pressing F2 or ESC while booting.

I tried that but still got the same issue.

Someone at reddit told me that it might be an issue related to AMD graphic but I don’t have one:

00:00.0 Host bridge: Intel Corporation Xeon E3-1200 v6/7th Gen Core Processor Host Bridge/DRAM Registers (rev 08)
00:02.0 VGA compatible controller: Intel Corporation UHD Graphics 620 (rev 07)
00:04.0 Signal processing controller: Intel Corporation Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor Thermal Subsystem (rev 08)
00:14.0 USB controller: Intel Corporation Sunrise Point-LP USB 3.0 xHCI Controller (rev 21)
00:14.2 Signal processing controller: Intel Corporation Sunrise Point-LP Thermal subsystem (rev 21)
00:15.0 Signal processing controller: Intel Corporation Sunrise Point-LP Serial IO I2C Controller #0 (rev 21)
00:15.1 Signal processing controller: Intel Corporation Sunrise Point-LP Serial IO I2C Controller #1 (rev 21)
00:16.0 Communication controller: Intel Corporation Sunrise Point-LP CSME HECI #1 (rev 21)
00:16.3 Serial controller: Intel Corporation Sunrise Point-LP Active Management Technology - SOL (rev 21)
00:17.0 SATA controller: Intel Corporation Sunrise Point-LP SATA Controller [AHCI mode] (rev 21)
00:1c.0 PCI bridge: Intel Corporation Sunrise Point-LP PCI Express Root Port #1 (rev f1)
00:1c.2 PCI bridge: Intel Corporation Sunrise Point-LP PCI Express Root Port #3 (rev f1)
00:1d.0 PCI bridge: Intel Corporation Sunrise Point-LP PCI Express Root Port #9 (rev f1)
00:1f.0 ISA bridge: Intel Corporation Sunrise Point LPC/eSPI Controller (rev 21)
00:1f.2 Memory controller: Intel Corporation Sunrise Point-LP PMC (rev 21)
00:1f.3 Audio device: Intel Corporation Sunrise Point-LP HD Audio (rev 21)
00:1f.4 SMBus: Intel Corporation Sunrise Point-LP SMBus (rev 21)
00:1f.6 Ethernet controller: Intel Corporation Ethernet Connection (4) I219-LM (rev 21)
02:00.0 Network controller: Intel Corporation Wireless 8265 / 8275 (rev 78)
04:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS522A PCI Express Card Reader (rev 01)

I also got this firmware packages:

alsa-sof-firmware.noarch                             2023.12.1-1.fc39
amd-gpu-firmware.noarch                              20240312-1.fc39
amd-ucode-firmware.noarch                            20240312-1.fc39
atheros-firmware.noarch                              20240312-1.fc39
brcmfmac-firmware.noarch                             20240312-1.fc39
cirrus-audio-firmware.noarch                         20240312-1.fc39
intel-audio-firmware.noarch                          20240312-1.fc39
intel-gpu-firmware.noarch                            20240312-1.fc39
iwlegacy-firmware.noarch                             20240312-1.fc39
iwlwifi-dvm-firmware.noarch                          20240312-1.fc39
iwlwifi-mvm-firmware.noarch                          20240312-1.fc39
libertas-firmware.noarch                             20240312-1.fc39
linux-firmware.noarch                                20240312-1.fc39
linux-firmware-whence.noarch                         20240312-1.fc39
mt7xxx-firmware.noarch                               20240312-1.fc39
nvidia-gpu-firmware.noarch                           20240312-1.fc39
nxpwireless-firmware.noarch                          20240312-1.fc39
realtek-firmware.noarch                              20240312-1.fc39
tiwilink-firmware.noarch                             20240312-1.fc3

if you can, open a console and type following:

ping google.com

it should give you a reply immediately.

Do you use a KVM switch/hub?

Power management is often problematic, and involves vendor firmware that is managed using fwupd. There is wide participation by vendors. See man fwupdmgr. This mentions GUI tools, but I use fwupdmgr in a terminal. Try running fwupdmgr get-updates to see what is available.

It can be difficult to identify relevant entries with journalctl, but it does collect nearly everything the kernel can provide.

1 Like

I was referring to that too … without saying it … sorry.

Sorry for the delay.

I tried to install fwupd through DNF but it was not found.

I also read some random thread from reddit saying that this bug could be fixed disabling kvm passthrough by appending the “amd_iommu=off” argument to the grub command line args.

I don’t know if it lucky but after that change my notebook was not able to black screen for almost 24h.

Sadly right after lunch it presented the issue again.

I belive my firmware was updated last Monday. Right I only have this random firmware update pending:

My notebook is a thinkpad L380 though.

Ok, I’m really stupid. Just realized those packages for fwupdmgr are already installed.

Here is my output for get-updates:

Devices with no available firmware updates:
 • Embedded Controller
 • SSDSCKKF128G8L
 • TPM
 • UEFI Device Firmware
Devices with the latest available firmware version:
 • System Firmware
 • UEFI dbx
────────────────────────────────────────────────
Devices that were not updated correctly:
 • Intel Management Engine (184.50.3460 → 184.94.4494)
Devices that have been updated successfully:
 • System Firmware (0.1.15 → 0.1.35)
 • UEFI dbx (77 → 371)

Final output:

LENOVO 20M6001PBR
│
└─Intel Management Engine:
  │   Device ID:          349bb341230b1a86e5effe7dfe4337e1590227bd
  │   Summary:            UEFI ESRT device
  │   Current version:    184.50.3460
  │   Minimum Version:    0.0.1
  │   Vendor:             Lenovo (DMI:LENOVO)
  │   Update State:       Success
  │   Problems:           • Device requires AC power to be connected
  │   GUID:               84bf8333-8724-471e-b60b-5759bdbd9785
  │   Device Flags:       • Internal device
  │                       • System requires external power source
  │                       • Supported on remote server
  │                       • Needs a reboot after installation
  │                       • Device is usable for the duration of the update
  │                       • Updatable
  │   Device Requests:    • Message
  │
  ├─ThinkPad X280 Corporate ME Update:
  │     New version:      184.94.4494
  │     Remote ID:        lvfs
  │     Release ID:       42985
  │     Summary:          Lenovo ThinkPad X280 Corporate ME Firmware
  │     License:          Proprietary
  │     Size:             7.5 MB
  │     Created:          2023-08-08
  │     Urgency:          High
  │     Details:          https://pcsupport.lenovo.com/de/en/search?query=N20RG24W
  │     Vendor:           Lenovo
  │     Release Flags:    • Trusted metadata
  │                       • Is upgrade
  │     Description:
  │     Intel Platform Update 2023.3 Product Version Maintenance Release
  │
  │     Corporate Version 11.8.94.4494 (LVFS: 184.94.4494)
  │
  │     Problem Fixes
  │
  │     • Mitigated the following security vulnerabilities under issues.Please see fixed issues for details.
  │     Issues:           CVE-2022-29871
  │                       CVE-2022-36392
  │                       INTEL-TA-00783
  │     Checksum:         d55c5584639a8385ca971297cb254cc5db0c5e27a56d3ea0e88105349b5c859c
  │
  ├─ThinkPad X280 Corporate ME Update:
  │     New version:      184.93.4323
  │     Remote ID:        lvfs
  │     Release ID:       15661
  │     Summary:          Lenovo ThinkPad X280 Corporate ME Firmware
  │     License:          Proprietary
  │     Size:             7.5 MB
  │     Created:          2022-09-19
  │     Urgency:          High
  │     Details:          https://pcsupport.lenovo.com/de/en/search?query=N20RG23W
  │     Vendor:           Lenovo
  │     Release Flags:    • Trusted metadata
  │                       • Is upgrade
  │     Description:
  │     Intel Platform Update 2022.3 Product Version Maintenance Release
  │
  │     Version 11.8.93.4323 (LVFS: 184.93.4323)
  │
  │     Problem Fixes
  │
  │     • Mitigated the following security vulnerabilities under issues.Please see fixed issues for details.
  │     Issues:           CVE-2021-33159
  │                       CVE-2022-29893
  │                       CVE-2022-27497
  │                       CVE-2022-26845
  │                       INTEL-TA-00610
  │     Checksum:         4739991e994400cadd1e35e640da11bf910f03a1f59499be2b07f855fbc4c740
  │
  ├─ThinkPad X280 Corporate ME Update:
  │     New version:      184.92.4222
  │     Remote ID:        lvfs
  │     Release ID:       13640
  │     Summary:          Lenovo ThinkPad X280 Corporate ME Firmware
  │     License:          Proprietary
  │     Size:             7.5 MB
  │     Created:          2016-07-08
  │     Urgency:          High
  │     Details:          https://pcsupport.lenovo.com/de/en/search?query=N20RG22W
  │     Vendor:           Lenovo
  │     Release Flags:    • Trusted metadata
  │                       • Is upgrade
  │     Description:
  │     Intel Platform Update 2022.1 Product Version Maintenance Release
  │
  │     Version 11.8.92.4222 (LVFS: 184.92.4222)
  │
  │     Problem Fixes
  │
  │     • Mitigated the following security vulnerabilities under issues.Please see fixed issues for details.
  │     Issues:           CVE-2021-23168
  │                       CVE-2021-23188
  │                       CVE-2022-21140
  │                       CVE-2022-21181
  │                       CVE-2021-33159
  │                       CVE-2022-0004
  │                       INTEL-TA-00621
  │                       INTEL-TA-00613
  │                       INTEL-TA-00610
  │     Checksum:         8ead7fe820cffce262fb55fe7c596940ca1ad81340cf6f10600315a119d81c76
  │
  ├─ThinkPad X280 Corporate ME Update:
  │     New version:      184.90.3987
  │     Remote ID:        lvfs
  │     Release ID:       12012
  │     Summary:          Lenovo ThinkPad X280 Corporate ME Firmware
  │     License:          Proprietary
  │     Size:             7.5 MB
  │     Created:          2016-07-08
  │     Urgency:          High
  │     Details:          https://pcsupport.lenovo.com/de/en/search?query=N20RG21W
  │     Vendor:           Lenovo
  │     Release Flags:    • Trusted metadata
  │                       • Is upgrade
  │     Description:
  │     • 8 Intel Platform Update 2021.2 Product Version Maintenance Release
  │
  │     Version 11.8.90.3987 (LVFS: 184.90.3987)
  │
  │     Problem Fixes
  │
  │     • Mitigated the following security vulnerabilities under issues.Please see fixed issues for details.
  │
  │     Note: Please suspend or disable any disk encryption tool prior to update.
  │     Issues:           CVE-2021-0072
  │                       CVE-2021-0066
  │                       CVE-2021-0179
  │                       CVE-2021-0178
  │                       CVE-2021-0177
  │                       CVE-2021-0171
  │                       CVE-2021-0169
  │                       CVE-2021-0167
  │                       CVE-2021-0163
  │                       CVE-2021-0162
  │                       CVE-2021-0165
  │                       CVE-2021-0164
  │                       CVE-2021-0161
  │                       INTEL-TA-00539
  │     Checksum:         99e897222ee5c67d3f3369c2efa5e686b55fda0d4c795d161fd2300f9ae66bca
  │
  ├─ThinkPad X280 Corporate ME Update:
  │     New version:      184.86.3909
  │     Remote ID:        lvfs
  │     Release ID:       8767
  │     Summary:          Lenovo ThinkPad X280 Corporate ME Firmware
  │     License:          Proprietary
  │     Size:             7.5 MB
  │     Created:          2016-07-08
  │     Urgency:          High
  │     Details:          https://pcsupport.lenovo.com/de/en/search?query=N20RG20W
  │     Vendor:           Lenovo
  │     Release Flags:    • Trusted metadata
  │                       • Is upgrade
  │     Description:
  │     • 8 Intel Platform Update 2021.1 Release
  │
  │     Version 11.8.86.3909 (LVFS: 184.86.3909)
  │
  │     Problem Fixes
  │
  │     • Mitigated the following security vulnerabilities under issues.Please see fixed issues for details.
  │     Issues:           CVE-2020-24516
  │                       CVE-2020-24506
  │                       CVE-2020-8703
  │                       CVE-2020-24507
  │                       CVE-2020-8704
  │                       INTEL-TA-00459
  │     Checksum:         cdfb464767fa54ff545d024757b04ca10bd2c5d6ad51d0fef28e047d2c7e75d9
  │
  ├─ThinkPad X280 Corporate ME Update:
  │     New version:      184.83.3874
  │     Remote ID:        lvfs
  │     Release ID:       7908
  │     Summary:          Lenovo ThinkPad X280 Corporate ME Firmware
  │     License:          Proprietary
  │     Size:             7.5 MB
  │     Created:          2016-07-08
  │     Urgency:          High
  │     Details:          https://pcsupport.lenovo.com/de/en/search?query=N20RG19W
  │     Vendor:           Lenovo
  │     Release Flags:    • Trusted metadata
  │                       • Is upgrade
  │     Description:
  │     • 8 Intel Platform Update 2020.2 HF2 Release
  │
  │     Version 11.8.83.3874 (LVFS: 184.83.3874)
  │
  │     Problem Fixes
  │
  │     • Mitigated several security vulnerabilities.Please see details under "Fixed Issues".
  │     Issues:           CVE-2020-24588
  │                       CVE-2020-24587
  │                       CVE-2020-24586
  │                       INTEL-TA-00473
  │     Checksum:         a67ea628b064240a65268d041a4c4e16f9d140e02a665d08f166f6f6afdff7ad
  │
  └─ThinkPad X280 Corporate ME Update:
        New version:      184.77.3664
        Remote ID:        lvfs
        Release ID:       5307
        Summary:          Lenovo ThinkPad X280 Corporate ME Firmware
        License:          Proprietary
        Size:             7.5 MB
        Created:          2016-07-08
        Urgency:          High
        Details:          https://pcsupport.lenovo.com/de/en/search?query=N20RM15W
        Vendor:           Lenovo
        Release Flags:    • Trusted metadata
                          • Is upgrade
        Description:
        • 8 Intel Platform Update 2020.1

        Version 11.8.77.3664 (LVFS: 184.77.3664)

        Problem Fixes

        • Intel CSME PSIRT-TA-2019-10-001 (IPU 2020.1):
        • Mitigated the following security vulnerabilities:
        Issues:           CVE-2020-0545
                          CVE-2020-0542
                          CVE-2020-0541
                          CVE-2020-0540
                          CVE-2020-0539
                          CVE-2020-0538
                          CVE-2020-0537
                          CVE-2020-0536
                          CVE-2020-0535
                          CVE-2020-0534
                          CVE-2020-0533
                          CVE-2020-0532
                          CVE-2020-0531
        Checksum:         9bc6eaac3a13dad6fb9ebd91c432017d8410070e0940be486b4b809882b82f77

The message seems clear.
Attach the external power then repeat the upgrade using fwupdmgr.

Reboot before repeating the upgrade and if the previous was successful then it should tell you nothing needs done…

Updates were installed but right after I rebooted and let suspend again it got frozen… u_u’

at this point this issue is changing from annoying to infuriating. worst part is I unable to detect any clues from journalctl.

The details of what happens are critical.
Letting it suspend is different than freezing while in use and often has different causes.

Does it ever freeze while in use before suspending, or during wake up from suspend, or after waking up while in use, or ??

In many threads here it has been reported that waking up from suspend results in a black screen.
Further trouble shooting often reveals the user has an nvidia GPU but has failed to install the nvidia drivers from rpmfusion. Is that possibly a factor for you?

I have similar issue on Nvidia and it is not freez only black screen that is related laptop on connected to external monitor so it seems like that is frozen screen but it is not only it won’t show anything and disconnect the monitor cable and put it back is solution it happends randomly always after suspend/sleep

That might be possible issue here too

You have a similar issue with NVIDIA card? I believe in your case the host machine does NOT freeze completely instead the processes keep running as usual but the monitor never gets out of the “black screen” state. Correct? Even more specific in your case you also had a second monitor attached to the main device and when you disconnected and reconnected the second monitor the screen on the main device would be able to get out of the “black screen” state consistently. Right?

Giving up on resolving this issue. Just gonna deactivate any suspended action for now.

Appreciate all the efforts from the community! :slight_smile:

Just to clarify for others who need fwupd tools:

% dnf search fwupd
Last metadata expiration check: 2:24:14 ago on Tue 19 Mar 2024 08:26:51 AM.
============================================= Name Exactly Matched: fwupd =============================================
fwupd.x86_64 : Firmware update daemon
fwupd.i686 : Firmware update daemon
============================================ Name & Summary Matched: fwupd ============================================
fwupd-devel.i686 : Development package for fwupd
fwupd-devel.x86_64 : Development package for fwupd
fwupd-plugin-flashrom.x86_64 : fwupd plugin using flashrom
fwupd-plugin-modem-manager.x86_64 : fwupd plugin using ModemManger
================================================= Name Matched: fwupd =================================================
asahi-fwupdate.noarch : Asahi Linux firmware extractor
fwupd-efi.x86_64 : Firmware update EFI binaries
fwupd-plugin-uefi-capsule-data.x86_64 : Localized data for the UEFI UX capsule
fwupd-tests.x86_64 : Data files for installed tests

I thinkfwupd and related programs come with a default installation.

1 Like

This happens to me sometimes with an asus motherboard ryzen cpu and an amd gpu sometimes too it even just happened on fedora silverblue 40 its usually pretty rare though also I hear audible popping sometimes from my pc I never heard on windows but usually I just ignore it

The monitor I’m using is a Samsung crg5 with 240 hz but the 240hz on that is kinda false advertising bc of the ghosting