You are not logged in.
sensors returns the following:
amdgpu-pci-0300
Adapter: PCI adapter
vddgfx: 725.00 mV
fan1: 65488 RPM (min = 0 RPM, max = 4950 RPM)
edge: +41.0°C (crit = +100.0°C, hyst = -273.1°C)
(emerg = +105.0°C)
junction: +42.0°C (crit = +102.0°C, hyst = -273.1°C)
(emerg = +107.0°C)
mem: +48.0°C (crit = +120.0°C, hyst = -273.1°C)
(emerg = +125.0°C)
power1: 8.00 W (cap = 80.00 W)
acpitz-acpi-0
Adapter: ACPI interface
temp1: +39.0°C (crit = +114.0°C)
k10temp-pci-00c3
Adapter: PCI adapter
Tctl: +39.5°C
Tdie: +39.5°C
dell_smm-virtual-0
Adapter: Virtual device
Processor Fan: 0 RPM
Video Fan: 2019 RPM
Other: +39.0°C
CPU: +43.0°C
Ambient: +40.0°C
GPU: +40.0°C
Other: +41.0°C
amdgpu-pci-0700
Adapter: PCI adapter
vddgfx: 749.00 mV
vddnb: 893.00 mV
edge: +38.0°C
power1: 2.00 mW
iwlwifi_1-virtual-0
Adapter: Virtual device
temp1: N/A
BAT0-acpi-0
Adapter: ACPI interface
in0: 12.65 V
curr1: 1000.00 uA
What is the difference between k10temp-pci-00c3 values and the CPU value of dell_smm-virtual-0? The former is usually much higher than the later under load (around +20c). Following the guide, I can use ryzenadj to set he maximum temperature which is read by k10temp-pci-00c3. However, the script to control fans use the CPU and GPU temperatures from dell_smm-virtual-0.
Next problem is suspending. I have enabled S3 sleep via a bios hack. The only way I can make it suspend to ram is to close the lid and then write "mem" to "/sys/power/state" via ssh. If the lid is open, it suspend and resume immediately. It does so under gnome or KDE. I have tried disabling all devices in "/proc/acpi/wakeup". When I do "systemctl suspend", I get an error "systemd-sleep[12894]: Failed to find location to hibernate to: Function not implemented".
My boot parameters:
root=LABEL=Roots rootflags=subvol=/roots/arch rw quiet splash selinux=0 amdgpu.runpm=0
dmesg | grep S3
[ 0.383216] ACPI: (supports S0 S3 S4 S5)
Power states:
cat /sys/power/state
freeze mem disk
cat /sys/power/disk
platform shutdown reboot [suspend] test_resume
cat /sys/power/mem_sleep
s2idle [deep]
Systemd sleep.conf:
[Sleep]
SuspendMode=suspend
SuspendState=mem
HibernateMode=suspend
HibernateState=mem
Offline