Genymobile / scrcpy

Display and control your Android device
Apache License 2.0
110.74k stars 10.61k forks source link

Use Scrcpy as Second Display? #4708

Open biomagnet opened 7 months ago

biomagnet commented 7 months ago

Is your feature request related to a problem? Please describe. Trying to set up a second display on my device without the appropriate cables.

Describe the solution you'd like If possible, I'd like an option where connecting to Scrcpy makes the new window it creates to act as a second monitor/display entirely. Ideally it would then be able to do silly things like this without needing to use up the entirety of a monitor (useful for keeping other things up in the background, such as guides or chat programs if you only have one display to use in the first place).

Describe alternatives you've considered Buying a USB-C to HDMI cable, ig.

Additional context I checked video.md and I see something about "display" but I'm sadly not very good at understanding commands like those directly. As far as I can see, it only mirrors things that are already attached rather than being able to act as something new itself? If such a thing is possible, I'd kindly ask for an explanation of how to do it.

rom1v commented 7 months ago

It's currently not supported.

See threads #397 and #1887.

biomagnet commented 3 days ago

Hopefully this is not considered necroposting, but would #5370 be what I'm looking for if/when it is finished and added as a feature? I didn't want to start a new issue to ask.

rom1v commented 3 days ago

would https://github.com/Genymobile/scrcpy/pull/5370 be what I'm looking for if/when it is finished

The current state is what the feature will look like. Currently, only an option to start an app is missing (I'm working on it).

biomagnet commented 3 days ago

That's excellent! I don't know how to build it early myself or anything, so I'll simply cheer you on to get the last of the bugs worked out and wait to see "5370" in the notes of a new release. Thanks very much for the confirmation.

rom1v commented 3 days ago

I don't know how to build it early myself or anything

There's a binary in #5370.

biomagnet commented 3 days ago

Oh, I found it! It does definitely make a second android display/screen... but whatever it's making doesn't read as "an external display" for the app I'm trying to use (DraStic) to split the DS outputs. That's not on you, though, so more than anything I'm happy this function works.