Big problems with Wayland in Minecraft

I am using an Nvidia RTX3080 on Ubuntu 24.04.03 with Nvidia driver version 580.95.05. On Wayland, I experience significant FPS drops in Minecraft. Instead of ≈900 FPS (X11), I only get ≈10 FPS on Wayland. I used the official launcher from Mojang (10GB RAM allocated).

With driver version 580.82.09, I once had ≈500 FPS on Wayland, but that is no longer the case with 580.95.05.

The Prism launcher is also unusable due to this problem.