‹ projects

reverb-m1

Native wired VR on Apple silicon: Reverb G1 display bring-up and stereo demo
git clone https://umhau.org/code/reverb-m1.git
Log | Files | Refs

startup-render-worker.txt (3441B)


      1 1817.192422 [hmd] serial REDACTED-DEVICE-SERIAL
      2 1817.452422 [hmd] wake commands accepted; waiting for IMU and video evidence
      3 1817.452422 waiting for the headset display...
      4 1818.070422 [hmd] display ready=false; raw 05 00 01 01 00 00 00 00 00 00 00
      5 1818.070422 headset reports display not ready
      6 1819.454422 recovery: display absent after grace period; resetting DP adapter
      7 rid 1 recover DRST: 0x00000000, task result: 0x00, bytes: 64
      8 1819.623422 recovery helper accepted DRST; waiting for display ADD
      9 1820.871422 [hmd] display ready=false; raw 05 00 01 01 00 00 00 00 00 00 00
     10 1820.871422 headset reports display not ready
     11 1821.838422 [display callback] id=2 flags=4378 main=true
     12 1821.839422 [display callback] handled after 0.5 ms
     13 1821.846422 captured display 2: ok
     14 1822.500422 [display callback] id=2 flags=8 main=true
     15 1822.505422 mode 4320x2160@90 (ui 4320x2160): ok
     16 1822.511422 rendering on headset (4320.0, 2160.0), drawable (4320.0, 2160.0); dedicated Metal display loop at 90 Hz
     17 1822.512422 [display callback] handled after 11.9 ms
     18 1822.522422 render worker main=false
     19 frame 1 drawable 4320x2160
     20 *** Terminating app due to uncaught exception 'CAMetalDrawableInvalidOperation', reason: '-presentAtTime should not be called when using CAMetalDisplayLink.'
     21 *** First throw call stack:
     22 (
     23 	0   CoreFoundation                      0x0000000183d53ae0 __exceptionPreprocess + 176
     24 	1   libobjc.A.dylib                     0x0000000183816b90 objc_exception_throw + 88
     25 	2   CoreFoundation                      0x0000000183d539d0 +[NSException exceptionWithName:reason:userInfo:] + 0
     26 	3   QuartzCore                          0x000000018cf89c88 -[CAMetalDrawable presentWithOptions:] + 160
     27 	4   Metal                               0x000000018f181bb8 __45-[_MTLCommandBuffer presentDrawable:options:]_block_invoke + 108
     28 	5   Metal                               0x000000018f016f5c MTLDispatchListApply + 52
     29 	6   Metal                               0x000000018f016ea4 -[_MTLCommandBuffer didScheduleWithStartTime:endTime:error:] + 312
     30 	7   IOGPU                               0x00000001a572cc74 IOGPUNotificationQueueDispatchAvailableCompletionNotifications + 136
     31 	8   IOGPU                               0x00000001a572cd84 __IOGPUNotificationQueueSetDispatchQueue_block_invoke + 64
     32 	9   libdispatch.dylib                   0x0000000183a598a4 _dispatch_client_callout4 + 16
     33 	10  libdispatch.dylib                   0x0000000183a5c110 _dispatch_mach_msg_invoke + 464
     34 	11  libdispatch.dylib                   0x0000000183a481b8 _dispatch_lane_serial_drain + 332
     35 	12  libdispatch.dylib                   0x0000000183a5ce74 _dispatch_mach_invoke + 472
     36 	13  libdispatch.dylib                   0x0000000183a481b8 _dispatch_lane_serial_drain + 332
     37 	14  libdispatch.dylib                   0x0000000183a48e60 _dispatch_lane_invoke + 440
     38 	15  libdispatch.dylib                   0x0000000183a481b8 _dispatch_lane_serial_drain + 332
     39 	16  libdispatch.dylib                   0x0000000183a48e2c _dispatch_lane_invoke + 388
     40 	17  libdispatch.dylib                   0x0000000183a53264 _dispatch_root_queue_drain_deferred_wlh + 292
     41 	18  libdispatch.dylib                   0x0000000183a52ae8 _dispatch_workloop_worker_thread + 540
     42 	19  libsystem_pthread.dylib             0x0000000183bf3e64 _pthread_wqthread + 292
     43 	20  libsystem_pthread.dylib             0x0000000183bf2b74 start_wqthread + 8
     44 )
     45 libc++abi: terminating due to uncaught exception of type NSException