You need some patches to the system and kernel, it will not work out of the standard Ubuntu for Pi OS. Download the official one here: uConsole os Images
If you want to try patching your own system kernel: https://github.com/clockworkpi/uConsole/tree/master/Code/patch/cm4/20230630