PulkoMandy 9fec431f60 vesa: disable the livepatching code by default
It can be enabled by putting "bios_patching true" in the VESA settings
file.

This patching does not work yet on modern hardware, but the detection
code to decide if we should try patching still says it found the
modetables. In this situation we can crash the BIOS or other weird
things can happen.

To avoid these problems, and because VESA is supposed to be the failsafe
option, disable this code by default, and let people who want to
experiment with it first enable it in the settings file.

Should fix #17633.

Change-Id: I4d89ff6dfeb7d02e39cd3da7b22ddd5411b10822
Reviewed-on: https://review.haiku-os.org/c/haiku/+/5499
Reviewed-by: Jérôme Duval <jerome.duval@gmail.com>
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
2022-08-11 15:00:41 +00:00

17 lines
685 B
Plaintext

# VESA resolution configuration.
# mode {x-resolution} {y-resolution} {bitdepth}
# For example, uncomment the line below to use 1280x1024 with 32bit colors (if available):
#mode 1280 1024 32
# Set NVIDIA scaling mode.
# 1: disable scaling completely
# other modes are available depending on the BIOS
#nvidia_scaling 1
# Enable bios patching.
# On some video cards, the VESA driver is able to inject custom video resolutions in the BIOS.
# This does not modify the BIOS in the hardware, the changes are erased on reboot. However,
# this is outside of VESA specifications and sometimes results in a black screen. As a result,
# this feature is disabled by default.
#bios_patching true