Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F151292191
D34392.id.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D34392.id.diff
View Options
diff --git a/share/man/man4/vt.4 b/share/man/man4/vt.4
--- a/share/man/man4/vt.4
+++ b/share/man/man4/vt.4
@@ -24,7 +24,7 @@
.\"
.\" $FreeBSD$
.\"
-.Dd March 4, 2022
+.Dd March 17, 2022
.Dt "VT" 4
.Os
.Sh NAME
@@ -204,6 +204,9 @@
Set to 1 to force the usage of the VGA driver regardless of whether
ACPI IAPC_BOOT_ARCH signals no VGA support.
Can be used to workaround firmware bugs in the ACPI tables.
+Note no VGA support is only acknowledged when running virtualized.
+There is too many broken firmware that wrongly reports no VGA support on
+physical hardware.
.It Va kern.vty
Set this value to
.Ql vt
diff --git a/sys/dev/vt/hw/vga/vt_vga.c b/sys/dev/vt/hw/vga/vt_vga.c
--- a/sys/dev/vt/hw/vga/vt_vga.c
+++ b/sys/dev/vt/hw/vga/vt_vga.c
@@ -1261,7 +1261,11 @@
uint16_t flags;
int ignore;
- ignore = 0;
+ /*
+ * Ignore the flag on real hardware: there's a lot of buggy firmware
+ * that will wrongly set it.
+ */
+ ignore = (vm_guest == VM_GUEST_NO);
TUNABLE_INT_FETCH("hw.vga.acpi_ignore_no_vga", &ignore);
if (ignore || !acpi_get_fadt_bootflags(&flags))
return (false);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Apr 8, 9:16 AM (22 h, 4 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
30997653
Default Alt Text
D34392.id.diff (1 KB)
Attached To
Mode
D34392: vt/vga: ignore ACPI_FADT_NO_VGA unless running virtualized
Attached
Detach File
Event Timeline
Log In to Comment