This seems to be an issue with most id Tech and SDL based idTech games.
Yeah - in Quakespasm we force DPI awareness on, so the game’s window is tiny on high-dpi displays. The initial reason we did that was to workaround SDL_WINDOW_FULLSCREEN produces off-center 640x480 window on Win 8 with 150% DPI scaling · Issue #1628 · libsdl-org/SDL · GitHub