Open GIJack opened 2 months ago
Could you include a debug snapshot?
LACT-sysfs-snapshot-20240428-184224.tar.gz
Debug snapshot
The snapshot only contains a single GPU in /sys
, which is weird. Could you show the output of
ls -la /sys/class/drm/
And also: does restarting the service (sudo systemctl restart lactd
) change anything?
The snapshot only contains a single GPU in
/sys
, which is weird. Could you show the output ofls -la /sys/class/drm/
And also: does restarting the service (
sudo systemctl restart lactd
) change anything?
it does, weird. But it doesn't see both of them as enabled.
By "it does" - do you mean that both GPUs are detected in LACT? And what do you mean "doesn't seem them as enabled"?
yes, when lact is restarted when the system is running, both GPUs are found. When it runs on boot only one is.
This seems to be another manifestation of the issue with LACT starting too early in the boot process, before all the sysfs entries are initialized. The current logic waits for 10 seconds since the startup of the system plus 1 GPU available, which I guess in your case isn't entirely correct.
I'll try to see if there's a way to make it more reliable for multi-gpu systems
https://github.com/ilya-zlobintsev/LACT/commit/ea633220835b83df807e485aa887219b711fe388 should help with this. Please update to the latest commit, set log_level
to debug
in /etc/lact/config.yaml
and tell me if this solves the problem. If it doesn't, then post the lact startup log from journalctl -u lactd -e
Checklist
Bug description
I have a pair of GPUs, but only one is detected
from the amdcovc tool that sees both GPUs
your tool only sees one:
System info