VT(vga): resolution 640x480 change at early boot stage possible?

Manoli

New Member

Reaction score: 1
Messages: 19

Have question for FreeBSD graphics geek. ;-)

I'd like to change default VT(vga): resolution 640x480 (to be able to utilize full screen for system console from the very beginning of the boot-up sequence, if it is possible???)

My laptop is an old Toshiba Satellite from 2007, but I know it' native display resolution is 1280x800 with corresponding stty size of 160x50.

This is actually what I get later when /etc/rc.conf is processed and i915kms.ko is loaded. Then VT replaces "vga" driver with "fb" and laptop now utilizes its full display size.

But the question is if it's possible to switch VT(vga) driver to full native screen resolution. (I mean really VT driver, I'm not interested in switching to an old "sc" mode.) Putting i915kms_load="YES" in /boot/loader.conf doesn't make any change. That might be needed, but I don't know how to make this module load at early stage of boot-up sequence.

My vga is Intel Mobile 945GM, it is running on Intel Core Duo 32-Bit and I have installed FreeBSD 12.1-RELEASE i386. Of course it's non-UEFI installation but on GPT formated disk.

Thank you guys very much for any advice or suggestion.
 

SirDice

Administrator
Staff member
Administrator
Moderator

Reaction score: 9,283
Messages: 33,826

I'd like to change default VT(vga): resolution 640x480 (to be able to utilize full screen for system console from the very beginning of the boot-up sequence, if it is possible???)
Have a look in the man pages, it's explained there: vt(4).
 
OP
Manoli

Manoli

New Member

Reaction score: 1
Messages: 19

Have a look in the man pages, it's explained there: vt(4).
Thanks for info, I have read that already, but seems like kern.vt.fb.default_mode requires KMS driver to be loaded. But I'm only able to load it from /etc/rc.conf

Loading i915kms at early stage from /boot/loader.conf doesn't work but have no idea why?
 

aragats

Daemon

Reaction score: 610
Messages: 1,508

I've seen that in my Thinkpad T430 as well (don't own it now, so cannot check).
Also, I reported a similar issue and a work-around here, so you may try this:
Code:
i915kms_load="YES"
i915kms_name="/boot/kernel/i915kms.ko"
I'm not sure what's causing that, but in my case the issue disappears when I remove nvidia* modules loading from /boot/loader.conf.
 
Top