Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unexpected WebGL error: 0x506 (1286) #13985

Closed
bobbydigitales opened this issue Oct 30, 2016 · 4 comments
Closed

Unexpected WebGL error: 0x506 (1286) #13985

bobbydigitales opened this issue Oct 30, 2016 · 4 comments

Comments

@bobbydigitales
Copy link

@bobbydigitales bobbydigitales commented Oct 30, 2016

Unexpected WebGL error: 0x506 (1286)

URL:

Servo Version:

Servo 0.0.1-b611e5c

Backtrace:


WARNING: <Constellation>: creating replacement pipeline for about:failure
WARNING: <ScriptThread PipelineId { namespace_id: PipelineNamespaceId(1), index: PipelineIndex(8) }>: FIXME: </script> not fully implemented
WARNING: <Constellation>: Pipeline PipelineId { namespace_id: PipelineNamespaceId(1), index: PipelineIndex(9) } got script tick after closure.
WARNING: <Constellation>: Pipeline PipelineId { namespace_id: PipelineNamespaceId(1), index: PipelineIndex(9) } got layout tick after closure.
WARNING: <Constellation>: No frame associated with pipeline PipelineId { namespace_id: PipelineNamespaceId(1), index: PipelineIndex(9) }
WARNING: <ScriptThread PipelineId { namespace_id: PipelineNamespaceId(0), index: PipelineIndex(2) }>: stop_parsing not implemented, full speed ahead!
WARNING: <Constellation>: Removed forward history after pipeline PipelineId { namespace_id: PipelineNamespaceId(1), index: PipelineIndex(9) } closure.
WARNING: <ScriptThread PipelineId { namespace_id: PipelineNamespaceId(0), index: PipelineIndex(1) }>: Mozbrowser event after iframe PipelineId { namespace_id: PipelineNamespaceId(0), index: PipelineIndex(1) }/PipelineId { namespace_id: PipelineNamespaceId(0), index: PipelineIndex(2) } closed.
WARNING: <ScriptThread PipelineId { namespace_id: PipelineNamespaceId(0), index: PipelineIndex(1) }>: Mozbrowser event after iframe PipelineId { namespace_id: PipelineNamespaceId(0), index: PipelineIndex(1) }/PipelineId { namespace_id: PipelineNamespaceId(0), index: PipelineIndex(2) } closed.
WARNING: <ScriptThread PipelineId { namespace_id: PipelineNamespaceId(0), index: PipelineIndex(1) }>: Mozbrowser event after iframe PipelineId { namespace_id: PipelineNamespaceId(0), index: PipelineIndex(1) }/PipelineId { namespace_id: PipelineNamespaceId(0), index: PipelineIndex(2) } closed.
WARNING: <ScriptThread PipelineId { namespace_id: PipelineNamespaceId(0), index: PipelineIndex(1) }>: Mozbrowser event after iframe PipelineId { namespace_id: PipelineNamespaceId(0), index: PipelineIndex(1) }/PipelineId { namespace_id: PipelineNamespaceId(0), index: PipelineIndex(2) } closed.
WARNING: <ScriptThread PipelineId { namespace_id: PipelineNamespaceId(0), index: PipelineIndex(1) }>: Mozbrowser event after iframe PipelineId { namespace_id: PipelineNamespaceId(0), index: PipelineIndex(1) }/PipelineId { namespace_id: PipelineNamespaceId(0), index: PipelineIndex(2) } closed.
WARNING: <WebGLThread>: Initial context creation failed, falling back to readback: CGLCreateContext
WARNING: <Constellation>: Pipeline PipelineId { namespace_id: PipelineNamespaceId(1), index: PipelineIndex(9) } got script tick after closure.
WARNING: <Constellation>: Pipeline PipelineId { namespace_id: PipelineNamespaceId(1), index: PipelineIndex(9) } got layout tick after closure.
WARNING: <Constellation>: Pipeline PipelineId { namespace_id: PipelineNamespaceId(1), index: PipelineIndex(9) } got script tick after closure.
WARNING: <Constellation>: Pipeline PipelineId { namespace_id: PipelineNamespaceId(1), index: PipelineIndex(9) } got layout tick after closure.
WARNING: <ScriptThread PipelineId { namespace_id: PipelineNamespaceId(0), index: PipelineIndex(1) }>: Mozbrowser event after iframe PipelineId { namespace_id: PipelineNamespaceId(0), index: PipelineIndex(1) }/PipelineId { namespace_id: PipelineNamespaceId(0), index: PipelineIndex(2) } closed.
WARNING: <Constellation>: No frame associated with pipeline PipelineId { namespace_id: PipelineNamespaceId(1), index: PipelineIndex(9) }
WARNING: <ScriptThread PipelineId { namespace_id: PipelineNamespaceId(1), index: PipelineIndex(8) }>: WebGL error: InvalidEnum, previous error was None
WARNING: <ScriptThread PipelineId { namespace_id: PipelineNamespaceId(1), index: PipelineIndex(8) }>: WebGL error: InvalidEnum, previous error was Some(InvalidEnum)
WARNING: <ScriptThread PipelineId { namespace_id: PipelineNamespaceId(1), index: PipelineIndex(8) }>: WebGL error: InvalidEnum, previous error was Some(InvalidEnum)
WARNING: <WebGLThread>: Panic hook called.
ERROR: Unexpected WebGL error: 0x506 (1286)

stack backtrace:
   0:        0x11097369e - backtrace::backtrace::trace::h6ac07ced1b846a59
   1:        0x11097398c - backtrace::capture::Backtrace::new::h1d3339ed08c7f861
   2:        0x10f859515 - constellation::constellation::log_entry::hc92ce9b47dde5c21
   3:        0x10f8583e2 - _<constellation..constellation..FromCompositorLogger as log..Log>::log::h27ef5afa70002f0a
   4:        0x1110a5861 - log::__log::hf7539da7e3bbacdb
   5:        0x10f7499e0 - servo::main::_{{closure}}::h70a6b1b48115735a
   6:        0x111104043 - std::panicking::rust_panic_with_hook::hcd9d05f53fa0dafc
   7:        0x111103f14 - std::panicking::begin_panic::hf6c488cee66e7f17
   8:        0x111103e32 - std::panicking::begin_panic_fmt::hb0a7126ee57cdd27
   9:        0x1109be17c - canvas::webgl_paint_thread::GLContextWrapper::apply_command::h814dfb89530c0033
  10:        0x1109a8819 - std::panicking::try::do_call::h91fafc08ee77b214
  11:        0x11110506a - __rust_maybe_catch_panic
  12:        0x1109afdf3 - _<F as alloc..boxed..FnBox<A>>::call_box::h455836191b9c8045
  13:        0x111102ef4 - std::sys::thread::Thread::new::thread_start::h50b05608a499d2b2
  14:     0x7fff8dbc199c - _pthread_body
  15:     0x7fff8dbc1919 - _pthread_start

This report was generated by the browser.html issue reporter.

@jdm
Copy link
Member

@jdm jdm commented Oct 30, 2016

@bobbydigitales Any idea what page you were on when this happened?

@bobbydigitales
Copy link
Author

@bobbydigitales bobbydigitales commented Oct 30, 2016

It was the basic cube example of three.js:
https://threejs.org/examples/#webgl_geometry_cube

On Oct 30, 2016 05:58, "Josh Matthews" notifications@github.com wrote:

@bobbydigitales https://github.com/bobbydigitales Any idea what page
you were on when this happened?


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
#13985 (comment), or mute
the thread
https://github.com/notifications/unsubscribe-auth/ABWvOPGwgsKuJUQ4UBwTgIba_eLuEgezks5q5JRhgaJpZM4KkVT7
.

@anholt
Copy link
Contributor

@anholt anholt commented Oct 30, 2016

Failed to reproduce on a Linux Skylake system. The page just throws a compile failure due to highp usage (which is apparently not getting translated away?)

@MortimerGoro
Copy link
Contributor

@MortimerGoro MortimerGoro commented Apr 21, 2017

This was caused because by default Angle transpiler throws an exception when using highp qualifier in shaders. The property FragmentPrecisionHigh must be set to support highp.

bors-servo added a commit that referenced this issue Apr 21, 2017
Implement WebGL::GetShaderPrecisionFormat

<!-- Please describe your changes on the following line: -->

Implement WebGL::GetShaderPrecisionFormat. See servo/gleam#119 && servo/webrender#1127

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #13985 (github issue number if applicable).

<!-- Either: -->
- [x] There are tests for these changes OR
- [ ] These changes do not require tests because _____

<!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.-->

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/16544)
<!-- Reviewable:end -->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

4 participants
You can’t perform that action at this time.