Linux distribution that has working sleep?

Curious to know if anyone had been able to get sleep working correctly. Or hibernate for that matter.

Well it sleeps okay but fails to wake and caps lock doesn’t respond.

After a number of trial and error attempts i was able to get it to wake on fedora but it takes 2 minutes.

Which Linux distro are you using?

Tried both kubuntu and fedora

Which release version?
(if rolling release without a release version, skip this question)

Latest releases of 25.10 and 43 and

(If rolling release, last date updated?)

Which kernel are you using?

Latest

Which BIOS version are you using?

Latest

Which Framework Laptop 16 model are you using? (AMD Ryzen™ 7040 Series)

Ai 300

1 Like

journalctl --since "10 min ago" did you find any error?

1 Like

Could not get suspend to RAM working on NixOS unstable. I’m using suspend-to-idle at the moment, and have also gotten hibernate working. I still prefer Suspend to RAM, so I’d love to hear if anyone’s got it working on the AI300.

AMD 7040 series and AI 300 series don’t support suspend to RAM, forcing them using smokeless UMAF will cause the computer unable to resume

2 Likes

Aw that’s a shame. Is there any known effort to add support?

1 Like

FWIW might not be true sleep but I’ve had good luck with uh think it was BIOS 3.03?, 7840HS with 780M, Ubuntu 24.04.4 LTS by taking the steps of quitting chat apps and then minimizing all windows so left with just a blank desktop then suspending. Might hang for a second or two on waking but then pretty much always allows me to enter password/fingerprint and resumes.

just updated BIOS though and hoping this continues to be the case?

Not true, suspend-to-ram has always worked (AMD 7040). There were some issues with it unable to wake again sometimes on older bios, but it’s always been a working feature. Otherwise, there would have been no issue with the keyboard waking it up in peoples’ bags.

Looking through that output and searching for error I did see a few things.

A few lines about fonts but that is likely not related.

Then this
Feb 14 21:57:53 fedora kernel: usb 3-5: new full-speed USB device number 6 using xhci_hcd
Feb 14 21:57:53 fedora kernel: ucsi_acpi USBC000:00: unknown error 256

Feb 14 21:57:58 Gears NetworkManager[1413]: [1771124278.5071] device (p2p-dev-wlp192s0): error setting IPv4 forwarding to ‘0’: Resource temporarily unavailable

Feb 14 21:57:59 Gears nvidia-powerd[1206]: ERROR! SBIOS support not found for NVPCF GET_SUPPORTED function, exiting !!
Feb 14 21:57:59 Gears nvidia-powerd[1206]: ERROR! Error in getting the NvPCF static configuration
Feb 14 21:57:59 Gears nvidia-powerd[1206]: Quit successfully

Feb 14 21:58:05 Gears sddm-helper-start-wayland[1611]: “QSGContext::initialize: depth buffer support missing, expect rendering errors\nQSGContext::initialize: stencil buffer support missing, expect rendering errors\n”

Feb 14 21:58:13 Gears kwin_wayland_wrapper[2333]: The XKEYBOARD keymap compiler (xkbcomp) reports:
Feb 14 21:58:13 Gears kwin_wayland_wrapper[2333]: > Warning: Could not resolve keysym XF86OK
Feb 14 21:58:13 Gears kwin_wayland_wrapper[2333]: > Warning: Could not resolve keysym XF86GoTo
Feb 14 21:58:13 Gears kwin_wayland_wrapper[2333]: > Warning: Could not resolve keysym XF86VendorLogo
Feb 14 21:58:13 Gears kwin_wayland_wrapper[2333]: > Warning: Could not resolve keysym XF86MediaSelectProgramGuide
Feb 14 21:58:13 Gears kwin_wayland_wrapper[2333]: > Warning: Could not resolve keysym XF86MediaSelectProgramGuide
Feb 14 21:58:13 Gears kwin_wayland_wrapper[2333]: > Warning: Could not resolve keysym XF86MediaSelectHome
Feb 14 21:58:13 Gears kwin_wayland_wrapper[2333]: > Warning: Could not resolve keysym XF86MediaLanguageMenu
Feb 14 21:58:13 Gears kwin_wayland_wrapper[2333]: > Warning: Could not resolve keysym XF86MediaTitleMenu
Feb 14 21:58:13 Gears kwin_wayland_wrapper[2333]: > Warning: Could not resolve keysym XF86AudioChannelMode
Feb 14 21:58:13 Gears kwin_wayland_wrapper[2333]: > Warning: Could not resolve keysym XF86MediaSelectPC
Feb 14 21:58:13 Gears kwin_wayland_wrapper[2333]: > Warning: Could not resolve keysym XF86MediaSelectTV
Feb 14 21:58:13 Gears kwin_wayland_wrapper[2333]: > Warning: Could not resolve keysym XF86MediaSelectCable
Feb 14 21:58:13 Gears kwin_wayland_wrapper[2333]: > Warning: Could not resolve keysym XF86MediaSelectVCR
Feb 14 21:58:13 Gears kwin_wayland_wrapper[2333]: > Warning: Could not resolve keysym XF86MediaSelectVCRPlus
Feb 14 21:58:13 Gears kwin_wayland_wrapper[2333]: > Warning: Could not resolve keysym XF86MediaSelectSatellite
Feb 14 21:58:13 Gears kwin_wayland_wrapper[2333]: > Warning: Could not resolve keysym XF86MediaSelectCD
Feb 14 21:58:13 Gears kwin_wayland_wrapper[2333]: > Warning: Could not resolve keysym XF86MediaSelectTape
Feb 14 21:58:13 Gears kwin_wayland_wrapper[2333]: > Warning: Could not resolve keysym XF86MediaSelectRadio
Feb 14 21:58:13 Gears kwin_wayland_wrapper[2333]: > Warning: Could not resolve keysym XF86MediaSelectTuner
Feb 14 21:58:13 Gears kwin_wayland_wrapper[2333]: > Warning: Could not resolve keysym XF86MediaPlayer
Feb 14 21:58:13 Gears kwin_wayland_wrapper[2333]: > Warning: Could not resolve keysym XF86MediaSelectTeletext
Feb 14 21:58:13 Gears kwin_wayland_wrapper[2333]: > Warning: Could not resolve keysym XF86MediaSelectAuxiliary
Feb 14 21:58:13 Gears kwin_wayland_wrapper[2333]: > Warning: Could not resolve keysym XF86MediaPlaySlow
Feb 14 21:58:13 Gears kwin_wayland_wrapper[2333]: > Warning: Could not resolve keysym XF86NumberEntryMode
Feb 14 21:58:13 Gears kwin_wayland_wrapper[2333]: > Warning: Could not resolve keysym XF86RefreshRateToggle
Feb 14 21:58:13 Gears kwin_wayland_wrapper[2333]: > Warning: Could not resolve keysym XF86Accessibility
Feb 14 21:58:13 Gears kwin_wayland_wrapper[2333]: > Warning: Could not resolve keysym XF86DoNotDisturb
Feb 14 21:58:13 Gears kwin_wayland_wrapper[2333]: Errors from xkbcomp are not fatal to the X server

Feb 14 21:58:14 Gears org_kde_powerdevil[2537]: Error(s) opening ddc devices
Feb 14 21:58:14 Gears org_kde_powerdevil[2537]: Error EACCES(-13): Permission denied opening /dev/i2c-3
Feb 14 21:58:14 Gears org_kde_powerdevil[2537]: Error EACCES(-13): Permission denied opening /dev/i2c-4
Feb 14 21:58:14 Gears org_kde_powerdevil[2537]: Error EACCES(-13): Permission denied opening /dev/i2c-5
Feb 14 21:58:14 Gears org_kde_powerdevil[2537]: Error EACCES(-13): Permission denied opening /dev/i2c-6
Feb 14 21:58:14 Gears org_kde_powerdevil[2537]: Error EACCES(-13): Permission denied opening /dev/i2c-7
Feb 14 21:58:14 Gears org_kde_powerdevil[2537]: Error EACCES(-13): Permission denied opening /dev/i2c-8
Feb 14 21:58:14 Gears org_kde_powerdevil[2537]: Error EACCES(-13): Permission denied opening /dev/i2c-9
Feb 14 21:58:14 Gears org_kde_powerdevil[2537]: Error EACCES(-13): Permission denied opening /dev/i2c-10
Feb 14 21:58:14 Gears org_kde_powerdevil[2537]: Error EACCES(-13): Permission denied opening /dev/i2c-11
Feb 14 21:58:14 Gears org_kde_powerdevil[2537]: Error EACCES(-13): Permission denied opening /dev/i2c-12
Feb 14 21:58:14 Gears org_kde_powerdevil[2537]: Error EACCES(-13): Permission denied opening /dev/i2c-13
Feb 14 21:58:14 Gears org_kde_powerdevil[2537]: [ 2537] Error EACCES(-13): Permission denied opening /dev/i2c-3
Feb 14 21:58:14 Gears org_kde_powerdevil[2537]: Error EACCES(-13): Permission denied opening /dev/i2c-14
Feb 14 21:58:14 Gears org_kde_powerdevil[2537]: Error EACCES(-13): Permission denied opening /dev/i2c-15
Feb 14 21:58:14 Gears org_kde_powerdevil[2537]: Error EACCES(-13): Permission denied opening /dev/i2c-16
Feb 14 21:58:14 Gears org_kde_powerdevil[2537]: Error EACCES(-13): Permission denied opening /dev/i2c-17
Feb 14 21:58:14 Gears org_kde_powerdevil[2537]: Error EACCES(-13): Permission denied opening /dev/i2c-18
Feb 14 21:58:14 Gears org_kde_powerdevil[2537]: Error EACCES(-13): Permission denied opening /dev/i2c-19
Feb 14 21:58:14 Gears org_kde_powerdevil[2537]: Error EACCES(-13): Permission denied opening /dev/i2c-20
Feb 14 21:58:14 Gears org_kde_powerdevil[2537]: [ 2537] Error EACCES(-13): Permission denied opening /dev/i2c-4
Feb 14 21:58:14 Gears org_kde_powerdevil[2537]: [ 2537] Error EACCES(-13): Permission denied opening /dev/i2c-5
Feb 14 21:58:14 Gears org_kde_powerdevil[2537]: [ 2537] Error EACCES(-13): Permission denied opening /dev/i2c-6
Feb 14 21:58:14 Gears org_kde_powerdevil[2537]: [ 2537] Error EACCES(-13): Permission denied opening /dev/i2c-7
Feb 14 21:58:14 Gears org_kde_powerdevil[2537]: [ 2537] Error EACCES(-13): Permission denied opening /dev/i2c-8
Feb 14 21:58:14 Gears org_kde_powerdevil[2537]: [ 2537] Error EACCES(-13): Permission denied opening /dev/i2c-9
Feb 14 21:58:14 Gears org_kde_powerdevil[2537]: [ 2537] Error EACCES(-13): Permission denied opening /dev/i2c-10
Feb 14 21:58:14 Gears org_kde_powerdevil[2537]: [ 2537] Error EACCES(-13): Permission denied opening /dev/i2c-11
Feb 14 21:58:14 Gears org_kde_powerdevil[2537]: [ 2537] Error EACCES(-13): Permission denied opening /dev/i2c-12
Feb 14 21:58:14 Gears org_kde_powerdevil[2537]: [ 2537] Error EACCES(-13): Permission denied opening /dev/i2c-13
Feb 14 21:58:14 Gears org_kde_powerdevil[2537]: [ 2668] (dw_recheck_displays_func) Recheck interval: Sleeping for 200 milliseconds
Feb 14 21:58:14 Gears org_kde_powerdevil[2537]: [ 2537] Error EACCES(-13): Permission denied opening /dev/i2c-14
Feb 14 21:58:14 Gears org_kde_powerdevil[2537]: [ 2537] Error EACCES(-13): Permission denied opening /dev/i2c-15
Feb 14 21:58:14 Gears org_kde_powerdevil[2537]: [ 2537] Error EACCES(-13): Permission denied opening /dev/i2c-16
Feb 14 21:58:14 Gears org_kde_powerdevil[2537]: [ 2537] Error EACCES(-13): Permission denied opening /dev/i2c-17
Feb 14 21:58:14 Gears org_kde_powerdevil[2537]: [ 2537] Error EACCES(-13): Permission denied opening /dev/i2c-18
Feb 14 21:58:14 Gears org_kde_powerdevil[2537]: [ 2537] Error EACCES(-13): Permission denied opening /dev/i2c-19
Feb 14 21:58:14 Gears org_kde_powerdevil[2537]: [ 2537] Error EACCES(-13): Permission denied opening /dev/i2c-20

Feb 14 21:58:15 Gears systemd[1824]: Started xdg-desktop-portal.service - Portal service.
Feb 14 21:58:15 Gears kwin_wayland[2170]: Failed to register with host portal QDBusError(“org.freedesktop.portal.Error.Failed”, “Could not register app ID: Unable to open /proc/2170/root”)
Feb 14 21:58:15 Gears ksmserver[2372]: Failed to register with host portal QDBusError(“org.freedesktop.portal.Error.Failed”, “Could not register app ID: App info not found for ‘org.kde.ksmserver’”)
Feb 14 21:58:15 Gears kactivitymanagerd[2486]: Failed to register with host portal QDBusError(“org.freedesktop.portal.Error.Failed”, “Could not register app ID: App info not found for ‘org.kde.ActivityManager’”)
Feb 14 21:58:15 Gears kded6[2375]: Failed to register with host portal QDBusError(“org.freedesktop.portal.Error.Failed”, “Could not register app ID: App info not found for ‘org.kde.kded6’”)
Feb 14 21:58:15 Gears xembedsniproxy[2539]: Failed to register with host portal QDBusError(“org.freedesktop.portal.Error.Failed”, “Could not register app ID: App info not found for ‘org.kde.xembedsniproxy’”)
Feb 14 21:58:15 Gears gmenudbusmenuproxy[2534]: Failed to register with host portal QDBusError(“org.freedesktop.portal.Error.Failed”, “Could not register app ID: App info not found for ‘org.kde.gmenudbusmenuproxy’”)
Feb 14 21:58:15 Gears polkit-kde-authentication-agent-1[2536]: Failed to register with host portal QDBusError(“org.freedesktop.portal.Error.Failed”, “Could not register app ID: Unable to open /proc/2536/root”)
Feb 14 21:58:15 Gears org_kde_powerdevil[2537]: Failed to register with host portal QDBusError(“org.freedesktop.portal.Error.Failed”, “Could not register app ID: App info not found for ‘org.kde.org_kde_powerdevil’”)
Feb 14 21:58:15 Gears ksmserver[2372]: Failed to register with host portal QDBusError(“org.freedesktop.portal.Error.Failed”, “Could not register app ID: App info not found for ‘org.kde.ksmserver’”)
Feb 14 21:58:15 Gears kactivitymanagerd[2486]: Failed to register with host portal QDBusError(“org.freedesktop.portal.Error.Failed”, “Could not register app ID: App info not found for ‘org.kde.ActivityManager’”)
Feb 14 21:58:15 Gears kded6[2375]: Failed to register with host portal QDBusError(“org.freedesktop.portal.Error.Failed”, “Could not register app ID: App info not found for ‘org.kde.kded6’”)
Feb 14 21:58:15 Gears kwin_wayland[2170]: Failed to register with host portal QDBusError(“org.freedesktop.portal.Error.Failed”, “Could not register app ID: Unable to open /proc/2170/root”)
Feb 14 21:58:15 Gears ksecretd[1918]: Failed to register with host portal QDBusError(“org.freedesktop.portal.Error.Failed”, “Could not register app ID: Connection already associated with an application ID”)
Feb 14 21:58:15 Gears polkit-kde-authentication-agent-1[2536]: Failed to register with host portal QDBusError(“org.freedesktop.portal.Error.Failed”, “Could not register app ID: Unable to open /proc/2536/root”)
Feb 14 21:58:15 Gears gmenudbusmenuproxy[2534]: Failed to register with host portal QDBusError(“org.freedesktop.portal.Error.Failed”, “Could not register app ID: App info not found for ‘org.kde.gmenudbusmenuproxy’”)
Feb 14 21:58:15 Gears xdg-desktop-portal-kde[2538]: Failed to register with host portal QDBusError(“org.freedesktop.portal.Error.Failed”, “Could not register app ID: Connection already associated with an application ID”)
Feb 14 21:58:15 Gears kaccess[2535]: Failed to register with host portal QDBusError(“org.freedesktop.portal.Error.Failed”, “Could not register app ID: Connection already associated with an application ID”)
Feb 14 21:58:15 Gears xembedsniproxy[2539]: Failed to register with host portal QDBusError(“org.freedesktop.portal.Error.Failed”, “Could not register app ID: App info not found for ‘org.kde.xembedsniproxy’”)
Feb 14 21:58:15 Gears org_kde_powerdevil[2537]: Failed to register with host portal QDBusError(“org.freedesktop.portal.Error.Failed”, “Could not register app ID: Connection already associated with an application ID”)
Feb 14 21:58:15 Gears systemd[1]: Starting setroubleshootd.service - SETroubleshoot daemon for processing new SELinux denial logs…
Feb 14 21:58:15 Gears kdeconnectd[2783]: Failed to register with host portal QDBusError(“org.freedesktop.portal.Error.Failed”, “Could not register app ID: Connection already associated with an application ID”)
Feb 14 21:58:15 Gears systemd[1]: Starting packagekit.service - PackageKit Daemon…
Feb 14 21:58:15 Gears xwaylandvideobridge[2790]: Failed to register with host portal QDBusError(“org.freedesktop.portal.Error.Failed”, “Could not register app ID: Connection already associated with an application ID”)
Feb 14 21:58:15 Gears DiscoverNotifier[2811]: Failed to register with host portal QDBusError(“org.freedesktop.portal.Error.Failed”, “Could not register app ID: Connection already associated with an application ID”)

Not sure what would be triggering the USB error currently have 3 usb c, a usb a, the micro sd reader and a audio jack in the machine but nothing in them.

Going to try removing all of them and see if that makes a difference.

I did get the full output here in pastebin.

1 Like

After removing all the expansion cards erbooting and trying it again made no difference. It still gives me the USB error as well.

1 Like

Yeah, this is s2idle as well. When I checked, that was the only option showing as available.

Oh if that was the only delay I saw I would be very happy with it. Didn’t really expect it to work as well as sleep and wake does on my Surface Laptop 7.

Yeah, I think I stopped trying and then switched to AI 300 before the bios upgrade that fixed it then.

1 Like

Still seems to work so far with BIOS 4.3 and I’m hopeful the keyboard/macropad updates will halt any keypresses (they were rare but I had previously experienced them)