[FR] AMD APU Main thread panic

Bug

Environment

  • CoolerControl version: 1.4.1
  • Linux Distribution name and version: Fedora 40 (KDE)
  • Affected device(s): IC f71808a (LM Sensors module: f71882fg)
  • inxi
System:
  Kernel: 6.10.11-200.fc40.x86_64 arch: x86_64 bits: 64 compiler: gcc
    v: 2.41-37.fc40
  Desktop: KDE Plasma v: 6.1.5 Distro: Fedora Linux 40 (KDE Plasma)
Machine:
  Type: Desktop System: MSI product: MS-7969 v: 1.0
    serial: <superuser required>
  Mobo: MSI model: A68HI AC (MS-7969) v: 1.0 serial: <superuser required>
    UEFI: American Megatrends v: 1.3 date: 04/13/2016
CPU:
  Info: quad core model: AMD A10-7800 Radeon R7 12 Compute Cores 4C+8G
    bits: 64 type: MCP arch: Steamroller rev: 1 cache: L1: 256 KiB L2: 4 MiB
  Speed (MHz): avg: 1546 high: 1900 min/max: 1400/3500 boost: enabled cores:
    1: 1900 2: 1492 3: 1397 4: 1396 bogomips: 27949
  Flags: avx ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
Graphics:
  Device-1: AMD Kaveri [Radeon R7 Graphics] vendor: Micro-Star MSI
    driver: amdgpu v: kernel arch: GCN-2 bus-ID: 00:01.0
  Display: wayland server: Xwayland v: 24.1.2 compositor: kwin_wayland
    driver: N/A resolution: 1600x900
  API: EGL v: 1.5 drivers: kms_swrast,radeonsi,swrast platforms:
    active: gbm,wayland,x11,surfaceless,device inactive: N/A
  API: OpenGL v: 4.6 compat-v: 4.5 vendor: amd mesa v: 24.1.7 glx-v: 1.4
    direct-render: yes renderer: AMD Radeon R7 Graphics (radeonsi kaveri LLVM
    18.1.6 DRM 3.57 6.10.11-200.fc40.x86_64)
  API: Vulkan v: 1.3.290 drivers: N/A surfaces: xcb,xlib,wayland devices: 2
Sensors:
  System Temperatures: cpu: 51.0 C mobo: 43.0 C gpu: amdgpu temp: 37.0 C
  Fan Speeds (rpm): cpu: 816 fan-2: 1738 fan-3: 0
  Power: 12v: N/A 5v: N/A 3.3v: 3.34 vbat: 3.25

Description

Cooler Control systems unit starts, and main thread panics. Note: fan speed works perfectly in KDE's System Monitor Widget (for fan 1 & 2), which tells me this isn't a hardware sensor/kernel/hwmon bug.

Logs and/or Screenshots

don't worry about the liquidctl fails, it's just because the service was down and I was manually running cooler control. THe output is identical otherwise.

RUST_BACKTRACE=1 sudo coolercontrold 
[2024-09-27T18:38:00Z INFO  coolercontrold] Logging Level: INFO
[2024-09-27T18:38:00Z INFO  coolercontrold] Initializing CoolerControl 1.4.1 running on Kernel 6.10.11-200.fc40.x86_64
[2024-09-27T18:38:00Z INFO  coolercontrold::config] Configuration file check successful
[2024-09-27T18:38:03Z INFO  coolercontrold] Initializing Devices...
[2024-09-27T18:38:03Z WARN  coolercontrold::repositories::liquidctl::liqctld_client] Could not establish socket connection to coolercontrol-liqctld, retry #1 - No such file or directory (os error 2)
[2024-09-27T18:38:04Z WARN  coolercontrold::repositories::liquidctl::liqctld_client] Could not establish socket connection to coolercontrol-liqctld, retry #2 - No such file or directory (os error 2)
[2024-09-27T18:38:05Z WARN  coolercontrold::repositories::liquidctl::liqctld_client] Could not establish socket connection to coolercontrol-liqctld, retry #3 - No such file or directory (os error 2)
[2024-09-27T18:38:06Z WARN  coolercontrold::repositories::liquidctl::liqctld_client] Could not establish socket connection to coolercontrol-liqctld, retry #4 - No such file or directory (os error 2)
[2024-09-27T18:38:07Z WARN  coolercontrold::repositories::liquidctl::liqctld_client] Could not establish socket connection to coolercontrol-liqctld, retry #5 - No such file or directory (os error 2)
[2024-09-27T18:38:08Z ERROR coolercontrold] Error initializing LIQUIDCTL Repo: Failed to connect to coolercontrol-liqctld after 5 tries
[2024-09-27T18:38:08Z INFO  coolercontrold::repositories::cpu_repo] Initialized CPU Devices: {"AMD A10-7800 Radeon R7, 12 Compute Cores 4C+8G":{"driver version":["6.8.5-301.fc40.x86_64"],"driver name":["k10temp"],"locations":["/sys/class/hwmon/hwmon1","/sys/devices/pci0000:00/0000:00:18.3","pci:v00001022d0000141Dsv00000000sd00000000bc06sc00i00"]}}
[2024-09-27T18:38:08Z INFO  coolercontrold::repositories::gpu::nvidia] Nvidia proprietary driver not found. Assuming not present. If you have a Nvidia card with the proprietary drivers installed, allow access to either NVML or the CLI tools: nvidia-smi and nvidia-settings.
[2024-09-27T18:38:08Z WARN  coolercontrold::repositories::gpu::amd] No AMDGPU load found: "/sys/devices/pci0000:00/0000:00:01.0"/device/gpu_busy_percent
^C[2024-09-27T18:38:08Z WARN  coolercontrold::repositories::gpu::amd] No AMDGPU load found: "/sys/devices/pci0000:00/0000:00:01.0"/device/gpu_busy_percent
[2024-09-27T18:38:08Z INFO  coolercontrold::repositories::gpu::gpu_repo] Initialized GPU Devices: {"amdgpu":{"driver name":["amdgpu"],"locations":["/sys/class/hwmon/hwmon0","/sys/devices/pci0000:00/0000:00:01.0","pci:v00001002d0000130Fsv00001462sd00007969bc03sc00i00"],"driver version":["6.8.5-301.fc40.x86_64"]}}
[2024-09-27T18:38:08Z WARN  coolercontrold::repositories::hwmon::fans] No pwm_enable found for fan#3 at location:"/sys/class/hwmon/hwmon3/device/pwm3_enable"
thread 'main' panicked at src/repositories/hwmon/devices.rs:151:10:

Checklist

  • I have not found another existing issue that deals with this problem.
  • I have filled out all sections of this template
  • I have attached log output and/or screenshots
  • I have read the Hardware Support section of the readme and applied all available steps.
  • I have not read any of the above
Edited by Rijnhard Hessel