Screen freezes

sudo downgrade mesa will be the command you want to use. Search for the package mesa 24.7.1-1 and press enter and follow whatever it tells you.