Brave weird screen glitching

Hey happy user here for 3 years but recently i upgraded my laptop to lenovo legion 5 with RTX 3070 TI and its solid , i have graphics acceleration set to on and i experienced no problems at first with brave however yesterday i tweaked some settings in the nvidia control panel for better graphics performance and i cant remember what settings exactly did i tweak but it sure included anti-aliasing and i tried on all my games and there was no problem but today when i opened brave i found this weird looking white lines all over the browser that comes and go and when i disabled graphics acceleration , the problem was solved i cant tell exactly what setting in nvidia might be causing this and why does this happen with brave only