VESA
Home ] Up ]
 

 

     

  1. Compile a kernel with VESA support enabled. Make sure the following lines are in your kernel configuration file in /usr/src/sys/i386/conf/:
    Device	vga0	at isa?
    Options	VESA

    For information on compiling a custom kernel, see Building a Custom Kernel.

    Reboot after compiling the new kernel.

  2. Test the hardware to ensure functionality:
    1. Ensure the video hardware is capable of supporting the 132x43 text video mode (mode 266):
      # vidcontrol -i mode | grep 266
      266 (0x10a) 0x00000009 T 132x43 8x8 0xb8000 32k 32k 0x00000000 0k

      If this mode is not present, ensure the kernel was properly compiled and installed in step 1 and that the hardware supports VESA video modes.

    2. Load the 8x8 font file:
      # vidcontrol -f 8x8 /usr/share/syscons/fonts/iso02-8x8.fnt

      The fonts iso-8x8, cp437-8x8 (appears to be the same as iso-8x8) and cp437-thin-8x8 will also work, but I think iso02-8x8 looks the best.

    3. Set the video mode:
      # vidcontrol 132x43

      If things go wrong, troubleshoot as appropriate :-(

  3. Edit /etc/rc.conf:
    ### System console options ###
    font8x8="/usr/share/syscons/fonts/iso02-8x8.fnt"
    allscreens_flags="132x43 -c blink"
  4. If no changes have been made to /etc/gettytab since installation, then edit that file as follows to account for the wider display:
    default:\
    	:cb:ce:ck:lc:fd#1000:im=\e[H\e[J\e[7m ...106 spaces... \e[0m  W O L V E R I N E  \e[7m    \e[0m\r\n%s%r (%t)\r\n\n\n:sp#1200:\
    	:if=/etc/issue:
  5. Reboot. Somewhere in between all the daemon-loading during boot, the console should switch to 132x43 mode.
  6. To switch video modes on the fly, use the following commands:
    # vidcontrol 80x25
    # vidcontrol 132x43
 

Thanks to http://www.mostgraveconcern.com/ for this tip.

 

 

My name is Michael Oliver, and I can be contacted by email here.
The current time is Sunday, 21-Jan-2018 04:35:17 UTC.
This page was last modified on Friday, 11-Mar-2011 21:01:58 UTC.
This page has received 1797 hits since December 2, 2001.