Various scripts that I maintain

detect-gpu-issues: add /dev/dri/renderD128 check

Signed-off-by: Shiloh Fen <shiloh@shilohfen.com>

matrixfurry.com a5547db8 5d794a13

verified
Changed files
+9 -1
scripts
+9 -1
scripts/detect-gpu-issues.nu
··· 6 6 7 7 # Detect & report problems with the GPU 8 8 def main [] { 9 - if (vulkaninfo --summary 9 + let vkinfo = vulkaninfo --summary o+e>| $in 10 + 11 + if ($vkinfo 12 + | str contains "Could not open device /dev/dri/renderD128") or ($vkinfo 13 + | str contains "failed to open device /dev/dri/renderD128") { 14 + report "Could not access GPU rendering subsystem" 15 + } 16 + 17 + if ($vkinfo 10 18 | parse " deviceType{whitespace}= {device_type}" 11 19 | where device_type == "PHYSICAL_DEVICE_TYPE_DISCRETE_GPU" 12 20 | length) == 0 {