Graphic card not detected when installing from flatpack or .deb
Flatpack, Repositories, SnapInstall versions are created by third parties, not by the blender developers. It is common that there are outdated, missing libraries or dependencies, or other errors depending on the specific OS.
Unless you have a very good reason not to, use the official version from blender.org