From d9f718e3f56e432ac71780f6b40fc0d4aceb4746 Mon Sep 17 00:00:00 2001 From: Pacific Grove Software Distribution Foundation Date: Sun, 30 Nov 2025 11:56:24 +0900 Subject: [PATCH] Create XF86Config.bhyve --- cardDetect/XF86Config.bhyve | 52 +++++++++++++++++++++++++++++++++++++ 1 file changed, 52 insertions(+) create mode 100644 cardDetect/XF86Config.bhyve diff --git a/cardDetect/XF86Config.bhyve b/cardDetect/XF86Config.bhyve new file mode 100644 index 0000000..b7770e2 --- /dev/null +++ b/cardDetect/XF86Config.bhyve @@ -0,0 +1,52 @@ +# XF86Config.bhyve - bhyve guest using scfb +# +# This template is intentionally conservative. +# It uses the scfb driver with a wide sync range so it works across most +# bhyve display setups. + +Section "ServerLayout" + Identifier "Layout0" + Screen "Screen0" +EndSection + +Section "Files" + ModulePath "/usr/local/lib/xorg/modules" + FontPath "/usr/local/share/fonts/dejavu" + FontPath "/usr/local/share/fonts/TTF" + FontPath "/usr/local/share/fonts" +EndSection + +Section "Module" + Load "dbe" + Load "extmod" + Load "freetype" +EndSection + +Section "Monitor" + Identifier "Monitor0" + VendorName "Generic" + ModelName "bhyve Display" + HorizSync 30.0 - 90.0 + VertRefresh 50.0 - 75.0 + Option "DPMS" +EndSection + +Section "Device" + Identifier "Card0" + Driver "scfb" + VendorName "Generic" + BoardName "bhyve framebuffer" + Option "ShadowFB" "true" +EndSection + +Section "Screen" + Identifier "Screen0" + Device "Card0" + Monitor "Monitor0" + DefaultDepth 24 + + SubSection "Display" + Depth 24 + Modes "1920x1080" "1600x900" "1366x768" "1280x1024" "1280x720" "1024x768" + EndSubSection +EndSection