[Bug]: GPU not recognized on windows
Description
When running the agent on Windows, no GPU is detected. I suppose this is due to missing logic to handle GPU monitoring on Windows.
Expected Behavior
The beszel agent can monitor GPUs on Windows
Steps to Reproduce
- Compile the agent for Windows
- Add your Windows PC to your beszel instance
- No GPUs are recognized
OS / Architecture
windows/amd64
Beszel version
0.9.1
Installation method
Docker
Configuration
Hub Logs
Agent Logs
2025/02/23 02:43:48 DEBUG GPU err="no GPU found - install nvidia-smi, rocm-smi, or tegrastats"
What GPU model?
My bad, I should have been more specific: OS: Windows 11 Pro Version 10.0.22631.4890 GPU: Amd Radeon RX 7900 XTX CPU Intel I7 14700k
I pushed a possible fix for this yesterday if you want to pull the latest changes from the repo and try compiling again.
Haven't actually tested on Windows yet.
@arno4000 @henrygd
Should be all good ✅
sorry for not responding so long, nice work!
Did you get this working for AMD (7900XTX also), if so which steps did you take?
@alepouna AMD cards may not work on Windows currently, as it relies on rocm-smi.
For more info see #737. I will merge this issue with that one.