Screen freezes right after log in

I think Im doing the commands right, sorry, I'm not really good at computer

Try this instead (different parameter combination):

sudo nano /etc/default/grub

Find

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash amd_iommu=off amdgpu.ip_block_mask=0xffffffff"

Replace it with:

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash nomodeset"

Update and reboot:

sudo update-grub
sudo reboot

While I'm saving the changes it says error /etc/default/grub: permission denied

you forgot sudo

sudo nano /etc/default/grub

Nice!! Now it's working, sometimes the mouse click has some flicks but it works well! Thank you so much!

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

I changed to iommu off and reboot and it didn't freeze

The laptop I'm using is my brother's old laptop, he sent me a message now that he is not 100% sure it's amd he bought 5 years ago, is there a form to double check it?

Are there any Stickers on the Laptop? Maybe an Intel or AMD one? Or can You name Brand and Model of the Laptop?

I found the model, and I searched for it in the internet and it's Intel i5, the laptop model it's IdeaPad Slim 3 15IAH8

Yeah I also find this one, it's Intel integrated

I have time shift in the laptop, I tried to restore a version of 2 days ago, when I didn't have any error, when I logged in it gave me the gjs is not responding and just freeze, I tried to change it to Xorg, when I logged in it freeze without pop the gjs pop up

I don't really know what to do, I changed to Linux just a few days ago, I didn't have a lot of data that I would lose if I just reinstalled Zorin again. I did the installation again with my pendrive, the try version worked as normally, but as soon as I logged in, in the normal version it got me the same error. I really don't know what to do

if you did a timeshift restore it remove the parameters you added here

But what should I do now? Redo the parameters?

yes because you restored a backup so the parameters vanished

When I made the new installation of Zorin, I put it to login without the password is there another way where I can use Ctrl+F3 to open the terminal? Because I was doing the command before login in, but now it logs automatically

  1. Restart the PC and press Escape during boot to access the GRUB menu (may also be accessed with Shift), use the arrow keys to select the Ubuntu entry you want to boot.

  2. Press the e key to edit the boot options.

  3. Locate the line starting with linux and add nomodeset at the end of the line, separated by a space.

linux   /boot/vmlinuz-6.17.0-35-generic root=UUID=your - uuid ro quiet splash $vt_handoff nomodeset
  1. Press Ctrl + x to boot Ubuntu with the nomodeset option.

  2. after when you are in zorin open a terminal and run the following command to edit the GRUB configuration file:

sudo nano /etc/default/grub
  1. Find the line GRUB_CMDLINE_LINUX_DEFAULT="quiet splash" and add nomodeset
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash nomodeset"
  1. Save the file by pressing Ctrl + x, then Y, and Enter.

  2. Update the GRUB configuration by running the following command:

sudo update-grub
  1. Reboot

  2. After that come back here and we will see to install proper drivers for your GPU