Error: Device /dev/dri/card0 does not exist after LXC update

I had the same issue, and in going through the steps, saw that the config said card0, but my commands all returned card1.
I edited the /etc/pve/lxc/xxx.conf file to reflect that, and it works.