Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(281)

Issue 880643004: Use GSC0 instead of GSC1 for video encoding. (Closed)

Created:
5 years, 11 months ago by ynovikov
Modified:
5 years, 11 months ago
CC:
chromium-reviews, posciak+watch_chromium.org, jam, mcasas+watch_chromium.org, feature-media-reviews_chromium.org, darin-cc_chromium.org, piman+watch_chromium.org, wjia+watch_chromium.org, jln+watch_chromium.org, marcheu
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Use GSC0 instead of GSC1 for video encoding. BUG=368775 TEST=Casting WebRTC works on daisy and peach_pit Committed: https://crrev.com/0c700e62b4574a1d63d61b500c34a710baa0f5ad Cr-Commit-Position: refs/heads/master@{#313367}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+3 lines, -3 lines) Patch
M content/common/gpu/media/generic_v4l2_video_device.cc View 1 chunk +1 line, -1 line 0 comments Download
M content/common/sandbox_linux/bpf_cros_arm_gpu_policy_linux.cc View 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 19 (3 generated)
ynovikov
Need to free up GSC1 for YUV overlays usage.
5 years, 11 months ago (2015-01-26 21:13:32 UTC) #2
marcheu
yup it seems wise to do this while we can (i.e. while we haven't introduced ...
5 years, 11 months ago (2015-01-26 22:10:17 UTC) #4
jln (very slow on Chromium)
lgtm
5 years, 11 months ago (2015-01-26 23:33:36 UTC) #5
Pawel Osciak
lgtm
5 years, 11 months ago (2015-01-26 23:45:34 UTC) #6
Pawel Osciak
When you tested, did you verify that it was using HW encode?
5 years, 11 months ago (2015-01-26 23:47:40 UTC) #7
ynovikov
Is there a simple way to check that? I checked that /dev/video12 is open by ...
5 years, 11 months ago (2015-01-27 00:24:46 UTC) #8
Pawel Osciak
On 2015/01/27 00:24:46, ynovikov wrote: > Is there a simple way to check that? I ...
5 years, 11 months ago (2015-01-27 00:29:12 UTC) #9
ynovikov
On 2015/01/27 00:29:12, Pawel Osciak wrote: > On 2015/01/27 00:24:46, ynovikov wrote: > > Is ...
5 years, 11 months ago (2015-01-27 21:32:28 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/880643004/1
5 years, 11 months ago (2015-01-27 21:33:24 UTC) #12
commit-bot: I haz the power
Committed patchset #1 (id:1)
5 years, 11 months ago (2015-01-27 21:57:05 UTC) #13
commit-bot: I haz the power
Patchset 1 (id:??) landed as https://crrev.com/0c700e62b4574a1d63d61b500c34a710baa0f5ad Cr-Commit-Position: refs/heads/master@{#313367}
5 years, 11 months ago (2015-01-27 21:58:15 UTC) #14
Pawel Osciak
On 2015/01/27 21:32:28, ynovikov wrote: > On 2015/01/27 00:29:12, Pawel Osciak wrote: > > On ...
5 years, 11 months ago (2015-01-28 00:22:57 UTC) #15
ynovikov
On 2015/01/28 00:22:57, Pawel Osciak wrote: > On 2015/01/27 21:32:28, ynovikov wrote: > > On ...
5 years, 11 months ago (2015-01-28 00:44:00 UTC) #16
Pawel Osciak
On 2015/01/28 00:44:00, ynovikov wrote: > On 2015/01/28 00:22:57, Pawel Osciak wrote: > > On ...
5 years, 11 months ago (2015-01-28 00:46:27 UTC) #17
ynovikov
On 2015/01/28 00:46:27, Pawel Osciak wrote: > On 2015/01/28 00:44:00, ynovikov wrote: > > On ...
5 years, 11 months ago (2015-01-28 01:43:25 UTC) #18
Pawel Osciak
5 years, 11 months ago (2015-01-28 01:46:12 UTC) #19
Message was sent while issue was closed.
On 2015/01/28 01:43:25, ynovikov wrote:
> On 2015/01/28 00:46:27, Pawel Osciak wrote:
> > On 2015/01/28 00:44:00, ynovikov wrote:
> > > On 2015/01/28 00:22:57, Pawel Osciak wrote:
> > > > On 2015/01/27 21:32:28, ynovikov wrote:
> > > > > On 2015/01/27 00:29:12, Pawel Osciak wrote:
> > > > > > On 2015/01/27 00:24:46, ynovikov wrote:
> > > > > > > Is there a simple way to check that? I checked that /dev/video12
is
> > open
> > > > by
> > > > > > > gpu process.
> > > > > > 
> > > > > > That should be sufficient then thanks. Just checking if webrtc
worked
> > per
> > > > > TEST=
> > > > > > line in description would not have been sufficient.
> > > > > > 
> > > > > > The easy way to check is to check
> > > > > > about:histograms/Media.RTCVideoEncoderInitEncodeSuccess and verify
it
> > was
> > > 1.
> > > > > 
> > > > > I don't have Media.RTCVideoEncoderInitEncodeSuccess, but I do have
> > > > > Cast.Sender.VideoEncodeAcceleratorInitializeSuccess==1.
> > > > > I think it's sufficient, as I've verified that
> > > > V4L2ImageProcessor::Initialize()
> > > > > is called from that path.
> > > > 
> > > > Oh so you were not testing webrtc. Cast does not use webrtc. But yes,
it's
> > > > sufficient. Thanks.
> > > 
> > > I was casting https://apprtc.appspot.com/?debug=loopback.
> > > That's the only thing I found that actually used GSC hardware.
> > 
> > Which device? If it was on Pit, you should have actually have had two
> instances
> > of HW encoder running and you should've seen both the Cast histogram you saw
> and
> > Webrtc histogram I mentioned above. If you didn't see both, something is
> wrong.
> 
> Ah, sorry, I've initially tested on both daisy and peach_pit, but checked the
> histogram only on daisy.
> Now I've checked on peach_pit, too, and, indeed, I see both the histograms.
> Thanks to your explanation, now I understand why I saw two /dev/video12 fds
open
> on peach_pit, and only one on daisy.

Sure, thank you so much for retesting, very much appreciated!

Powered by Google App Engine
This is Rietveld 408576698