hass-agent / HASS.Agent

Unofficial development project for the HASS.Agent platform.
https://hass-agent.io
MIT License
389 stars 11 forks source link

Bug: Hass-agent crashes when gpu driver is upgraded #146

Open mark007 opened 2 months ago

mark007 commented 2 months ago

Please make sure that the issue you're planning to report is not already registered :)


Describe the bug I noticed today when upgrading my nvidia drivers, the hass-agent disappeared from the task tray. I have a gpu load sensor, which I assume may have fired while the driver was upgrading.

To Reproduce Steps to reproduce the behavior:

  1. Add a gpu load sensor that runs regularly, eg every second, or in my case every 10 seconds.
  2. Update the gpu driver and don't restart the PC. Note the hass-agent has disappeared from the running task tray icons.

Expected behavior I assume it should have an internal retry mechanism for all sensors like this, to retry x times / indefinitely if some error occurs while trying to read the data from in this case the gpu, but could be the case for anything I guess.

Screenshots na

Misc info (please complete the following information):

Please check what's applicable (multiple answers possible):

Additional context Add any other context about the problem here.

Logs If possible, please provide the logs of HASS.Agent and - if applicable - the Satellite Service. You can find HASS.Agent's logs by going to the main window, then Configuration -> Logging -> open logs folder. The Satellite Service's logs are in the same window, but the Satellite Service tab -> open service logs folder.

amadeo-alex commented 2 months ago

Hello,

Interesting, this might be related to either the virtual desktop management library or the LibreHardwareMonitor library. Could you please provide logs from the time when the crash occurred? Were there any Windows Even Viewer logs that might be related to this?