Virtual Output Use Cases and API Design #3101
Replies: 7 comments 3 replies
|
For refresh rate while there are cases where the consumer can reasonably drive it, I think in most cases you want synthetic fixed refresh rate. Even for screencopy where I believe the consumer will repeatedly request it, and the expectation is that the compositor only returns a new frame when it's ready. |
|
This sounds useful! Currently due to using an ultrawide display, I've been experimenting with using a HDMI dummy plug. |
|
My usecase would be being able to send apps to an eink display using https://codeberg.org/platosha/einkway (because hdmi eink controllers are expensive), I would love to test it |
|
I have an idea to use virtual displays as a meta-workspace, even though I have only one physical screen. E.g. I could have all my classes' dedicated workspaces on one display, and all my leisure ones in another. I also have a concept a sort of "minimizing" windows script with via a virtual display |
|
HI! any updates on this? |
|
I believe there's an open issue for this in upstream Smithay. pop-os/cosmic-epoch#99 The person who posted made that had been in talks with the cosmic team for supporting this and doing some reading into the code for it. Might be worth it to reach out. |
|
#714 was for headless output, which is a very overlapping ask. |
Uh oh!
There was an error while loading. Please reload this page.
I’m adding virtual output support to niri, mainly for remote desktop use (testing with Sunshine/Moonlight). I have a minimal implementation working and would like feedback on the API and structure before going further.
Current state
niri msg action create-virtual-output, optional name / resolution / scale)virtualkeyword in theoutputsectionniri.virtual_outputsand rendered throughwlr-screencopyTtyOutputStateis missingIssues
Niri::create_headless_output()is shared between the headless test backend and virtual outputs, which feels like a layering violationUse cases
Anything important missing?
Questions
Feedback welcome before I go further.
All reactions