there is result of xinput
WARNING: running xinput against an Xwayland server. See the xinput man page for details.
⎡ Virtual core pointer id=2 [master pointer (3)]
⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)]
⎜ ↳ xwayland-pointer:18...
I had same issue. Laptop Asus ROG-STRING G513QM.
I tried to install different ubuntu version (18.04, 20.01) but only 21.04 works. But when you press any key power-off pop up appears.