On 9/6/21 6:59 PM, Toomas Soome wrote:


On 6. Sep 2021, at 19:44, Karel Gardas <gard...@gmail.com <mailto:gard...@gmail.com>> wrote:

Hello,

I'm attempting to set EFI console resolution in loader to 1920x1920. This is working fine on all 3 tested* combinations when interrupting loader with '3' key and then
issueing 'gop set 11' command and then 'boot' command.

However I'd like to make that permanent and here issue comes. I've tried both:

- edit /boot/loader.conf by adding
 'exec="gop set 11"'

- edit /boot/loader.conf by adding
 'efi_max_resolution="1920x1920"'

neither of those works on neither of 3 tested combinations where tested combinations are:

if you have this setting, what does gop get report? With the versions listed below, was the loader in ESP updated too?

Good question. I'm not entirely sure if my 13.x installation is not update from 12.x. It probably is. IIRC I followed the update procedure recommended, but certainly 13.0 -> 13.0-p4 is just `fetch` and `install` matter. If you like me to update ESP bootloader,
I'm happy to follow your instructions how to do that.

Anyway, my 14.0-CURRENT is fresh install to separate drive in an attempt to duplicate issue also on current to report it here.

So gop get reports this (manually rewritten by hand):

- FreeBSD 14.0 - current:

EDID 1920x1920 1920x1920 1920x1200 1920x1080 1600x1200 1600x900 1280x1024 1280x960 1280x720
mode 4: 1024x768x32, stride=1024
  frame buffer: address=d0000000, size=300000
  color mark: R=00ff0000, G=0000ff00, B=000000ff

- FreeBSD 13.0-p4:

EDID 1920x1920 1920x1920 1920x1200 1920x1080 1600x1200 1600x900 1280x1024 1280x960 1280x720
mode 4: 1024x768x32, stride 1024
  frame buffer: address=d0000000, size 300000
  color mark: R00ff0000, G=0000ff00, B000000ff


(1) 13.0 release
(2) 13.0-p4 (stable)
(3) 14.0 snapshot from 2.9.

The behavior is still the same. Screen blanks (like it would do gop set 11), then switches to text mode to show loader UI and when kernel is loaded it correctly shows that efi resolution is 1920x1920 but then when kernels boot, it produce just garbage to the console like loader and kernel resolution would be off
by some unknown number...

Is this is known issue, is there a known workaround for it? Or shall I report it properly to bugzilla?

Thanks!
Karel


what you get from: dmesg | grep efifb


- FreebSD 14.0-current:

VT(efifb): resolution 1920x1920

- FreeBSD 13.0-p4:

VT(efifb): resolution 1920x1920

Thanks,
Karel

Reply via email to