Haiku app_server: The Desktop Rendering Service Behind Every Native Window
What app_server owns, how clients communicate with it, and why graphics failures can be system-wide rather than application-local.
app_server is Haiku’s central graphics and window-management service. Interface Kit clients send operations that the server resolves against windows, clipping, fonts, drawing state, and the active accelerant/graphics path.
Centralization gives applications a consistent native model, but a server deadlock or driver problem can affect the whole desktop. Distinguish a single application’s blocked window thread from app_server CPU, memory, or crash evidence before restarting services.
Developers should batch sensible drawing work, avoid invalidating huge regions unnecessarily, and test software rendering or safe-mode paths when isolating acceleration defects. Rendering correctness includes synchronization and clipping, not only pixels.
Sources: Haiku app_server source, Haiku Interface Kit