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

Passing USB grabber or X11 #3

Open
mooreye opened this issue Aug 15, 2022 · 1 comment
Open

Passing USB grabber or X11 #3

mooreye opened this issue Aug 15, 2022 · 1 comment

Comments

@mooreye
Copy link

mooreye commented Aug 15, 2022

I guess this Docker was written with network LEDs in mind, but how can you get Screen Capture to work from the same PC you run the container on?

What I'm guessing could be done is:

  1. passing X sockets and display:
    -v /tmp/.X11-unix:/tmp/.X11-unix -e DISPLAY=$DISPLAY
    doesn't work however, it says in Capturing Hardware No capture device discovered.

  2. Somehow create a virtual USB grabber card on linux by programatically duplicating output to some virtual USB/serial device and passing it to the container. This may even make Hyperion work on Wayland with no X?

  3. If 2) not possible, then buy a HDMI->USB grabber and pass this.

Did you had any luck or tried this?

@psychowood
Copy link
Owner

I'm sorry but my server is completely headless and moreover not running on a standard OS, I'm not sure how to help you test it since I don't have X neither running. I'll be able to do some tests in september when I have other hw at my disposal.

In the meanwhile you can probably run the hyperiongd client/grabber outside docker to push led data to the "remote" server, even if it is just a workaround.

Regarding 3. I can confirm that the USB part would work since I used docker to passthrough my USB camera for a while.

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

2 participants