▲ | armchairhacker 7 days ago | ||||||||||||||||||||||
What would be the real advantage of a custom OS over a Linux distribution? The OS does process scheduling, program management, etc. Ok, you don’t want a VR headset to run certain things slowly or crash. But some Linux distributions are battle-tested and stable, and fast, so can’t you write ordinary programs that are fast and reliable (e.g. the camera movement and passthrough use RTLinux and have a failsafe that has been formally verified or extensively tested) and that’s enough? | |||||||||||||||||||||||
▲ | mikepurvis 7 days ago | parent | next [-] | ||||||||||||||||||||||
I think the proper comparison point here is probably what game consoles have done since the Xbox 360, which is basically run a hypervisor on the metal with the app/game and management planes in separate VMs. That gives the game a bare metal-ish experience and doesn't throw away resources on true multitasking where it isn't really needed. At the same time it still lets the console run a dashboard plus background tasks like downloading and so on. | |||||||||||||||||||||||
| |||||||||||||||||||||||
▲ | raggi 7 days ago | parent | prev | next [-] | ||||||||||||||||||||||
For this use case a major one would be better models for carved up shared memory with safe/secure mappings in and out of specialized hardware like the gpu. Android uses binder for this and there are a good number of practical pains with it being shoved into that shape. Some other teams at Google doing similar stuff at least briefly had a path with another kernel module to expose a lot more and it apparently enabled them to fix a lot of problems with contention and so on. So it’s possible to solve this kind of stuff, just painful to be missing the primitives. | |||||||||||||||||||||||
▲ | Nuthen 7 days ago | parent | prev | next [-] | ||||||||||||||||||||||
Based on the latter tweet in the chain, I'm wondering if Carmack is hinting that Foveated Rendering (more processing power is diverted towards the specific part of the screen you're looking at) was one advantage envisioned for it. But perhaps he's saying that he's not so sure if the performance gains from it actually justify building a custom OS instead of just overclocking the GPU along with an existing OS? | |||||||||||||||||||||||
| |||||||||||||||||||||||
▲ | v9v 7 days ago | parent | prev | next [-] | ||||||||||||||||||||||
Maybe not applicable for the XR platform here, but you could add introspection capabilities not present in Linux, a la Genera letting the developer hotpatch driver-level code, or get all processes running on a shared address space which lets processes pass pointers around instead of the Unix model of serializing/deserializing data for communication (http://metamodular.com/Common-Lisp/lispos.html) | |||||||||||||||||||||||
| |||||||||||||||||||||||
▲ | sulam 6 days ago | parent | prev | next [-] | ||||||||||||||||||||||
I stated this elsewhere, but at least six years ago a major justification was a better security model. At least that’s what Michael Abrash told me when I asked. | |||||||||||||||||||||||
▲ | jamboca 7 days ago | parent | prev [-] | ||||||||||||||||||||||
Think you answered your own question. No real differences except more articles, $, and hype | |||||||||||||||||||||||
|