I ran into this right after upgrading a Debian box from Trixie to Forky. I did find that recompiling with nvml works, but so does downgrading to the 0.7.2 Trixie mangohud debs. I suspect there may be an upstream regression for the case where xnvctrl is available but nvml is not.