On 4/27/22 9:15 AM, David Demelier wrote:
Hello,
I have a lenovo thinkcentre machine connected to 24” LG screen (with
4k resolution), the installer boots fine using UEFI but it looks like
efifb takes a strange “squared” resolution where bottom part of the
console is below the screen so I’m unable to see what I type. I’ve
taken a picture of what’s seen:
http://markand.fr/static/openbsd-resolution.jpeg
I have tried disabling inteldrm using UKC as I’ve seen on some
websites with somewhat similar problem but with no effect. I’ve also
noticed there is no wscons(cfg|ctl) utilities in the installer so I
was unable to blindly type commands to alter the resolution either.
Unfortunately, changing boot video mode using `machine video …` does
not change kernel resolution either.
My only solution for now would be to boot not using UEFI but that’s
something I’d like to avoid if possible.
Do you have any idea why an incorrect resolution is picked up by the
kernel? I’m using install71.img on USB stick FYI.
The installer kernel is very limited in its abilities, and if I understand
UEFI (which I don't), the install kernel is more-or-less locked into using
what the firmware sets up. "man efifb" kinda hints that I might be right
on this.
In short: probably not a lot you can do with the install kernel to fix
the problem. And hopefully, once installed, the "real" kernel will be fine
with your monitor.
HOWEVER, 4k monitors and their support are interesting. I have an old HP
netbook with an AMD competitor to the Intel Atom chips which just took off
and ran with an HDMI 4k monitor, and a much more capable and newer Thinkpad
which didn't work properly at all with 4k (in both OpenBSD and Windows).
You might want to start with a firmware upgrade for your machine in question,
see if that helps. If not, a few ideas:
* Boot the installer, drop to shell, hit "clear" to put the cursor back at
the top of the screen and do your install, taking defaults as much as
possible to minimize dialog, and defaults for everything after the text rolls
off the bottom of the screen, and clean it up later.
* Do a serial install (aren't I funny? As if there is a serial port on a
machine with an HDMI port! But maybe there is...Maybe I should go buy
a lottery ticket, too).
* Try the install with a 1920x1080 or lesser resolution monitor.
* Move the hard disk to another UEFI machine and do the install on it, then
move the disk back, hoping the other machine works better for the installer.
Nick.