UbuntuAsahi / ubuntu-asahi

Native Ubuntu installations for Apple silicon hardware
https://ubuntuasahi.org/
607 stars 21 forks source link

Firefox not hardware accelerated (native package) #116

Open Consistos opened 2 weeks ago

Consistos commented 2 weeks ago

I installed Firefox via a PPA (as I understand snap does not use the system's Mesa (similar to flatpack), but the upstream one, which lacks the AGX driver), but Firefox fails to use hardware acceleration. eglinfo -B 's output:

GBM platform:
eglinfo: eglInitialize failed

Wayland platform:
EGL API version: 1.5
EGL vendor string: Mesa Project
EGL version string: 1.5
EGL client APIs: OpenGL OpenGL_ES 
OpenGL core profile vendor: Mesa
OpenGL core profile renderer: Apple M2 (G14G B0)
OpenGL core profile version: 4.6 (Core Profile) Mesa 24.0~pre20240228-0asahi6.23.10
OpenGL core profile shading language version: 4.60
OpenGL compatibility profile vendor: Mesa
OpenGL compatibility profile renderer: Apple M2 (G14G B0)
OpenGL compatibility profile version: 4.6 (Compatibility Profile) Mesa 24.0~pre20240228-0asahi6.23.10
OpenGL compatibility profile shading language version: 4.60
OpenGL ES profile vendor: Mesa
OpenGL ES profile renderer: Apple M2 (G14G B0)
OpenGL ES profile version: OpenGL ES 3.2 Mesa 24.0~pre20240228-0asahi6.23.10
OpenGL ES profile shading language version: OpenGL ES GLSL ES 3.20

X11 platform:
EGL API version: 1.5
EGL vendor string: Mesa Project
EGL version string: 1.5
EGL client APIs: OpenGL OpenGL_ES 
OpenGL core profile vendor: Mesa
OpenGL core profile renderer: Apple M2 (G14G B0)
OpenGL core profile version: 4.6 (Core Profile) Mesa 24.0~pre20240228-0asahi6.23.10
OpenGL core profile shading language version: 4.60
OpenGL compatibility profile vendor: Mesa
OpenGL compatibility profile renderer: Apple M2 (G14G B0)
OpenGL compatibility profile version: 4.6 (Compatibility Profile) Mesa 24.0~pre20240228-0asahi6.23.10
OpenGL compatibility profile shading language version: 4.60
OpenGL ES profile vendor: Mesa
OpenGL ES profile renderer: Apple M2 (G14G B0)
OpenGL ES profile version: OpenGL ES 3.2 Mesa 24.0~pre20240228-0asahi6.23.10
OpenGL ES profile shading language version: OpenGL ES GLSL ES 3.20

Surfaceless platform:
EGL API version: 1.5
EGL vendor string: Mesa Project
EGL version string: 1.5
EGL client APIs: OpenGL OpenGL_ES 
OpenGL core profile vendor: Mesa
OpenGL core profile renderer: Apple M2 (G14G B0)
OpenGL core profile version: 4.6 (Core Profile) Mesa 24.0~pre20240228-0asahi6.23.10
OpenGL core profile shading language version: 4.60
OpenGL compatibility profile vendor: Mesa
OpenGL compatibility profile renderer: Apple M2 (G14G B0)
OpenGL compatibility profile version: 4.6 (Compatibility Profile) Mesa 24.0~pre20240228-0asahi6.23.10
OpenGL compatibility profile shading language version: 4.60
OpenGL ES profile vendor: Mesa
OpenGL ES profile renderer: Apple M2 (G14G B0)
OpenGL ES profile version: OpenGL ES 3.2 Mesa 24.0~pre20240228-0asahi6.23.10
OpenGL ES profile shading language version: OpenGL ES GLSL ES 3.20

Device platform:
Device #0:

Platform Device platform:
EGL API version: 1.5
EGL vendor string: Mesa Project
EGL version string: 1.5
EGL client APIs: OpenGL OpenGL_ES 
OpenGL core profile vendor: Mesa
OpenGL core profile renderer: Apple M2 (G14G B0)
OpenGL core profile version: 4.6 (Core Profile) Mesa 24.0~pre20240228-0asahi6.23.10
OpenGL core profile shading language version: 4.60
OpenGL compatibility profile vendor: Mesa
OpenGL compatibility profile renderer: Apple M2 (G14G B0)
OpenGL compatibility profile version: 4.6 (Compatibility Profile) Mesa 24.0~pre20240228-0asahi6.23.10
OpenGL compatibility profile shading language version: 4.60
OpenGL ES profile vendor: Mesa
OpenGL ES profile renderer: Apple M2 (G14G B0)
OpenGL ES profile version: OpenGL ES 3.2 Mesa 24.0~pre20240228-0asahi6.23.10
OpenGL ES profile shading language version: OpenGL ES GLSL ES 3.20

Device #1:

Platform Device platform:
EGL API version: 1.5
EGL vendor string: Mesa Project
EGL version string: 1.5
EGL client APIs: OpenGL OpenGL_ES 
OpenGL core profile vendor: Mesa
OpenGL core profile renderer: llvmpipe (LLVM 15.0.7, 128 bits)
OpenGL core profile version: 4.5 (Core Profile) Mesa 24.0~pre20240228-0asahi6.23.10
OpenGL core profile shading language version: 4.50
OpenGL compatibility profile vendor: Mesa
OpenGL compatibility profile renderer: llvmpipe (LLVM 15.0.7, 128 bits)
OpenGL compatibility profile version: 4.5 (Compatibility Profile) Mesa 24.0~pre20240228-0asahi6.23.10
OpenGL compatibility profile shading language version: 4.50
OpenGL ES profile vendor: Mesa
OpenGL ES profile renderer: llvmpipe (LLVM 15.0.7, 128 bits)
OpenGL ES profile version: OpenGL ES 3.2 Mesa 24.0~pre20240228-0asahi6.23.10
OpenGL ES profile shading language version: OpenGL ES GLSL ES 3.20

WebGPU 1 & 2 drivers seems to fallback to llvmpipe despite using Mesa 3.2, seemingly due to the errors at the end: Firefox's graphic section:

Features
Window Device Pixel Ratios  2
Compositing WebRender (Software)
Font Visibility Debug Info  Ubuntu Unknown - VERSION_ID="23.10"
ID=ubuntu
Asynchronous Pan/Zoom   wheel input enabled; touch input enabled; scrollbar drag enabled; keyboard enabled; autoscroll enabled; smooth pinch-zoom enabled
WebGL 1 Driver WSI Info outOfProcess: false
inProcess: true
EGL_VENDOR: Mesa Project
EGL_VERSION: 1.5
EGL_EXTENSIONS: EGL_EXT_create_context_robustness EGL_EXT_query_reset_notification_strategy EGL_KHR_cl_event2 EGL_KHR_config_attribs EGL_KHR_context_flush_control EGL_KHR_create_context EGL_KHR_create_context_no_error EGL_KHR_fence_sync EGL_KHR_get_all_proc_addresses EGL_KHR_gl_colorspace EGL_KHR_gl_renderbuffer_image EGL_KHR_gl_texture_2D_image EGL_KHR_gl_texture_3D_image EGL_KHR_gl_texture_cubemap_image EGL_KHR_image_base EGL_KHR_no_config_context EGL_KHR_reusable_sync EGL_KHR_surfaceless_context EGL_EXT_pixel_format_float EGL_KHR_wait_sync EGL_MESA_configless_context EGL_MESA_drm_image EGL_MESA_query_driver 
EGL_EXTENSIONS(nullptr): EGL_EXT_device_base EGL_EXT_device_enumeration EGL_EXT_device_query EGL_EXT_platform_base EGL_KHR_client_get_all_proc_addresses EGL_EXT_client_extensions EGL_KHR_debug EGL_EXT_platform_device EGL_EXT_explicit_device EGL_EXT_platform_wayland EGL_KHR_platform_wayland EGL_EXT_platform_x11 EGL_KHR_platform_x11 EGL_EXT_platform_xcb EGL_MESA_platform_gbm EGL_KHR_platform_gbm EGL_MESA_platform_surfaceless
WebGL 1 Driver Renderer Mesa -- llvmpipe (LLVM 15.0.7, 128 bits)
WebGL 1 Driver Version  OpenGL ES 3.2 Mesa 24.0~pre20240228-0asahi6.23.10
WebGL 1 Driver Extensions   GL_EXT_blend_minmax GL_EXT_multi_draw_arrays GL_EXT_texture_filter_anisotropic GL_EXT_texture_compression_s3tc GL_EXT_texture_compression_dxt1 GL_EXT_texture_compression_rgtc GL_EXT_texture_format_BGRA8888 GL_OES_compressed_ETC1_RGB8_texture GL_OES_depth24 GL_OES_element_index_uint GL_OES_fbo_render_mipmap GL_OES_mapbuffer GL_OES_rgb8_rgba8 GL_OES_standard_derivatives GL_OES_stencil8 GL_OES_texture_3D GL_OES_texture_float GL_OES_texture_float_linear GL_OES_texture_half_float GL_OES_texture_half_float_linear GL_OES_texture_npot GL_OES_vertex_half_float GL_EXT_draw_instanced GL_EXT_texture_sRGB_decode GL_OES_EGL_image GL_OES_depth_texture GL_OES_packed_depth_stencil GL_EXT_texture_type_2_10_10_10_REV GL_NV_conditional_render GL_OES_get_program_binary GL_APPLE_texture_max_level GL_EXT_discard_framebuffer GL_EXT_read_format_bgra GL_EXT_texture_storage GL_NV_pack_subimage GL_NV_texture_barrier GL_EXT_frag_depth GL_NV_fbo_color_attachments GL_OES_EGL_image_external GL_OES_EGL_sync GL_OES_vertex_array_object GL_OES_viewport_array GL_ANGLE_pack_reverse_row_order GL_ANGLE_texture_compression_dxt3 GL_ANGLE_texture_compression_dxt5 GL_EXT_occlusion_query_boolean GL_EXT_robustness GL_EXT_texture_rg GL_EXT_unpack_subimage GL_NV_draw_buffers GL_NV_read_buffer GL_NV_read_depth GL_NV_read_depth_stencil GL_NV_read_stencil GL_APPLE_sync GL_EXT_draw_buffers GL_EXT_instanced_arrays GL_EXT_map_buffer_range GL_KHR_debug GL_KHR_robustness GL_KHR_texture_compression_astc_ldr GL_NV_generate_mipmap_sRGB GL_NV_pixel_buffer_object GL_OES_depth_texture_cube_map GL_OES_required_internalformat GL_OES_surfaceless_context GL_EXT_color_buffer_float GL_EXT_debug_label GL_EXT_sRGB_write_control GL_EXT_separate_shader_objects GL_EXT_shader_framebuffer_fetch GL_EXT_shader_group_vote GL_EXT_shader_implicit_conversions GL_EXT_shader_integer_mix GL_EXT_tessellation_point_size GL_EXT_tessellation_shader GL_ANDROID_extension_pack_es31a GL_ARM_shader_framebuffer_fetch_depth_stencil GL_EXT_base_instance GL_EXT_compressed_ETC1_RGB8_sub_texture GL_EXT_copy_image GL_EXT_draw_buffers_indexed GL_EXT_draw_elements_base_vertex GL_EXT_gpu_shader5 GL_EXT_polygon_offset_clamp GL_EXT_primitive_bounding_box GL_EXT_render_snorm GL_EXT_shader_io_blocks GL_EXT_texture_border_clamp GL_EXT_texture_buffer GL_EXT_texture_cube_map_array GL_EXT_texture_norm16 GL_EXT_texture_view GL_KHR_blend_equation_advanced GL_KHR_blend_equation_advanced_coherent GL_KHR_context_flush_control GL_KHR_robust_buffer_access_behavior GL_NV_image_formats GL_NV_shader_noperspective_interpolation GL_OES_copy_image GL_OES_draw_buffers_indexed GL_OES_draw_elements_base_vertex GL_OES_gpu_shader5 GL_OES_primitive_bounding_box GL_OES_sample_shading GL_OES_sample_variables GL_OES_shader_io_blocks GL_OES_shader_multisample_interpolation GL_OES_tessellation_point_size GL_OES_tessellation_shader GL_OES_texture_border_clamp GL_OES_texture_buffer GL_OES_texture_cube_map_array GL_OES_texture_stencil8 GL_OES_texture_storage_multisample_2d_array GL_OES_texture_view GL_EXT_blend_func_extended GL_EXT_buffer_storage GL_EXT_float_blend GL_EXT_geometry_point_size GL_EXT_geometry_shader GL_EXT_texture_filter_minmax GL_EXT_texture_sRGB_R8 GL_EXT_texture_sRGB_RG8 GL_KHR_no_error GL_KHR_texture_compression_astc_sliced_3d GL_OES_EGL_image_external_essl3 GL_OES_geometry_point_size GL_OES_geometry_shader GL_OES_shader_image_atomic GL_EXT_clear_texture GL_EXT_clip_cull_distance GL_EXT_disjoint_timer_query GL_EXT_texture_compression_s3tc_srgb GL_MESA_shader_integer_functions GL_EXT_clip_control GL_EXT_color_buffer_half_float GL_EXT_memory_object GL_EXT_memory_object_fd GL_EXT_texture_compression_bptc GL_EXT_texture_mirror_clamp_to_edge GL_KHR_parallel_shader_compile GL_EXT_EGL_image_storage GL_EXT_shader_framebuffer_fetch_non_coherent GL_EXT_texture_shadow_lod GL_MESA_framebuffer_flip_y GL_EXT_depth_clamp GL_EXT_texture_query_lod GL_MESA_sampler_objects GL_MESA_bgra 
WebGL 1 Extensions  ANGLE_instanced_arrays EXT_blend_minmax EXT_color_buffer_half_float EXT_float_blend EXT_sRGB EXT_texture_compression_bptc EXT_texture_compression_rgtc EXT_texture_filter_anisotropic MOZ_debug OES_element_index_uint OES_fbo_render_mipmap 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_compressed_texture_s3tc WEBGL_compressed_texture_s3tc_srgb WEBGL_debug_renderer_info WEBGL_debug_shaders WEBGL_depth_texture WEBGL_lose_context
WebGL 2 Driver WSI Info outOfProcess: false
inProcess: true
EGL_VENDOR: Mesa Project
EGL_VERSION: 1.5
EGL_EXTENSIONS: EGL_EXT_create_context_robustness EGL_EXT_query_reset_notification_strategy EGL_KHR_cl_event2 EGL_KHR_config_attribs EGL_KHR_context_flush_control EGL_KHR_create_context EGL_KHR_create_context_no_error EGL_KHR_fence_sync EGL_KHR_get_all_proc_addresses EGL_KHR_gl_colorspace EGL_KHR_gl_renderbuffer_image EGL_KHR_gl_texture_2D_image EGL_KHR_gl_texture_3D_image EGL_KHR_gl_texture_cubemap_image EGL_KHR_image_base EGL_KHR_no_config_context EGL_KHR_reusable_sync EGL_KHR_surfaceless_context EGL_EXT_pixel_format_float EGL_KHR_wait_sync EGL_MESA_configless_context EGL_MESA_drm_image EGL_MESA_query_driver 
EGL_EXTENSIONS(nullptr): EGL_EXT_device_base EGL_EXT_device_enumeration EGL_EXT_device_query EGL_EXT_platform_base EGL_KHR_client_get_all_proc_addresses EGL_EXT_client_extensions EGL_KHR_debug EGL_EXT_platform_device EGL_EXT_explicit_device EGL_EXT_platform_wayland EGL_KHR_platform_wayland EGL_EXT_platform_x11 EGL_KHR_platform_x11 EGL_EXT_platform_xcb EGL_MESA_platform_gbm EGL_KHR_platform_gbm EGL_MESA_platform_surfaceless
WebGL 2 Driver Renderer Mesa -- llvmpipe (LLVM 15.0.7, 128 bits)
WebGL 2 Driver Version  OpenGL ES 3.2 Mesa 24.0~pre20240228-0asahi6.23.10
WebGL 2 Driver Extensions   GL_EXT_blend_minmax GL_EXT_multi_draw_arrays GL_EXT_texture_filter_anisotropic GL_EXT_texture_compression_s3tc GL_EXT_texture_compression_dxt1 GL_EXT_texture_compression_rgtc GL_EXT_texture_format_BGRA8888 GL_OES_compressed_ETC1_RGB8_texture GL_OES_depth24 GL_OES_element_index_uint GL_OES_fbo_render_mipmap GL_OES_mapbuffer GL_OES_rgb8_rgba8 GL_OES_standard_derivatives GL_OES_stencil8 GL_OES_texture_3D GL_OES_texture_float GL_OES_texture_float_linear GL_OES_texture_half_float GL_OES_texture_half_float_linear GL_OES_texture_npot GL_OES_vertex_half_float GL_EXT_draw_instanced GL_EXT_texture_sRGB_decode GL_OES_EGL_image GL_OES_depth_texture GL_OES_packed_depth_stencil GL_EXT_texture_type_2_10_10_10_REV GL_NV_conditional_render GL_OES_get_program_binary GL_APPLE_texture_max_level GL_EXT_discard_framebuffer GL_EXT_read_format_bgra GL_EXT_texture_storage GL_NV_pack_subimage GL_NV_texture_barrier GL_EXT_frag_depth GL_NV_fbo_color_attachments GL_OES_EGL_image_external GL_OES_EGL_sync GL_OES_vertex_array_object GL_OES_viewport_array GL_ANGLE_pack_reverse_row_order GL_ANGLE_texture_compression_dxt3 GL_ANGLE_texture_compression_dxt5 GL_EXT_occlusion_query_boolean GL_EXT_robustness GL_EXT_texture_rg GL_EXT_unpack_subimage GL_NV_draw_buffers GL_NV_read_buffer GL_NV_read_depth GL_NV_read_depth_stencil GL_NV_read_stencil GL_APPLE_sync GL_EXT_draw_buffers GL_EXT_instanced_arrays GL_EXT_map_buffer_range GL_KHR_debug GL_KHR_robustness GL_KHR_texture_compression_astc_ldr GL_NV_generate_mipmap_sRGB GL_NV_pixel_buffer_object GL_OES_depth_texture_cube_map GL_OES_required_internalformat GL_OES_surfaceless_context GL_EXT_color_buffer_float GL_EXT_debug_label GL_EXT_sRGB_write_control GL_EXT_separate_shader_objects GL_EXT_shader_framebuffer_fetch GL_EXT_shader_group_vote GL_EXT_shader_implicit_conversions GL_EXT_shader_integer_mix GL_EXT_tessellation_point_size GL_EXT_tessellation_shader GL_ANDROID_extension_pack_es31a GL_ARM_shader_framebuffer_fetch_depth_stencil GL_EXT_base_instance GL_EXT_compressed_ETC1_RGB8_sub_texture GL_EXT_copy_image GL_EXT_draw_buffers_indexed GL_EXT_draw_elements_base_vertex GL_EXT_gpu_shader5 GL_EXT_polygon_offset_clamp GL_EXT_primitive_bounding_box GL_EXT_render_snorm GL_EXT_shader_io_blocks GL_EXT_texture_border_clamp GL_EXT_texture_buffer GL_EXT_texture_cube_map_array GL_EXT_texture_norm16 GL_EXT_texture_view GL_KHR_blend_equation_advanced GL_KHR_blend_equation_advanced_coherent GL_KHR_context_flush_control GL_KHR_robust_buffer_access_behavior GL_NV_image_formats GL_NV_shader_noperspective_interpolation GL_OES_copy_image GL_OES_draw_buffers_indexed GL_OES_draw_elements_base_vertex GL_OES_gpu_shader5 GL_OES_primitive_bounding_box GL_OES_sample_shading GL_OES_sample_variables GL_OES_shader_io_blocks GL_OES_shader_multisample_interpolation GL_OES_tessellation_point_size GL_OES_tessellation_shader GL_OES_texture_border_clamp GL_OES_texture_buffer GL_OES_texture_cube_map_array GL_OES_texture_stencil8 GL_OES_texture_storage_multisample_2d_array GL_OES_texture_view GL_EXT_blend_func_extended GL_EXT_buffer_storage GL_EXT_float_blend GL_EXT_geometry_point_size GL_EXT_geometry_shader GL_EXT_texture_filter_minmax GL_EXT_texture_sRGB_R8 GL_EXT_texture_sRGB_RG8 GL_KHR_no_error GL_KHR_texture_compression_astc_sliced_3d GL_OES_EGL_image_external_essl3 GL_OES_geometry_point_size GL_OES_geometry_shader GL_OES_shader_image_atomic GL_EXT_clear_texture GL_EXT_clip_cull_distance GL_EXT_disjoint_timer_query GL_EXT_texture_compression_s3tc_srgb GL_MESA_shader_integer_functions GL_EXT_clip_control GL_EXT_color_buffer_half_float GL_EXT_memory_object GL_EXT_memory_object_fd GL_EXT_texture_compression_bptc GL_EXT_texture_mirror_clamp_to_edge GL_KHR_parallel_shader_compile GL_EXT_EGL_image_storage GL_EXT_shader_framebuffer_fetch_non_coherent GL_EXT_texture_shadow_lod GL_MESA_framebuffer_flip_y GL_EXT_depth_clamp GL_EXT_texture_query_lod GL_MESA_sampler_objects GL_MESA_bgra 
WebGL 2 Extensions  EXT_color_buffer_float EXT_float_blend EXT_texture_compression_bptc EXT_texture_compression_rgtc EXT_texture_filter_anisotropic MOZ_debug OES_draw_buffers_indexed OES_texture_float_linear WEBGL_compressed_texture_astc WEBGL_compressed_texture_etc WEBGL_compressed_texture_etc1 WEBGL_compressed_texture_s3tc WEBGL_compressed_texture_s3tc_srgb WEBGL_debug_renderer_info WEBGL_debug_shaders WEBGL_lose_context
Window Protocol wayland
Desktop Environment kde
Target Frame Rate   60
WebGPU Default Adapter  {
  "navigator.gpu": null
}
WebGPU Fallback Adapter {
  "navigator.gpu": null
}
GPU #1
Active  Yes
Description See failure log
RAM 0
Diagnostics
AzureCanvasBackend  skia
AzureContentBackend skia
AzureFallbackCanvasBackend  skia
CMSOutputProfile    Empty profile data
Display0    2926x1902@60Hz scales:2.000000|2.000000
DisplayCount    1
Font Visibility Debug Info  Ubuntu Unknown - VERSION_ID="23.10"
ID=ubuntu
Decision Log
HW_COMPOSITING  
default available       
user    force_enabled   Force-enabled by pref   
runtime unavailable WebRender initialization failed Blocklisted; failure code FEATURE_FAILURE_WEBRENDER_INITIALIZE_UNSPECIFIED(Create)_FIRST
OPENGL_COMPOSITING  
default available       
user    force_enabled   Force-enabled by pref   
WEBRENDER   
default available       
user    force_enabled   Force enabled by pref   
env blocklisted Blocklisted by gfxInfo  Blocklisted; failure code FEATURE_FAILURE_GLXTEST_FAILED
runtime unavailable WebRender initialization failed Blocklisted; failure code FEATURE_FAILURE_WEBRENDER_INITIALIZE_UNSPECIFIED(Create)_FIRST
WEBRENDER_COMPOSITOR    
default disabled    Disabled by default Blocklisted; failure code FEATURE_FAILURE_DISABLED
user    force_enabled   Force enabled by pref   
env blocklisted Blocklisted by gfxInfo  Blocklisted; failure code FEATURE_FAILURE_GLXTEST_FAILED
runtime blocked Cannot be enabled in release or beta    Blocklisted; failure code FEATURE_FAILURE_DISABLE_RELEASE_OR_BETA
WEBRENDER_PARTIAL   
default available       
env blocklisted Blocklisted by gfxInfo  Blocklisted; failure code FEATURE_FAILURE_GLXTEST_FAILED
WEBRENDER_SHADER_CACHE  
default disabled    Disabled by default Blocklisted; failure code FEATURE_FAILURE_DISABLED
env blocklisted Blocklisted by gfxInfo  Blocklisted; failure code FEATURE_FAILURE_GLXTEST_FAILED
WEBRENDER_OPTIMIZED_SHADERS 
default available       
env blocklisted Blocklisted by gfxInfo  Blocklisted; failure code FEATURE_FAILURE_GLXTEST_FAILED
WEBRENDER_ANGLE 
default available       
env unavailable OS not supported    Blocklisted; failure code FEATURE_FAILURE_OS_NOT_SUPPORTED
WEBRENDER_DCOMP_PRESENT 
default available       
user    disabled    User disabled via pref  Blocklisted; failure code FEATURE_FAILURE_DCOMP_PREF_DISABLED
env unavailable Requires GPU process    Blocklisted; failure code FEATURE_FAILURE_NO_GPU_PROCESS
runtime unavailable Requires ANGLE  Blocklisted; failure code FEATURE_FAILURE_DCOMP_NOT_ANGLE
WEBRENDER_SCISSORED_CACHE_CLEARS    
default available       
env blocklisted Blocklisted by gfxInfo  Blocklisted; failure code FEATURE_FAILURE_GLXTEST_FAILED
WEBGPU  
default available       
env blocklisted #BLOCKLIST_FEATURE_FAILURE_GLXTEST_FAILED   Blocklisted; failure code FEATURE_FAILURE_GLXTEST_FAILED
runtime blocked WebGPU cannot be enabled in release or beta Blocklisted; failure code WEBGPU_DISABLE_RELEASE_OR_BETA
X11_EGL 
default available       
env blocklisted Blocklisted by gfxInfo  Blocklisted; failure code FEATURE_FAILURE_GLXTEST_FAILED
runtime broken  glxtest could not use EGL   Blocklisted; failure code FEATURE_FAILURE_GLXTEST_NO_EGL
DMABUF  
default available       
env blocklisted Blocklisted by gfxInfo  Blocklisted; failure code FEATURE_FAILURE_GLXTEST_FAILED
HARDWARE_VIDEO_DECODING 
default available       
env blocklisted Blocklisted by gfxInfo  Blocklisted; failure code FEATURE_FAILURE_GLXTEST_FAILED
DMABUF_SURFACE_EXPORT   
default blocked Blocklisted by gfxInfo  Blocklisted; failure code FEATURE_FAILURE_GLXTEST_FAILED
BACKDROP_FILTER 
default available       
CANVAS_RENDERER_THREAD  
default blocked Thread unsafe GL    Blocklisted; failure code FEATURE_FAILURE_THREAD_UNSAFE_GL
ACCELERATED_CANVAS2D    
default available       
env blocklisted #BLOCKLIST_FEATURE_FAILURE_GLXTEST_FAILED   Blocklisted; failure code FEATURE_FAILURE_GLXTEST_FAILED
REMOTE_CANVAS   
default disabled    Disabled via pref   Blocklisted; failure code FEATURE_FAILURE_DISABLED
env navailable-no-gpu-process   Disabled without GPU process    Blocklisted; failure code FEATURE_REMOTE_CANVAS_NO_GPU_PROCESS
runtime blocked Platform not supported  Blocklisted; failure code FEATURE_REMOTE_CANVAS_NOT_WINDOWS
Failure Log
(#0) Error  glxtest: ManageChildProcess failed
(#5) Error  Failed to create EGLConfig for WebRender!
(#6) Error  Failed to create EGLConfig for WebRender!
(#7) Error  Failed GL context creation for hardware WebRender: true
(#8) Error  Failed to create EGLConfig for WebRender!
(#9) Error  Failed to create EGLConfig for WebRender!
(#10) Error Failed GL context creation for hardware WebRender: true
(#11) Error Failed to create EGLConfig for WebRender!
(#12) Error Failed to create EGLConfig for WebRender!
(#13) Error Failed GL context creation for hardware WebRender: true
(#14) Error Failed to create EGLConfig for WebRender!
(#15) Error Failed to create EGLConfig for WebRender!
(#16) Error Failed GL context creation for WebRender: 0
(#17) Error FEATURE_FAILURE_WEBRENDER_INITIALIZE_UNSPECIFIED(Create)
(#18) Error Failed to connect WebRenderBridgeChild. isParent=true
(#19) Error Fallback WR to SW-WR

I have the following error launching Firefox, which seems related:

Wayland Proxy [0xffff96570260] Error: StartProxyServer(): bind() error : Permission non accordée
[46521, Main Thread] WARNING: Unable to query dbus: GDBus.Error:org.freedesktop.DBus.Error.AccessDenied: An AppArmor policy prevents this sender from sending this message to this recipient; type="method_call", sender=":1.236" (uid=1000 pid=46521 comm="/usr/lib/firefox/firefox" label="firefox (enforce)") interface="org.freedesktop.DBus" member="ListNames" error name="(unset)" requested_reply="0" destination="org.freedesktop.DBus" (bus): 'glib warning', file /build/firefox-Jlp3yG/firefox-126.0+build2/toolkit/xre/nsSigHandlers.cpp:187

** (firefox:46521): WARNING **: 20:26:54.831: Unable to query dbus: GDBus.Error:org.freedesktop.DBus.Error.AccessDenied: An AppArmor policy prevents this sender from sending this message to this recipient; type="method_call", sender=":1.236" (uid=1000 pid=46521 comm="/usr/lib/firefox/firefox" label="firefox (enforce)") interface="org.freedesktop.DBus" member="ListNames" error name="(unset)" requested_reply="0" destination="org.freedesktop.DBus" (bus)

glxinfo confirms that KDE is accelerated.

tobhe commented 2 weeks ago

Thanks for the report! Your assumption about snaps is actually wrong, our firefox snap does indeed support graphics acceleration an ubuntu-asahi. We do this using a asahi-specific channel of the gnome-sdk snap with our mesa backported to core22. Here is what my firefox reports:

Screenshot from 2024-05-18 22-13-14

Of course I think we should make sure that the deb package also works properly for people preferring that option. I'm not entirely sure what causes your error yet, is the apparmor policy causing the error part of the deb package? Which ppa did you use, I am not aware of an "official" up-to-date firefox ppa? Mozilla has recently announced their own deb mirrors, their official builds might work better.

eslerm commented 1 week ago

@Consistos are you using debs from the downstream "Mozilla Team" PPA?

If you want debs from upstream Mozilla, there is official Mozilla's packaging.