Is there a way to, from the command line, on Wayland Linux, print the current displays, both their physical pixel size and their "logical" (display independent pixels / apple "points" / whatever wayland calls it) pixel size? There is a freeware app called wlinfo that purports to do this, but when I run it it prints inaccurate information (does not appear to support fractional DPI) and then crashes.
@mcc Does "wayland-info -i wl_output" show what you're after?

@mcc For fractional scale information, there's basically two ways it is accessed.

"wayland-info -i zxdg_output_manager_v1" should show info about logical sizes/positions for outputs, and is widely supported.

That's not what apps are using to render at native resolution on fractionally scaled displays. Instead they would be using wp_fractional_scale (https://wayland.app/protocols/fractional-scale-v1), which has the compositor send events indicating the preferred scale factor for a surface. A new scale factor might get sent when a window is moved from one output to another.

Fractional scale protocol | Wayland Explorer

A better way to read Wayland documentation

@jamesh @mcc Never knew about those commands but they report expected values on Fedora/KWin on a framework laptop plus an external display. Good tip, TIL, thanks!