minicap icon indicating copy to clipboard operation
minicap copied to clipboard

The screen of Huawei P10 on the web is black after using minicap

Open XiaLeon opened this issue 6 years ago • 9 comments

Hi, I was using minicap to test Huawei device P10 whose model is VTR-AL00. In most cases I found the screen on the web turns into black. I added some logs in my code and I found the size of first 4 bytes is only 8787. According to my testing result, the normal size is more than 30,000 and the screen on the web shows properly. Then I checked the logs on the device and I found some ERRORs: 07-05 10:58:59.989 E/HWComposer( 727): getLayerReleaseFence: Invalid display 07-05 10:58:59.989 E/HWComposer( 727): getPresentFence failed for invalid display -1 07-05 10:58:59.989 E/HWComposer( 727): getLayerReleaseFence: Invalid display 07-05 10:58:59.989 E/HWComposer( 727): getPresentFence failed for invalid display -1 07-05 10:58:59.989 E/HWComposer( 727): getLayerReleaseFence: Invalid display 07-05 10:58:59.989 E/HWComposer( 727): getPresentFence failed for invalid display -1 07-05 10:58:59.995 I/dubaid ( 781): [AbnormalityRoutine.cpp] checkCpuAbnormality# 2000:/data/local/tmp/minicap:0.029:69411:9431#10905:com.huawei.termctrl.utk:0.017:39948:5540

Are these logs related to this issue? If it's convenient for you, can you please get a Huawei P10 and test it? I'd really appreciate it. Thanks so much!

Here is the detailed info about Huawei P10: Model: VTR-AL00 Build number: VTR-AL00 8.0.0.342(C00Patch01) EMUI version: 8.0.0 CPU: Hisilicon Kirin 960 Android version: 8.0.0 Screen: 1920 X 1080

XiaLeon avatar Jul 05 '19 09:07 XiaLeon

Issue-Label Bot is automatically applying the label bug to this issue, with a confidence of 0.87. Please mark this comment with :thumbsup: or :thumbsdown: to give our bot feedback!

Links: app homepage, dashboard and code for this bot.

issue-label-bot[bot] avatar Jul 05 '19 09:07 issue-label-bot[bot]

I’ll take a look if you donate a device. Otherwise it’s very unlikely it’ll happen.

sorccu avatar Jul 08 '19 03:07 sorccu

@sorccu Where's the address so I can send it to you? I'm in China.

XiaLeon avatar Jul 08 '19 04:07 XiaLeon

Huawei P20 is the same. @XiaLeon Has this issue been resolved?

yinpc avatar Jul 20 '19 15:07 yinpc

@yinpc Not yet. I added some logs in the source code of minicap and found that the bytes size returned by socket is also 8787. So I suppose this must have something to do with android. Because I saw that minicap called android API. What's your detailed phenomenon ?

XiaLeon avatar Jul 22 '19 07:07 XiaLeon

@XiaLeon Any progress about the problem of Huawei Android 9 devices?

histronger avatar Oct 07 '19 08:10 histronger

@histronger I didn't have any problems about Huawei Android 9 device

XiaLeon avatar Oct 11 '19 11:10 XiaLeon

@histronger I didn't have any problems about Huawei Android 9 device

@XiaLeon I mean Huawei P10 is of Android 9 OS...LOL,so have you solved your problem and how? THX

histronger avatar Oct 14 '19 05:10 histronger

@histronger Not yet. The issue still exists.

XiaLeon avatar Oct 18 '19 02:10 XiaLeon