Clear my calendar: we're doing visionOS simulator shenanigans!
`LC_ALL=C grep -r berration .` shows that there's a `./usr/lib/libDisplayWarpSupport.dylib` used by `./usr/libexec/wakeboardd`; does that have anything to do with the headset params
Stupid questions I need the answers to:
- Has any dataminer found the cursed EyeSight front display code in the simulator yet?
- Does the simulator have the Persona FaceTime avatars?
- Are the "Memories" 3D photos just stereo photos / videos?
"Simulated Senes"
... You had two and a half weeks and you didn't catch this spelling mistake?
All right, if I suspend wakeboardd, the screen stops drawing. So I think that's promising - the binary that mentions warping really does seem to be involved in rendering the output
It looks like wakeboardd does do stuff with IOSurfaces:
* thread #3, name = 'compositor-rt-thread', stop reason = breakpoint 8.1
* frame #0: 0x0000000100ba4b74 wakeboardd`rt_sim_display_submit_surface
frame #1: 0x0000000100b960b0 wakeboardd`rt_sim_hmd_composite + 1640
frame #2: 0x0000000100bb6484 wakeboardd`rt_thread_main + 896
frame #3: 0x0000000106cef4c0 libsystem_pthread.dylib`_pthread_start + 104
rt_sim_display_submit_surface(something, IOSurface*)

... still not sure if this is the right binary though. Ghidra time?
rt_sim_hmd_composite does some Metal rendering of an IOSurface.
1) looks like RealityEnvironment draws the simulator environment:
xcrun simctl spawn booted defaults read
gives
"com.apple.RealityEnvironment" = {
activeSyntheticEnvironment = LivingRoomDay;
};
2) wakeboardd has a bunch of defaults that it reads beginning with hmd.
Did Apple seriously not build themselves a 3d stereo view for the simulator?
@zhuowei with like… what? Crossing your eyes?
@jason "The Information" reported that Apple originally prototyped with HTC Vives (https://www.theinformation.com/articles/the-inside-story-of-why-apple-bet-big-on-a-mixed-reality-headset); I guess none of that code survives today
The Inside Story of Why Apple Bet Big on a Mixed-Reality Headset

In 2016, Apple’s board of directors gathered inside one of its buildings in Cupertino, Calif., for a glimpse into the company’s future. Former Vice President Al Gore, then–Disney CEO Bob Iger and other Apple board members walked from room to room, trying out prototype augmented and virtual ...

The Information
@zhuowei @jason Probably does as part of ARKit somewhere. I know they were doing demos on those back in 2017