So I have a very new AMD-based thinkpad that I’ve been tinkering with for a couple of weeks now. There are multiple significant problems that are causing usability issues on the laptop, but for this, I want to look at suspend/resume.
I’m frequently (but not 100% of the time) having the problem where either the laptop doesn’t suspend (remains at full power, screen goes solid white). This can happen whether I close the laptop lid or suspend the system with
systemctl suspend. This machine came pre-installed with Windows. Though I did not see any sleep/suspend issues with Windows, I only ran it for one night.
Currently running kernel 5.3.9 (linuxPackages_latest, with linuxPackages_latest.acpi_call). I’ve set “acpi_backlight=none”, and enabled the
One of these failed attempts actually looks completely like a successful attempt in the log file:
Nov 09 10:23:24 garnet systemd-logind: Lid closed. Nov 09 10:23:24 garnet systemd-logind: Suspending... Nov 09 10:23:24 garnet systemd: Starting Pre-Sleep Actions... Nov 09 10:23:24 garnet systemd: pre-sleep.service: Succeeded. Nov 09 10:23:24 garnet systemd: Started Pre-Sleep Actions. Nov 09 10:23:24 garnet systemd: Reached target Sleep. Nov 09 10:23:24 garnet systemd: Starting Suspend... Nov 09 10:23:24 garnet systemd-sleep: Suspending system... Nov 09 10:23:24 garnet kernel: PM: suspend entry (deep)
This is a thinkpad x395, manufactured a few weeks ago.
- AMD Ryzen 7 PRO 3700U processor with Radeon Vega Mobile Gfx (yes, it appears that the grahpics adapter is integrated with the processor)
- Intel Wireless-AC 9260 network controller
- Realtek Semiconductor ethernet controller
And a lot of other things made by either Realtek or AMD.
I’ve researched this problem quite a lot and only found hints of things that might be related.
The first one has some advice on updating the GPU drivers. If I wanted to try that, how do I add it to my configuration.nix file?
And otherwise, how do I just start debugging?
I’ve published my full configuration files here: https://github.com/savannidgerinel/nixos-thinkpad-x395
(I’m also having network troubles, but I’ll post about that later after I’ve gotten this working).