Genymobile / Genymobile/scrcpy

Mobile screen mirroring does not display

Open
#4,632 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C
Stars
150k
Forks
13.8k
Avg merge
4d 13h
Merged PRs (30d)
2

Description

Environment

  • OS: Debian
  • scrcpy version: 2.3
  • installation method: manual build
  • device model:
  • Android version: 11

The phone is connected to the computer via USB, and after scrcpy, it does not appear on the computer screen。

Scrcpy - Vdebug Print the text:

scrcpy 2.3 <https://github.com/Genymobile/scrcpy>
INFO: ADB device found:
INFO:     -->   (usb)  uwfipf69cqfetkaa                device  2312DRAABC
DEBUG: Device serial: uwfipf69cqfetkaa
DEBUG: Using server: /usr/local/share/scrcpy/scrcpy-server
/usr/local/share/scrcpy/scrcpy-server: 1 file pushed. 15.2 MB/s (65851 bytes in 0.004s)
[server] INFO: Device: [Xiaomi] Redmi 2312DRAABC (Android 13)
DEBUG: Server connected
DEBUG: Starting controller thread
DEBUG: Starting receiver thread
[server] DEBUG: Using audio encoder: 'c2.android.opus.encoder'
INFO: Renderer: opengl
INFO: OpenGL version: 3.0 build 1.16@6099580
INFO: Trilinear filtering enabled
DEBUG: Using icon: /usr/local/share/icons/hicolor/256x256/apps/scrcpy.png
ERROR: Could not open icon image: /usr/local/share/icons/hicolor/256x256/apps/scrcpy.png
WARN: Could not load icon
DEBUG: Demuxer 'video': starting thread
DEBUG: Demuxer 'audio': starting thread
[server] DEBUG: Using video encoder: 'c2.mtk.avc.encoder'
INFO: [FFmpeg] I [omx_find_component] : [1552] Using OMX.IMG.MSVDX.Decoder.AVC
<6> [3055.130436] (149904) imgvideo:omx: IMG_OMD_ComponentInit Done.
WARN: [FFmpeg] W [omx_set_output_port_format] : [1750] eColorFormat 21 eCompressionFormat 0
WARN: [FFmpeg] W [omx_set_port_definition] : [1772] framerate is unknow
WARN: [FFmpeg] W [omx_set_component_framerate] : [1845] framerate is unknow
WARN: [FFmpeg] W [omx_verify_support_for_profile_and_level] : [1938] setting profile(2147483647) and level(2147483647) not supported by component
<6> [3055.134918] (149904) imgvideo:omx: VDECUtil_GetVdecBuf Allocating buffer at port index 0 of size: 2097152, coreId: 0
<6> [3055.136552] (149904) imgvideo:omx: VDECUtil_GetVdecBuf Allocating buffer at port index 0 of size: 2097152, coreId: 0
<6> [3055.138351] (149904) imgvideo:omx: VDECUtil_GetVdecBuf Allocating buffer at port index 0 of size: 2097152, coreId: 0
<6> [3055.140033] (149904) imgvideo:omx: VDECUtil_GetVdecBuf Allocating buffer at port index 0 of size: 2097152, coreId: 0
<6> [3055.141865] (149904) imgvideo:omx: VDECUtil_GetVdecBuf Allocating buffer at port index 0 of size: 2097152, coreId: 0
<6> [3055.143583] (149904) imgvideo:omx: VDECUtil_GetVdecBuf Allocating buffer at port index 0 of size: 2097152, coreId: 0
<6> [3055.145363] (149904) imgvideo:omx: VDECUtil_GetVdecBuf Allocating buffer at port index 0 of size: 2097152, coreId: 0
<6> [3055.147102] (149904) imgvideo:omx: VDECUtil_GetVdecBuf Allocating buffer at port index 0 of size: 2097152, coreId: 0
<6> [3055.148912] (149904) imgvideo:omx: VDECUtil_GetVdecBuf Allocating buffer at port index 0 of size: 2097152, coreId: 0
<6> [3055.150588] (149904) imgvideo:omx: VDECUtil_GetVdecBuf Allocating buffer at port index 0 of size: 2097152, coreId: 0
<6> [3055.152518] (149904) imgvideo:omx: VDECUtil_GetVdecBuf Allocating buffer at port index 0 of size: 2097152, coreId: 0
<6> [3055.154226] (149904) imgvideo:omx: VDECUtil_GetVdecBuf Allocating buffer at port index 0 of size: 2097152, coreId: 0
<6> [3055.156063] (149904) imgvideo:omx: VDECUtil_GetVdecBuf Allocating buffer at port index 0 of size: 2097152, coreId: 0
<6> [3055.157916] (149904) imgvideo:omx: VDECUtil_GetVdecBuf Allocating buffer at port index 0 of size: 2097152, coreId: 0
<6> [3055.159803] (149904) imgvideo:omx: VDECUtil_GetVdecBuf Allocating buffer at port index 0 of size: 2097152, coreId: 0
<6> [3055.161569] (149904) imgvideo:omx: VDECUtil_GetVdecBuf Allocating buffer at port index 0 of size: 2097152, coreId: 0
<6> [3055.163331] (149904) imgvideo:omx: VDECUtil_GetVdecBuf Allocating buffer at port index 0 of size: 2097152, coreId: 0
<6> [3055.165114] (149904) imgvideo:omx: VDECUtil_GetVdecBuf Allocating buffer at port index 0 of size: 2097152, coreId: 0
<6> [3055.166833] (149904) imgvideo:omx: VDECUtil_GetVdecBuf Allocating buffer at port index 0 of size: 2097152, coreId: 0
<6> [3055.168799] (149904) imgvideo:omx: VDECUtil_GetVdecBuf Allocating buffer at port index 0 of size: 2097152, coreId: 0
<6> [3055.170648] (149904) imgvideo:omx: VDECUtil_GetVdecBuf Allocating buffer at port index 1 of size: 3919872, coreId: 0
<6> [3055.173713] (149904) imgvideo:omx: VDECUtil_GetVdecBuf Allocating buffer at port index 1 of size: 3919872, coreId: 0
<6> [3055.176801] (149904) imgvideo:omx: VDECUtil_GetVdecBuf Allocating buffer at port index 1 of size: 3919872, coreId: 0
<6> [3055.179968] (149904) imgvideo:omx: VDECUtil_GetVdecBuf Allocating buffer at port index 1 of size: 3919872, coreId: 0
<6> [3055.183194] (149904) imgvideo:omx: VDECUtil_GetVdecBuf Allocating buffer at port index 1 of size: 3919872, coreId: 0
<6> [3055.186355] (149904) imgvideo:omx: VDECUtil_GetVdecBuf Allocating buffer at port index 1 of size: 3919872, coreId: 0
<6> [3055.189132] (149904) imgvideo:omx: VDECUtil_GetVdecBuf Allocating buffer at port index 1 of size: 3919872, coreId: 0
<6> [3055.190986] (149904) imgvideo:omx: VDECUtil_GetVdecBuf Allocating buffer at port index 1 of size: 3919872, coreId: 0
<6> [3055.192853] (149904) imgvideo:omx: VDECUtil_GetVdecBuf Allocating buffer at port index 1 of size: 3919872, coreId: 0
<6> [3055.194609] (149904) imgvideo:omx: VDECUtil_GetVdecBuf Allocating buffer at port index 1 of size: 3919872, coreId: 0
<6> [3055.196287] (149904) imgvideo:omx: VDECUtil_GetVdecBuf Allocating buffer at port index 1 of size: 3919872, coreId: 0
<6> [3055.198065] (149904) imgvideo:omx: VDECUtil_GetVdecBuf Allocating buffer at port index 1 of size: 3919872, coreId: 0
INFO: Texture: 1080x2400
<6> [3055.275462] (149904) imgvideo:omx: VDEC_STOPSTATUS_CLOSED_GOP
<6> [3055.275490] (149904) imgvideo:omx: VDEC_STOPSTATUS_RECONFIGURE
<6> [3055.275519] (149904) imgvideo:omx: Port Enabled: 1
<6> [3055.275588] (149904) imgvideo:omx: Released and Returned Output buffers
<6> [3055.275600] (149904) imgvideo:omx: PSC: Framerate (Q16) :0, Height :2400, Width :1080, Stride :1088, SliceHeight: 2400 BitRate: 0
<6> [3055.275613] (149904) imgvideo:omx: Left :0  Top :0 Width :1080 Height :2400
<6> [3055.337190] (149904) imgvideo:omx: VDECUtil_GetVdecBuf Allocating buffer at port index 1 of size: 3919872, coreId: 0
<6> [3055.339927] (149904) imgvideo:omx: VDECUtil_GetVdecBuf Allocating buffer at port index 1 of size: 3919872, coreId: 0
<6> [3055.343078] (149904) imgvideo:omx: VDECUtil_GetVdecBuf Allocating buffer at port index 1 of size: 3919872, coreId: 0
<6> [3055.346256] (149904) imgvideo:omx: VDECUtil_GetVdecBuf Allocating buffer at port index 1 of size: 3919872, coreId: 0
<6> [3055.349934] (149904) imgvideo:omx: VDECUtil_GetVdecBuf Allocating buffer at port index 1 of size: 3919872, coreId: 0
<6> [3055.354048] (149904) imgvideo:omx: VDECUtil_GetVdecBuf Allocating buffer at port index 1 of size: 3919872, coreId: 0
DEBUG: [Audio] Buffer underflow, inserting silence: 240 samples
DEBUG: [Audio] Buffer underflow, inserting silence: 240 samples
DEBUG: [Audio] Buffer underflow, inserting silence: 240 samples
DEBUG: [Audio] Buffer underflow, inserting silence: 240 samples
<6> [3055.356935] (149904) imgvideo:omx: VDECUtil_GetVdecBuf Allocating buffer at port index 1 of size: 3919872, coreId: 0
<6> [3055.358677] (149904) imgvideo:omx: VDECUtil_GetVdecBuf Allocating buffer at port index 1 of size: 3919872, coreId: 0
DEBUG: [Audio] Buffer underflow, inserting silence: 240 samples
DEBUG: [Audio] Buffer underflow, inserting silence: 240 samples
DEBUG: [Audio] Buffer underflow, inserting silence: 240 samples
DEBUG: [Audio] Buffer underflow, inserting silence: 240 samples
DEBUG: [Audio] Buffer underflow, inserting silence: 240 samples
DEBUG: [Audio] Buffer underflow, inserting silence: 240 samples
DEBUG: Could not update texture: Parameter 'Vplane' is invalid
DEBUG: [Audio] Buffer underflow, inserting silence: 240 samples
DEBUG: Could not update texture: Parameter 'Vplane' is invalid
DEBUG: Could not update texture: Parameter 'Vplane' is invalid
DEBUG: Could not update texture: Parameter 'Vplane' is invalid
DEBUG: Could not update texture: Parameter 'Vplane' is invalid
DEBUG: Could not update texture: Parameter 'Vplane' is invalid
DEBUG: Could not update texture: Parameter 'Vplane' is invalid
DEBUG: Could not update texture: Parameter 'Vplane' is invalid

Looking forward to your answer

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce with scrcpy 2.3 on Debian using the provided USB-connected Redmi device and inspect the OpenGL renderer output, especially Could not update texture: Parameter 'Vplane' is invalid. Done means the mirrored screen displays without repeated texture-update errors; no source file or test is named in the report, so locating the decoder or rendering entry point requires project investigation.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, c
Domain
computer-graphics, desktop
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.