Vulkan: No DRI3 support detected - required for presentation

I randomly started getting the error message in the title whenever I tried to launch a Vulkan app at some point within the last couple days. I last successfully played a Steam game less than a week ago and had no issues. I didn’t try to use Vulkan again until just now and got that error. In the interim, to my knowledge, I haven’t changed anything – I made a new NixOS generation to change something in nix.conf, but that’s about it – and now, whenever I try to start any app that requires Vulkan, I get nothing except

vulkan: No DRI3 support detected - required for presentation
Note: you can probably enable DRI3 in your Xorg config

I’m using Plasma 6 on Wayland. I have no Xorg config to speak of. From what I seem to be able to find, Xwayland supports DRI3 out of the box and there’s no way to turn that off.

I’ve tried rolling back to an earlier NixOS generation, which changed nothing. I’ve tried installing AMDVLK – all this changed was that trying to launch a Vulkan app now immediately segfaults on startup (setting the environment variable AMD_VULKAN_ICD=RADV before starting the application restores the “No DRI3 support detected” behavior). I’m not sure how to reinstall graphics drivers on NixOS, or if that’s something that even can be a problem thanks to its immutable nature. I have no idea what else to try. DuckDuckGo is not being especially helpful.

Any ideas?

UPDATE: If I start Plasma under X11 instead of Wayland, Vulkan works just fine. I would prefer to get it working under Wayland though.

Found this other thread with a very similar issue. Trying cd /etc/nixos && nix flake update && nixos-rebuild boot && systemctl kexec now. Could fix some stuff, could break basically everything. On the upside, though, NixOS should let me roll back if everything goes catastrophically wrong.

Absolutely nothing changed. I’ll keep trying.