I have a virtual machine in UTM (which is a MacOS app that provides a GUI to manage QEMU virtual machines) on my M1 Mac. This VM was running 7.3 and X11 was working fine with the "virtio-ramfb" video card, but after using `sysupgrade` to upgrade to 7.4, it stopped working (`startx` just leads to a blank screen). Here's the dmesg from 7.4, and the Xorg log:
obsd-qemu$ dmesg OpenBSD 7.4 (GENERIC.MP) #2273: Tue Oct 10 09:45:06 MDT 2023 dera...@arm64.openbsd.org:/usr/src/sys/arch/arm64/compile/GENERIC.MP real mem = 4285415424 (4086MB) avail mem = 4071952384 (3883MB) random: good seed from bootblocks mainbus0 at root: ACPI psci0 at mainbus0: PSCI 1.1 efi0 at mainbus0: UEFI 2.7 efi0: EDK II rev 0x10000 smbios0 at efi0: SMBIOS 3.0.0 smbios0: smbios0: QEMU QEMU Virtual Machine cpu0 at mainbus0 mpidr 0: Unknown, MIDR 0x0 cpu0: 192KB 64b/line 6-way L1 PIPT I-cache, 128KB 64b/line 8-way L1 D-cache cpu0: 12288KB 128b/line 12-way L2 cache cpu0: TLBIOS+IRANGE,TS+AXFLAG,FHM,DP,SHA3,RDM,Atomic,CRC32,SHA2+SHA512,SHA1,AES+PMULL,SPECRES,SB,FRINTTS,GPI,LRCPC+LDAPUR,FCMA,JSCVT,API+PAC,DPB,SpecSEI,PAN+ATS1E1,LO,HPDS,CSV3,CSV2,DIT cpu1 at mainbus0 mpidr 1: Unknown, MIDR 0x0 cpu1: 192KB 64b/line 6-way L1 PIPT I-cache, 128KB 64b/line 8-way L1 D-cache cpu1: 12288KB 128b/line 12-way L2 cache cpu1: TLBIOS+IRANGE,TS+AXFLAG,FHM,DP,SHA3,RDM,Atomic,CRC32,SHA2+SHA512,SHA1,AES+PMULL,SPECRES,SB,FRINTTS,GPI,LRCPC+LDAPUR,FCMA,JSCVT,API+PAC,DPB,SpecSEI,PAN+ATS1E1,LO,HPDS,CSV3,CSV2,DIT cpu2 at mainbus0 mpidr 2: Unknown, MIDR 0x0 cpu2: 192KB 64b/line 6-way L1 PIPT I-cache, 128KB 64b/line 8-way L1 D-cache cpu2: 12288KB 128b/line 12-way L2 cache cpu2: TLBIOS+IRANGE,TS+AXFLAG,FHM,DP,SHA3,RDM,Atomic,CRC32,SHA2+SHA512,SHA1,AES+PMULL,SPECRES,SB,FRINTTS,GPI,LRCPC+LDAPUR,FCMA,JSCVT,API+PAC,DPB,SpecSEI,PAN+ATS1E1,LO,HPDS,CSV3,CSV2,DIT cpu3 at mainbus0 mpidr 3: Unknown, MIDR 0x0 cpu3: 192KB 64b/line 6-way L1 PIPT I-cache, 128KB 64b/line 8-way L1 D-cache cpu3: 12288KB 128b/line 12-way L2 cache cpu3: TLBIOS+IRANGE,TS+AXFLAG,FHM,DP,SHA3,RDM,Atomic,CRC32,SHA2+SHA512,SHA1,AES+PMULL,SPECRES,SB,FRINTTS,GPI,LRCPC+LDAPUR,FCMA,JSCVT,API+PAC,DPB,SpecSEI,PAN+ATS1E1,LO,HPDS,CSV3,CSV2,DIT apm0 at mainbus0 ampintc0 at mainbus0 nirq 288, ncpu 4 ipi: 0, 1, 2: "interrupt-controller" ampintcmsi0 at ampintc0: nspi 64 agtimer0 at mainbus0: 24000 kHz acpi0 at mainbus0: ACPI 6.0 acpi0: sleep states acpi0: tables DSDT FACP APIC PPTT GTDT MCFG SPCR DBG2 IORT BGRT acpi0: wakeup devices acpimcfg0 at acpi0 acpimcfg0: addr 0x4010000000, bus 0-255 acpiiort0 at acpi0 "ACPI0007" at acpi0 not configured "ACPI0007" at acpi0 not configured "ACPI0007" at acpi0 not configured "ACPI0007" at acpi0 not configured pluart0 at acpi0 COM0 addr 0x9000000/0x1000 irq 33 pluart0: console "QEMU0002" at acpi0 not configured "LNRO0005" at acpi0 not configured "LNRO0005" at acpi0 not configured "LNRO0005" at acpi0 not configured "LNRO0005" at acpi0 not configured "LNRO0005" at acpi0 not configured "LNRO0005" at acpi0 not configured "LNRO0005" at acpi0 not configured "LNRO0005" at acpi0 not configured "LNRO0005" at acpi0 not configured "LNRO0005" at acpi0 not configured "LNRO0005" at acpi0 not configured "LNRO0005" at acpi0 not configured "LNRO0005" at acpi0 not configured "LNRO0005" at acpi0 not configured "LNRO0005" at acpi0 not configured "LNRO0005" at acpi0 not configured "LNRO0005" at acpi0 not configured "LNRO0005" at acpi0 not configured "LNRO0005" at acpi0 not configured "LNRO0005" at acpi0 not configured "LNRO0005" at acpi0 not configured "LNRO0005" at acpi0 not configured "LNRO0005" at acpi0 not configured "LNRO0005" at acpi0 not configured "LNRO0005" at acpi0 not configured "LNRO0005" at acpi0 not configured "LNRO0005" at acpi0 not configured "LNRO0005" at acpi0 not configured "LNRO0005" at acpi0 not configured "LNRO0005" at acpi0 not configured "LNRO0005" at acpi0 not configured "LNRO0005" at acpi0 not configured acpipci0 at acpi0 PCI0 pci0 at acpipci0 0:1:0: rom address conflict 0xfffc0000/0x40000 "Red Hat Host" rev 0x00 at pci0 dev 0 function 0 not configured virtio0 at pci0 dev 1 function 0 "Qumranet Virtio Network" rev 0x00 vio0 at virtio0: address b2:ea:c3:eb:b9:11 virtio0: msix per-VQ virtio1 at pci0 dev 2 function 0 "Qumranet Virtio 1.x GPU" rev 0x01 viogpu0 at virtio1: 1280x800, 32bpp wsdisplay0 at viogpu0 mux 1: console (std, vt100 emulation) wsdisplay0: screen 1-5 added (std, vt100 emulation) virtio1: msix per-VQ azalia0 at pci0 dev 3 function 0 "Intel 82801FB HD Audio" rev 0x01: msi azalia0: No codecs found xhci0 at pci0 dev 4 function 0 "NEC xHCI" rev 0x03: msix, xHCI 0.0 usb0 at xhci0: USB revision 3.0 uhub0 at usb0 configuration 1 interface 0 "NEC xHCI root hub" rev 3.00/1.00 addr 1 xhci1 at pci0 dev 5 function 0 vendor "Red Hat", unknown product 0x000d rev 0x01: msix, xHCI 0.0 usb1 at xhci1: USB revision 3.0 uhub1 at usb1 configuration 1 interface 0 "Red Hat xHCI root hub" rev 3.00/1.00 addr 1 virtio2 at pci0 dev 6 function 0 "Qumranet Virtio Storage" rev 0x00 vioblk0 at virtio2 scsibus0 at vioblk0: 1 targets sd0 at scsibus0 targ 0 lun 0: <VirtIO, Block Device, > sd0: 32768MB, 512 bytes/sector, 67108864 sectors virtio2: msix per-VQ virtio3 at pci0 dev 7 function 0 "Qumranet Virtio Storage" rev 0x00 vioblk1 at virtio3 scsibus1 at vioblk1: 1 targets sd1 at scsibus1 targ 0 lun 0: <VirtIO, Block Device, > sd1: 65536MB, 512 bytes/sector, 134217728 sectors virtio3: msix per-VQ virtio4 at pci0 dev 8 function 0 "Qumranet Virtio Console" rev 0x00 virtio4: no matching child driver; not configured virtio5 at pci0 dev 9 function 0 "Qumranet Virtio RNG" rev 0x00 viornd0 at virtio5 virtio5: msix per-VQ acpige0 at acpi0 irq 41 acpibtn0 at acpi0: PWRB simplefb0 at mainbus0: 800x600, 32bpp wsdisplay1 at simplefb0 mux 1 wsdisplay1: screen 0-5 added (std, vt100 emulation) uhidev0 at uhub0 port 5 configuration 1 interface 0 "QEMU QEMU USB Tablet" rev 2.00/0.00 addr 2 uhidev0: iclass 3/0 ums0 at uhidev0: 3 buttons, Z dir wsmouse0 at ums0 mux 0 uhidev1 at uhub0 port 6 configuration 1 interface 0 "QEMU QEMU USB Mouse" rev 2.00/0.00 addr 3 uhidev1: iclass 3/1 ums1 at uhidev1: 5 buttons, Z dir wsmouse1 at ums1 mux 0 uhidev2 at uhub0 port 7 configuration 1 interface 0 "QEMU QEMU USB Keyboard" rev 2.00/0.00 addr 4 uhidev2: iclass 3/1 ukbd0 at uhidev2: 8 variable keys, 6 key codes wskbd0 at ukbd0 mux 1 wskbd0: connecting to wsdisplay0 vscsi0 at root scsibus2 at vscsi0: 256 targets softraid0 at root scsibus3 at softraid0: 256 targets root on sd0a (019e96650a21e604.a) swap on sd0b dump on sd0b WARNING: clock gained 3 days WARNING: CHECK AND RESET THE DATE! obsd-qemu$ cat .local/share/xorg/Xorg.0.log [ 557.459] X.Org X Server 1.21.1.8 X Protocol Version 11, Revision 0 [ 557.460] Current Operating System: OpenBSD obsd-qemu.my.domain 7.4 GENERIC.MP#2273 arm64 [ 557.461] [ 557.461] Current version of pixman: 0.42.2 [ 557.462] Before reporting problems, check http://wiki.x.org to make sure that you have the latest version. [ 557.462] Markers: (--) probed, (**) from config file, (==) default setting, (++) from command line, (!!) notice, (II) informational, (WW) warning, (EE) error, (NI) not implemented, (??) unknown. [ 557.465] (==) Log file: "/home/nathan/.local/share/xorg/Xorg.0.log", Time: Sat Nov 11 20:12:19 2023 [ 557.472] (==) Using system config directory "/usr/X11R6/share/X11/xorg.conf.d" [ 557.473] (==) No Layout section. Using the first Screen section. [ 557.473] (==) No screen section available. Using defaults. [ 557.473] (**) |-->Screen "Default Screen Section" (0) [ 557.473] (**) | |-->Monitor "<default monitor>" [ 557.474] (==) No monitor specified for screen "Default Screen Section". Using a default monitor configuration. [ 557.474] (==) Automatically adding devices [ 557.474] (==) Automatically enabling devices [ 557.474] (==) Not automatically adding GPU devices [ 557.474] (==) Automatically binding GPU devices [ 557.474] (==) Max clients allowed: 256, resource mask: 0x1fffff [ 557.477] (==) FontPath set to: /usr/X11R6/lib/X11/fonts/misc/, /usr/X11R6/lib/X11/fonts/TTF/, /usr/X11R6/lib/X11/fonts/OTF/, /usr/X11R6/lib/X11/fonts/Type1/, /usr/X11R6/lib/X11/fonts/100dpi/, /usr/X11R6/lib/X11/fonts/75dpi/ [ 557.477] (==) ModulePath set to "/usr/X11R6/lib/modules" [ 557.477] (II) The server relies on wscons to provide the list of input devices. If no devices become available, reconfigure wscons or disable AutoAddDevices. [ 557.477] (II) Loader magic: 0xd9402f540 [ 557.477] (II) Module ABI versions: [ 557.477] X.Org ANSI C Emulation: 0.4 [ 557.477] X.Org Video Driver: 25.2 [ 557.477] X.Org XInput driver : 24.4 [ 557.478] X.Org Server Extension : 10.0 [ 557.481] (--) Using wscons driver on /dev/ttyC4 [ 557.484] (II) LoadModule: "glx" [ 557.496] (II) Loading /usr/X11R6/lib/modules/extensions/libglx.so [ 557.558] (II) Module glx: vendor="X.Org Foundation" [ 557.558] compiled for 1.21.1.8, module version = 1.0.0 [ 557.559] ABI class: X.Org Server Extension, version 10.0 [ 557.561] (==) Matched wsfb as autoconfigured driver 0 [ 557.561] (==) Assigned the driver to the xf86ConfigLayout [ 557.561] (II) LoadModule: "wsfb" [ 557.566] (II) Loading /usr/X11R6/lib/modules/drivers/wsfb_drv.so [ 557.570] (II) Module wsfb: vendor="X.Org Foundation" [ 557.570] compiled for 1.21.1.8, module version = 0.4.1 [ 557.570] ABI class: X.Org Video Driver, version 25.2 [ 557.572] (II) wsfb: driver for wsdisplay framebuffer: wsfb [ 557.573] (WW) Falling back to old probe method for wsfb [ 557.574] (II) wsfb(0): using default device [ 557.574] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support [ 557.575] (II) wsfb(0): Creating default Display subsection in Screen section "Default Screen Section" for depth/fbbpp 24/32 [ 557.575] (==) wsfb(0): Depth 24, (--) framebuffer bpp 32 [ 557.575] (==) wsfb(0): RGB weight 888 [ 557.575] (==) wsfb(0): Default visual is TrueColor [ 557.575] (==) wsfb(0): Using gamma correction (1.0, 1.0, 1.0) [ 557.575] (II) wsfb(0): Vidmem: 4000k [ 557.576] (==) wsfb(0): DPI set to (96, 96) [ 557.576] (**) wsfb(0): Using "Shadow Framebuffer" [ 557.577] (II) Loading sub module "shadow" [ 557.577] (II) LoadModule: "shadow" [ 557.590] (II) Loading /usr/X11R6/lib/modules/libshadow.so [ 557.592] (II) Module shadow: vendor="X.Org Foundation" [ 557.592] compiled for 1.21.1.8, module version = 1.1.0 [ 557.592] ABI class: X.Org ANSI C Emulation, version 0.4 [ 557.592] (II) Loading sub module "fb" [ 557.592] (II) LoadModule: "fb" [ 557.592] (II) Module "fb" already built-in [ 557.602] (==) wsfb(0): Backing store enabled [ 557.610] (II) Initializing extension Generic Event Extension [ 557.612] (II) Initializing extension SHAPE [ 557.612] (II) Initializing extension MIT-SHM [ 557.613] (II) Initializing extension XInputExtension [ 557.614] (II) Initializing extension XTEST [ 557.615] (II) Initializing extension BIG-REQUESTS [ 557.615] (II) Initializing extension SYNC [ 557.616] (II) Initializing extension XKEYBOARD [ 557.617] (II) Initializing extension XC-MISC [ 557.619] (II) Initializing extension SECURITY [ 557.619] (II) Initializing extension XFIXES [ 557.621] (II) Initializing extension RENDER [ 557.622] (II) Initializing extension RANDR [ 557.623] (II) Initializing extension COMPOSITE [ 557.625] (II) Initializing extension DAMAGE [ 557.626] (II) Initializing extension MIT-SCREEN-SAVER [ 557.626] (II) Initializing extension DOUBLE-BUFFER [ 557.627] (II) Initializing extension RECORD [ 557.628] (II) Initializing extension DPMS [ 557.629] (II) Initializing extension Present [ 557.630] (II) Initializing extension DRI3 [ 557.631] (II) Initializing extension X-Resource [ 557.632] (II) Initializing extension XVideo [ 557.633] (II) Initializing extension XVideo-MotionCompensation [ 557.634] (II) Initializing extension GLX [ 557.635] (II) AIGLX: Screen 0 is not DRI2 capable [ 558.039] (II) IGLX: Loaded and initialized swrast [ 558.039] (II) GLX: Initialized DRISWRAST GL provider for screen 0 [ 558.039] (II) Initializing extension XFree86-VidModeExtension [ 558.039] (II) Initializing extension XFree86-DGA [ 558.040] (II) Initializing extension XFree86-DRI [ 558.041] (II) Initializing extension DRI2 [ 558.421] (II) config/wscons: checking input device /dev/wskbd [ 558.421] (II) wskbd: using layout us [ 558.422] (II) LoadModule: "kbd" [ 558.429] (II) Loading /usr/X11R6/lib/modules/input/kbd_drv.so [ 558.434] (II) Module kbd: vendor="X.Org Foundation" [ 558.434] compiled for 1.21.1.8, module version = 2.0.0 [ 558.434] Module class: X.Org XInput Driver [ 558.434] ABI class: X.Org XInput driver, version 24.4 [ 558.434] (II) Using input driver 'kbd' for '/dev/wskbd' [ 558.434] (**) /dev/wskbd: always reports core events [ 558.434] (**) /dev/wskbd: always reports core events [ 558.435] (**) Option "Protocol" "standard" [ 558.435] (**) Option "XkbRules" "base" [ 558.435] (**) Option "XkbModel" "pc105" [ 558.435] (**) Option "XkbLayout" "us" [ 558.435] (II) XINPUT: Adding extended input device "/dev/wskbd" (type: KEYBOARD, id 6) [ 558.439] (II) config/wscons: checking input device /dev/wsmouse0 [ 558.439] (II) LoadModule: "ws" [ 558.449] (II) Loading /usr/X11R6/lib/modules/input/ws_drv.so [ 558.452] (II) Module ws: vendor="X.Org Foundation" [ 558.452] compiled for 1.21.1.8, module version = 1.3.0 [ 558.452] Module class: X.Org XInput Driver [ 558.452] ABI class: X.Org XInput driver, version 24.4 [ 558.452] (II) Using input driver 'ws' for '/dev/wsmouse0' [ 558.452] (**) /dev/wsmouse0: always reports core events [ 558.452] (II) ws: /dev/wsmouse0: debuglevel 0 [ 558.452] (**) Option "Device" "/dev/wsmouse0" [ 558.453] (**) ws: /dev/wsmouse0: ZAxisMapping: buttons 4 and 5 [ 558.453] (**) ws: /dev/wsmouse0: WAxisMapping: buttons 6 and 7 [ 558.453] (**) ws: /dev/wsmouse0: associated screen: 0 [ 558.453] (**) ws: /dev/wsmouse0: device will work in raw mode [ 558.454] (II) ws: /dev/wsmouse0: minimum x position: 0 [ 558.454] (II) ws: /dev/wsmouse0: maximum x position: 32767 [ 558.454] (II) ws: /dev/wsmouse0: minimum y position: 0 [ 558.454] (II) ws: /dev/wsmouse0: maximum y position: 32767 [ 558.454] (==) ws: /dev/wsmouse0: Buttons: 7 [ 558.455] (**) ws: /dev/wsmouse0: YAxisMapping: buttons 4 and 5 [ 558.455] (II) XINPUT: Adding extended input device "/dev/wsmouse0" (type: TOUCHSCREEN, id 7) [ 558.457] (**) /dev/wsmouse0: (accel) keeping acceleration scheme 1 [ 558.457] (**) /dev/wsmouse0: (accel) acceleration profile 0 [ 558.457] (**) /dev/wsmouse0: (accel) acceleration factor: 2.000 [ 558.457] (**) /dev/wsmouse0: (accel) acceleration threshold: 4 [ 558.459] (II) config/wscons: checking input device /dev/wsmouse [ 558.459] (II) Using input driver 'ws' for '/dev/wsmouse' [ 558.459] (**) /dev/wsmouse: always reports core events [ 558.459] (II) ws: /dev/wsmouse: debuglevel 0 [ 558.460] (**) Option "Device" "/dev/wsmouse" [ 558.460] (**) ws: /dev/wsmouse: ZAxisMapping: buttons 4 and 5 [ 558.460] (**) ws: /dev/wsmouse: WAxisMapping: buttons 6 and 7 [ 558.460] (**) ws: /dev/wsmouse: associated screen: 0 [ 558.461] (II) ws: /dev/wsmouse: minimum x position: 0 [ 558.461] (II) ws: /dev/wsmouse: maximum x position: 1279 [ 558.461] (II) ws: /dev/wsmouse: minimum y position: 0 [ 558.461] (II) ws: /dev/wsmouse: maximum y position: 799 [ 558.461] (==) ws: /dev/wsmouse: Buttons: 7 [ 558.461] (**) ws: /dev/wsmouse: YAxisMapping: buttons 4 and 5 [ 558.461] (II) XINPUT: Adding extended input device "/dev/wsmouse" (type: MOUSE, id 8) [ 558.462] (**) /dev/wsmouse: (accel) keeping acceleration scheme 1 [ 558.462] (**) /dev/wsmouse: (accel) acceleration profile 0 [ 558.462] (**) /dev/wsmouse: (accel) acceleration factor: 2.000 [ 558.462] (**) /dev/wsmouse: (accel) acceleration threshold: 4 [ 558.463] (EE) wsfb(0): error in WSDISPLAY_SVIDEO Operation not supported obsd-qemu$