Currently just-gl refuses to start if specified connector doesn't have a monitor connected.
The ideal behavior is that just-gl checks that the requested connector is valid for requested GPU, but doesn't fail if it is disconnected. It would instead create some kind of a virtual framebuffer (that would be however tied to the specified GPU - perhaps attaching to some of its CRTCs already). Once the monitor connects, it would set the desired mode (failing if it isn't available) and make the framebuffer visible on it.
Xorg can do this, so there should be a way for the underlying technology to support that. (an application just need to go lenghts to achieve this with Xorg - short of hand-crafting xorg.conf and carefully orchestrating xrandr calls).
Definitely not needed for MVP, but this is one of the motivating factors for tonari to move out of Xorg, so it would be nice to demonstrate this is possible.
Currently
just-gl
refuses to start if specified connector doesn't have a monitor connected.The ideal behavior is that
just-gl
checks that the requested connector is valid for requested GPU, but doesn't fail if it is disconnected. It would instead create some kind of a virtual framebuffer (that would be however tied to the specified GPU - perhaps attaching to some of its CRTCs already). Once the monitor connects, it would set the desired mode (failing if it isn't available) and make the framebuffer visible on it.Xorg can do this, so there should be a way for the underlying technology to support that. (an application just need to go lenghts to achieve this with Xorg - short of hand-crafting
xorg.conf
and carefully orchestratingxrandr
calls).Definitely not needed for MVP, but this is one of the motivating factors for tonari to move out of Xorg, so it would be nice to demonstrate this is possible.