OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • Archive »
  • 19.1 Legacy Series »
  • Changing VGA console resolution after install
« previous next »
  • Print
Pages: [1]

Author Topic: Changing VGA console resolution after install  (Read 5193 times)

intjonathan

  • Newbie
  • *
  • Posts: 1
  • Karma: 0
    • View Profile
Changing VGA console resolution after install
« on: March 15, 2019, 03:21:07 am »
I have an old LCD monitor hooked up to my firewall that only supports a max of 1024x768 at 60Hz, and the default install doesn't seem to do that with any settings I could find. So I spent a while today figuring this out so I thought I'd share my solution.

I logged into the console and followed the instructions here to set up and test the right resolution:

https://lme.postach.io/post/changing-console-resolution-in-freebsd-10-with-vt-4

To set the resolution to test in the shell:
Code: [Select]
kenv kern.vt.fb.default_mode="800x600"
(or "1024x768" or whatever)

Then load the module to have it take effect:
Code: [Select]
kldload i915kms

This will reload your console in the resolution you asked for. If it didn't work, you have to reboot. Once you find a resolution that works, you can make it the default on boot by adding 2 system tunables:

Code: [Select]
Tunable:i915kms_load
Value: YES
Tunable: kern.vt.fb.default_mode
Value: 800X600

These should take effect somewhat late in the boot process but in time to use the system console.
Logged

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • Archive »
  • 19.1 Legacy Series »
  • Changing VGA console resolution after install
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2024 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2