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

minicap 不兼容android-34 #1269

Open
Wangming15 opened this issue Jan 2, 2025 · 0 comments
Open

minicap 不兼容android-34 #1269

Wangming15 opened this issue Jan 2, 2025 · 0 comments

Comments

@Wangming15
Copy link

(重要!问题分类)
minicap

描述问题bug
不兼容android-34

(在这里粘贴traceback或其他报错信息)
1 不能找到对应的Id
139|cheryidcpro:/data/local/tmp # ./minicap -d 0  -P 2560x1440@2560x1440/0 -s -i
INFO: (external/MY_minicap/src/minicap_34.cpp:353) could not get display for id: 0, using internal display

2 断错误
/minicap -d 0  -P 2560x1440@2560x1440/0 -s                                                                            <
PID: 26179
INFO: Using projection 2560x1440@2560x1440/0
INFO: (external/MY_minicap/src/minicap_34.cpp:394) In Android 34
INFO: (external/MY_minicap/src/minicap_34.cpp:245) Creating SurfaceComposerClient
INFO: (external/MY_minicap/src/minicap_34.cpp:248) Performing SurfaceComposerClient init check
INFO: (external/MY_minicap/src/minicap_34.cpp:259) Creating virtual display
INFO: (external/MY_minicap/src/minicap_34.cpp:266) Creating buffer queue
INFO: (external/MY_minicap/src/minicap_34.cpp:269) Setting buffer options
INFO: (external/MY_minicap/src/minicap_34.cpp:273) Creating CPU consumer
INFO: (external/MY_minicap/src/minicap_34.cpp:277) Creating frame waiter
INFO: (external/MY_minicap/src/minicap_34.cpp:281) Publishing virtual display
Segmentation fault



**复现步骤**
/minicap -d 0  -P 2560x1440@2560x1440/0 -s            


**预期效果**



**python 版本:** `python3.10`

**airtest 版本:** `1.0.69`
> airtest版本通过`pip freeze`可以命令可以查到

**设备:**
 - 型号: [e.g. google pixel 2]
 - 系统: [e.g. Android 8.1]
 - (别的信息)

**其他相关环境信息**
(其他运行环境,例如在linux ubuntu16.04上运行异常,在windows上正常。)
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

1 participant