From fb51ddb20d57a43d666508e600af1bc7ac85c4e8 Mon Sep 17 00:00:00 2001 From: Robert Wing Date: Mon, 20 Nov 2023 16:17:53 -0900 Subject: [PATCH] bhyve: increase fbuf display resolution limit This enables connecting to the VNC server at a higher resolution. Reviewed by: corvink, markj Differential Revision: https://reviews.freebsd.org/D42620 --- usr.sbin/bhyve/pci_fbuf.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/usr.sbin/bhyve/pci_fbuf.c b/usr.sbin/bhyve/pci_fbuf.c index a6bf508a46e..9a4d7900751 100644 --- a/usr.sbin/bhyve/pci_fbuf.c +++ b/usr.sbin/bhyve/pci_fbuf.c @@ -71,10 +71,10 @@ static int fbuf_debug = 1; #define DMEMSZ 128 -#define FB_SIZE (16*MB) +#define FB_SIZE (32*MB) -#define COLS_MAX 1920 -#define ROWS_MAX 1200 +#define COLS_MAX 3840 +#define ROWS_MAX 2160 #define COLS_DEFAULT 1024 #define ROWS_DEFAULT 768