Open ajoathan opened 11 months ago
After some digging in dmesg
today I discovered that part of the problem was the SimpleDRM driver that was enabled by default on my distribution kernel. It than get the drm index 0 (minor 0 as shown in dmesg
), and amdgpu would be assigned index 1 (minor 1).
After some search on the internet I discovered the boot parameter initcall_blacklist=simpledrm_platform_driver_init
tha can be used to inhibit SimpleDRM at boot time. After this most sensors are back on my system, except GPU power:
[alvaro@alvaro-gaming phoronix-test-suite]$ ./phoronix-test-suite system-sensors
Phoronix Test Suite v10.8.4
Supported Sensors For This System
cpu.fan-speed CPU Fan Speed: 2057 RPM
cpu.freq CPU Frequency (CPU0): 3546.34 Megahertz
cpu.freq CPU Frequency (CPU1): 400.00 Megahertz
cpu.freq CPU Frequency (CPU2): 400.00 Megahertz
cpu.freq CPU Frequency (CPU3): 3553.66 Megahertz
cpu.freq CPU Frequency (CPU4): 3857.20 Megahertz
cpu.freq CPU Frequency (CPU5): 4384.18 Megahertz
cpu.freq CPU Frequency (CPU6): 400.00 Megahertz
cpu.freq CPU Frequency (CPU7): 4203.22 Megahertz
cpu.freq CPU Frequency (CPU8): 4239.17 Megahertz
cpu.freq CPU Frequency (CPU9): 400.00 Megahertz
cpu.freq CPU Frequency (CPU10): 400.00 Megahertz
cpu.freq CPU Frequency (CPU11): 400.00 Megahertz
cpu.peak-freq CPU Peak Freq (Highest CPU Core Frequency): 4246 Megahertz
cpu.temp CPU Temperature: 49.38 Celsius
cpu.usage CPU Usage (CPU0): 0.00 Percent
cpu.usage CPU Usage (CPU1): 0.00 Percent
cpu.usage CPU Usage (CPU2): 0.00 Percent
cpu.usage CPU Usage (CPU3): 0.00 Percent
cpu.usage CPU Usage (CPU4): 0.00 Percent
cpu.usage CPU Usage (CPU5): 0.00 Percent
cpu.usage CPU Usage (CPU6): 0.00 Percent
cpu.usage CPU Usage (CPU7): 0.00 Percent
cpu.usage CPU Usage (CPU8): 0.00 Percent
cpu.usage CPU Usage (CPU9): 0.00 Percent
cpu.usage CPU Usage (CPU10): 0.00 Percent
cpu.usage CPU Usage (CPU11): 0.00 Percent
cpu.usage CPU Usage (Summary): 0.00 Percent
gpu.fan-speed GPU Fan Speed: 55.59 Percent
gpu.freq GPU Frequency: 300 Megahertz
gpu.memory-usage GPU Memory Usage: 124 Megabytes
gpu.temp GPU Temperature: 39.00 Celsius
gpu.usage GPU Usage: 0 Percent
hdd.read-speed Drive Read Speed (sda): 0.00 MB/s
hdd.read-speed Drive Read Speed (sdb): 0.00 MB/s
hdd.write-speed Drive Write Speed (sda): 0.00 MB/s
hdd.write-speed Drive Write Speed (sdb): 0.00 MB/s
memory.usage Memory Usage: 935 Megabytes
swap.usage Swap Usage: 0 Megabytes
sys.fan-speed System Fan Speed: 2057 RPM
sys.iowait System Iowait: 0.00 Percent
Unsupported Sensors For This System
- Ambient Temperature
- Cgroup Cpu Usage
- CPU Power Consumption
- CPU Voltage
- GPU Power Consumption
- GPU Voltage
- Drive Temperature
- Memory Temperature
- System Power Consumption
- System Temperature
- System Voltage
The only one I need who still not available is "GPU Power Consumption". But I will keep digging.
Recently I upgraded my system and noticed that phoronix stopped reporting the GPU Frequency and GPU Power Consumption for my AMD RX 580.
To test if the problem was the upgrade I reboot the system with the kernel 6.1 LTS from my distribution and with it phoronix is back monitoring this values:
Please note that the sensors for GPU Frequency, GPU Memory Usage, GPU Power Consumption and GPU Usage where listed as unsupported in the 6.5.5, and as supported with 6.1.55.
The only difference I see was the indexing that the GPU got on DRM. With 6.1.55:
And with 6.5.5:
But I don't know how these are defined or how to force then in order to test. Also I don't think this should influence the sensors reading.
I also didn't try to run this on other kernels, so I don't know when it started. I just try what I had easily available from my distro.
Some extra info:
The system info for kernel 6.1.55 is almost identical, but it show one extra line with the graphics frequency. I can post it here if anyone think it is relevant, along with any other data you may need to figure this out.
Any help is greatly appreciated.
Thanks in advance.