Are you sure <pixelratio> belongs to advancedsettings.xml? I can't find that parameter at the docs.
The Kodi doc says about video calibration:
So I think your issue is related to overscan settings. Read about overscan settings at config.txt (disable_overscan, overscan_scale etc.).
Yes you're right I can't find the pixelratio parameter for the advancedsettings.xml
Thank you for this link and this idea around the overscan I will continue to search
Unfortunately on my screen I have no parameter that I can modify
What kills me is that : on an RPI3 with osmc kodi records the pixelratio but indeed it is not the same resolution (1080p) and not the same screen
I used to have on an RPI4 because the RPI3 does not accept the resolution of this new screen
I will try to fix as much information as possible with the advancedsettings.xml
and also on the config.txt
If I still have no success then I would try to install kodi from Raspian to see if it saves
See you soon, and thank you again
(sory for my bad english -> google translate )