How to fix AMD GPU Radeon Screen Tearing

Hi, I had for some time (last 2-3 releses of Mabox) screen tearing issue whit my AMD 5 Ryzen 3400g

i think that I had this only on openboxes as WM , so this video hellped me whit my ryzen GPU
and maybe can be helpful for other guys so you can post it , follow the instractions on >

This was for me only little issue ofr last 1 year and a half that I have resolved :")
It was my little contribution for your perfect system


Not working for me but this did the job.
xrandr --output DVI-D-0 --set TearFree on

But this setting is lost when you reboot. Any ideas to keep it ?