update intel gpu error message to include kernel version

This commit is contained in:
Josh Hawkins
2026-07-15 08:21:09 -05:00
parent 6e9b9f35a4
commit 4c5ea3a890
+2 -1
View File
@@ -433,7 +433,8 @@ def get_intel_gpu_stats(
if not snapshot_a: if not snapshot_a:
logger.warning( logger.warning(
"Unable to collect Intel GPU stats: no DRM fdinfo entries found" "Unable to collect Intel GPU stats: no DRM fdinfo entries found"
"%s. Check that /proc is readable and the i915/xe driver is loaded", "%s. Check kernel version (required >= 6.5) and that /proc is readable"
" and the i915/xe driver is loaded",
f" for pdev {target_pdev}" if target_pdev else "", f" for pdev {target_pdev}" if target_pdev else "",
) )
return None return None