diff options
author | ftrvxmtrx <ftrvxmtrx@gmail.com> | 2014-12-26 15:40:06 +0100 |
---|---|---|
committer | ftrvxmtrx <ftrvxmtrx@gmail.com> | 2014-12-26 15:40:06 +0100 |
commit | 2cc7c72f8e1b2c0ea98f2184014988f9e2940f52 (patch) | |
tree | ebdb645867044c02301a945dbb829a399b14efda /sys/man | |
parent | 7f5f69ebb5c1fa361d44dc33465be79991dd0d94 (diff) |
vga, vesa: scaling modes
At least on some NVIDIA cards the default scaling mode makes
black borders visible on all sides, even on native resolution.
This patch adds a generic "scaling MODE" command to vgactl
and adds support for it on VESA through NVIDIA VBE OEM extension.
It hasn't been tested on any other video cards, but shouldn't
break anything as the scaling mode is only set on write to vgactl.
Diffstat (limited to 'sys/man')
-rw-r--r-- | sys/man/3/vga | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/sys/man/3/vga b/sys/man/3/vga index d17858008..6b148093e 100644 --- a/sys/man/3/vga +++ b/sys/man/3/vga @@ -198,6 +198,17 @@ enable or disable the use of DPMS blanking .B blank above). .TP +.BI scaling " mode" +Set the GPU scaling +.I mode +to +.BR off , +.B full +or +.B aspect +to either disable scaling, scale to full screen, or +to scale while preserving aspect ratio. +.TP .BI linear " size align" Use a linear screen aperture of size .I size |