diff --git a/library/sensors/sensors_python.py b/library/sensors/sensors_python.py index f50c1100..fe91c535 100644 --- a/library/sensors/sensors_python.py +++ b/library/sensors/sensors_python.py @@ -216,12 +216,14 @@ def frequency() -> float: @staticmethod def is_available() -> bool: global DETECTED_GPU - if GpuAmd.is_available(): - logger.info("Detected AMD GPU(s)") - DETECTED_GPU = GpuType.AMD - elif GpuNvidia.is_available(): + # Always use Nvidia GPU if available + if GpuNvidia.is_available(): logger.info("Detected Nvidia GPU(s)") DETECTED_GPU = GpuType.NVIDIA + # Otherwise, use the AMD GPU / APU if available + elif GpuAmd.is_available(): + logger.info("Detected AMD GPU(s)") + DETECTED_GPU = GpuType.AMD else: logger.warning("No supported GPU found") DETECTED_GPU = GpuType.UNSUPPORTED