2026-07-18 11:43 időpontban Luna ezt írta:
I start NetBSD using grub2. I have set up its resolution to
1920x1080. Nice, so far.
I assume this means you boot with grub's knetbsd command.
Then, when NetBSD wscons starts, the highest resolution I could
achieve is only 1024x768.
...
Question: Is it possible to use wscons or any other generic drivers
to achieve 1920x1080 resolution on X? I don't care console resolution
anyway. I just want to use my NetBSD box with a usable graphical
resolution even without the hardware specific driver.
Hmmm. On my Alder lake laptop, the resolution from grub does carry to
wscons. How do you set the resolution in grub? I boot as follows:
insmod ufs
insmod part_gpt
set gfxpayload=2560x1440,1920x1080,1024x768
set root=(hd1,gpt2)
knetbsd /netbsd --root=dk1
boot
P.S. I don't actually know anything about NetBSD graphics, but I have
managed to get this to work.
-- luna
Thank you for the answers so far.
Problem solved. I've put GRB_GFXMODE=1920x1080 into /etc/default/grub on
my co-existing linux OS previously. However this option does not inherit
to the custom NetBSD part.
So, I've put set gfxpayload=1920x1080 directly to the custom NetBSD
config part.
And, here we go, it works.
Regards,
FeZ