sudo nvidia-smi -pm 1
This “sollution” was found on an old youtube video. The creator encountered the same error when waking up the PC from hibernate so I gave it a shot. Perhaps it just didn’t happened yet but for some reason this seem to fix the issue.