Fedora freezes after suspend

The first thing is to find out what the origin of the problem is. Then, we can check if and how we can solve it (this does not necessarily mean deactivate it permanently; the acpitool deactivation of devices is just temporarily and intended to identify the origin). So, if your bluetooth is in the acpi list, try to deactivate it with acpitool as mentioned above and check out if the freeze still appears. If this is the problem, we might find alternatives to make it work in a way not causing freezes (… if the bluetooth proves to be the origin…). If it is not the bluetooth device, activate it again and try out the remaining devices one by one.

I just saw that I have not mentioned above how to use acpitool for that: -w (lowercase w) outputs information including the device numbers, -W (uppercase W) enables/disables devices with the device number, (e.g., sudo acpitool -W 3)

@paltis If I understood you right, you already verified that everything is fine when bluetooth remains off? You have tested this several times? In that case, let us know the output of acpitool -w about the bluetooth controller, and the output of lsusb or lspci , depending on which bus the bluetooth is attached. Also, uname -r

Btw, have you already updated the kernel? You started with 5.15.16-200. Does the problem remain with 5.15.17-200, 5.15.18-200, and 5.16.5-200 ? Especially the latter would be interesting: if it remains in the 5.16 kernel, it maybe makes even sense to file a bug.

Additionally, I assume you use the default GNOME GUI tools to control your bluetooth?

I’m on version 5.16.
Yes, I just decided to check if something changes by turning off the bluetooth in the GNOME GUI.
I’ll watch for some more time, but so far I have not managed to get the laptop to freeze.

You may also check if the kernel 5.16 itself makes a difference. So, also try to use your bluetooth and such as usual, and check out if freezing keeps happening despite the new kernel.

Here if I understand correctly

acpitool
   Device	S-state	  Status   Sysfs node
  ---------------------------------------
  1. PEG0	  S4	*disabled
  2. PEGP	  S4	*disabled
  3. PEG1	  S4	*disabled
  4. PEGP	  S4	*disabled
  5. PEG2	  S4	*disabled
  6. PEGP	  S4	*disabled
  7. ECIR	  S4	*disabled
  8. XHCI	  S3	*enabled   pci:0000:00:14.0
  9. XDCI	  S4	*disabled
  10. HDAS	  S4	*disabled  pci:0000:00:1f.3
  11. RP01	  S4	*disabled
  12. PXSX	  S4	*disabled
  13. RP02	  S4	*disabled
  14. PXSX	  S4	*disabled
  15. RP03	  S4	*disabled
  16. PXSX	  S4	*disabled
  17. RP04	  S4	*disabled
  18. PXSX	  S4	*disabled
  19. RP05	  S4	*disabled
  20. PXSX	  S4	*disabled
  21. PEGA	  S4	*disabled
  22. RP06	  S4	*disabled
  23. PXSX	  S4	*disabled
  24. RP07	  S4	*disabled
  25. PXSX	  S4	*disabled
  26. RP08	  S4	*disabled
  27. PXSX	  S4	*disabled
  28. RP09	  S4	*enabled   pci:0000:00:1d.0
  29. PXSX	  S4	*disabled  pci:0000:2b:00.0
  30. RP10	  S4	*disabled
  31. PXSX	  S4	*disabled
  32. RP11	  S4	*disabled
  33. PXSX	  S4	*disabled
  34. RP12	  S4	*disabled
  35. PXSX	  S4	*disabled
  36. RP13	  S4	*disabled
  37. PXSX	  S4	*disabled
  38. RP14	  S4	*disabled
  39. PXSX	  S4	*disabled
  40. RP15	  S4	*disabled
  41. PXSX	  S4	*disabled
  42. RP16	  S4	*disabled
  43. PXSX	  S4	*disabled
  44. RP17	  S4	*disabled
  45. PXSX	  S4	*disabled
  46. RP18	  S4	*disabled
  47. PXSX	  S4	*disabled
  48. RP19	  S4	*disabled
  49. PXSX	  S4	*disabled
  50. RP20	  S4	*disabled
  51. PXSX	  S4	*disabled
  52. RP21	  S4	*disabled
  53. PXSX	  S4	*disabled
  54. RP22	  S4	*disabled
  55. PXSX	  S4	*disabled
  56. RP23	  S4	*disabled
  57. PXSX	  S4	*disabled
  58. RP24	  S4	*disabled
  59. PXSX	  S4	*disabled
  60. CNVW	  S4	*disabled  pci:0000:00:14.3
  61. TXHC	  S3	*enabled   pci:0000:00:0d.0
  62. TDM0	  S3	*enabled   pci:0000:00:0d.2
  63. TDM1	  S3	*disabled
  64. TRP0	  S3	*enabled   pci:0000:00:07.0
  65. PXSX	  S3	*disabled
  66. TRP1	  S3	*disabled
  67. PXSX	  S3	*disabled
  68. TRP2	  S3	*disabled
  69. PXSX	  S3	*disabled
  70. TRP3	  S3	*disabled
  71. PXSX	  S3	*disabled
  72. AWAC	  S4	*enabled   platform:ACPI000E:00
lsusb
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 004: ID 10a5:9200 FPC FPC Sensor Controller
Bus 003 Device 003: ID 05c8:03ec Cheng Uei Precision Industry Co., Ltd (Foxlink) XiaoMi USB 2.0 Webcam
Bus 003 Device 002: ID 046d:c247 Logitech, Inc. G100S Optical Gaming Mouse
Bus 003 Device 005: ID 8087:0026 Intel Corp. AX201 Bluetooth
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
lspci
00:00.0 Host bridge: Intel Corporation 11th Gen Core Processor Host Bridge/DRAM Registers (rev 01)
00:02.0 VGA compatible controller: Intel Corporation TigerLake-LP GT2 [Iris Xe Graphics] (rev 01)
00:04.0 Signal processing controller: Intel Corporation TigerLake-LP Dynamic Tuning Processor Participant (rev 01)
00:07.0 PCI bridge: Intel Corporation Tiger Lake-LP Thunderbolt 4 PCI Express Root Port #0 (rev 01)
00:08.0 System peripheral: Intel Corporation GNA Scoring Accelerator module (rev 01)
00:0d.0 USB controller: Intel Corporation Tiger Lake-LP Thunderbolt 4 USB Controller (rev 01)
00:0d.2 USB controller: Intel Corporation Tiger Lake-LP Thunderbolt 4 NHI #0 (rev 01)
00:14.0 USB controller: Intel Corporation Tiger Lake-LP USB 3.2 Gen 2x1 xHCI Host Controller (rev 20)
00:14.2 RAM memory: Intel Corporation Tiger Lake-LP Shared SRAM (rev 20)
00:14.3 Network controller: Intel Corporation Wi-Fi 6 AX201 (rev 20)
00:15.0 Serial bus controller: Intel Corporation Tiger Lake-LP Serial IO I2C Controller #0 (rev 20)
00:15.1 Serial bus controller: Intel Corporation Tiger Lake-LP Serial IO I2C Controller #1 (rev 20)
00:16.0 Communication controller: Intel Corporation Tiger Lake-LP Management Engine Interface (rev 20)
00:1d.0 PCI bridge: Intel Corporation Tiger Lake-LP PCI Express Root Port #9 (rev 20)
00:1f.0 ISA bridge: Intel Corporation Tiger Lake-LP LPC Controller (rev 20)
00:1f.3 Multimedia audio controller: Intel Corporation Tiger Lake-LP Smart Sound Technology Audio Controller (rev 20)
00:1f.4 SMBus: Intel Corporation Tiger Lake-LP SMBus Controller (rev 20)
00:1f.5 Serial bus controller: Intel Corporation Tiger Lake-LP SPI Controller (rev 20)
2b:00.0 Non-Volatile memory controller: Yangtze Memory Technologies Co.,Ltd Device 1001 (rev 03)

uname 5.16.7-200.fc35.x86_64

I assume your bluetooth controller was disabled while running acpitool -w? :smiley:
But no problem, we now know your controller:

However, that one should work fine out of the box (at least now). I could only find two reports in Ubuntu with some problems (related to this controller) in 5.15 but solved in 5.16.

I suggest to test if the Bluetooth now (with kernel 5.16) works properly when enabled, without causing freezes or such. If this is not the case, file a bug at the bugzilla.

Contain:

  • clear description of the issue (what happens when and in which conditions, etc.)
  • all kernels you have tested (incl. current uname -r)
  • freeze-related journalctl logs
  • the information related to intel_iommu=igfx_off , iommu=pt , intel_iommu=on , intel_iommu=off (what you described above)
  • the information related to Bluetooth (no freeze possible when disabled, acpitool tests, lsusb output, etc.)

Thanks for your help, I’ll try your advice

After a long observation, it turned out that if you charge the laptop through the second usb-c, this also causes it to freeze after suspension, apparently, is a bluetooth morbidity.

Workaround: Use hibernate instead of sleep mode. It takes a few more seconds for the computer to turn off and on because it has to save everything to disk, but it works, you can save the state without having to restart all your programs all the time. Plus, if you have a fast SSD, it’ll be almost as fast as putting the computer to sleep.

Again, this is a workaround and not a solution, but hopefully this hint is still useful for someone out there. I’ve seen a desktop computer that freezes after suspend (not a laptop), but that doesn’t mean you have to fully shutdown every evening, you just have to have a swap partition or file big enough to fit your ram.

Be careful in how you make suggestions.

While your solution may work, putting a system into hibernation requires a physical swap and failure to note that requirement and how to do so when making this type suggestion can cause users to try your suggestion and fail due to not having a physical swap space enabled.

Also, such suggestions on a necro thread that has not seen activity for over 8 months is also very bad form since there have been many many changes in software as well as at least 1 complete release version upgrade in that time period.

Should I close the thread since I replaced the hardware with a Linux-certified one?

While your solution may work, putting a system into hibernation requires a physical swap and failure to note that requirement and how to do so when making this type suggestion can cause users to try your suggestion and fail due to not having a physical swap space enabled.

Yes, hibernation requires swap, I’ve mentioned that in my previous comment. If you run systemctl hibernate and your ram does not fit into your swap space, systemd will simply report an error: “Not enough swap space for hibernation”

Also, such suggestions on a necro thread that has not seen activity for over 8 months is also very bad form since there have been many many changes in software as well as at least 1 complete release version upgrade in that time period.

Well, this thread is about a bug in Fedora 35, which is apparently still not fixed for everyone (using an up-to-date Fedora 35). Yes, there’s Fedora 36 but what’s wrong commenting on a thread about Fedora 35 (as mentioned in the original post), for an unsolved issue.

However, using hibernate as a workaround may not be useful if the bug also causes your system to freeze when resuming after hibernation.

Since this is a top search hit on DuckDuckGo, I’ll add that on one computer running Fedora 35, an upgrade to Fedora 36 using gnome-software fixed the issue, so the system can be put to sleep again (onboard Intel GPU on ASUS C246 Pro board, no additional PCIe graphics card). There are reports that unloading the nouveau driver might help but probably not if you have an Intel GPU as mentioned in this thread.

1 Like

Ideally, if one has found a solution that works for them there should be an update showing the solution and that post marked as the solution so others can see how the issue was resolved. Without a marked solution the thread is simply abandoned.

In this case the “solution” was buy new hardware. Do we really want that marked as a solution? I think it would be more accurate to say it went unsolved and no longer needs a solution.

Had the same problem (Dell Inc. Precision 7520) after updating to Fedora36 when I close the lid. If instead I suspend before from the PowerOff/Logout menu option, then it works fine so that is a simple solution for me.

@chemadiegor This topic refers to an older release of Fedora: this is unlikely to be related to your issue, even if the symptoms are comparable. Please open a new topic for your issue! Also, when opening a new topic, please add more information, especially logs from the previous boot which ended with the freeze (e.g., sudo journalctl --boot=-1 → feel free to anonymize what you consider private; e.g., MAC address, user name, and so on).