Echo driver messages on GL error of WebRender in Debug

RESOLVED FIXED in Firefox 67

Status

()

defect
RESOLVED FIXED
4 months ago
4 months ago

People

(Reporter: kvark, Assigned: kvark)

Tracking

unspecified
mozilla67
Points:
---

Firefox Tracking Flags

(firefox67 fixed)

Details

Attachments

(1 attachment)

Assignee

Description

4 months ago

Current behavior is a panic, it doesn't let us see easily what went wrong. Running with apitrace allows to see the calls triggering the error, but apitrace replay doesn't hook up to KHR_debug to get more detailed messages.

Assignee

Comment 1

4 months ago

example error
ERROR 2019-03-01T15:23:27Z: webrender::device::gl: (error) GL_INVALID_ENUM error generated. Invalid primitive mode.
thread 'main' panicked at 'Caught GL error 500 at 'draw_elements_instanced'', webrender/src/device/gl.rs:1098:17
note: Run with RUST_BACKTRACE=1 for a backtrace.

Assignee

Comment 2

4 months ago

Having this would save me quite a bit of time investigating bug 1530576

Assignee: nobody → dmalyshau
Status: NEW → ASSIGNED

Comment 3

4 months ago
Pushed by dmalyshau@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/43079c556af9
Spew debug messages on GL error r=nical

Comment 4

4 months ago
bugherder
Status: ASSIGNED → RESOLVED
Closed: 4 months ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla67
You need to log in before you can comment on or make changes to this bug.