That error has nothing to do with the display-layout. That looks like a problem with the gpu-2404 provider. Could you paste the output from:
snap interfaces | grep gpu-2404
[update]
Having thought a bit longer…
Clearly the gpu-2404 content interface is connected (or you’d get a different error) but the content it should provide isn’t visible. That isn’t something that happens frequently, but it may be a snapd issue. There are some similar problems reported:
It is possible that you can work around this by disconnecting and reconnecting the interface:
snap disconnect ubuntu-frame:gpu-2404
snap connect ubuntu-frame:gpu-2404 mesa-2404
Or by removing and reinstalling the snap:
snap remove ubuntu-frame
snap install ubuntu-frame