Created attachment 136328 [details] errors caused by powerdevil running on the setting "acpi_enforce_resources=lax" SUMMARY Setting "acpi_enforce_resources=lax" causes powerdevil to conflict with other devices. In my case it was with AMDGPU and CPU. Resource mode "lax" is used to be able to access the SMbus controller. This bug is posted for PowerDevil as uninstalling it resolves the errors. STEPS TO REPRODUCE 1. Set "acpi_enforce_resources=lax" as kernel parameter 2. Check journal for AMDGPU (dmesg | grep amdgpu) 3. OBSERVED RESULT Repetitive error messages in journal for AMDGPU while PowerDevil is installed and active. No more errors when PowerDevil uninstalled. EXPECTED RESULT Setting "acpi_enforce_resources=lax" is not uncommon, so i would expect it to not cause extra issues. I could however be wrong, if setting it to lax is known to produce unexpected behaviour, then this bug can be closed. I decided to report it anyway in case it actually is a bug. SOFTWARE/OS VERSIONS Software: Arch Linux x86_64 Kernel: 5.11.2-zen1-1-zen KDE Plasma Version: 5.21.2 KDE Frameworks Version: 5.79.0 Qt Version: 5.15.2 ADDITIONAL INFORMATION
I'm experiencing these same messages in dmesg. Whatever the cause also messes with my ability to set GPU clocks or get any temperature/fan speed information from amdgpu. Resolved by removing powerdevil package or reverting powerdevil to 5.21.0.r2408.g1aba3c6b-1 (not necessarily the last 'good' version) so definitely seems to be powerdevil triggering something with amdgpu and i2c. Possibly related issue in amdgpu: https://gitlab.freedesktop.org/drm/amd/-/issues/1470
Testing manjaro packages I have locally, something broke between .0 and .1. Looking at the git log for 5.21 branch, the only significant change since .0 was d1bf7bfc. I suspect whatever that does is triggering this i2c issue in amdgpu.
AFAICT Powerdevil doesn't actually do any I2C accesses by itself, but it does call ddcutil, which does. Filed a ddcutil issue: https://github.com/rockowitz/ddcutil/issues/194
Is this still an issue with the latest kernel and ddcutil?