Closed Bug 1518386 Opened 5 years ago Closed 5 years ago

OES_texture_float_linear is listed as supported but does not work

Categories

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

64 Branch
ARM
Android
enhancement

Tracking

()

RESOLVED FIXED
mozilla67
Tracking Status
firefox67 --- fixed

People

(Reporter: trass3r, Assigned: jgilbert)

Details

(Keywords: feature, Whiteboard: [gfx-noted])

Attachments

(1 file)

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:64.0) Gecko/20100101 Firefox/64.0

Steps to reproduce:

visited https://donghaoren.org/buddhabrot/ on my Galaxy S7

Actual results:

Firefox only shows a black canvas.
http://webglreport.com/?v=2 lists the extension as supported.

Expected results:

Afaik float textures are not supported on this hardware.
Chrome displays a helpful error message "Unable to initialize WebGL 2 for rendering.
Reason: WebGL extension 'OES_texture_float_linear' is not supported"

Status: UNCONFIRMED → NEW
Component: General → Canvas: WebGL
Ever confirmed: true
Product: Firefox for Android → Core
Version: Firefox 64 → 64 Branch
OS: Unspecified → Android
Hardware: Unspecified → ARM

:jnicol, can you comment to the bug? Since it is for android.

Flags: needinfo?(jnicol)
Priority: -- → P3
Whiteboard: [gfx-noted]
Keywords: feature

I don't have a S7, so I am testing on my Exynos S6. I can't reproduce either positively or negatively. Both Chrome and Firefox simply display a blank white page - no black canvas and no error message.

Both chrome and firefox report the extension as supported on webglreport. It seems strange to me that a later Mali GPU in the S7 wouldn't support the extension when the S6 does, but maybe the S6 is lying. Trass3r, what does Chrome report for you on webglreport?

Jeff, any ideas?

Flags: needinfo?(jnicol) → needinfo?(jgilbert)

Please attach about:support.

Flags: needinfo?(jgilbert) → needinfo?(trass3r)

Chrone does not list the extension as being supported.

Platform: Linux armv8l
Browser User Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.99 Safari/537.36
Context Name: webgl2
GL Version: WebGL 2.0 (OpenGL ES 3.0 Chromium)
Shading Language Version: WebGL GLSL ES 3.00 (OpenGL ES GLSL ES 3.0 Chromium)
Vendor: WebKit
Renderer: WebKit WebGL
Unmasked Vendor: ARM
Unmasked Renderer: Mali-T880

about:support:

Allgemeine Informationen

Name: Fennec
Version: 64.0.1
Build-ID: 20181213132357
User-Agent: Mozilla/5.0 (Android 8.0.0; Mobile; rv:64.0) Gecko/64.0 Firefox/64.0
Betriebssystem: Linux 26
Fenster mit mehreren Prozessen: 0/1 (deaktiviert)
Web-Inhaltsprozesse:
Unternehmensrichtlinien:
Google-Schlüssel: Gefunden
Mozilla-Location-Service-Schlüssel: Gefunden
Abgesicherter Modus: false

Absturzberichte der letzten 3 Tage

Alle Absturzberichte Firefox-Funktionen

Name: Web Compat
Version: 3.0.0
ID: webcompat@mozilla.org

Erweiterungen

Name: Fit To Width
Version: 0.5.1
Aktiviert: true
ID: @fittowidth

Name: uBlock Origin
Version: 1.17.4
Aktiviert: true
ID: uBlock0@raymondhill.net

Name: Video Speed Controller
Version: 0.5.1
Aktiviert: true
ID: {7be2ba16-0f1e-4d93-9ebc-5164397477a9}

Name: Enable Right Click and Copy
Version: 2017.4.12
Aktiviert: false
ID: enable-right-click-and-copy@afnankhan

Sicherheitssoftware
------------------- Typ:

Typ:

Typ:

Grafik

Allgemeine Merkmale
Compositing: OpenGL
Asynchrones Wischen und Zoomen: Berührungs-Eingabe aktiviert; automatischer Bildlauf aktiviert
WebGL-1-Treiber: WSI Info: EGL_VENDOR: ARM EGL_VERSION: 1.4 Midgard-"r22p0-01rel0" EGL_EXTENSIONS: EGL_ANDROID_image_native_buffer EGL_ANDROID_recordable EGL_ANDROID_native_fence_sync EGL_ANDROID_framebuffer_target EGL_ANDROID_image_crop EGL_ANDROID_blob_cache EGL_KHR_partial_update EGL_KHR_mutable_render_buffer EGL_KHR_config_attribs EGL_KHR_image EGL_KHR_image_base EGL_KHR_fence_sync EGL_KHR_wait_sync EGL_KHR_gl_colorspace EGL_KHR_get_all_proc_addresses EGL_IMG_context_priority EGL_KHR_no_config_context EGL_EXT_protected_surface EGL_EXT_protected_content EGL_ARM_implicit_external_sync EGL_KHR_gl_texture_2D_image EGL_KHR_gl_renderbuffer_image EGL_KHR_create_context EGL_KHR_surfaceless_context EGL_KHR_gl_texture_cubemap_image EGL_EXT_create_context_robustness
WebGL-1-Treiber: Renderer: ARM -- Mali-T880
WebGL-1-Treiber: Version: OpenGL ES 3.2 v1.r22p0-01rel0.f294e54ceb2cb2d81039204fa4b0402e
WebGL-1-Treiber: Erweiterungen: GL_EXT_debug_marker GL_ARM_rgba8 GL_ARM_mali_shader_binary GL_OES_depth24 GL_OES_depth_texture GL_OES_depth_texture_cube_map GL_OES_packed_depth_stencil GL_OES_rgb8_rgba8 GL_EXT_read_format_bgra GL_OES_compressed_paletted_texture GL_OES_compressed_ETC1_RGB8_texture GL_OES_standard_derivatives GL_OES_EGL_image GL_OES_EGL_image_external GL_OES_EGL_image_external_essl3 GL_OES_EGL_sync GL_OES_texture_npot GL_OES_vertex_half_float GL_OES_required_internalformat GL_OES_vertex_array_object GL_OES_mapbuffer GL_EXT_texture_format_BGRA8888 GL_EXT_texture_rg GL_EXT_texture_type_2_10_10_10_REV GL_OES_fbo_render_mipmap GL_OES_element_index_uint GL_EXT_shadow_samplers GL_OES_texture_compression_astc GL_KHR_texture_compression_astc_ldr GL_KHR_texture_compression_astc_hdr GL_KHR_texture_compression_astc_sliced_3d GL_KHR_debug GL_EXT_occlusion_query_boolean GL_EXT_disjoint_timer_query GL_EXT_blend_minmax GL_EXT_discard_framebuffer GL_OES_get_program_binary GL_OES_texture_3D GL_EXT_texture_storage GL_EXT_multisampled_render_to_texture GL_OES_surfaceless_context GL_OES_texture_stencil8 GL_EXT_shader_pixel_local_storage GL_ARM_shader_framebuffer_fetch GL_ARM_shader_framebuffer_fetch_depth_stencil GL_ARM_mali_program_binary GL_EXT_sRGB GL_EXT_sRGB_write_control GL_EXT_texture_sRGB_decode GL_EXT_texture_sRGB_R8 GL_EXT_texture_sRGB_RG8 GL_KHR_blend_equation_advanced GL_KHR_blend_equation_advanced_coherent GL_OES_texture_storage_multisample_2d_array GL_OES_shader_image_atomic GL_EXT_robustness GL_EXT_draw_buffers_indexed GL_OES_draw_buffers_indexed GL_EXT_texture_border_clamp GL_OES_texture_border_clamp GL_EXT_texture_cube_map_array GL_OES_texture_cube_map_array GL_OES_sample_variables GL_OES_sample_shading GL_OES_shader_multisample_interpolation GL_EXT_shader_io_blocks GL_OES_shader_io_blocks GL_EXT_tessellation_shader GL_OES_tessellation_shader GL_EXT_primitive_bounding_box GL_OES_primitive_bounding_box GL_EXT_geometry_shader GL_OES_geometry_shader GL_ANDROID_extension_pack_es31a GL_EXT_gpu_shader5 GL_OES_gpu_shader5 GL_EXT_texture_buffer GL_OES_texture_buffer GL_EXT_copy_image GL_OES_copy_image GL_EXT_shader_non_constant_global_initializers GL_EXT_color_buffer_half_float GL_EXT_color_buffer_float GL_EXT_YUV_target GL_OVR_multiview GL_OVR_multiview2 GL_OVR_multiview_multisampled_render_to_texture GL_KHR_robustness GL_KHR_robust_buffer_access_behavior GL_EXT_draw_elements_base_vertex GL_OES_draw_elements_base_vertex GL_EXT_protected_textures GL_EXT_buffer_storage
WebGL-1-Erweiterungen: ANGLE_instanced_arrays EXT_blend_minmax EXT_color_buffer_half_float EXT_frag_depth EXT_sRGB EXT_disjoint_timer_query OES_element_index_uint OES_standard_derivatives OES_texture_float OES_texture_float_linear OES_texture_half_float OES_texture_half_float_linear OES_vertex_array_object WEBGL_color_buffer_float WEBGL_compressed_texture_astc WEBGL_compressed_texture_etc WEBGL_compressed_texture_etc1 WEBGL_debug_renderer_info WEBGL_debug_shaders WEBGL_depth_texture WEBGL_draw_buffers WEBGL_lose_context
WebGL-2-Treiber: WSI Info: EGL_VENDOR: ARM EGL_VERSION: 1.4 Midgard-"r22p0-01rel0" EGL_EXTENSIONS: EGL_ANDROID_image_native_buffer EGL_ANDROID_recordable EGL_ANDROID_native_fence_sync EGL_ANDROID_framebuffer_target EGL_ANDROID_image_crop EGL_ANDROID_blob_cache EGL_KHR_partial_update EGL_KHR_mutable_render_buffer EGL_KHR_config_attribs EGL_KHR_image EGL_KHR_image_base EGL_KHR_fence_sync EGL_KHR_wait_sync EGL_KHR_gl_colorspace EGL_KHR_get_all_proc_addresses EGL_IMG_context_priority EGL_KHR_no_config_context EGL_EXT_protected_surface EGL_EXT_protected_content EGL_ARM_implicit_external_sync EGL_KHR_gl_texture_2D_image EGL_KHR_gl_renderbuffer_image EGL_KHR_create_context EGL_KHR_surfaceless_context EGL_KHR_gl_texture_cubemap_image EGL_EXT_create_context_robustness
WebGL-2-Treiber: Renderer: ARM -- Mali-T880
WebGL-2-Treiber: Version: OpenGL ES 3.2 v1.r22p0-01rel0.f294e54ceb2cb2d81039204fa4b0402e
WebGL-2-Treiber: Erweiterungen: GL_EXT_debug_marker GL_ARM_rgba8 GL_ARM_mali_shader_binary GL_OES_depth24 GL_OES_depth_texture GL_OES_depth_texture_cube_map GL_OES_packed_depth_stencil GL_OES_rgb8_rgba8 GL_EXT_read_format_bgra GL_OES_compressed_paletted_texture GL_OES_compressed_ETC1_RGB8_texture GL_OES_standard_derivatives GL_OES_EGL_image GL_OES_EGL_image_external GL_OES_EGL_image_external_essl3 GL_OES_EGL_sync GL_OES_texture_npot GL_OES_vertex_half_float GL_OES_required_internalformat GL_OES_vertex_array_object GL_OES_mapbuffer GL_EXT_texture_format_BGRA8888 GL_EXT_texture_rg GL_EXT_texture_type_2_10_10_10_REV GL_OES_fbo_render_mipmap GL_OES_element_index_uint GL_EXT_shadow_samplers GL_OES_texture_compression_astc GL_KHR_texture_compression_astc_ldr GL_KHR_texture_compression_astc_hdr GL_KHR_texture_compression_astc_sliced_3d GL_KHR_debug GL_EXT_occlusion_query_boolean GL_EXT_disjoint_timer_query GL_EXT_blend_minmax GL_EXT_discard_framebuffer GL_OES_get_program_binary GL_OES_texture_3D GL_EXT_texture_storage GL_EXT_multisampled_render_to_texture GL_OES_surfaceless_context GL_OES_texture_stencil8 GL_EXT_shader_pixel_local_storage GL_ARM_shader_framebuffer_fetch GL_ARM_shader_framebuffer_fetch_depth_stencil GL_ARM_mali_program_binary GL_EXT_sRGB GL_EXT_sRGB_write_control GL_EXT_texture_sRGB_decode GL_EXT_texture_sRGB_R8 GL_EXT_texture_sRGB_RG8 GL_KHR_blend_equation_advanced GL_KHR_blend_equation_advanced_coherent GL_OES_texture_storage_multisample_2d_array GL_OES_shader_image_atomic GL_EXT_robustness GL_EXT_draw_buffers_indexed GL_OES_draw_buffers_indexed GL_EXT_texture_border_clamp GL_OES_texture_border_clamp GL_EXT_texture_cube_map_array GL_OES_texture_cube_map_array GL_OES_sample_variables GL_OES_sample_shading GL_OES_shader_multisample_interpolation GL_EXT_shader_io_blocks GL_OES_shader_io_blocks GL_EXT_tessellation_shader GL_OES_tessellation_shader GL_EXT_primitive_bounding_box GL_OES_primitive_bounding_box GL_EXT_geometry_shader GL_OES_geometry_shader GL_ANDROID_extension_pack_es31a GL_EXT_gpu_shader5 GL_OES_gpu_shader5 GL_EXT_texture_buffer GL_OES_texture_buffer GL_EXT_copy_image GL_OES_copy_image GL_EXT_shader_non_constant_global_initializers GL_EXT_color_buffer_half_float GL_EXT_color_buffer_float GL_EXT_YUV_target GL_OVR_multiview GL_OVR_multiview2 GL_OVR_multiview_multisampled_render_to_texture GL_KHR_robustness GL_KHR_robust_buffer_access_behavior GL_EXT_draw_elements_base_vertex GL_OES_draw_elements_base_vertex GL_EXT_protected_textures GL_EXT_buffer_storage
WebGL-2-Erweiterungen: EXT_color_buffer_float EXT_disjoint_timer_query OES_texture_float_linear WEBGL_compressed_texture_astc WEBGL_compressed_texture_etc WEBGL_compressed_texture_etc1 WEBGL_debug_renderer_info WEBGL_debug_shaders WEBGL_lose_context
Verwendet Kacheln: true
Verwendent Kacheln für Inhalt: true
GPU 1
Aktiv: Ja
Beschreibung: Model: SM-G930F, Product: heroltexx, Manufacturer: samsung, Hardware: samsungexynos8890, OpenGL: ARM -- Mali-T880 -- OpenGL ES 3.2 v1.r22p0-01rel0.f294e54ceb2cb2d81039204fa4b0402e
Herstellerkennung: ARM
Gerätekennung: Mali-T880
Treiber-Version: OpenGL ES 3.2 v1.r22p0-01rel0.f294e54ceb2cb2d81039204fa4b0402e

Weitere Informationen
AzureCanvasAccelerated: 0
AzureCanvasBackend: skia
AzureContentBackend: skia
AzureFallbackCanvasBackend: none
TileHeight: 512
TileWidth: 512
Entscheidungsprotokoll
HW_COMPOSITING:
force_enabled by user: Force-enabled by pref
OPENGL_COMPOSITING:
force_enabled by user: Force-enabled by pref
WEBRENDER:
opt-in by default: WebRender is an opt-in feature
unavailable by runtime: WebRender not ready for use on Android
WEBRENDER_QUALIFIED:
blocked by env: Has battery
OMTP:
disabled by default: Disabled by default

Medien

Audio-Backend: opensl
Max. Kanäle: 2
Bevorzugte Sample-Rate: 48000
Ausgabegeräte
Name: Gruppe
Eingabegeräte
Name: Gruppe

Wichtige modifizierte Einstellungen

browser.cache.disk.capacity: 153600
browser.cache.disk.filesystem_reported: 1
browser.cache.disk.smart_size.first_run: false
browser.startup.homepage_override.mstone: 64.0.1
dom.presentation.device.name: SM-G930F
extensions.lastAppVersion: 64.0.1
general.useragent.updates.lastupdated: 1546725207912
media.autoplay.enabled: false
media.gmp-gmpopenh264.abi: arm-eabi-gcc3
media.gmp-gmpopenh264.lastUpdate: 1542379588
media.gmp-gmpopenh264.version: 1.7.1
media.gmp-manager.buildID: 20181213132357
media.gmp-manager.lastCheck: 1547628774
media.gmp.storage.version.observed: 1
media.play-stand-alone: false
network.cookie.prefsMigrated: true
network.dns.disablePrefetch: true
network.http.sendRefererHeader: 0
network.http.speculative-parallel-limit: 0
network.predictor.cleaned-up: true
network.predictor.enabled: false
network.prefetch-next: false
privacy.donottrackheader.enabled: true
storage.vacuum.last.index: 0
webgl.enable-draft-extensions: true

Wichtige nicht veränderbare Einstellungen

JavaScript

Inkrementelle GC: true

Barrierefreiheit

Aktiviert: false
Barrierefreiheit verhindern: 0

Bibliotheken-Versionen

NSPR
Minimal vorausgesetzte Version: 4.20
Verwendete Version: 4.20

NSS
Minimal vorausgesetzte Version: 3.40.1
Verwendete Version: 3.40.1

NSSSMIME
Minimal vorausgesetzte Version: 3.40.1
Verwendete Version: 3.40.1

NSSSSL
Minimal vorausgesetzte Version: 3.40.1
Verwendete Version: 3.40.1

NSSUTIL
Minimal vorausgesetzte Version: 3.40.1
Verwendete Version: 3.40.1

Internationalisierung & Lokalisierung

Anwendungseinstellungen
Angeforderte Sprachen: ["de-DE"]
Verfügbare Sprachen: ["en-US","an","ar","as","ast","az","be","bg","bn-BD","bn-IN","br","bs","ca","cak","cs","cy","da","de","dsb","el","en-CA","en-GB","en-ZA","eo","es-AR","es-CL","es-ES","es-MX","et","eu","fa","ff","fi","fr","fy-NL","ga-IE","gd","gl","gn","gu-IN","he","hi-IN","hr","hsb","hu","hy-AM","id","is","it","ja","ka","kab","kk","kn","ko","lij","lo","lt","lv","mai","ml","mr","ms","my","nb-NO","ne-NP","nl","nn-NO","oc","or","pa-IN","pl","pt-BR","pt-PT","rm","ro","ru","sk","sl","son","sq","sr","sv-SE","ta","te","th","tr","trs","uk","ur","uz","vi","wo","xh","zam","zh-CN","zh-TW"]
Anwendungssprachen: ["de","en-US"]
Region-Einstellungen: ["de-DE"]
Standardsprache: "en-US"
Betriebssystem
Sprachen des Betriebssystems: ["de-DE"]
Region-Einstellungen: ["de-DE"]

Flags: needinfo?(trass3r)

Yes lots of. It works for WebGL2 though: PASS No OES_texture_float support -- this is legal

WebGL1:
PASS Successfully enabled OES_texture_float extension

testing target: TEXTURE_2D, testing format: RGBA, magFilter is: NEAREST, minFilter is: NEAREST, OES_texture_float_linear is not enabled
FAIL getError expected: NO_ERROR. Was INVALID_OPERATION : OES_texture_float texture with non-Linear filter should succeed with NO_ERROR no matter whether OES_texture_float_linear is enabled or not
FAIL should be 255,255,255,255
at (0, 0) expected: 255,255,255,255 was 0,0,0,255

testing target: TEXTURE_2D, testing format: RGBA, magFilter is: NEAREST, minFilter is: LINEAR, OES_texture_float_linear is not enabled
FAIL getError expected: NO_ERROR. Was INVALID_OPERATION : OES_texture_float texture with Linear filter should produce [0, 0, 0, 1.0] with NO_ERROR if OES_texture_float_linear isn't enabled
PASS should be 0,0,0,255

testing target: TEXTURE_2D, testing format: RGBA, magFilter is: NEAREST, minFilter is: NEAREST_MIPMAP_NEAREST, OES_texture_float_linear is not enabled
FAIL getError expected: NO_ERROR. Was INVALID_OPERATION : should be no errors during texture setup
generateMipmap failed for floating-point TEXTURE_2D -- this is legal -- skipping the rest of this test

testing target: TEXTURE_2D, testing format: RGBA, magFilter is: NEAREST, minFilter is: NEAREST_MIPMAP_LINEAR, OES_texture_float_linear is not enabled
FAIL getError expected: NO_ERROR. Was INVALID_OPERATION : should be no errors during texture setup
generateMipmap failed for floating-point TEXTURE_2D -- this is legal -- skipping the rest of this test

testing target: TEXTURE_2D, testing format: RGBA, magFilter is: NEAREST, minFilter is: LINEAR_MIPMAP_NEAREST, OES_texture_float_linear is not enabled
FAIL getError expected: NO_ERROR. Was INVALID_OPERATION : should be no errors during texture setup
generateMipmap failed for floating-point TEXTURE_2D -- this is legal -- skipping the rest of this test

testing target: TEXTURE_2D, testing format: RGBA, magFilter is: NEAREST, minFilter is: LINEAR_MIPMAP_LINEAR, OES_texture_float_linear is not enabled
FAIL getError expected: NO_ERROR. Was INVALID_OPERATION : should be no errors during texture setup
generateMipmap failed for floating-point TEXTURE_2D -- this is legal -- skipping the rest of this test

testing target: TEXTURE_2D, testing format: RGBA, magFilter is: LINEAR, minFilter is: NEAREST, OES_texture_float_linear is not enabled
FAIL getError expected: NO_ERROR. Was INVALID_OPERATION : OES_texture_float texture with Linear filter should produce [0, 0, 0, 1.0] with NO_ERROR if OES_texture_float_linear isn't enabled
PASS should be 0,0,0,255

testing target: TEXTURE_2D, testing format: RGBA, magFilter is: LINEAR, minFilter is: LINEAR, OES_texture_float_linear is not enabled
FAIL getError expected: NO_ERROR. Was INVALID_OPERATION : OES_texture_float texture with Linear filter should produce [0, 0, 0, 1.0] with NO_ERROR if OES_texture_float_linear isn't enabled
PASS should be 0,0,0,255

testing target: TEXTURE_2D, testing format: RGBA, magFilter is: LINEAR, minFilter is: NEAREST_MIPMAP_NEAREST, OES_texture_float_linear is not enabled
FAIL getError expected: NO_ERROR. Was INVALID_OPERATION : should be no errors during texture setup
generateMipmap failed for floating-point TEXTURE_2D -- this is legal -- skipping the rest of this test

...

Flags: needinfo?(trass3r)
Pushed by jgilbert@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/5400aa721b8a
ES3 doesn't guarantee OES_texture_float_linear. r=lsalzman
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla67
Assignee: nobody → jgilbert
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: