I use Ubuntu 24.04.
If you use that, you might want to use Xorg as the Window manager. In order to do that, log out and click on the gear icon. You can choose between two: Wayland or Xorg.