Gnome on kali not showing any animations

i was trying gnome on kali and idk how but somehow i managed to make gnome stop showing any animations. I searched online for a while and it seems that my problem is similar to this reddit thread: https://www.reddit.com/r/gnome/comments/wzsxfl/all_gnome_animations_are_gone_no_tweak_is/?rdt=34432

its saying that apparently my graphics entry is set to “llvmpipe” because of this gnome is not displaying any animations. It needs to be using hard ware acceleration in order to display animations. i checked it using glxinfo and it is showing llvmpipe

the solution they gave was to uninstall and reinstall my graphics drivers. Now my main problem is i tried bunch of random commands from different threads to uninstall and reinstall them but im kinda confused rn since i dont think any of them worked. im still kinda terrible with linux and itll be helpful if anyone gave me a solution

Is Kali installed on bare metal or in a VM?
If bare metal disable secure boot in the UEFI

Kali is installed in bare metal and secure boot is off