[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Console screen resolution / font during initramfs



Andy Smith composed on 2025-07-28 15:13 (UTC):
 
> I have a Debian 12 laptop with quite a small screen which is quite high
> DPI — 13" diagonal with resolution 2880x1920.
...

The only 2880 wides I've ever seen before are 16:10 2880x1800. I haven't
run across 15:10 before either. Are you sure your native is not 1800 tall
rather than 1920?

> The top few lines of "xrandr" for me are:
 
> XWAYLAND1 connected primary 2304x1536+1920+0 (normal left inverted right x axis y axis) 290mm x 190mm
>    2304x1536    119.95*+
>    2048x1536    119.95  
>    1920x1440    119.97  
>    1600x1200    119.82
 
> (weird chosen resolution because I have it at 1.25x scale.)

I missed this on first reply, probably because it was not presented as
expected, with actual command showing us what it did you on your laptop
screen:
...
# inxi -GSxx
System:
  Host: ab560 Kernel: 6.1.0-37-amd64 arch: x86_64 bits: 64 compiler: gcc v: 12.2.0
...
Graphics:
...
  Monitor-1: DP-1 pos: primary model: Acer K272HUL res: 2560x1440 hz: 60
    dpi: 109 diag: 686mm (27")
  Monitor-2: HDMI-A-2 mapped: HDMI-2 model: NEC EA243WM res: 1920x1200
    hz: 60 dpi: 94 diag: 612mm (24.1")
...
# xrandr
Screen 0: minimum 320 x 200, current 2560 x 1440, maximum 16384 x 16384
DP-1 connected primary 2560x1440+0+0 (normal left inverted right x axis y axis) 598mm x 336mm
   2560x1440     59.95*+  74.92 # native 16:9 WQHD
   1920x1440     75.00		# 4:3 VESA extended
   1856x1392     75.00          # 4:3 VESA extended
   1920x1080     74.91    60.00    50.00    59.94 # 16:9
   1920x1080i    60.00    50.00    59.94 # 1080i "Full HDTV" 16:9
   1680x1050     59.95          # 16:10 WSXGA+
   1280x1024     75.02    60.02 # 5:4 VESA standard SXGA
   1440x900      59.89          # 16:10 WXGA+
   1280x960      60.00		# 4:3 VESA extended QVGA
   1280x800      59.81          # 16:10 WXGA
   1152x864      75.00		# 4:3 XGA+ VESA extended
   1280x720      60.00    50.00    59.94 # 720P "HDTV" 16:9
...
HDMI-1 disconnected (normal left inverted right x axis y axis)
HDMI-2 connected 1920x1200+0+0 (normal left inverted right x axis y axis) 519mm x 324mm
   1920x1200     59.95*+        # native 16:10 WUXGA
   1920x1080     60.00    59.94 # 1080[i,p] [full,-] HDTV 16:9
   1680x1050     59.88          # 16:10 WSXGA+
   1400x1050     59.95          # 4:3 SXGA
   1280x1024     60.02          # 5:4 VESA standard
   1440x900      59.90          # 16:10 WXGA+
   1280x960      60.00		# 4:3 VESA extended QVGA
   1280x800      59.91          # 16:10 WXGA
   1280x720      60.00    59.94 # 720P "HDTV" 16:9
...
Your native doesn't match anything I've ever before encountered:
>    2304x1536    119.95*+ # 15:10 or 1.5:1
>    2048x1536    119.95   # 4:3, 12:9 or 1.33333:1 (squeezed horizontally)
>    1920x1440    119.97   # 4:3, 12:9 or 1.33333:1 (squeezed horizontally)
>    1600x1200    119.82   # 4:3, 12:9 or 1.33333:1 (squeezed horizontally)
    2880x1920              # 15:10 or 1.5:1

I would expect your laptop to have a rather special UEFI BIOS
to accommodate its resolution oddities. Is a laptop UEFI BIOS
update available for it?

> I'm not sure what the display name would be. This gave me a bit more
> info on that:
 
>     https://wiki.archlinux.org/title/Kernel_mode_setting#Forcing_modes
 
> $ for p in /sys/class/drm/*/status; do con=${p%/status}; echo -n "${con#*/card?-}: "; cat $p; done
> DP-1: disconnected
> DP-2: disconnected
> DP-3: disconnected
> DP-4: connected
> eDP-1: connected

inxi is handier than all that, if not xrandr itself.

> I've currently got an exteranl display attached by USB-C so I think that
> might be DP-4 and my internal display would be eDP-1.

👍

> So maybe I should try:
 
>     video=eDP-1:1600x1200@119.82e

I would try without the refresh, just video=eDP-1:1600x1200, but I would also
experiment with W x H combinations having some association with observed standard
resolutions, especially those returned by videoinfo run from a Grub shell (2.12)
prompt. When I do that here I get 7 responses from my 1920x1200 display:
1920x1200x32 # native 16:10
640x480x32   # 4:3
800x600x32   # 4:3
1024x768x32  # 4:3
1280x1024x32 # 5:4
1600x1200x32 # 4:3
1920x1080x32 # 16:9
>From my 16:9 2560x1440 I get one additional:
1920x1440x32 # 4:3
And substituted for the first:
2560x1440x32 # native 16:9

Same PC connected to my LG 4k living room TV:
1920x1080x32 # native HDTV 16:9
640x480x32   # 4:3
800x600x32   # 4:3
1024x768x32  # 4:3
1280x1024x32 # 5:4
EDID version 1.3
Preferred mode: 3840x2160
-- 
Evolution as taught in public schools is, like religion,
	based on faith, not based on science.

 Team OS/2 ** Reg. Linux User #211409 ** a11y rocks!

Felix Miata


Reply to: