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

Scrcpy Adjustment for Samsung DeX-like Experience #5672

Open
kavinthangavel opened this issue Dec 16, 2024 · 3 comments
Open

Scrcpy Adjustment for Samsung DeX-like Experience #5672

kavinthangavel opened this issue Dec 16, 2024 · 3 comments

Comments

@kavinthangavel
Copy link

kavinthangavel commented Dec 16, 2024

I found scrcpy to be a great alternative to Samsung DeX and Phone Link (especially for using apps). I love the #virtual display option it offers—it gives me the same vibes as Samsung DeX. However, I’d like to optimize it further to mimic the Samsung DeX experience.

Key Issues and Feature Requests

  1. DPI Adjustment:
    The DPI of the virtual display makes the icons and text appear much larger than necessary. This takes up extra space and feels awkward to use. I’d like to adjust the DPI to make it more efficient and similar to the Samsung DeX layout.

Screenshot 2024-12-16 122524
Screenshot 2024-12-16 122640

  1. Separate Virtual Displays for Apps:
    I would like the ability to open individual apps in separate virtual displays so that I can use them seamlessly alongside Windows. Although it’s possible to achieve this by running multiple scripts in individual terminals, this method isn’t user-friendly.

  2. Auto-Rotation/Video Rotation:
    I’m currently facing an issue with auto-rotation or manually adjusting rotation when playing videos in a video player. It would be great if this could be handled more smoothly.

Screenshot 2024-12-16 121341


Current Script

Here’s the script I’m using currently for landscape:

scrcpy --audio-source=playback --new-display=3840x2160 -m 2160 --no-vd-destroy-content --video-codec=h265 -b 20M -f -K

Another variation I’ve tried:

scrcpy --audio-source=playback --new-display -m 2160 --no-vd-destroy-content --video-codec=h265 -b 20M -f -K

Feel free to review and improve these scripts to address the mentioned issues and make scrcpy a fantastic alternative to Samsung DeX.


My Setup

  • Phone: Nothing Phone (2)
    • Developer Options enabled:
      • Freeform windows
      • Force desktop mode
      • Force activities to be resizable
      • Non-resizable in multi-window mode
  • Laptop: Acer Predator Helios 300
    • 2K display
    • 12GB RAM
    • RTX 3060 (6GB VRAM)

Thanks in advance for considering these enhancements!

@yume-chan
Copy link
Contributor

I’d like to adjust the DPI to make it more efficient and similar to the Samsung DeX layout.

https://github.com/Genymobile/scrcpy/blob/master/doc/virtual_display.md#new-display

@rom1v
Copy link
Collaborator

rom1v commented Dec 16, 2024

Auto-Rotation/Video Rotation:
I’m currently facing an issue with auto-rotation or manually adjusting rotation when playing videos in a video player. It would be great if this could be handled more smoothly.

Looks like #5524. I cannot reproduce on my devices.

Separate Virtual Displays for Apps:
I would like the ability to open individual apps in separate virtual displays so that I can use them seamlessly alongside Windows. Although it’s possible to achieve this by running multiple scripts in individual terminals, this method isn’t user-friendly.

A workaround could be to always use the same script to launch scrcpy with a new virtual display and a launcher, and start your app from there: https://github.com/Genymobile/scrcpy/blob/master/doc/virtual_display.md#start-app

@TheLastFlame
Copy link

Separate Virtual Displays for Apps

https://github.com/viarotel-org/escrcpy can do this

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

4 participants