I have Ubuntu 20.04 and Qt6.4.2. When I try to run Qt3D example
and as I run that Example in Qt 6.4.0
I got the same error you got.
But As I change my GPU to NVIDIA, it works correctly!
I test that program with Qt 6.2.3
and Intel GPU and it runs and works correctly!