Genymobile / Genymobile/scrcpy
Window rotation is ineffective in scrcpy version 3.3.2.,This bug has existed since Scrcpy version 3.0.
- Dominant language
- C
- Stars
- 150k
- Forks
- 13.8k
- Avg merge
- 4d 13h
- Merged PRs (30d)
- 2
Description
On Scrcpy version 3.3.2, when the phone is rotated, the window screen is not fully displayed, the window size does not change, and there is no log change in cmd. It works normally on Scrcpy version 2.7.
scrcpy_v2.7:
[server] DEBUG: Using video encoder: 'OMX.qcom.video.encoder.avc'
[server] DEBUG: Display: using SurfaceControl API
INFO: Renderer: direct3d
DEBUG: Trilinear filtering disabled (not an OpenGL renderer)
DEBUG: Demuxer 'video': starting thread
INFO: Texture: 1080x2400
[server] DEBUG: Display: using SurfaceControl API
INFO: Texture: 2400x1080
[server] DEBUG: Display: using SurfaceControl API
INFO: Texture: 1080x2400
[server] DEBUG: Display: using SurfaceControl API
INFO: Texture: 2400x1080
[server] DEBUG: Display: using SurfaceControl API
INFO: Texture: 1080x2400
scrcpy_v3.0-scrcpy_v3.3.2:
DEBUG: Using server (portable): D:\Documents\Desktop\test\scrcpy-win64-v3.0\scrcpy-server
D:\Documents\Desktop\test\scrcpy-win64-v3.0\scrc... file pushed, 0 skipped. 83.7 MB/s (90224 bytes in 0.001s)
[server] INFO: Device: [motorola] motorola XT2153-1 (Android 13)
DEBUG: Server connected
DEBUG: Starting controller thread
DEBUG: Starting receiver thread
DEBUG: Using icon (portable): D:\Documents\Desktop\test\scrcpy-win64-v3.0\icon.png
[server] DEBUG: Using video encoder: 'OMX.qcom.video.encoder.avc'
[server] DEBUG: Display: using SurfaceControl API
INFO: Renderer: direct3d
DEBUG: Trilinear filtering disabled (not an OpenGL renderer)
DEBUG: Demuxer 'video': starting thread
INFO: Texture: 1080x2400
Contributor guide
No contributing guide indexed for this repository
Research direction
Reproduce the rotation behavior on scrcpy 3.3.2 and compare it with 2.7, using the reported Motorola XT2153-1 on Android 13 and the provided logs and screenshot. Done means the window resizes on rotation, the full screen is displayed, and the expected rotation-related log changes return.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, c
- Domain
- desktop, mobile-dev
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100