hubblo-org / scaphandre

⚡ Energy consumption metrology agent. Let "scaph" dive and bring back the metrics that will help you make your systems and applications more sustainable !
Apache License 2.0
1.6k stars 106 forks source link

Power of 0W for all processes on Windows 11 #376

Open NIFr3d opened 6 months ago

NIFr3d commented 6 months ago

Bug description

On my system (Windows 11, I7 8750H), all processes have value 0W and the host has 0W too while there's a Socket0 with a Watt value : image

I suspect it could be coming from the weird message when starting scaphandre "Couldn't start Windows service dispatcher. Got : IO error in winapi call", but honestly, I have no clue.

To Reproduce

start scaphandre on windows 11

Expected behavior

Have the actual values for each process

Screenshots

The driver seems to be running fine : image

Environment

Additional context

NIFr3d commented 6 months ago

I compiled in debug mode and now got this error image If someone have any idea how to make Scaphandre work for me, I'd take it.

bpetit commented 6 months ago

Hi ! Did you install the package as an Administrator ? Is the system service in services.msc looking fine as well ?

NIFr3d commented 6 months ago

Tried reinstalling it as Administrator, didn't change anything. The service appears as running but no metrics : image

Starting Scaphandre in an admin powershell also doesn't help.

Nikolopoulos commented 5 months ago

Experiencing the exact same issue with Windows 10. 0W reported, and the same IO error in winapi call. Let me know what kind of information I can provide in addition to help you with this one