Hello everyone.
I use a laptop that has an external display connected to it, my current setup is that for the vt() console driver, the default mode is 1920x1080 so the console has a clearer resolution for the external display:
/boot/loader.conf
I want to be able to set a different resolution for the laptops internal monitor, I've tried this which does not work at all:
/boot/loader.conf
I am trying to determine the name of the monitor, I got vgapci0 from doing this command which returned:
I don't know if it is the monitor or not, I have no clue what I am doing and just guessing random stuff, I did try to read man pages but I still do not understand how to find monitor names to put in the /boot/loader.conf file to set a resolution for the laptops internal monitor.
I use an Intel laptop with the i915 driver and KMS turned on, which from what I understand makes me able to do stuff like this in the first place.
I use a laptop that has an external display connected to it, my current setup is that for the vt() console driver, the default mode is 1920x1080 so the console has a clearer resolution for the external display:
/boot/loader.conf
Code:
kern.vt.fb.default_mode="1920x1080"
I want to be able to set a different resolution for the laptops internal monitor, I've tried this which does not work at all:
/boot/loader.conf
Code:
kern.vt.fb.modes.vgapci0="800x600"
I am trying to determine the name of the monitor, I got vgapci0 from doing this command which returned:
dmesg | grep drm
Code:
drmn0: <drmn> on vgapci0
vgapci0: child drmn0 requested pci_enable_io
vgapci0: child drmn0 requested pci_enable_io
[drm] Unable to create a private tmpfs mount, hugepage support will be disabled(-19).
[drm] Got stolen memory base 0x7c000000, size 0x4000000
drmn0: successfully loaded firmware image 'i915/bxt_dmc_ver1_07.bin'
drmn0: [drm] Finished loading DMC firmware i915/bxt_dmc_ver1_07.bin (v1.7)
[drm] Initialized i915 1.6.0 20200917 for drmn0 on minor 0
name=drmn0 flags=0x0 stride=7680 bpp=32
drmn0: <drmn> on vgapci0
vgapci0: child drmn0 requested pci_enable_io
vgapci0: child drmn0 requested pci_enable_io
[drm] Unable to create a private tmpfs mount, hugepage support will be disabled(-19).
[drm] Got stolen memory base 0x7c000000, size 0x4000000
drmn0: successfully loaded firmware image 'i915/bxt_dmc_ver1_07.bin'
drmn0: [drm] Finished loading DMC firmware i915/bxt_dmc_ver1_07.bin (v1.7)
[drm] Initialized i915 1.6.0 20200917 for drmn0 on minor 0
name=drmn0 flags=0x0 stride=7680 bpp=32
I don't know if it is the monitor or not, I have no clue what I am doing and just guessing random stuff, I did try to read man pages but I still do not understand how to find monitor names to put in the /boot/loader.conf file to set a resolution for the laptops internal monitor.
I use an Intel laptop with the i915 driver and KMS turned on, which from what I understand makes me able to do stuff like this in the first place.