New issue
Advanced search Search tips

Issue 872756 link

Starred by 2 users

Issue metadata

Status: Duplicate
Merged: issue 869277
Owner:
Closed: Aug 10
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Mac
Pri: 2
Type: Bug-Regression

Blocked on:
issue 869277



Sign in to add a comment

Crippled Video performance in WebGL

Reported by joaeb...@gmail.com, Aug 9

Issue description

UserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/69.0.3497.23 Safari/537.36

Steps to reproduce the problem:
1. Play a <video>, potentially using MediaSourceExtension (that's the case for us)
2. Upload to texture at 30fps, using:

  gl.bindTexture(gl.TEXTURE_2D, texture)
  gl.texParameteri(gl.TEXTURE_2D, gl.TEXTURE_WRAP_S, gl.CLAMP_TO_EDGE)
  gl.texParameteri(gl.TEXTURE_2D, gl.TEXTURE_WRAP_T, gl.CLAMP_TO_EDGE)
  gl.texParameteri(gl.TEXTURE_2D, gl.TEXTURE_MIN_FILTER, gl.LINEAR)
  gl.texParameteri(gl.TEXTURE_2D, gl.TEXTURE_MAG_FILTER, gl.LINEAR)
  gl.pixelStorei(gl.UNPACK_ALIGNMENT, 1)
  gl.texImage2D(gl.TEXTURE_2D, 0, gl.RGBA, gl.RGBA, gl.UNSIGNED_BYTE, content)
  gl.bindTexture(gl.TEXTURE_2D, null)

// looking at the code now, of course i see potential to use glTexSubImage2D

3. Draw the texture, see that you get approx 5fps of the video frames instead of the 30fps we're looking for

What is the expected behavior?
Smooth display of the video within WebGL

What went wrong?
Chrome 68.x had no problem rendering the video at 60fps. With 69 we see the broken behavior. Please have a look at both screen recordings. 

Did this work before? Yes 68.x

Chrome version: 69.0.3497.23  Channel: beta
OS Version: OS X 10.13.6
Flash Version:
 
chrome68.mov
5.0 MB View Download
chrome69.mov
5.7 MB View Download
also happening 69.0.3497.23 beta (64-Bit) a0f931c424245a817bf2ad63eb45c6c95f28e1ee-refs/branch-heads/3497@{#301} on ubuntu 16.04
Labels: Needs-Triage-M69 Needs-Bisect
Cc: kojii@chromium.org
Components: -Blink Internals>GPU>Video
Labels: Needs-Feedback
Thank you for reporting this to us.

Would you be able to provide some sample pages we can test this on?
Components: Blink>WebGL
Blockedon: 869277
Owner: liber...@chromium.org
I think this is a duplicate of  Issue 869277 .

Submitter, can you please test with Chrome Canary and confirm whether this is fixed there? The fix was just merged back to Chrome 69 so should show up in the next beta build.

👍Smooth video playback with Version 70.0.3518.0 (Official Build) canary (64-bit)

Status: Fixed (was: Unconfirmed)
thanks for the update!
Mergedinto: 869277
Status: Duplicate (was: Fixed)

Sign in to add a comment