We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ba76295 commit a91f8e6Copy full SHA for a91f8e6
xpra/codecs/nvidia/util.py
@@ -88,7 +88,7 @@ def _has_nvidia_hardware() -> bool | None:
88
if output:
89
log(f"has_nvidia_hardware() found NVIDIA GPU(s) using nvidia-smi: {output}")
90
return True
91
- except (FileNotFoundError, subprocess.CalledProcessError):
+ except (FileNotFoundError, subprocess.CalledProcessError, OSError):
92
log("has_nvidia_hardware() nvidia-smi command not found or failed")
93
# hope for the best
94
log("has_nvidia_hardware() unable to ascertain, returning None")
0 commit comments