Solved Screen resolution issue on 13.0-RELEASE-p1

I did a freebsd-update on my laptop, a Lenovo ThinkPad W520 (Intel graphics), June 6. I rebooted it yesterday evening, and noticed that the screen resolution in X was all wrong. I booted back onto the 13.0-RELEASE boot environment, and the display was correct.

In both BEs, I get the following message:

Code:
Failed to add WC MTRR for [0xe0000000-0xefffffff]: -28; performance may suffer

Here is my login screen in the 13.0-RELEASE BE:
20210710_005.jpg


...And in 13.0-RELEASE-p1:
20210710_006.jpg

When I log in, an 80x24 terminal window in 13-RELEASE appears as 38x6 in -p1

I ran xrandr in both BEs, and both had the following first few lines:

Code:
IScreen 0: minimum 320 x 200, current 1920 x 1080, maximum 8192 x 8192
LVDS-1 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis
) 344mm x 193mm
   1920x1080     60.00*+  59.97    59.96    59.93    50.00  
   1680x1050     59.95    59.88  
   1400x1050     59.98  
...

Has anyone seen this behavior, or know of a fix for it? I vaguely recall having a similar problem on this laptop early in the 12-RELEASE days, but I can't remember what the fix was.

Thanks,
--vr
 
xrandr tells that both are running at 1920 x 1080px, so the resolution is the same; Also (pixel-)graphic sizes are the same - but the font sizes differ.

A display should tell the graphic card its dimension. And the graphic card should tell it the OS, so that a program knows how much pixels are needed to display f.e. a PDF paper at 100% size. If this chain is broken you've got to set DPI manually (and it's really often broken). After that is done you can set your font sizes (again).

Check the output of xdpyinfo | grep -B2 resolution. I assume that at least one of your BE is wrong (maybe even both). If so try to set it in the Xorg configuration; Example (/usr/local/etc/X11/xorg.conf.d/40-dpi.conf):

Code:
Section "Monitor"
  Identifier   "<default monitor>"
  DisplaySize  345 194  # in millimeters
EndSection
 
Did you also upgrade packages? Latest or quarterly?



Have you tried 13.0-RELEASE-p3? <https://www.freebsd.org/releases/13.0R/errata/>
Sorry for the delayed response. It turned out that at some point the resolution in pcdm got changed. Changed it back to 96DPI, and everything is back to normal. I need to find where that gets set permanently...

...And I did, for the record, upgrade to p3...
 
Back
Top