Why does the Xiaomi Gaming Monitor G24i show black borders randomly?

If the Xiaomi Gaming Monitor G24i shows black borders randomly, it often happens when switching display devices or using a new monitor. This issue occurs due to a mismatch between the monitor's native resolution and the current display settings. To resolve this, adjust the resolution settings to match the monitor's native resolution, which is 1920 × 1080. This will ensure that the image fills the entire screen without any black borders.
If the problem persists, verify that the monitor's settings are correctly configured and that all cables and connections are secure.