New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 701138 link

Starred by 2 users

Issue metadata

Status: WontFix
Owner:
OOO until 2019-01-24
Closed: Sep 6
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux
Pri: 2
Type: Bug-Regression



Sign in to add a comment

Multiple WebGL2 tests crash in driver on Linux Release (AMD R7 240) with "Uncaught TypeError: Cannot read property 'clearColor' of null".

Project Member Reported by ynovikov@chromium.org, Mar 13 2017

Issue description

First build with a certain failure is https://build.chromium.org/p/chromium.gpu.fyi/builders/Linux%20Release%20%28AMD%20R7%20240%29/builds/1629
However, builds before that were completely broken since https://build.chromium.org/p/chromium.gpu.fyi/builders/Linux%20Release%20%28AMD%20R7%20240%29/builds/1595, so it is unknown what started this.

Error is:
[618/2619] gpu_tests.webgl_conformance_integration_test.WebGLConformanceIntegrationTest.WebglConformance_conformance2_textures_image_bitmap_from_video_tex_2d_rgba16f_rgba_half_float failed unexpectedly 31.9338s:
  
  Traceback (most recent call last):
    _RunGpuTest at content/test/gpu/gpu_tests/gpu_integration_test.py:73
      self.RunActualGpuTest(url, *args)
    RunActualGpuTest at content/test/gpu/gpu_tests/webgl_conformance_integration_test.py:203
      getattr(self, test_name)(test_path, *args[1:])
    _RunConformanceTest at content/test/gpu/gpu_tests/webgl_conformance_integration_test.py:217
      self._CheckTestCompletion()
    _CheckTestCompletion at content/test/gpu/gpu_tests/webgl_conformance_integration_test.py:213
      self.fail(self._WebGLTestMessages(self.tab))
    fail at /usr/lib/python2.7/unittest/case.py:412
      raise self.failureException(msg)
  AssertionError: Unable to fetch WebGL rendering context for Canvas
  FAIL Unable to fetch WebGL rendering context for Canvas
  Uncaught TypeError: Cannot read property 'clearColor' of null
  
  Locals:
    msg : u"Unable to fetch WebGL rendering context for Canvas\nFAIL Unable to fetch WebGL rendering context for Canvas\nUncaught TypeError: Cannot read property 'clearColor' of null\n"

Followed by a crash stack.

Going to mark conformance2/textures/image_bitmap_from_video/tex-2d-rgba16f-rgba-half_float.html as failed on Linux AMD R7 240.
 
Project Member

Comment 1 by bugdroid1@chromium.org, Mar 13 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/1aee72cca9f084155d38086325660fed191f2b46

commit 1aee72cca9f084155d38086325660fed191f2b46
Author: ynovikov <ynovikov@chromium.org>
Date: Mon Mar 13 23:46:54 2017

Suppress a WebGL2 failing test on Linux AMD R7 240

conformance2/textures/image_bitmap_from_video/
tex-2d-rgba16f-rgba-half_float.html

BUG= 701138 
TBR=kbr@chromium.org
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.android:android_optional_gpu_tests_rel;master.tryserver.chromium.linux:linux_optional_gpu_tests_rel;master.tryserver.chromium.mac:mac_optional_gpu_tests_rel;master.tryserver.chromium.win:win_optional_gpu_tests_rel

Review-Url: https://codereview.chromium.org/2748883002
Cr-Commit-Position: refs/heads/master@{#456550}

[modify] https://crrev.com/1aee72cca9f084155d38086325660fed191f2b46/content/test/gpu/gpu_tests/webgl2_conformance_expectations.py

Summary: webgl2_conformance_tests tex_2d_rgba16f_rgba_half_float and tex_2d_rgba32f_rgba_float fail on Linux Release (AMD R7 240) (was: WebglConformance_conformance2_textures_image_bitmap_from_video_tex_2d_rgba16f_rgba_half_float fails on Linux Release (AMD R7 240))
WebglConformance_conformance2_textures_image_bitmap_from_video_tex_2d_rgba32f_rgba_float fails in a similar way, but sometimes is green. Going to disable it, since I think Flaky will not be enough to get the bot green.

[619/2619] gpu_tests.webgl_conformance_integration_test.WebGLConformanceIntegrationTest.WebglConformance_conformance2_textures_image_bitmap_from_video_tex_2d_rgba32f_rgba_float failed unexpectedly 31.0845s:
  
  Traceback (most recent call last):
    _RunGpuTest at content/test/gpu/gpu_tests/gpu_integration_test.py:73
      self.RunActualGpuTest(url, *args)
    RunActualGpuTest at content/test/gpu/gpu_tests/webgl_conformance_integration_test.py:203
      getattr(self, test_name)(test_path, *args[1:])
    _RunConformanceTest at content/test/gpu/gpu_tests/webgl_conformance_integration_test.py:217
      self._CheckTestCompletion()
    _CheckTestCompletion at content/test/gpu/gpu_tests/webgl_conformance_integration_test.py:213
      self.fail(self._WebGLTestMessages(self.tab))
    fail at /usr/lib/python2.7/unittest/case.py:412
      raise self.failureException(msg)
  AssertionError: Unable to fetch WebGL rendering context for Canvas
  FAIL Unable to fetch WebGL rendering context for Canvas
  Uncaught TypeError: Cannot read property 'clearColor' of null
  
  Locals:
    msg : u"Unable to fetch WebGL rendering context for Canvas\nFAIL Unable to fetch WebGL rendering context for Canvas\nUncaught TypeError: Cannot read property 'clearColor' of null\n"

Project Member

Comment 3 by bugdroid1@chromium.org, Mar 14 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/7f5d55a7e2e1ca2cdc10b3cd7e38685f87215584

commit 7f5d55a7e2e1ca2cdc10b3cd7e38685f87215584
Author: ynovikov <ynovikov@chromium.org>
Date: Tue Mar 14 21:38:14 2017

Suppress a WebGL2 flaky test on Linux AMD R7 240

conformance2/textures/image_bitmap_from_video/
tex-2d-rgba32f-rgba-float.html

BUG= 701138 
TBR=kbr@chromium.org
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.android:android_optional_gpu_tests_rel;master.tryserver.chromium.linux:linux_optional_gpu_tests_rel;master.tryserver.chromium.mac:mac_optional_gpu_tests_rel;master.tryserver.chromium.win:win_optional_gpu_tests_rel

Review-Url: https://codereview.chromium.org/2753643002
Cr-Commit-Position: refs/heads/master@{#456841}

[modify] https://crrev.com/7f5d55a7e2e1ca2cdc10b3cd7e38685f87215584/content/test/gpu/gpu_tests/webgl2_conformance_expectations.py

Summary: WebglConformance_conformance2_textures_image_bitmap_from_video tex_2d_rgba*float fail on Linux Release (AMD R7 240) (was: webgl2_conformance_tests tex_2d_rgba16f_rgba_half_float and tex_2d_rgba32f_rgba_float fail on Linux Release (AMD R7 240))
Now WebglConformance_conformance2_textures_image_bitmap_from_video_tex_2d_rgba16f_rgba_float started flaking.
https://build.chromium.org/p/chromium.gpu.fyi/builders/Linux%20Release%20%28AMD%20R7%20240%29/builds/1760

Same error:
  AssertionError: Unable to fetch WebGL rendering context for Canvas
  FAIL Unable to fetch WebGL rendering context for Canvas
  Uncaught TypeError: Cannot read property 'clearColor' of null

Summary: WebglConformance_conformance2_textures_image_bitmap_from_video_tex_2d_rgba* fail on Linux Release (AMD R7 240) (was: WebglConformance_conformance2_textures_image_bitmap_from_video tex_2d_rgba*float fail on Linux Release (AMD R7 240))
WebglConformance_conformance2_textures_image_bitmap_from_video_tex_2d_rgba4_rgba_unsigned_byte
WebglConformance_conformance2_textures_image_bitmap_from_video_tex_2d_rgba4_rgba_unsigned_short_4_4_4_4

also fail.

These failures have this crash inside AMD driver in common:
 Thread 0 (crashed)
   0  fglrx_dri.so + 0x1635599
      rax = 0x0000000000000000   rdx = 0x0000000000000000
      rcx = 0x0000000000000035   rbx = 0x00003db04b0c6900
      rsi = 0x00003db04db66b80   rdi = 0x00003db047e47278
      rbp = 0x00003db04b0c6900   rsp = 0x00007ffeb248b270
       r8 = 0x0000000000000000    r9 = 0x00007ffeb248a640
      r10 = 0x0000000000000000   r11 = 0x0000000000000000
      r12 = 0x00007ffeb248b2f0   r13 = 0x0000000000000000
      r14 = 0x00003db04b3d1000   r15 = 0x00003db04f0ce000
      rip = 0x00007fe5b192b599
      Found by: given as instruction pointer in context
   1  fglrx_dri.so + 0x163576a
      rsp = 0x00007ffeb248b2b0   rip = 0x00007fe5b192b76a
      Found by: stack scanning
   2  fglrx_dri.so + 0x163578d
      rsp = 0x00007ffeb248b330   rip = 0x00007fe5b192b78d
      Found by: stack scanning
   3  fglrx_dri.so + 0xf381eb
      rsp = 0x00007ffeb248b370   rip = 0x00007fe5b122e1eb
      Found by: stack scanning
   4  fglrx_dri.so + 0xf3b37d
      rsp = 0x00007ffeb248b3b0   rip = 0x00007fe5b123137d
      Found by: stack scanning
   5  fglrx_dri.so + 0x21aefa0
      rsp = 0x00007ffeb248b3e0   rip = 0x00007fe5b24a4fa0
      Found by: stack scanning
   6  chrome!<name omitted> [tcmalloc.cc : 1579 + 0x5]
      rsp = 0x00007ffeb248b500   rip = 0x00007fe5c6fca28c
      Found by: stack scanning

Not sure why tcmalloc calls into AMD driver.

Comment 6 by kbr@chromium.org, Mar 15 2017

The stack trace is probably bogus.

Is there a more recent driver we could put on this machine?

Project Member

Comment 7 by bugdroid1@chromium.org, Mar 16 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/01c438d25416cb64735624b1a0572e0684714330

commit 01c438d25416cb64735624b1a0572e0684714330
Author: ynovikov <ynovikov@chromium.org>
Date: Thu Mar 16 03:18:22 2017

Suppress some flaky WebGL and WebGL2 tests

conformance/context/context-eviction-with-garbage-collection.html
on Android NVIDIA Shield.

conformance2/textures/image_bitmap_from_video/:
tex-2d-rgba16f-rgba-float.html
tex-2d-rgba4-rgba-unsigned_byte.html
tex-2d-rgba4-rgba-unsigned_short_4_4_4_4.html
on Linux AMD R7 240

BUG= 701138 ,  701929 
TBR=kbr@chromium.org
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.android:android_optional_gpu_tests_rel;master.tryserver.chromium.linux:linux_optional_gpu_tests_rel;master.tryserver.chromium.mac:mac_optional_gpu_tests_rel;master.tryserver.chromium.win:win_optional_gpu_tests_rel

Review-Url: https://codereview.chromium.org/2750243002
Cr-Commit-Position: refs/heads/master@{#457335}

[modify] https://crrev.com/01c438d25416cb64735624b1a0572e0684714330/content/test/gpu/gpu_tests/webgl2_conformance_expectations.py
[modify] https://crrev.com/01c438d25416cb64735624b1a0572e0684714330/content/test/gpu/gpu_tests/webgl_conformance_expectations.py

Owner: ynovikov@chromium.org
Status: Assigned (was: Unconfirmed)
It looks like you're handling this ynovikov?
Owner: ----
Status: Available (was: Assigned)
I've landed the suppressions, but it's not on my agenda to fix the actual problems.
Labels: -Pri-3 Pri-2
Summary: Multiple WebGL2 tests crash in driver on Linux Release (AMD R7 240) with "Uncaught TypeError: Cannot read property 'clearColor' of null". (was: WebglConformance_conformance2_textures_image_bitmap_from_video_tex_2d_rgba* fail on Linux Release (AMD R7 240))
There are more test failing now with "Uncaught TypeError: Cannot read property 'clearColor' of null".

WebglConformance_conformance2_textures_image_data_tex_3d_rgb565_rgb_unsigned_byte
WebglConformance_conformance2_textures_image_data_tex_3d_rgb565_rgb_unsigned_short_5_6_5
WebglConformance_conformance2_textures_image_data_tex_3d_rgb5_a1_rgba_unsigned_byte

Also same crashing stack in fglrx_dri.so after the failure.
Going to disable the tests.

To have it all in 1 comment, these tests are already disabled:
WebglConformance_conformance2_textures_image_bitmap_from_video_tex_2d_rgba4_rgba_unsigned_byte
WebglConformance_conformance2_textures_image_bitmap_from_video_tex_2d_rgba4_rgba_unsigned_short_4_4_4_4
WebglConformance_conformance2_textures_image_bitmap_from_video_tex_2d_rgba16f_rgba_float
WebglConformance_conformance2_textures_image_bitmap_from_video_tex_2d_rgba32f_rgba_float
WebglConformance_conformance2_textures_image_bitmap_from_video_tex_2d_rgba16f_rgba_half_float
Cc: kbr@chromium.org kainino@chromium.org
 Issue 725556  has been merged into this issue.
Project Member

Comment 12 by bugdroid1@chromium.org, May 27 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/6fc7d26fed0c458d1d0b86c2f53248919d98869c

commit 6fc7d26fed0c458d1d0b86c2f53248919d98869c
Author: ynovikov <ynovikov@chromium.org>
Date: Sat May 27 02:37:40 2017

Suppress Linux AMD and Intel WebGL2 CTS failures

deqp/functional/gles3/texturefiltering/*
deqp/functional/gles3/textureformat/*
deqp/functional/gles3/textureshadow/*
deqp/functional/gles3/texturespecification/*
on Linux Intel

conformance2/textures/image_data/tex-3d-rgb565-rgb-unsigned_byte.html
conformance2/textures/image_data/tex-3d-rgb565-rgb-unsigned_short_5_6_5.html
conformance2/textures/image_data/tex-3d-rgb5_a1-rgba-unsigned_byte.html
on Linux AMD

BUG= 701138 ,  725664 
TBR=kbr@chromium.org
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.android:android_optional_gpu_tests_rel;master.tryserver.chromium.linux:linux_optional_gpu_tests_rel;master.tryserver.chromium.mac:mac_optional_gpu_tests_rel;master.tryserver.chromium.win:win_optional_gpu_tests_rel

Review-Url: https://codereview.chromium.org/2907753003
Cr-Commit-Position: refs/heads/master@{#475223}

[modify] https://crrev.com/6fc7d26fed0c458d1d0b86c2f53248919d98869c/content/test/gpu/gpu_tests/webgl2_conformance_expectations.py

One more flake - WebglConformance_conformance2_textures_image_data_tex_3d_rgb5_a1_rgba_unsigned_short_5_5_5_1 here:
https://build.chromium.org/p/chromium.gpu.fyi/builders/Linux%20Release%20%28AMD%20R7%20240%29/builds/2334
Project Member

Comment 15 by bugdroid1@chromium.org, Sep 5 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/5b9f5e493ea0e2dd78820370f888546037243568

commit 5b9f5e493ea0e2dd78820370f888546037243568
Author: Yuly Novikov <ynovikov@chromium.org>
Date: Tue Sep 05 19:52:36 2017

Suppress flaky WebGL2 test

conformance2/textures/image_data/tex-3d-rgb32f-rgb-float.html
on Linux AMD R7 240

BUG= 701138 
TBR=kbr@chromium.org

Cq-Include-Trybots: master.tryserver.chromium.android:android_optional_gpu_tests_rel;master.tryserver.chromium.linux:linux_optional_gpu_tests_rel;master.tryserver.chromium.mac:mac_optional_gpu_tests_rel;master.tryserver.chromium.win:win_optional_gpu_tests_rel
Change-Id: I9ec695b1e9ab078def24ae6078e9c3a76a6afab5
Reviewed-on: https://chromium-review.googlesource.com/650691
Commit-Queue: Yuly Novikov <ynovikov@chromium.org>
Reviewed-by: Yuly Novikov <ynovikov@chromium.org>
Cr-Commit-Position: refs/heads/master@{#499717}
[modify] https://crrev.com/5b9f5e493ea0e2dd78820370f888546037243568/content/test/gpu/gpu_tests/webgl2_conformance_expectations.py

Project Member

Comment 16 by sheriffbot@chromium.org, Sep 6

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
Owner: kbr@chromium.org
Status: WontFix (was: Untriaged)
This hardware is unfortunately obsolete and AMD isn't actively releasing new drivers for it. We're trying to replace it but in the meantime aren't going to investigate this further.

Sign in to add a comment