Raspberry Pi 5 just announced

Please try the following:

Stop the Touch Display plugin.

As root execute

cat >> /etc/X11/xorg.conf.d/99-vc4.conf <<EOL
Section "OutputClass"
    Identifier "vc4"
    MatchDriver "vc4"
    Driver "modesetting"
    Option "PrimaryGPU" "true"
EndSection
EOL

Start the Touch Display plugin.