add more debug info for DPI detection