New issue
Advanced search Search tips

Issue 710874 link

Starred by 1 user

Issue metadata

Status: Available
Owner: ----
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 2
Type: Bug

Blocked on:
issue 701060



Sign in to add a comment

WebGL test conformance/extensions/oes-texture-float-with-video fails on Android/NVIDIA with GPU-GPU copies enabled

Project Member Reported by geoffl...@chromium.org, Apr 12 2017

Issue description

The conformance/extensions/oes-texture-float-with-video.html test has been failing on the Android Pixel C and Nexus 9 bots.

First failures: https://build.chromium.org/p/chromium.gpu.fyi/builders/Android%20Release%20%28Pixel%20C%29/builds/5492
https://build.chromium.org/p/chromium.gpu.fyi/builders/Android%20Release%20%28Nexus%209%29/builds/5827

Assuming it's failing because of https://codereview.chromium.org/2791813003 "Fix broken draw/upload paths from videos to 2D canvas and WebGL"
 
Hard to tell from the log exactly what's going wrong but it looks like either a shader that isn't compiling or an unsupported video format:

 testing: video/ogg; codecs="theora, vorbis"
  video/ogg; codecs="theora, vorbis" unsupported
  *** Error loading shader '[object WebGLShader]':INVALID_FRAMEBUFFER_OPERATION
  Error in compiling shader
  
  testing: video/mp4; codecs="avc1.42E01E, mp4a.40.2"
  
  testing: video/webm; codecs="vp8, vorbis"
  
  testing: video/webm; codecs="vp9"
  
  testing: video/ogg; codecs="theora, vorbis"
  video/ogg; codecs="theora, vorbis" unsupported

Comment 2 by kbr@chromium.org, Apr 12 2017

Uh oh. I'll revert while I debug this.

Comment 3 by kbr@chromium.org, Apr 12 2017

Comment 4 by kbr@chromium.org, Apr 13 2017

Blockedon: 701060
Cc: qiankun....@intel.com
Components: Blink>WebGL
Owner: ----
Status: Available (was: Assigned)
Summary: WebGL test conformance/extensions/oes-texture-float-with-video fails on Android/NVIDIA with GPU-GPU copies enabled (was: WebGL test conformance/extensions/oes-texture-float-with-video broken on Android)
The revert got these bots green again.

In https://codereview.chromium.org/2791813003/#ps250001 I disabled GPU-GPU copies to floating-point textures on all Android devices. It wasn't easy to narrow this workaround to only occur on NVIDIA GPUs.

Blocking on  Issue 701060 . Once that urgent bug is closed we should investigate this.

Comment 5 by capn@chromium.org, Apr 13 2017

Cc: capn@chromium.org sugoi@chromium.org
This is caused by assuming support for GL_EXT_color_buffer_float. We hit the same regression with SwiftShader the other day, and "fixed" it by implementing the extension.

Comment 6 by kbr@chromium.org, Apr 14 2017

Owner: qiankun....@intel.com
Status: Assigned (was: Available)
Good observation Nicolas. Studying the code for CopyTextureCHROMIUM, and in particular GLES2DecoderImpl::getCopyTextureCHROMIUMMethod and Texture::ColorRenderable, it looks like it may not be properly taking into account whether EXT_color_buffer_float is enabled. Since the context in which this is called is a WebGL 1.0 context (in which extensions are conditionally enabled), and it would really need to be "WEBGL_color_buffer_float" which would be enabled, I'm not sure what happens in this case.

I note that this works on Qualcomm GPUs, on which EXT_color_buffer_float is supported. NVIDIA GPUs for Android also support this extension.

I think something more complicated is going on here. Qiankun, can you help diagnose this more deeply? Do you have any hardware on which this reproduces? If not I can try to help.

Project Member

Comment 7 by sheriffbot@chromium.org, Jun 7 2017

Labels: Hotlist-Recharge-BouncingOwner
Owner: ----
Status: Untriaged (was: Assigned)
The assigned owner "qiankun.miao@intel.com" is not able to receive e-mails, please re-triage.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot

Comment 8 by kbr@chromium.org, Jun 7 2017

Cc: -qiankun....@intel.com qkmiao@chromium.org
Status: Available (was: Untriaged)
Components: -Internals>GPU>WebGL
Project Member

Comment 10 by sheriffbot@chromium.org, Jun 21 2018

Labels: Hotlist-Recharge-Cold
Status: Untriaged (was: Available)
This issue has been Available for over a year. If it's no longer important or seems unlikely to be fixed, please consider closing it out. If it is important, please re-triage the issue.

Sorry for the inconvenience if the bug really should have been left as Available.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot

Comment 11 by kbr@chromium.org, Jun 22 2018

Cc: -qkmiao@chromium.org
Labels: -Hotlist-Recharge-Cold
Status: Available (was: Untriaged)

Sign in to add a comment