Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v4lloopback, syphon, spout output #6

Open
drlight-code opened this issue Dec 4, 2015 · 3 comments
Open

v4lloopback, syphon, spout output #6

drlight-code opened this issue Dec 4, 2015 · 3 comments
Assignees

Comments

@drlight-code
Copy link
Member

We need v4lloopback output in order to route image data to veejay / MapMap. We have to think about some issues here. Foremost, will there be one etudes-host instance per running etude, or just one host application running them all?

In general I would not mind to have one etude per instance, it would keep things very simple. In that case however our naming scheme would be different, since one etude actually would be identified by a port with a separate listening osc server instance rather than by a name, but that could be quickly adapted and would be fine actually.

We could also have one host application which holds several etudes running in parallel which would make the application more complex, however would have some benefits:

  • resources / result images could be shared between etudes, question do we want that
  • tearless synchronization of the different outputs to v4l might be simpler
  • for a lot of opengl applications the context switching might become expensive
@drlight-code
Copy link
Member Author

An interesting mail on mapmap-list describes new developments in DRI which would allow sharing of image data using the GPU, similar to syphon on MacOS X:

@drlight-code drlight-code changed the title Render etudes into FBO, write out via v4lloopback v4lloopback and syphon output (windows?) Jan 19, 2016
@drlight-code drlight-code self-assigned this Jan 28, 2016
@drlight-code
Copy link
Member Author

Rudimentary v4lloopback output working, still lots of things to be done, such as

  • use the dma-buf interface to share memory regions between GPU and loopback driver
  • ping-pong FBO rendering and interleaved readout for all etudes which output
  • tight frame synchronization, no tearing
  • supporte/negotiate different pixel formats and color spaces, on-the-fly conversion
  • get input on the veejay side working

@drlight-code drlight-code changed the title v4lloopback and syphon output (windows?) v4lloopback, syphon, spout output Aug 4, 2016
@drlight-code
Copy link
Member Author

syphon and spout working :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant