-
-
Notifications
You must be signed in to change notification settings - Fork 10.9k
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
Dex is not filling the Scrcpy window #4157
Comments
Did you have the same problem with earlier versions? If you record ( As a workaround, does cropping work correctly? |
@rom1v No, but to be fair this is the first upgrade I've done since I installed it. Yes the recorded video contains the black padding like the screenshot. Yes scrcpy --display 2 --crop=1080:1920:0:0 -e fixes the issue, thank you for the work around!! I was looking for one but didn't see crop. |
I also have the "same-ish" issue it seems, but manifested when using the simulated display mode. |
The issue seems that scrcpy is grabbing the wrong texture size. It takes the resolution of the primary display (aka the phones) rather than of the the display that you're targeting. |
Yes, the change impacts scrcpy-server. You don't need the Android NDK to build scrcpy (just the Android SDK). Anyway, here is a release of the current
|
Thanks, will test when I get home on my Windows PC (in about 3-4 hours), sorry for the delay |
@rom1v sorry for the additional delay, yes the issue has been fixed. |
@Obsidiannite21 Is the issue also fixed for you? |
@rom1v How would I install the dev branch using Brew on MacOS? |
Take export SCRCPY_SERVER_PATH=/the/path/to/the/downloaded/scrcpy-server
scrcpy (adapt the path) |
I'm using Arch Linux and got the same display problem |
👍 The fix has been released in scrcpy v2.1.1. |
how are you activating Samsung Dex (or Android Desktop)? mine just stays in cellphone mode. |
I connect my S23 to a hub that has a monitor attached. That allows me to mirror OR run dex, depending on how you run Scrcpy. Some use fake HDMI dongles. I haven't found a "software" solution to run Dex using Scrcpy but if in your search find one, please let me know. |
Environment
Describe the bug
After upgrading to 2.1, when I launch scrcpy --display 2, it gives the following WARN: Display doesn't have FLAG_SUPPORTS_PROTECTED_BUFFERS flag, mirroring can be restricted
INFO: Renderer: metal
The window is able to be resized but the Dex desktop is much smaller the the actual window. It's easier to understand if you check out the attached screenshot. It is likely related to issue: #4120 but it looks like that was resolved. Am I missing something?
On errors, please provide the output of the console (and
adb logcat
if relevant).The text was updated successfully, but these errors were encountered: