scrcpy: Dex is not filling the Scrcpy window

Screenshot 2023-07-11 at 11 17 13 AM

  • I have read the FAQ.
  • I have searched in existing issues.

Environment

  • OS: [e.g. Debian, Windows, macOS…] macOS
  • scrcpy version: [e.g. 1.12.1] 2.1
  • installation method: [e.g. manual build, apt, snap, brew, Windows release…] brew
  • device model: S23 Ultra
  • Android version: [e.g. 10] 13

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).

Please paste terminal output in a code block.

scrcpy 2.1 <https://github.com/Genymobile/scrcpy>
/opt/homebrew/Cellar/scrcpy/2.1/share/scrcpy/scrcpy-server: 1 file pushed, 0 skipped. 48.2 MB/s (56955 bytes in 0.001s)
[server] INFO: Device: [samsung] samsung SM-S918U1 (Android 13)
[server] WARN: Display doesn't have FLAG_SUPPORTS_PROTECTED_BUFFERS flag, mirroring can be restricted
INFO: Renderer: metal
INFO: Texture: 3088x1440

Please do not post screenshots of your terminal, just post the content as text instead.

About this issue

  • Original URL
  • State: closed
  • Created a year ago
  • Comments: 16

Most upvoted comments

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.

how are you activating Samsung Dex (or Android Desktop)? mine just stays in cellphone mode.

@rom1v sorry for the additional delay, yes the issue has been fixed.