Closed
Bug 1235659
Opened 10 years ago
Closed 10 years ago
Screencap-gonk is missing in multiple devices
Categories
(Firefox OS Graveyard :: General, defect)
Tracking
(b2g-v2.0 affected, b2g-v2.1 affected, b2g-v2.2 affected, b2g-v2.5 affected, b2g-master affected)
RESOLVED
DUPLICATE
of bug 1006688
People
(Reporter: madrid.crespo, Assigned: sotaro)
Details
Attachments
(2 files)
User Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:46.0) Gecko/20100101 Firefox/46.0
Build ID: 20151227030239
Steps to reproduce:
Screencap-gonk is missig in multiple devices. For example, the Flame device has screencap and screenshot, but it doesn't include the screencap-gonk. Because of that, when screencap is executed, nothing happens:
http://imgur.com/v95KJON.png
This was expected (it's the proof that it used to work in older builds):
http://imgur.com/MXJdQzh.png
As a consequence, no screencast application works. There were some screencast apps for Android that worked also for Firefox OS, such as DroidAtScreen: http://droid-at-screen.org/
Tech Speakers and Reps need these kind of applications to work in order to show live demos and to record examples.
If there is any workaround or if this can be proposed as a new feature for WebIDE, please let me know.
Please, don't tag this as WONTFIX or a kitten will die. I swear it.
it works for me, sir.
i have a Peak with actual master branch (23 Dic 2015) and i must to say screencap works flawlessly
| Comment hidden (obsolete) |
Comment 3•10 years ago
|
||
This bug can be repro on the latest Flame 2.5&master, but can't be repro on latest Aires KK 2.5&master by the STR in Comment 0.
Actual results:
When executing the command "screencap" on Windows or Linux computer, it has no any response on Flame v2.5&master, but it shows some messy codes on Aries KK v2.5&master.
See attachments: Compare_Flame&Aries_master(Linux).png and logcat_0508.txt.
Reproduce rate: 10/10 (Flame), 0/10 (Aries)
Device: Flame master_512mb (affected)
Build ID 20151229150205
Gaia Revision 63c3a57ad9935b9c61057a29ee27a1c6ed6a9e23
Gaia Date 2015-12-29 06:59:53
Gecko Revision https://hg.mozilla.org/mozilla-central/rev/9ddf0da90fb3bc1ae29966dc596013fc54a44bd2
Gecko Version 46.0a1
Device Name flame
Firmware(Release) 4.4.2
Firmware(Incremental) eng.cltbld.20151229.184412
Firmware Date Tue Dec 29 18:44:26 EST 2015
Firmware Version v18D v4
Bootloader L1TC000118D0
Device: Aries KK master (unaffected)
Build ID 20151229105558
Gaia Revision 63c3a57ad9935b9c61057a29ee27a1c6ed6a9e23
Gaia Date 2015-12-29 06:59:53
Gecko Revision https://hg.mozilla.org/mozilla-central/rev/9ddf0da90fb3bc1ae29966dc596013fc54a44bd2
Gecko Version 46.0a1
Device Name aries
Firmware(Release) 4.4.2
Firmware(Incremental) eng.worker.20151229.111558
Firmware Date Tue Dec 29 11:16:06 UTC 2015
Bootloader s1
Device: Flame 2.5_512mb (affected)
Build ID 20151223152613
Gaia Revision 8db2cdd9eb9b42932c4dfc86d109b3e46c220809
Gaia Date 2015-12-23 13:30:29
Gecko Revision http://hg.mozilla.org/releases/mozilla-b2g44_v2_5/rev/6fac3536a96a87185a6415d6ae2c36a85612e863
Gecko Version 44.0
Device Name flame
Firmware(Release) 4.4.2
Firmware(Incremental) eng.worker.20151223.143931
Firmware Date Wed Dec 23 14:39:41 UTC 2015
Firmware Version v18D v4
Bootloader L1TC000118D0
Device: Aries KK 2.5 (unaffected)
Build ID 20151223153111
Gaia Revision 8db2cdd9eb9b42932c4dfc86d109b3e46c220809
Gaia Date 2015-12-23 13:30:29
Gecko Revision http://hg.mozilla.org/releases/mozilla-b2g44_v2_5/rev/6fac3536a96a87185a6415d6ae2c36a85612e863
Gecko Version 44.0
Device Name aries
Firmware(Release) 4.4.2
Firmware(Incremental) eng.worker.20151223.144147
Firmware Date Wed Dec 23 14:41:54 UTC 2015
Bootloader s1
Comment 4•10 years ago
|
||
Comment 5•10 years ago
|
||
Comment 6•10 years ago
|
||
This bug is not a regression bug, because it also occurs on the oldest/latest Flame v2.0&2.1&2.2 and the oldest Flame master by the STR in comment 0.
Actual results: When executing the command "screencap" on Windows or Linux computer, it has no any response.
Rate: 2/2
----------------------------------------------------------------------------------------------------
Device: Flame 2.0_512mb (the oldest)(affected)
Build ID 20140923160206
Gaia Revision 6449cc35a8f0704d95acac374ba857bde4b86d6c
Gaia Date 2014-09-23 08:08:12
Gecko Revision https://hg.mozilla.org/releases/mozilla-b2g32_v2_0/rev/4edd7f40672b
Gecko Version 32.0
Device Name flame
Firmware(Release) 4.4.2
Firmware(Incremental) eng.cltbld.20140923.200317
Firmware Date Tue Sep 23 20:03:27 EDT 2014
Firmware Version v18D v4
Bootloader L1TC000118D0
Device: Flame 2.1_512mb (the oldest)(affected)
Build ID 20141008161201
Gaia Revision 7ef2e1e59637a34ca4489c329b3bdee93df3ac6c
Gaia Date 2014-10-08 12:32:21
Gecko Revision https://hg.mozilla.org/releases/mozilla-b2g34_v2_1/rev/e3d495eb85c6
Gecko Version 34.0a2
Device Name flame
Firmware(Release) 4.4.2
Firmware(Incremental) eng.cltbld.20141008.195811
Firmware Date Wed Oct 8 19:58:25 EDT 2014
Firmware Version v18D v4
Bootloader L1TC000118D0
Device: Flame 2.1_512mb (the latest)(affected)
Build ID 20150724001207
Gaia Revision 9dba58d18006e921546cec62c76074ce81e16518
Gaia Date 2015-07-23 12:36:57
Gecko Revision https://hg.mozilla.org/releases/mozilla-b2g34_v2_1/rev/41e10c6740be
Gecko Version 34.0
Device Name flame
Firmware(Release) 4.4.2
Firmware(Incremental) eng.cltbld.20150724.035246
Firmware Date Fri Jul 24 03:52:57 EDT 2015
Firmware Version v18D v4
Bootloader L1TC000118D0
Device: Flame v2.2_512mb (the latest)(affected)
Build ID 20151228032554
Gaia Revision 885647d92208fb67574ced44004ab2f29d23cb45
Gaia Date 2015-10-07 13:05:24
Gecko Revision https://hg.mozilla.org/releases/mozilla-b2g37_v2_2/rev/5e0425230b93
Gecko Version 37.0
Device Name flame
Firmware(Release) 4.4.2
Firmware(Incremental) eng.cltbld.20151228.065250
Firmware Date Mon Dec 28 06:53:01 EST 2015
Firmware Version v18D v4
Bootloader L1TC000118D0
Device: Flame master_512mb (the oldest) (affected)
Build ID 20141111160205
Gaia Revision 5ae28ff11b982e2bd7d1aa097cda131536952bdc
Gaia Date 2014-11-11 18:27:28
Gecko Revision https://hg.mozilla.org/mozilla-central/rev/a926116946f8
Gecko Version 36.0a1
Device Name flame
Firmware(Release) 4.4.2
Firmware(Incremental) eng.cltbld.20141111.191942
Firmware Date Tue Nov 11 19:19:51 EST 2014
Firmware Version v18D v4
Bootloader L1TC000118D0
Device: Flame 2.0_512mb (base image: v188)(affected)
Build ID 20141123000206
Gaia Revision 124c2f85f1b956e9e8429dab5121de702a3bc197
Gaia Date 2014-11-21 20:22:22
Gecko Revision https://hg.mozilla.org/releases/mozilla-b2g32_v2_0/rev/6b59dd2837c1
Gecko Version 32.0
Device Name flame
Firmware(Release) 4.4.2
Firmware(Incremental) eng.cltbld.20141123.032645
Firmware Date Sun Nov 23 03:27:00 EST 2014
Bootloader L1TC00011880
status-b2g-v2.0:
--- → affected
status-b2g-v2.2:
--- → affected
Updated•10 years ago
|
status-b2g-v2.1:
--- → affected
I believe this is a duplicate issue.
https://bugzilla.mozilla.org/show_bug.cgi?id=1006688#c7
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → DUPLICATE
| Reporter | ||
Comment 8•10 years ago
|
||
I think that it is not the same bug, :nhirata.
That bug was related to the way that you have to take the screenshots. Probably, because of that bug, you started to use screencap-gecko.
But for this new builds, screencap-gecko does not exist and "screencap" is a symbolic link pointing to nowhere (and that's why it doesn't generate any result).
In my opinion, they are related but they are different bugs.
Status: RESOLVED → REOPENED
Resolution: DUPLICATE → ---
What I was trying to get at was I believe that it has to pass through the gecko layer so you wouldn't be able to use command line. Maybe I'm wrong. mwu or sotaro could probably let us know for sure. I should have deferred to their expertise.
Flags: needinfo?(sotaro.ikeda.g)
Flags: needinfo?(mwu)
answered in : https://bugzilla.mozilla.org/show_bug.cgi?id=1144103#c33
Flags: needinfo?(sotaro.ikeda.g)
Flags: needinfo?(mwu)
| Assignee | ||
Comment 11•10 years ago
|
||
(In reply to Naoki Hirata :nhirata (please use needinfo instead of cc) from comment #10)
> answered in : https://bugzilla.mozilla.org/show_bug.cgi?id=1144103#c33
It is about screenrecord.
| Assignee | ||
Comment 12•10 years ago
|
||
I take a look about what is happening.
| Assignee | ||
Comment 13•10 years ago
|
||
(In reply to Sotaro Ikeda [:sotaro] from comment #11)
> (In reply to Naoki Hirata :nhirata (please use needinfo instead of cc) from
> comment #10)
> > answered in : https://bugzilla.mozilla.org/show_bug.cgi?id=1144103#c33
>
> It is about screenrecord.
If we want to get correct screenshot(screencap), we need to take it via gecko since gonk uses hwc for final compositing. But we do not implement it yet. Bug 1144103 just adds support of screenrecord.
screencap is implemented by the following.
http://androidxref.com/6.0.0_r1/xref/frameworks/base/cmds/screencap/screencap.cpp#109
At first, it try to get screenshot by using ScreenshotClient. It try to get screenshot from ISurfaceComposer. If it failed, it falls back to /dev/graphics/fb0 readback.
Since JB, /dev/graphics/fb0 might not be possible to readback. And even when if succeeds to read back, it might not be correct screenshot, since hwc is final compositing stage.
On aries, /dev/graphics/fb0 could be read back. But on flame-kk, it could not be read back. It failed to map /dev/graphics/fb0. And on both devices, taking screenshot via ScreenshotClient was failed.
Assignee: nobody → sotaro.ikeda.g
| Assignee | ||
Comment 14•10 years ago
|
||
From comment 13, this bug is actually dup of Bug 1144103. We need to add support of ScreenshotClient, if we want to support "adb shell screencap" correctly.
| Assignee | ||
Comment 15•10 years ago
|
||
(In reply to Sotaro Ikeda [:sotaro] from comment #14)
> From comment 13, this bug is actually dup of Bug 1144103.
Correction:
this bug is actually dup of bug 1006688.
| Assignee | ||
Updated•10 years ago
|
Status: REOPENED → RESOLVED
Closed: 10 years ago → 10 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•