Safari on Monterey 12.3 not redrawing windows inside VM

Within a Parallels VM (version 17.1.2) running Monterey 12.3, dynamic browser content is not updated until you resize the browser window. This is a new issue in Monterey 12.3 (it doesn't exist in Monterey 12.2.1 or earlier - even in the same VM). Running on the native hardware doesn't have the issue - only when running within the VM environment.

A video of the behavior can be found at http://www.toonetown.com/nathan/projects/redraw.mov - in the video, text typed into the google search box doesn't display until the window is resized - causing the HTML content to reflow.

Is there some setting or something that I should make in order to cause dynamic HTML content to rerender without needing to resize the window?

Replies

Probably best asked in the Parallels Mac OS X Guest OS Discussion forum where there are already some posts about 12.3 rendering issues.

This appears to be another issue with Metal accelerated graphics when using the Parallels video adapter that you probably enabled to avoid the host freezes / crashes when using the Apple video adapter with the Paravirtualized Graphics framework.

prlctl set vm --video-adapter-type parallels (rendering issues with Metal accelerated graphics)

prlctl set vm --video-adapter-type apple (host freezes / crashes and sometimes full panics during VM boot with the Apple Paravirtualized Graphics framework)

Hopefully Apple and Parallels are working on the Apple Paravirtualized Graphics framework issues.

Also really hoping we see more improvements at WWDC to the Hypervisor and Virtualization frameworks for macOS on Apple Silicon.

Another data point for the Apple Paravirtualized Graphics framework issue if anyone from Apple is watching this thread.

macOS Monterey 12.3.1 (21E258) booting macOS Big Sur 11.6.5 (20G527) VM panics at what appears to be the same point as host freezes / crashes with macOS Monterey 12.3.1 (21E258) VMs.

panic(cpu 0 caller 0xffffff7fb0b13591): "hitting assertion"@/System/Volumes/Data/SWE/macOS/BuildRoots/a0c6c82cc8/Library/Caches/com.apple.xbs/Sources/ParavirtualizedGraphics/ParavirtualizedGraphics-11.5/AppleParavirtKext/AppleParavirtDisplayPipe.cpp:428
Backtrace (CPU 0), Frame : Return Address
0xffffffb070cdaea0 : 0xffffff801608b26d mach_kernel : _handle_debugger_trap + 0x3fd
0xffffffb070cdaef0 : 0xffffff80161d2993 mach_kernel : _kdp_i386_trap + 0x143
0xffffffb070cdaf30 : 0xffffff80161c2f8a mach_kernel : _kernel_trap + 0x55a
0xffffffb070cdaf80 : 0xffffff801602fa2f mach_kernel : _return_from_trap + 0xff
0xffffffb070cdafa0 : 0xffffff801608aa8d mach_kernel : _DebuggerTrapWithState + 0xad
0xffffffb070cdb0c0 : 0xffffff801608ad83 mach_kernel : _panic_trap_to_debugger + 0x273
0xffffffb070cdb130 : 0xffffff801689c5aa mach_kernel : _panic + 0x54
0xffffffb070cdb1a0 : 0xffffff7fb0b13591 com.apple.driver.AppleParavirtGPU : __ZNK27AppleParavirtVirtualChannel8hasFaultEv + 0xc1b
0xffffffb070cdb1c0 : 0xffffff7fb0b0d3b6 com.apple.driver.AppleParavirtGPU : __ZN24AppleParavirtDisplayPipe17submitTransactionEP30IOAccelDisplayPipeTransaction2 + 0x2d0
0xffffffb070cdb660 : 0xffffff7fb0e08bcd com.apple.iokit.IOAcceleratorFamily2 : __ZN18IOAccelDisplayPipe23transaction_queue_gatedEP30IOAccelDisplayPipeTransaction2 + 0x3b
0xffffffb070cdb680 : 0xffffff80167ef44f mach_kernel : __ZN13IOCommandGate9runActionEPFiP8OSObjectPvS2_S2_S2_ES2_S2_S2_S2_ + 0xaf
0xffffffb070cdb6e0 : 0xffffff7fb0e065f1 com.apple.iokit.IOAcceleratorFamily2 : __ZN18IOAccelDisplayPipe17wsaaWillExitDeferEi + 0x11d
0xffffffb070cdb750 : 0xffffff7fb0dcaadf com.apple.iokit.IOAcceleratorFamily2 : __ZN21IOAccelDisplayMachine20wsaa_will_exit_deferEji + 0x81
0xffffffb070cdb790 : 0xffffff7fb0e05576 com.apple.iokit.IOAcceleratorFamily2 : __ZN18IOAccelDisplayPipe22display_change_handlerEPvP13IOFramebufferiS0_ + 0x2ba
0xffffffb070cdb7d0 : 0xffffff7fb0f5df3a com.apple.iokit.IOGraphicsFamily : __ZN13IOFramebuffer24deliverGroupNotificationEijbiPv + 0x354
0xffffffb070cdb910 : 0xffffff7fb0f48593 com.apple.iokit.IOGraphicsFamily : __ZN13IOFramebuffer30deliverFramebufferNotificationEiPv + 0x193
0xffffffb070cdb9a0 : 0xffffff7fb0f5b0b2 com.apple.iokit.IOGraphicsFamily : __ZN13IOFramebuffer16setWSAAAttributeEjj + 0x1fe
0xffffffb070cdba40 : 0xffffff7fb0f5be07 com.apple.iokit.IOGraphicsFamily : __ZN13IOFramebuffer15extSetAttributeEP8OSObjectPvP25IOExternalMethodArguments + 0x153
0xffffffb070cdba80 : 0xffffff801681ce5e mach_kernel : __ZN12IOUserClient14externalMethodEjP25IOExternalMethodArgumentsP24IOExternalMethodDispatchP8OSObjectPv + 0x1de
0xffffffb070cdbad0 : 0xffffff7fb0f6233c com.apple.iokit.IOGraphicsFamily : __ZN23IOFramebufferUserClient14externalMethodEjP25IOExternalMethodArgumentsP24IOExternalMethodDispatchP8OSObjectPv + 0x82
0xffffffb070cdbb20 : 0xffffff801682710b mach_kernel : _is_io_connect_method + 0x35b
0xffffffb070cdbc80 : 0xffffff801617e1d1 mach_kernel : _iokit_server_routine + 0x4dd1
0xffffffb070cdbd90 : 0xffffff80160908ed mach_kernel : _ipc_kobject_server + 0x2fd
0xffffffb070cdbe00 : 0xffffff8016066c35 mach_kernel : _ipc_kmsg_send + 0x115
0xffffffb070cdbe60 : 0xffffff801607e3e2 mach_kernel : _mach_msg_overwrite_trap + 0x2d2
0xffffffb070cdbef0 : 0xffffff80161a705d mach_kernel : _mach_call_munger64 + 0x29d
0xffffffb070cdbfa0 : 0xffffff8016030216 mach_kernel : _hndl_mach_scall64 + 0x16
      Kernel Extensions in backtrace:
         com.apple.iokit.IOGraphicsFamily(585.2)[17732FC2-63ED-3059-B006-A492D276F99C]@0xffffff7fb0f3e000->0xffffff7fb0f6cfff
            dependency: com.apple.iokit.IOPCIFamily(2.9)[F9CEE803-CCD0-37F1-A06C-60062C48DEF2]@0xffffff8018b6b000->0xffffff8018b93fff
         com.apple.iokit.IOAcceleratorFamily2(442.9)[AAD58256-5E92-35A8-9659-A047C6C0C625]@0xffffff7fb0dbc000->0xffffff7fb0e26fff
            dependency: com.apple.driver.AppleMobileFileIntegrity(1.0.5)[31810E2C-FD94-31EC-8723-BA1B19DDF0A1]@0xffffff80176c0000->0xffffff80176d5fff
            dependency: com.apple.iokit.IOGraphicsFamily(585.2)[17732FC2-63ED-3059-B006-A492D276F99C]@0xffffff7fb0f3e000->0xffffff7fb0f6cfff
            dependency: com.apple.iokit.IOPCIFamily(2.9)[F9CEE803-CCD0-37F1-A06C-60062C48DEF2]@0xffffff8018b6b000->0xffffff8018b93fff
            dependency: com.apple.iokit.IOReportFamily(47)[8C08A9E9-A5DA-340B-BFCB-3F5E82BDAF01]@0xffffff8018ba2000->0xffffff8018ba4fff
            dependency: com.apple.iokit.IOSurface(290.8.1)[76A3E5D2-2AC7-385D-A16E-60B07D251DEE]@0xffffff8018c95000->0xffffff8018cb1fff
         com.apple.driver.AppleParavirtGPU(1.0)[7EBA9206-F041-3CF8-ACFC-B3E234BB1C78]@0xffffff7fb0b02000->0xffffff7fb0b19fff
            dependency: com.apple.AppleGraphicsDeviceControl(6.3.6)[1151AFDA-B186-34D1-9675-D0901B34BE02]@0xffffff7faf750000->0xffffff7faf753fff
            dependency: com.apple.iokit.IOAcceleratorFamily2(442.9)[AAD58256-5E92-35A8-9659-A047C6C0C625]@0xffffff7fb0dbc000->0xffffff7fb0e26fff
            dependency: com.apple.iokit.IOGraphicsFamily(585.2)[17732FC2-63ED-3059-B006-A492D276F99C]@0xffffff7fb0f3e000->0xffffff7fb0f6cfff
            dependency: com.apple.iokit.IOPCIFamily(2.9)[F9CEE803-CCD0-37F1-A06C-60062C48DEF2]@0xffffff8018b6b000->0xffffff8018b93fff
            dependency: com.apple.iokit.IOSurface(290.8.1)[76A3E5D2-2AC7-385D-A16E-60B07D251DEE]@0xffffff8018c95000->0xffffff8018cb1fff

Process name corresponding to current thread: WindowServer

No FB as third party product. Can add one if needed.