Hello,
just a little feedback from Framework 13 AMD Batch 5 with Debian 12 and backport kernel 6.5.3-1~bpo12+1
Almost everything works out the box except some bugs (could be usefull to list it / I spend a lot of time to search all these informations) :
-
Impossible to resume from suspend (black screen while power led is full on) : download last amdgpu firmware from kernel/git/firmware/linux-firmware.git - Repository of firmware blobs for use with the Linux kernel and extract in /usr/lib/firmware/ (see [RESOLVED] FW13 Ryzen7640 on Debian with 3.03 Bios: Cannot suspend ) . I didn’t try firmware-amd-graphics from sid.
-
White flashing glitchs after resolution change or sometimes after wake from suspend, resolved by adding kernel parameter :
amdgpu.sg_display=0
(see [RESPONDED] Screen flashing partially white on Framework 13 AMD, Ubuntu 22.04 ) -
High battery usage during sleep (s2idle) : added kernel parameter
rtc_cmos.use_acpi_alarm=1
(see [RESPONDED] AMD loses battery overnight - #2 by Mario_Limonciello and https://gitlab.freedesktop.org/drm/amd/-/blob/master/scripts/amd_s2idle.py?ref_type=heads )
I’ve to test if USB A module is also in cause
You may also precise somethings specific to AMD (there is a lot of confusion in the threads no precising if what is proposed is intended for intel of AMD) for example :
-
Do not use :
nvme.noacpi=1
(see [TRACKING] Cannot resume from suspend on AMD - #14) -
There is no deep suspend ; only s2idle available on AMD (see [RESPONDED] AMD 7040 Sleep States ) :
cat /sys/power/mem_sleep = [s2idle] (so not usefull to tweak withmem_sleep_default=deep
) -
FOSS drivers (amdgpu / mesa) ships an old version of openCL 1.1 (from
clinfo
).
To install AMD driver for openCL ; see here : Radeon™ Software for Linux® Installation — amdgpu graphics and compute stack unknown-build documentation /// Index of /amdgpu-install/latest/ .
I couldn’t compile driver for upstream kernel (driver is for ubuntu LTS 22.04) / dkms build fails. So not possible to install the full set of AMD drivers from here.
But I managed to install only opencl libraries (works at least for darktable) :- Download ubuntu 22.04 DEB
apt install ./amdgpu-install-VERSION.deb
amdgpu-install --usecase=opencl --no-dkms --no-32
And, could you precise (not framework related, more linux) that is not possible with newer kernels, to have secure boot AND hibernation, due to kernel lockdown (or need to patch the kernel) ?
Thank you very much !