Screen freezes right after log in

Now do that because we disabled graphic acceleration that's why it flick
Update your system
In a terminal (now that you can log in), run:

sudo apt update
sudo apt full-upgrade

Try Removing nomodeset and Using Different GPU Parameters

Edit grub:

sudo nano /etc/default/grub

Change from:

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash nomodeset"

To:

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash amd_iommu=off"

Update and reboot:

sudo update-grub
sudo reboot

Does it boot without freezing?
If yes, we're getting closer. If it freezes again, boot back to TTY (Ctrl+Alt+F2) and change it back to nomodeset

sudo nano /etc/default/grub

Change to:

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash nomodeset"

Update and reboot:

sudo update-grub
sudo reboot