Severe glitchy issues with Blender on Linux

With one of my models, there is some severe glitchy issues. on Windows 10 and Linux Mint it was fine, but on Xubuntu and EndeavourOS (arch-based distro) which I am currently using, it had has the exact same glitchy issues on both of these operating systems. I have an AMD graphics card.

Any idea why this is happening?

So I had to do this solution

And it worked.