Closed Bug 1481717 Opened 7 years ago Closed 6 years ago

WebGL doesn't work. drawArrays, Framebuffer not complete

Categories

(Core :: Graphics: CanvasWebGL, defect, P3)

63 Branch
Unspecified
Windows 7
defect

Tracking

()

RESOLVED INVALID
Tracking Status
firefox63 --- affected

People

(Reporter: karlcow, Unassigned)

References

()

Details

(Whiteboard: [webcompat][gfx-noted])

This is a spin-off of https://webcompat.com/issues/12905 1. Go to http://madebyevan.com/webgl-path-tracing/ 2. The page displays, but a black square is displayed instead of the WebGL scene. The console says: ``` Error: WebGL warning: drawArrays: Framebuffer not complete. (status: 0x8cd6) COLOR_ATTACHMENT0 has an effective format of RGB32F, which is not renderable webgl-path-tracing.js:729:3 Error: WebGL warning: drawArrays: Framebuffer must be complete. webgl-path-tracing.js:729:3 Error: WebGL warning: drawArrays: This operation requires zeroing texture data. This is slow. webgl-path-tracing.js:742:3 Error: WebGL warning: drawArrays: Framebuffer not complete. (status: 0x8cd6) COLOR_ATTACHMENT0 has an effective format of RGB32F, which is not renderable webgl-path-tracing.js:729:3 Error: WebGL warning: drawArrays: Framebuffer must be complete. webgl-path-tracing.js:729:3 Error: WebGL warning: drawArrays: This operation requires zeroing texture data. This is slow. webgl-path-tracing.js:742:3 Error: WebGL warning: drawArrays: Framebuffer not complete. (status: 0x8cd6) COLOR_ATTACHMENT0 has an effective format of RGB32F, which is not renderable webgl-path-tracing.js:729:3 Error: WebGL warning: drawArrays: Framebuffer must be complete. webgl-path-tracing.js:729:3 Error: WebGL warning: drawArrays: Framebuffer not complete. (status: 0x8cd6) COLOR_ATTACHMENT0 has an effective format of RGB32F, which is not renderable webgl-path-tracing.js:729:3 Error: WebGL warning: drawArrays: Framebuffer must be complete. webgl-path-tracing.js:729:3 Error: WebGL warning: drawArrays: Framebuffer not complete. (status: 0x8cd6) COLOR_ATTACHMENT0 has an effective format of RGB32F, which is not renderable webgl-path-tracing.js:729:3 Error: WebGL warning: drawArrays: Framebuffer must be complete. webgl-path-tracing.js:729:3 Error: WebGL warning: drawArrays: Framebuffer not complete. (status: 0x8cd6) COLOR_ATTACHMENT0 has an effective format of RGB32F, which is not renderable webgl-path-tracing.js:729:3 Error: WebGL warning: drawArrays: Framebuffer must be complete. webgl-path-tracing.js:729:3 Error: WebGL warning: drawArrays: Framebuffer not complete. (status: 0x8cd6) COLOR_ATTACHMENT0 has an effective format of RGB32F, which is not renderable webgl-path-tracing.js:729:3 Error: WebGL warning: drawArrays: Framebuffer must be complete. webgl-path-tracing.js:729:3 Error: WebGL warning: drawArrays: Framebuffer not complete. (status: 0x8cd6) COLOR_ATTACHMENT0 has an effective format of RGB32F, which is not renderable webgl-path-tracing.js:729:3 Error: WebGL warning: drawArrays: Framebuffer must be complete. webgl-path-tracing.js:729:3 Error: WebGL warning: drawArrays: Framebuffer not complete. (status: 0x8cd6) COLOR_ATTACHMENT0 has an effective format of RGB32F, which is not renderable webgl-path-tracing.js:729:3 Error: WebGL warning: drawArrays: Framebuffer must be complete. webgl-path-tracing.js:729:3 Error: WebGL warning: drawArrays: Framebuffer not complete. (status: 0x8cd6) COLOR_ATTACHMENT0 has an effective format of RGB32F, which is not renderable webgl-path-tracing.js:729:3 Error: WebGL warning: drawArrays: Framebuffer must be complete. webgl-path-tracing.js:729:3 Error: WebGL warning: drawArrays: Framebuffer not complete. (status: 0x8cd6) COLOR_ATTACHMENT0 has an effective format of RGB32F, which is not renderable webgl-path-tracing.js:729:3 Error: WebGL warning: drawArrays: Framebuffer must be complete. webgl-path-tracing.js:729:3 Error: WebGL warning: drawArrays: Framebuffer not complete. (status: 0x8cd6) COLOR_ATTACHMENT0 has an effective format of RGB32F, which is not renderable webgl-path-tracing.js:729:3 Error: WebGL warning: drawArrays: Framebuffer must be complete. webgl-path-tracing.js:729:3 Error: WebGL warning: drawArrays: Framebuffer not complete. (status: 0x8cd6) COLOR_ATTACHMENT0 has an effective format of RGB32F, which is not renderable webgl-path-tracing.js:729:3 Error: WebGL warning: drawArrays: Framebuffer must be complete. webgl-path-tracing.js:729:3 Error: WebGL warning: drawArrays: Framebuffer not complete. (status: 0x8cd6) COLOR_ATTACHMENT0 has an effective format of RGB32F, which is not renderable webgl-path-tracing.js:729:3 Error: WebGL warning: drawArrays: Framebuffer must be complete. webgl-path-tracing.js:729:3 Error: WebGL warning: drawArrays: Framebuffer not complete. (status: 0x8cd6) COLOR_ATTACHMENT0 has an effective format of RGB32F, which is not renderable webgl-path-tracing.js:729:3 Error: WebGL warning: drawArrays: Framebuffer must be complete. webgl-path-tracing.js:729:3 Error: WebGL: No further warnings will be reported for this WebGL context. (already reported 32 warnings) webgl-path-tracing.js:729:3 ```
Flags: needinfo?(jgilbert)
Whiteboard: [webcompat] → [webcompat][gfx-noted]

It is not fixed yet showing black in firefox 64.0.2

Flags: needinfo?(kdubost)

This app appears to be in violation of the WEBGL_color_buffer_float extension:
https://www.khronos.org/registry/webgl/extensions/WEBGL_color_buffer_float/

The 32-bit floating-point type RGB32F may also optionally become available as a color-renderable format. These and textures created with format = RGB and type = FLOAT as specified in OES_texture_float, can be attached to framebuffer object color attachments for rendering. Applications must check framebuffer completeness to determine if an implementation actually supports this format.

As such, this is not a bug. (And the application will have portability problems even on Chrome, where I imagine this works on some hardware. Users on hardware that just don't support RGB32F will see this fail in Chrome)

Please reopen if I'm mistaken!

Status: NEW → RESOLVED
Closed: 6 years ago
Flags: needinfo?(kdubost)
Flags: needinfo?(jgilbert)
Resolution: --- → INVALID

But works perfectly in chrome try this in http://madebyevan.com/webgl-path-tracing/ chrome

(In reply to prempink from comment #3)

But works perfectly in chrome try this in http://madebyevan.com/webgl-path-tracing/ chrome

But it will not work perfectly on a bunch of hardware on Chrome though. For instance, this does not work on my phone in either browser.

You need to log in before you can comment on or make changes to this bug.