canonical / mir

The Mir compositor
GNU General Public License v2.0
637 stars 102 forks source link

`Failed to query Wayland buffer format: EGL_SUCCESS (0x3000)` in performance tests on Nvidia #3112

Open Saviq opened 1 year ago

Saviq commented 1 year ago

Running the GLMark2Wayland.* tests on Nvidia we're getting an error on the Mir side:

[2023-10-31 05:44:51.256529] < -warning- > frontend:Wayland: Exception processing Surface::commit() request: ./src/platform/graphics/egl_wayland_allocator.cpp(97): Throw in function EGLint {anonymous}::get_wl_egl_format(wl_resource*, const mir::graphics::EGLExtensions&)
Dynamic exception type: boost::wrapexcept<std::system_error>
std::exception::what: Failed to query Wayland buffer format: EGL_SUCCESS (0x3000)

[2023-10-31 05:44:51.257744] <information> mirserver: Stopping

And the client dying with:

[==========] Running 1 test from 1 test suite.
[----------] Global test environment set-up.
[----------] 1 test from GLMark2Wayland
[ RUN      ] GLMark2Wayland.fullscreen
Saving server logs to: /tmp/GLMark2Wayland_fullscreen_server.log
libEGL warning: egl: failed to create dri2 screen
libEGL warning: egl: failed to create dri2 screen
libEGL warning: egl: failed to create dri2 screen
libEGL warning: egl: failed to create dri2 screen
libinput error: /usr/share/libinput: failed to find data files
libinput error: Failed to load the device quirks from /usr/share/libinput and /etc/libinput/local-overrides.quirks. This will negatively affect device behavior. See https://wayland.freedesktop.org/libinput/doc/1.20.0/device-quirks.html for details.
error in client communication (pid 16810)
wl_display@1: error 3: Mir internal error processing Surface::commit() request
Error: eglCreateWindowSurface failed with error: 0x3003
Error: eglCreateWindowSurface failed with error: 0x3003
Error: CanvasGeneric: Invalid EGL state
Error: main: Could not initialize canvas
Saving GLMark2 detailed results to: /tmp/GLMark2Wayland_fullscreen.log
./tests/performance-tests/test_glmark2-es2.cpp:284: Failure
Expected: (run_glmark2("--fullscreen")) > (0), actual: -1 vs 0
[  FAILED  ] GLMark2Wayland.fullscreen (2193 ms)
mattkae commented 1 year ago

When we are on nvidia, we are selecting both rendering platforms:

[2023-11-06 12:35:48.280278] <information> mirserver: Selected rendering driver: mir:eglstream-kms (version 2.15.0) for device ((null): /dev/dri/card0)
[2023-11-06 12:35:48.280494] <information> mirserver: Selected rendering driver: mir:egl-generic (version 2.15.0) for platform

Later on, we seem to be trying to use the egl_wayland_allocator:

[2023-11-06 12:35:49.420444] < -warning- > frontend:Wayland: Exception processing Surface::commit() request: /home/ubuntu/mir/src/platform/graphics/egl_wayland_allocator.cpp(97): Throw in function EGLint {anonymous}::get_wl_egl_format(wl_resource*, const mir::graphics::EGLExtensions&)
Dynamic exception type: boost::wrapexcept<std::system_error>
std::exception::what: Failed to query Wayland buffer format: EGL_SUCCESS (0x3000)

Which doesn't make sense, since we should be using eglstreams :smile:

mattkae commented 1 year ago

Here are some logs to help in an investigation. They are quite curious, and I bet that there is something fishy going on with how we parse the platform-render-libs or how we use the selected libraries.

:heavy_check_mark: Specifing eglstream-kms only

Full logs ``` [2023-11-06 09:40:55.385482] mirserver: Starting [2023-11-06 09:40:55.391222] < - debug - > mirserver: Using logind for session management [2023-11-06 09:40:55.391463] mircommon: Loading modules from: ./bin/../lib/server-modules/ [2023-11-06 09:40:55.391597] mircommon: Loading module: ./bin/../lib/server-modules/graphics-eglstream-kms.so.20 [2023-11-06 09:40:55.391634] mircommon: Loading module: ./bin/../lib/server-modules/renderer-egl-generic.so.20 [2023-11-06 09:40:55.391649] mircommon: Loading module: ./bin/../lib/server-modules/graphics-gbm-kms.so.20 [2023-11-06 09:40:55.391663] mircommon: Loading module: ./bin/../lib/server-modules/server-virtual.so.20 [2023-11-06 09:40:55.391677] mircommon: Loading module: ./bin/../lib/server-modules/graphics-wayland.so.20 [2023-11-06 09:40:55.391691] mircommon: Loading module: ./bin/../lib/server-modules/server-x11.so.20 [2023-11-06 09:40:55.391705] mircommon: Loading module: ./bin/../lib/server-modules/input-evdev.so.8 [2023-11-06 09:40:55.391718] mircommon: Loading module: ./bin/../lib/server-modules/graphics-throw.so [2023-11-06 09:40:55.391732] mircommon: Loading module: ./bin/../lib/server-modules/input-stub.so [2023-11-06 09:40:55.392965] mircommon: Loading module: ./bin/../lib/server-modules/graphics-dummy.so [2023-11-06 09:40:55.393025] mirserver: Found display driver: mir:eglstream-kms (version 2.15.0) [2023-11-06 09:40:55.423445] < - debug - > eglstream: Found EGLDeviceEXT with device extensions: EGL_NV_device_cuda EGL_EXT_device_drm EGL_EXT_device_drm_render_node EGL_EXT_device_query_name EGL_EXT_device_persistent_id [2023-11-06 09:40:55.673944] < - debug - > eglstream: Found EGLDeviceEXT with device extensions: EGL_EXT_device_drm EGL_EXT_device_drm_render_node [2023-11-06 09:40:55.698242] < -warning- > eglstream: Failed to create EGL context: no EGL_STREAM_BIT_KHR configs supported [2023-11-06 09:40:55.713800] < - debug - > eglstream: Found EGLDeviceEXT with device extensions: EGL_EXT_device_drm EGL_EXT_device_drm_render_node [2023-11-06 09:40:55.725530] < - debug - > eglstream: Failed to initialise EGL: EGL_NOT_INITIALIZED (0x3001) [2023-11-06 09:40:55.801840] < - debug - > eglstream: Found EGLDeviceEXT with device extensions: EGL_MESA_device_software EGL_EXT_device_drm_render_node [2023-11-06 09:40:55.801919] eglstream: Failed to query DRM node for EGLDevice: Failed to determine DRM device node path from EGLDevice: EGL_BAD_PARAMETER (0x300c) [2023-11-06 09:40:55.801939] mirserver: Driver supports: [2023-11-06 09:40:55.801949] mirserver: /devices/pci0000:00/0000:00:01.1/0000:01:00.0/drm/card1 (priority 256) [2023-11-06 09:40:55.801955] mirserver: /devices/pci0000:00/0000:00:08.1/0000:04:00.0/drm/card0 (priority 0) [2023-11-06 09:40:55.801961] mirserver: /devices/pci0000:00/0000:00:01.1/0000:01:00.0/drm/card1 (priority 0) [2023-11-06 09:40:55.801983] mirserver: Found display driver: mir:egl-generic (version 2.15.0) [2023-11-06 09:40:55.802026] mirserver: Found display driver: mir:gbm-kms (version 2.15.0) [2023-11-06 09:40:55.803057] < - debug - > gbm-kms: Quirks: checking device with devnode: /dev/dri/card1, driver nvidia [2023-11-06 09:40:55.803084] gbm-kms: Quirks: skipping device /dev/dri/card1 (matches driver quirk nvidia) [2023-11-06 09:40:55.803090] gbm-kms: Not probing device /dev/dri/card1 due to specified quirk [2023-11-06 09:40:55.803145] < - debug - > gbm-kms: Quirks: checking device with devnode: (null), driver [2023-11-06 09:40:55.803214] < - debug - > gbm-kms: Quirks: checking device with devnode: /dev/dri/card0, driver amdgpu [2023-11-06 09:40:55.819138] < - debug - > gbm-kms: Quirks: checking device with devnode: (null), driver [2023-11-06 09:40:55.819243] < - debug - > gbm-kms: Quirks: checking device with devnode: (null), driver [2023-11-06 09:40:55.830720] mirserver: Driver supports: [2023-11-06 09:40:55.830868] mirserver: /devices/pci0000:00/0000:00:08.1/0000:04:00.0/drm/card0 (priority 256) [2023-11-06 09:40:55.830916] mirserver: Found display driver: mir:virtual (version 2.15.0) [2023-11-06 09:40:55.830950] mirserver: (Unsupported by system environment) [2023-11-06 09:40:55.830970] mirserver: Found display driver: mir:wayland (version 2.15.0) [2023-11-06 09:40:55.830991] mirserver: (Unsupported by system environment) [2023-11-06 09:40:55.831009] mirserver: Found display driver: mir:x11 (version 2.15.0) [2023-11-06 09:40:55.831072] mirserver: (Unsupported by system environment) [2023-11-06 09:40:55.831142] mirserver: Found display driver: throw-on-creation (version 2.15.0) [2023-11-06 09:40:55.831154] mirserver: Driver supports: [2023-11-06 09:40:55.831159] mirserver: System (priority 0) [2023-11-06 09:40:55.831185] mirserver: Found display driver: mir:stub-graphics (version 2.15.0) [2023-11-06 09:40:55.831194] mirserver: Driver supports: [2023-11-06 09:40:55.831199] mirserver: System (priority 1) [2023-11-06 09:40:55.831273] mirserver: Selected display driver: mir:eglstream-kms (version 2.15.0) for device ((null): /dev/dri/card1) [2023-11-06 09:40:55.832587] mirserver: Selected display driver: mir:gbm-kms (version 2.15.0) for device ((null): /dev/dri/card0) [2023-11-06 09:40:55.842801] mircommon: Loading modules from: ./bin/../lib/server-modules/ [2023-11-06 09:40:55.842895] mircommon: Loading module: ./bin/../lib/server-modules/graphics-eglstream-kms.so.20 [2023-11-06 09:40:55.842918] mircommon: Loading module: ./bin/../lib/server-modules/renderer-egl-generic.so.20 [2023-11-06 09:40:55.842926] mircommon: Loading module: ./bin/../lib/server-modules/graphics-gbm-kms.so.20 [2023-11-06 09:40:55.842933] mircommon: Loading module: ./bin/../lib/server-modules/server-virtual.so.20 [2023-11-06 09:40:55.842940] mircommon: Loading module: ./bin/../lib/server-modules/graphics-wayland.so.20 [2023-11-06 09:40:55.842947] mircommon: Loading module: ./bin/../lib/server-modules/server-x11.so.20 [2023-11-06 09:40:55.842955] mircommon: Loading module: ./bin/../lib/server-modules/input-evdev.so.8 [2023-11-06 09:40:55.842962] mircommon: Loading module: ./bin/../lib/server-modules/graphics-throw.so [2023-11-06 09:40:55.842969] mircommon: Loading module: ./bin/../lib/server-modules/input-stub.so [2023-11-06 09:40:55.843789] mircommon: Loading module: ./bin/../lib/server-modules/graphics-dummy.so [2023-11-06 09:40:55.843868] mirserver: Found rendering driver: mir:eglstream-kms (version 2.15.0) [2023-11-06 09:40:55.843882] < - debug - > eglstream: EGLStream-capable display found [2023-11-06 09:40:55.844607] < - debug - > eglstream: Rendering platform using EGLDeviceEXT matching Display platform [2023-11-06 09:40:55.851253] eglstream: EGLDevice found but unsuitable. Missing extension EGL_KHR_stream_consumer_gltexture [2023-11-06 09:40:55.851282] eglstream: EGLDevice found but unsuitable. Missing extension EGL_NV_stream_attrib [2023-11-06 09:40:55.858563] < - debug - > eglstream: Failed to initialise EGL: EGL_NOT_INITIALIZED (0x3001) [2023-11-06 09:40:55.858605] < - debug - > eglstream: Failed to find kernel device for EGLDevice: Failed to determine DRM device node path from EGLDevice: EGL_BAD_PARAMETER (0x300c) [2023-11-06 09:40:55.858618] mirserver: Driver supports: [2023-11-06 09:40:55.858627] mirserver: /devices/pci0000:00/0000:00:01.1/0000:01:00.0/drm/card1 (priority 128) [2023-11-06 09:40:55.858632] mirserver: /devices/pci0000:00/0000:00:08.1/0000:04:00.0/drm/card0 (priority 0) [2023-11-06 09:40:55.858637] mirserver: /devices/pci0000:00/0000:00:01.1/0000:01:00.0/drm/card1 (priority 0) [2023-11-06 09:40:55.858692] mirserver: Selected rendering driver: mir:eglstream-kms (version 2.15.0) for device ((null): /dev/dri/card1) [2023-11-06 09:40:55.858997] mirserver: Selected rendering driver: mir:eglstream-kms (version 2.15.0) for device ((null): /dev/dri/card0) [2023-11-06 09:40:55.865924] < -warning- > gbm-kms: Unable to determine the current display mode. [2023-11-06 09:40:55.866131] gbm-kms: DRM device details: [2023-11-06 09:40:55.866175] gbm-kms: /dev/dri/card0: using driver amdgpu [AMD GPU] (version: 3.47.0 driver date: 20150101) [2023-11-06 09:40:55.868059] gbm-kms: Output: eDP-1 (connected) [2023-11-06 09:40:55.868069] gbm-kms: Mode: 1920×1080@120.00 [2023-11-06 09:40:55.868074] gbm-kms: Mode: 1920×1080@96.00 [2023-11-06 09:40:55.868080] gbm-kms: Mode: 1920×1080@72.02 [2023-11-06 09:40:55.868085] gbm-kms: Mode: 1920×1080@60.00 [2023-11-06 09:40:55.868090] gbm-kms: Mode: 1920×1080@60.00 [2023-11-06 09:40:55.868095] gbm-kms: Mode: 1920×1080@50.01 [2023-11-06 09:40:55.868101] gbm-kms: Mode: 1920×1080@48.00 [2023-11-06 09:40:55.868106] gbm-kms: Mode: 1680×1050@120.00 [2023-11-06 09:40:55.868111] gbm-kms: Mode: 1280×1024@120.00 [2023-11-06 09:40:55.868116] gbm-kms: Mode: 1440×900@120.00 [2023-11-06 09:40:55.868121] gbm-kms: Mode: 1280×800@120.00 [2023-11-06 09:40:55.868126] gbm-kms: Mode: 1280×720@120.00 [2023-11-06 09:40:55.868131] gbm-kms: Mode: 1024×768@120.00 [2023-11-06 09:40:55.868136] gbm-kms: Mode: 800×600@120.00 [2023-11-06 09:40:55.868142] gbm-kms: Mode: 640×480@120.00 [2023-11-06 09:40:55.868153] gbm-kms: Output: HDMI-A-1 (disconnected) [2023-11-06 09:40:55.872484] < -warning- > gbm-kms: drmModeCrtcSetGamma failed: Invalid argument [2023-11-06 09:40:55.875427] mirserver: Using software cursor [2023-11-06 09:40:55.923674] platform-eglstream-kms: Bound EGLStreams-backed Wayland display [2023-11-06 09:40:55.924054] mircommon: Loading modules from: ./bin/../lib/server-modules/ [2023-11-06 09:40:55.924123] mircommon: Loading module: ./bin/../lib/server-modules/graphics-eglstream-kms.so.20 [2023-11-06 09:40:55.924149] mircommon: Loading module: ./bin/../lib/server-modules/renderer-egl-generic.so.20 [2023-11-06 09:40:55.924161] mircommon: Loading module: ./bin/../lib/server-modules/graphics-gbm-kms.so.20 [2023-11-06 09:40:55.924172] mircommon: Loading module: ./bin/../lib/server-modules/server-virtual.so.20 [2023-11-06 09:40:55.924184] mircommon: Loading module: ./bin/../lib/server-modules/graphics-wayland.so.20 [2023-11-06 09:40:55.924194] mircommon: Loading module: ./bin/../lib/server-modules/server-x11.so.20 [2023-11-06 09:40:55.924204] mircommon: Loading module: ./bin/../lib/server-modules/input-evdev.so.8 [2023-11-06 09:40:55.924272] mirserver: Selected input driver: mir:evdev-input (version: 2.15.0) [2023-11-06 09:40:55.924486] mirserver: Mir version 2.15.0 [2023-11-06 09:40:55.970361] GLRenderer: EGL vendor: NVIDIA [2023-11-06 09:40:55.970396] GLRenderer: EGL version: 1.5 [2023-11-06 09:40:55.970403] GLRenderer: EGL client APIs: OpenGL_ES OpenGL [2023-11-06 09:40:55.970409] GLRenderer: EGL extensions: EGL_ANDROID_native_fence_sync EGL_EXT_buffer_age EGL_EXT_client_sync EGL_EXT_create_context_robustness EGL_EXT_image_dma_buf_import EGL_EXT_image_dma_buf_import_modifiers EGL_MESA_image_dma_buf_export EGL_EXT_output_base EGL_EXT_output_drm EGL_EXT_protected_content EGL_EXT_stream_consumer_egloutput EGL_EXT_stream_acquire_mode EGL_EXT_sync_reuse EGL_IMG_context_priority EGL_KHR_config_attribs EGL_KHR_create_context_no_error EGL_KHR_context_flush_control EGL_KHR_create_context EGL_KHR_fence_sync EGL_KHR_get_all_proc_addresses EGL_KHR_partial_update EGL_KHR_swap_buffers_with_damage EGL_KHR_no_config_context 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 EGL_KHR_image_base EGL_KHR_reusable_sync EGL_KHR_stream EGL_KHR_stream_attrib EGL_KHR_stream_consumer_gltexture EGL_KHR_stream_cross_process_fd EGL_KHR_stream_fifo EGL_KHR_stream_producer_eglsurface EGL_KHR_surfaceless_context EGL_KHR_wait_sync EGL_NV_nvrm_fence_sync EGL_NV_quadruple_buffer EGL_NV_stream_consumer_eglimage EGL_NV_stream_cross_display EGL_NV_stream_cross_object EGL_NV_stream_cross_process EGL_NV_stream_cross_system EGL_NV_stream_dma EGL_NV_stream_flush EGL_NV_stream_metadata EGL_NV_stream_remote EGL_NV_stream_reset EGL_NV_stream_socket EGL_NV_stream_socket_inet EGL_NV_stream_socket_unix EGL_NV_stream_sync EGL_NV_stream_fifo_next EGL_NV_stream_fifo_synchronous EGL_NV_stream_consumer_gltexture_yuv EGL_NV_stream_attrib EGL_NV_stream_origin EGL_NV_system_time EGL_NV_output_drm_flip_event EGL_NV_triple_buffer EGL_NV_robustness_video_memory_purge EGL_WL_bind_wayland_display EGL_WL_wayland_eglstream [2023-11-06 09:40:55.970430] GLRenderer: GL vendor: NVIDIA Corporation [2023-11-06 09:40:55.970435] GLRenderer: GL renderer: NVIDIA GeForce RTX 2060 with Max-Q Design/PCIe/SSE2 [2023-11-06 09:40:55.970441] GLRenderer: GL version: OpenGL ES 3.2 NVIDIA 545.29.02 [2023-11-06 09:40:55.970446] GLRenderer: GLSL version: OpenGL ES GLSL ES 3.20 [2023-11-06 09:40:55.970453] GLRenderer: GL extensions: GL_EXT_base_instance GL_EXT_blend_func_extended GL_EXT_blend_minmax GL_EXT_buffer_storage GL_EXT_clear_texture GL_EXT_clip_control GL_EXT_clip_cull_distance GL_EXT_color_buffer_float GL_EXT_color_buffer_half_float GL_EXT_conservative_depth GL_EXT_copy_image GL_EXT_depth_clamp GL_EXT_debug_label GL_EXT_discard_framebuffer GL_EXT_disjoint_timer_query GL_EXT_draw_buffers_indexed GL_EXT_draw_elements_base_vertex GL_EXT_EGL_image_array GL_EXT_EGL_image_storage GL_EXT_EGL_image_external_wrap_modes GL_EXT_float_blend GL_EXT_frag_depth GL_EXT_geometry_point_size GL_EXT_geometry_shader GL_EXT_gpu_shader5 GL_EXT_map_buffer_range GL_EXT_multi_draw_indirect GL_EXT_multisample_compatibility GL_EXT_multisampled_render_to_texture GL_EXT_multisampled_render_to_texture2 GL_EXT_multiview_texture_multisample GL_EXT_multiview_timer_query GL_EXT_occlusion_query_boolean GL_EXT_polygon_offset_clamp GL_EXT_post_depth_coverage GL_EXT_primitive_bounding_box GL_EXT_raster_multisample GL_EXT_render_snorm GL_EXT_robustness GL_EXT_separate_shader_objects GL_EXT_shader_group_vote GL_EXT_shader_implicit_conversions GL_EXT_shader_integer_mix GL_EXT_shader_io_blocks GL_EXT_shader_non_constant_global_initializers GL_EXT_shader_texture_lod GL_EXT_shadow_samplers GL_EXT_sparse_texture GL_EXT_sparse_texture2 GL_EXT_sRGB GL_EXT_sRGB_write_control GL_EXT_tessellation_point_size GL_EXT_tessellation_shader GL_EXT_texture_border_clamp GL_EXT_texture_buffer GL_EXT_texture_compression_bptc GL_EXT_texture_compression_dxt1 GL_EXT_texture_compression_rgtc GL_EXT_texture_compression_s3tc GL_EXT_texture_cube_map_array GL_EXT_texture_filter_anisotropic GL_EXT_texture_filter_minmax GL_EXT_texture_format_BGRA8888 GL_EXT_texture_mirror_clamp_to_edge GL_EXT_texture_norm16 GL_EXT_texture_query_lod GL_EXT_texture_rg GL_EXT_texture_shadow_lod GL_EXT_texture_sRGB_R8 GL_EXT_texture_sRGB_decode GL_EXT_texture_storage GL_EXT_texture_view GL_EXT_draw_transform_feedback GL_EXT_unpack_subimage GL_EXT_window_rectangles GL_KHR_context_flush_control GL_KHR_debug GL_EXT_memory_object GL_EXT_memory_object_fd GL_NV_memory_object_sparse GL_KHR_parallel_shader_compile GL_KHR_no_error GL_KHR_robust_buffer_access_behavior GL_KHR_robustness GL_EXT_semaphore GL_EXT_semaphore_fd GL_NV_timeline_semaphore GL_KHR_shader_subgroup GL_KHR_texture_compression_astc_ldr GL_KHR_texture_compression_astc_sliced_3d GL_KHR_texture_compression_astc_hdr GL_NV_bgr GL_NV_bindless_texture GL_NV_blend_equation_advanced GL_NV_blend_equation_advanced_coherent GL_NVX_blend_equation_advanced_multi_draw_buffers GL_NV_blend_minmax_factor GL_NV_clip_space_w_scaling GL_NV_compute_shader_derivatives GL_NV_conditional_render GL_NV_conservative_raster GL_NV_conservative_raster_pre_snap_triangles GL_NV_copy_buffer GL_NV_copy_image GL_NV_draw_buffers GL_NV_draw_instanced GL_NV_draw_texture GL_NV_draw_vulkan_image GL_NV_EGL_stream_consumer_external GL_NV_explicit_attrib_location GL_NV_fbo_color_attachments GL_NV_fill_rectangle GL_NV_fragment_coverage_to_color GL_NV_fragment_shader_barycentric GL_NV_fragment_shader_interlock GL_NV_framebuffer_blit GL_NV_framebuffer_mixed_samples GL_NV_framebuffer_multisample GL_NV_generate_mipmap_sRGB GL_NV_geometry_shader_passthrough GL_NV_instanced_arrays GL_NV_internalformat_sample_query GL_NV_gpu_shader5 GL_NV_image_formats GL_NV_memory_attachment GL_NV_mesh_shader GL_NV_occlusion_query_samples GL_NV_non_square_matrices GL_NV_pack_subimage GL_NV_packed_float GL_NV_packed_float_linear GL_NV_path_rendering GL_NV_path_rendering_shared_edge GL_NV_pixel_buffer_object GL_NV_polygon_mode GL_NV_read_buffer GL_NV_read_depth GL_NV_read_depth_stencil GL_NV_read_stencil GL_NV_representative_fragment_test GL_NV_sample_locations GL_NV_sample_mask_override_coverage GL_NV_scissor_exclusive GL_NV_shader_atomic_fp16_vector GL_NV_shader_noperspective_interpolation GL_NV_shader_subgroup_partitioned GL_NV_shader_texture_footprint GL_NV_shading_rate_image GL_NV_shadow_samplers_array GL_NV_shadow_samplers_cube GL_NV_sRGB_formats GL_NV_stereo_view_rendering GL_NV_texture_array GL_NV_texture_barrier GL_NV_texture_border_clamp GL_NV_texture_compression_latc GL_NV_texture_compression_s3tc GL_NV_texture_compression_s3tc_update GL_NV_timer_query GL_NV_viewport_array GL_NV_viewport_array2 GL_NV_viewport_swizzle GL_KHR_blend_equation_advanced GL_KHR_blend_equation_advanced_coherent GL_OES_compressed_ETC1_RGB8_texture GL_EXT_compressed_ETC1_RGB8_sub_texture GL_OES_depth24 GL_OES_depth32 GL_OES_depth_texture GL_OES_depth_texture_cube_map GL_OES_copy_image GL_OES_draw_buffers_indexed GL_OES_draw_elements_base_vertex GL_OES_texture_border_clamp GL_OES_tessellation_point_size GL_OES_tessellation_shader GL_OES_texture_buffer GL_OES_geometry_point_size GL_OES_geometry_shader GL_OES_gpu_shader5 GL_OES_shader_io_blocks GL_OES_texture_view GL_OES_primitive_bounding_box GL_OES_EGL_image GL_OES_EGL_image_external GL_OES_EGL_image_external_essl3 GL_OES_EGL_sync GL_OES_element_index_uint GL_OES_fbo_render_mipmap GL_OES_get_program_binary GL_OES_mapbuffer GL_OES_packed_depth_stencil GL_OES_rgb8_rgba8 GL_EXT_read_format_bgra GL_OES_sample_shading GL_OES_sample_variables GL_OES_shader_image_atomic GL_OES_shader_multisample_interpolation GL_OES_standard_derivatives GL_OES_surfaceless_context GL_OES_texture_cube_map_array GL_OES_texture_npot GL_OES_texture_float GL_OES_texture_float_linear GL_OES_texture_half_float GL_OES_texture_half_float_linear GL_OES_texture_stencil8 GL_OES_texture_storage_multisample_2d_array GL_OES_vertex_array_object GL_OES_vertex_half_float GL_OES_viewport_array GL_OVR_multiview GL_OVR_multiview2 GL_OVR_multiview_multisampled_render_to_texture GL_ANDROID_extension_pack_es31a [2023-11-06 09:40:55.970468] GLRenderer: GL max texture size = 32768 [2023-11-06 09:40:55.970475] GLRenderer: GL framebuffer bits: RGBA=8888, depth=0, stencil=0 [2023-11-06 09:40:55.990077] < - debug - > mirserver: Ignoring logind PauseDevice("gone") event for DRM device 226:1 [2023-11-06 09:40:55.990131] < - debug - > mirserver: Ignoring logind PauseDevice("gone") event for DRM device 226:0 [2023-11-06 09:40:55.990152] < - debug - > mirserver: Ignoring logind PauseDevice("gone") event for DRM device 226:1 [2023-11-06 09:40:55.990165] < - debug - > mirserver: Ignoring logind PauseDevice("gone") event for DRM device 226:0 [2023-11-06 09:40:55.990212] mirserver: Initial display configuration: [2023-11-06 09:40:55.990231] mirserver: * Output 1: DisplayPort disconnected [2023-11-06 09:40:55.990237] mirserver: * Output 2: eDP connected, used [2023-11-06 09:40:55.990245] mirserver: . |_ EDID monitor name: LQ140M1JW46 [2023-11-06 09:40:55.990266] mirserver: . |_ EDID manufacturer: SHP [2023-11-06 09:40:55.990272] mirserver: . |_ EDID product code: 5361 [2023-11-06 09:40:55.990282] mirserver: . |_ Physical size 13.9" 310x170mm [2023-11-06 09:40:55.990287] mirserver: . |_ Power is on [2023-11-06 09:40:55.990293] mirserver: . |_ Current mode 1920x1080 120.00Hz [2023-11-06 09:40:55.990298] mirserver: . |_ Preferred mode 1920x1080 120.00Hz [2023-11-06 09:40:55.990303] mirserver: . |_ Orientation normal [2023-11-06 09:40:55.990310] mirserver: . |_ Logical size 1920x1080 [2023-11-06 09:40:55.990315] mirserver: . |_ Logical position +0+0 [2023-11-06 09:40:55.990320] mirserver: . |_ Scaling factor: 1.00 [2023-11-06 09:40:55.990325] mirserver: * Output 3: HDMI-A disconnected [2023-11-06 09:41:06.221629] mirserver: Stopping ```

:heavy_check_mark: Specifying both eglstream-kms and egl-generic

This only succeeds because we don't actually select egl-generic for some reason when we manually select them (i.e. --platform-rendering-libs=mir:eglstream-kms,mir:egl-generic)

Full logs ``` [2023-11-06 09:41:31.019827] mirserver: Starting [2023-11-06 09:41:31.025847] < - debug - > mirserver: Using logind for session management [2023-11-06 09:41:31.026017] mircommon: Loading modules from: ./bin/../lib/server-modules/ [2023-11-06 09:41:31.026094] mircommon: Loading module: ./bin/../lib/server-modules/graphics-eglstream-kms.so.20 [2023-11-06 09:41:31.026116] mircommon: Loading module: ./bin/../lib/server-modules/renderer-egl-generic.so.20 [2023-11-06 09:41:31.026124] mircommon: Loading module: ./bin/../lib/server-modules/graphics-gbm-kms.so.20 [2023-11-06 09:41:31.026131] mircommon: Loading module: ./bin/../lib/server-modules/server-virtual.so.20 [2023-11-06 09:41:31.026138] mircommon: Loading module: ./bin/../lib/server-modules/graphics-wayland.so.20 [2023-11-06 09:41:31.026145] mircommon: Loading module: ./bin/../lib/server-modules/server-x11.so.20 [2023-11-06 09:41:31.026153] mircommon: Loading module: ./bin/../lib/server-modules/input-evdev.so.8 [2023-11-06 09:41:31.026161] mircommon: Loading module: ./bin/../lib/server-modules/graphics-throw.so [2023-11-06 09:41:31.026170] mircommon: Loading module: ./bin/../lib/server-modules/input-stub.so [2023-11-06 09:41:31.026861] mircommon: Loading module: ./bin/../lib/server-modules/graphics-dummy.so [2023-11-06 09:41:31.026901] mirserver: Found display driver: mir:eglstream-kms (version 2.15.0) [2023-11-06 09:41:31.045166] < - debug - > eglstream: Found EGLDeviceEXT with device extensions: EGL_NV_device_cuda EGL_EXT_device_drm EGL_EXT_device_drm_render_node EGL_EXT_device_query_name EGL_EXT_device_persistent_id [2023-11-06 09:41:31.291312] < - debug - > eglstream: Found EGLDeviceEXT with device extensions: EGL_EXT_device_drm EGL_EXT_device_drm_render_node [2023-11-06 09:41:31.313772] < -warning- > eglstream: Failed to create EGL context: no EGL_STREAM_BIT_KHR configs supported [2023-11-06 09:41:31.332704] < - debug - > eglstream: Found EGLDeviceEXT with device extensions: EGL_EXT_device_drm EGL_EXT_device_drm_render_node [2023-11-06 09:41:31.344023] < - debug - > eglstream: Failed to initialise EGL: EGL_NOT_INITIALIZED (0x3001) [2023-11-06 09:41:31.419321] < - debug - > eglstream: Found EGLDeviceEXT with device extensions: EGL_MESA_device_software EGL_EXT_device_drm_render_node [2023-11-06 09:41:31.419447] eglstream: Failed to query DRM node for EGLDevice: Failed to determine DRM device node path from EGLDevice: EGL_BAD_PARAMETER (0x300c) [2023-11-06 09:41:31.419485] mirserver: Driver supports: [2023-11-06 09:41:31.419503] mirserver: /devices/pci0000:00/0000:00:01.1/0000:01:00.0/drm/card1 (priority 256) [2023-11-06 09:41:31.419514] mirserver: /devices/pci0000:00/0000:00:08.1/0000:04:00.0/drm/card0 (priority 0) [2023-11-06 09:41:31.419527] mirserver: /devices/pci0000:00/0000:00:01.1/0000:01:00.0/drm/card1 (priority 0) [2023-11-06 09:41:31.419564] mirserver: Found display driver: mir:egl-generic (version 2.15.0) [2023-11-06 09:41:31.419641] mirserver: Found display driver: mir:gbm-kms (version 2.15.0) [2023-11-06 09:41:31.420744] < - debug - > gbm-kms: Quirks: checking device with devnode: /dev/dri/card1, driver nvidia [2023-11-06 09:41:31.420759] gbm-kms: Quirks: skipping device /dev/dri/card1 (matches driver quirk nvidia) [2023-11-06 09:41:31.420765] gbm-kms: Not probing device /dev/dri/card1 due to specified quirk [2023-11-06 09:41:31.420818] < - debug - > gbm-kms: Quirks: checking device with devnode: (null), driver [2023-11-06 09:41:31.420888] < - debug - > gbm-kms: Quirks: checking device with devnode: /dev/dri/card0, driver amdgpu [2023-11-06 09:41:31.446099] < - debug - > gbm-kms: Quirks: checking device with devnode: (null), driver [2023-11-06 09:41:31.446199] < - debug - > gbm-kms: Quirks: checking device with devnode: (null), driver [2023-11-06 09:41:31.457463] mirserver: Driver supports: [2023-11-06 09:41:31.457588] mirserver: /devices/pci0000:00/0000:00:08.1/0000:04:00.0/drm/card0 (priority 256) [2023-11-06 09:41:31.457634] mirserver: Found display driver: mir:virtual (version 2.15.0) [2023-11-06 09:41:31.457668] mirserver: (Unsupported by system environment) [2023-11-06 09:41:31.457688] mirserver: Found display driver: mir:wayland (version 2.15.0) [2023-11-06 09:41:31.457708] mirserver: (Unsupported by system environment) [2023-11-06 09:41:31.457727] mirserver: Found display driver: mir:x11 (version 2.15.0) [2023-11-06 09:41:31.457782] mirserver: (Unsupported by system environment) [2023-11-06 09:41:31.457889] mirserver: Found display driver: throw-on-creation (version 2.15.0) [2023-11-06 09:41:31.457916] mirserver: Driver supports: [2023-11-06 09:41:31.457930] mirserver: System (priority 0) [2023-11-06 09:41:31.457977] mirserver: Found display driver: mir:stub-graphics (version 2.15.0) [2023-11-06 09:41:31.457998] mirserver: Driver supports: [2023-11-06 09:41:31.458011] mirserver: System (priority 1) [2023-11-06 09:41:31.458187] mirserver: Selected display driver: mir:eglstream-kms (version 2.15.0) for device ((null): /dev/dri/card1) [2023-11-06 09:41:31.460166] mirserver: Selected display driver: mir:gbm-kms (version 2.15.0) for device ((null): /dev/dri/card0) [2023-11-06 09:41:31.470078] mircommon: Loading modules from: ./bin/../lib/server-modules/ [2023-11-06 09:41:31.470170] mircommon: Loading module: ./bin/../lib/server-modules/graphics-eglstream-kms.so.20 [2023-11-06 09:41:31.470192] mircommon: Loading module: ./bin/../lib/server-modules/renderer-egl-generic.so.20 [2023-11-06 09:41:31.470201] mircommon: Loading module: ./bin/../lib/server-modules/graphics-gbm-kms.so.20 [2023-11-06 09:41:31.470209] mircommon: Loading module: ./bin/../lib/server-modules/server-virtual.so.20 [2023-11-06 09:41:31.470215] mircommon: Loading module: ./bin/../lib/server-modules/graphics-wayland.so.20 [2023-11-06 09:41:31.470222] mircommon: Loading module: ./bin/../lib/server-modules/server-x11.so.20 [2023-11-06 09:41:31.470229] mircommon: Loading module: ./bin/../lib/server-modules/input-evdev.so.8 [2023-11-06 09:41:31.470237] mircommon: Loading module: ./bin/../lib/server-modules/graphics-throw.so [2023-11-06 09:41:31.470244] mircommon: Loading module: ./bin/../lib/server-modules/input-stub.so [2023-11-06 09:41:31.471059] mircommon: Loading module: ./bin/../lib/server-modules/graphics-dummy.so [2023-11-06 09:41:31.471140] mirserver: Found rendering driver: mir:eglstream-kms (version 2.15.0) [2023-11-06 09:41:31.471154] < - debug - > eglstream: EGLStream-capable display found [2023-11-06 09:41:31.471881] < - debug - > eglstream: Rendering platform using EGLDeviceEXT matching Display platform [2023-11-06 09:41:31.478453] eglstream: EGLDevice found but unsuitable. Missing extension EGL_KHR_stream_consumer_gltexture [2023-11-06 09:41:31.478481] eglstream: EGLDevice found but unsuitable. Missing extension EGL_NV_stream_attrib [2023-11-06 09:41:31.485797] < - debug - > eglstream: Failed to initialise EGL: EGL_NOT_INITIALIZED (0x3001) [2023-11-06 09:41:31.485839] < - debug - > eglstream: Failed to find kernel device for EGLDevice: Failed to determine DRM device node path from EGLDevice: EGL_BAD_PARAMETER (0x300c) [2023-11-06 09:41:31.485852] mirserver: Driver supports: [2023-11-06 09:41:31.485860] mirserver: /devices/pci0000:00/0000:00:01.1/0000:01:00.0/drm/card1 (priority 128) [2023-11-06 09:41:31.485866] mirserver: /devices/pci0000:00/0000:00:08.1/0000:04:00.0/drm/card0 (priority 0) [2023-11-06 09:41:31.485871] mirserver: /devices/pci0000:00/0000:00:01.1/0000:01:00.0/drm/card1 (priority 0) [2023-11-06 09:41:31.485898] mirserver: Found rendering driver: mir:egl-generic (version 2.15.0) [2023-11-06 09:41:31.487223] mirserver: Driver supports: [2023-11-06 09:41:31.487235] mirserver: System (priority 128) [2023-11-06 09:41:31.487272] mirserver: Selected rendering driver: mir:eglstream-kms (version 2.15.0) for device ((null): /dev/dri/card1) [2023-11-06 09:41:31.487572] mirserver: Selected rendering driver: mir:eglstream-kms (version 2.15.0) for device ((null): /dev/dri/card0) [2023-11-06 09:41:31.494394] < -warning- > gbm-kms: Unable to determine the current display mode. [2023-11-06 09:41:31.494601] gbm-kms: DRM device details: [2023-11-06 09:41:31.494646] gbm-kms: /dev/dri/card0: using driver amdgpu [AMD GPU] (version: 3.47.0 driver date: 20150101) [2023-11-06 09:41:31.496529] gbm-kms: Output: eDP-1 (connected) [2023-11-06 09:41:31.496538] gbm-kms: Mode: 1920×1080@120.00 [2023-11-06 09:41:31.496543] gbm-kms: Mode: 1920×1080@96.00 [2023-11-06 09:41:31.496548] gbm-kms: Mode: 1920×1080@72.02 [2023-11-06 09:41:31.496553] gbm-kms: Mode: 1920×1080@60.00 [2023-11-06 09:41:31.496559] gbm-kms: Mode: 1920×1080@60.00 [2023-11-06 09:41:31.496563] gbm-kms: Mode: 1920×1080@50.01 [2023-11-06 09:41:31.496569] gbm-kms: Mode: 1920×1080@48.00 [2023-11-06 09:41:31.496573] gbm-kms: Mode: 1680×1050@120.00 [2023-11-06 09:41:31.496579] gbm-kms: Mode: 1280×1024@120.00 [2023-11-06 09:41:31.496584] gbm-kms: Mode: 1440×900@120.00 [2023-11-06 09:41:31.496589] gbm-kms: Mode: 1280×800@120.00 [2023-11-06 09:41:31.496594] gbm-kms: Mode: 1280×720@120.00 [2023-11-06 09:41:31.496599] gbm-kms: Mode: 1024×768@120.00 [2023-11-06 09:41:31.496604] gbm-kms: Mode: 800×600@120.00 [2023-11-06 09:41:31.496609] gbm-kms: Mode: 640×480@120.00 [2023-11-06 09:41:31.496620] gbm-kms: Output: HDMI-A-1 (disconnected) [2023-11-06 09:41:31.500914] < -warning- > gbm-kms: drmModeCrtcSetGamma failed: Invalid argument [2023-11-06 09:41:31.503853] mirserver: Using software cursor [2023-11-06 09:41:31.555154] platform-eglstream-kms: Bound EGLStreams-backed Wayland display [2023-11-06 09:41:31.555540] mircommon: Loading modules from: ./bin/../lib/server-modules/ [2023-11-06 09:41:31.555607] mircommon: Loading module: ./bin/../lib/server-modules/graphics-eglstream-kms.so.20 [2023-11-06 09:41:31.555634] mircommon: Loading module: ./bin/../lib/server-modules/renderer-egl-generic.so.20 [2023-11-06 09:41:31.555646] mircommon: Loading module: ./bin/../lib/server-modules/graphics-gbm-kms.so.20 [2023-11-06 09:41:31.555657] mircommon: Loading module: ./bin/../lib/server-modules/server-virtual.so.20 [2023-11-06 09:41:31.555669] mircommon: Loading module: ./bin/../lib/server-modules/graphics-wayland.so.20 [2023-11-06 09:41:31.555678] mircommon: Loading module: ./bin/../lib/server-modules/server-x11.so.20 [2023-11-06 09:41:31.555689] mircommon: Loading module: ./bin/../lib/server-modules/input-evdev.so.8 [2023-11-06 09:41:31.555755] mirserver: Selected input driver: mir:evdev-input (version: 2.15.0) [2023-11-06 09:41:31.555970] mirserver: Mir version 2.15.0 [2023-11-06 09:41:31.604313] GLRenderer: EGL vendor: NVIDIA [2023-11-06 09:41:31.604349] GLRenderer: EGL version: 1.5 [2023-11-06 09:41:31.604356] GLRenderer: EGL client APIs: OpenGL_ES OpenGL [2023-11-06 09:41:31.604362] GLRenderer: EGL extensions: EGL_ANDROID_native_fence_sync EGL_EXT_buffer_age EGL_EXT_client_sync EGL_EXT_create_context_robustness EGL_EXT_image_dma_buf_import EGL_EXT_image_dma_buf_import_modifiers EGL_MESA_image_dma_buf_export EGL_EXT_output_base EGL_EXT_output_drm EGL_EXT_protected_content EGL_EXT_stream_consumer_egloutput EGL_EXT_stream_acquire_mode EGL_EXT_sync_reuse EGL_IMG_context_priority EGL_KHR_config_attribs EGL_KHR_create_context_no_error EGL_KHR_context_flush_control EGL_KHR_create_context EGL_KHR_fence_sync EGL_KHR_get_all_proc_addresses EGL_KHR_partial_update EGL_KHR_swap_buffers_with_damage EGL_KHR_no_config_context 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 EGL_KHR_image_base EGL_KHR_reusable_sync EGL_KHR_stream EGL_KHR_stream_attrib EGL_KHR_stream_consumer_gltexture EGL_KHR_stream_cross_process_fd EGL_KHR_stream_fifo EGL_KHR_stream_producer_eglsurface EGL_KHR_surfaceless_context EGL_KHR_wait_sync EGL_NV_nvrm_fence_sync EGL_NV_quadruple_buffer EGL_NV_stream_consumer_eglimage EGL_NV_stream_cross_display EGL_NV_stream_cross_object EGL_NV_stream_cross_process EGL_NV_stream_cross_system EGL_NV_stream_dma EGL_NV_stream_flush EGL_NV_stream_metadata EGL_NV_stream_remote EGL_NV_stream_reset EGL_NV_stream_socket EGL_NV_stream_socket_inet EGL_NV_stream_socket_unix EGL_NV_stream_sync EGL_NV_stream_fifo_next EGL_NV_stream_fifo_synchronous EGL_NV_stream_consumer_gltexture_yuv EGL_NV_stream_attrib EGL_NV_stream_origin EGL_NV_system_time EGL_NV_output_drm_flip_event EGL_NV_triple_buffer EGL_NV_robustness_video_memory_purge EGL_WL_bind_wayland_display EGL_WL_wayland_eglstream [2023-11-06 09:41:31.604385] GLRenderer: GL vendor: NVIDIA Corporation [2023-11-06 09:41:31.604391] GLRenderer: GL renderer: NVIDIA GeForce RTX 2060 with Max-Q Design/PCIe/SSE2 [2023-11-06 09:41:31.604395] GLRenderer: GL version: OpenGL ES 3.2 NVIDIA 545.29.02 [2023-11-06 09:41:31.604401] GLRenderer: GLSL version: OpenGL ES GLSL ES 3.20 [2023-11-06 09:41:31.604411] GLRenderer: GL extensions: GL_EXT_base_instance GL_EXT_blend_func_extended GL_EXT_blend_minmax GL_EXT_buffer_storage GL_EXT_clear_texture GL_EXT_clip_control GL_EXT_clip_cull_distance GL_EXT_color_buffer_float GL_EXT_color_buffer_half_float GL_EXT_conservative_depth GL_EXT_copy_image GL_EXT_depth_clamp GL_EXT_debug_label GL_EXT_discard_framebuffer GL_EXT_disjoint_timer_query GL_EXT_draw_buffers_indexed GL_EXT_draw_elements_base_vertex GL_EXT_EGL_image_array GL_EXT_EGL_image_storage GL_EXT_EGL_image_external_wrap_modes GL_EXT_float_blend GL_EXT_frag_depth GL_EXT_geometry_point_size GL_EXT_geometry_shader GL_EXT_gpu_shader5 GL_EXT_map_buffer_range GL_EXT_multi_draw_indirect GL_EXT_multisample_compatibility GL_EXT_multisampled_render_to_texture GL_EXT_multisampled_render_to_texture2 GL_EXT_multiview_texture_multisample GL_EXT_multiview_timer_query GL_EXT_occlusion_query_boolean GL_EXT_polygon_offset_clamp GL_EXT_post_depth_coverage GL_EXT_primitive_bounding_box GL_EXT_raster_multisample GL_EXT_render_snorm GL_EXT_robustness GL_EXT_separate_shader_objects GL_EXT_shader_group_vote GL_EXT_shader_implicit_conversions GL_EXT_shader_integer_mix GL_EXT_shader_io_blocks GL_EXT_shader_non_constant_global_initializers GL_EXT_shader_texture_lod GL_EXT_shadow_samplers GL_EXT_sparse_texture GL_EXT_sparse_texture2 GL_EXT_sRGB GL_EXT_sRGB_write_control GL_EXT_tessellation_point_size GL_EXT_tessellation_shader GL_EXT_texture_border_clamp GL_EXT_texture_buffer GL_EXT_texture_compression_bptc GL_EXT_texture_compression_dxt1 GL_EXT_texture_compression_rgtc GL_EXT_texture_compression_s3tc GL_EXT_texture_cube_map_array GL_EXT_texture_filter_anisotropic GL_EXT_texture_filter_minmax GL_EXT_texture_format_BGRA8888 GL_EXT_texture_mirror_clamp_to_edge GL_EXT_texture_norm16 GL_EXT_texture_query_lod GL_EXT_texture_rg GL_EXT_texture_shadow_lod GL_EXT_texture_sRGB_R8 GL_EXT_texture_sRGB_decode GL_EXT_texture_storage GL_EXT_texture_view GL_EXT_draw_transform_feedback GL_EXT_unpack_subimage GL_EXT_window_rectangles GL_KHR_context_flush_control GL_KHR_debug GL_EXT_memory_object GL_EXT_memory_object_fd GL_NV_memory_object_sparse GL_KHR_parallel_shader_compile GL_KHR_no_error GL_KHR_robust_buffer_access_behavior GL_KHR_robustness GL_EXT_semaphore GL_EXT_semaphore_fd GL_NV_timeline_semaphore GL_KHR_shader_subgroup GL_KHR_texture_compression_astc_ldr GL_KHR_texture_compression_astc_sliced_3d GL_KHR_texture_compression_astc_hdr GL_NV_bgr GL_NV_bindless_texture GL_NV_blend_equation_advanced GL_NV_blend_equation_advanced_coherent GL_NVX_blend_equation_advanced_multi_draw_buffers GL_NV_blend_minmax_factor GL_NV_clip_space_w_scaling GL_NV_compute_shader_derivatives GL_NV_conditional_render GL_NV_conservative_raster GL_NV_conservative_raster_pre_snap_triangles GL_NV_copy_buffer GL_NV_copy_image GL_NV_draw_buffers GL_NV_draw_instanced GL_NV_draw_texture GL_NV_draw_vulkan_image GL_NV_EGL_stream_consumer_external GL_NV_explicit_attrib_location GL_NV_fbo_color_attachments GL_NV_fill_rectangle GL_NV_fragment_coverage_to_color GL_NV_fragment_shader_barycentric GL_NV_fragment_shader_interlock GL_NV_framebuffer_blit GL_NV_framebuffer_mixed_samples GL_NV_framebuffer_multisample GL_NV_generate_mipmap_sRGB GL_NV_geometry_shader_passthrough GL_NV_instanced_arrays GL_NV_internalformat_sample_query GL_NV_gpu_shader5 GL_NV_image_formats GL_NV_memory_attachment GL_NV_mesh_shader GL_NV_occlusion_query_samples GL_NV_non_square_matrices GL_NV_pack_subimage GL_NV_packed_float GL_NV_packed_float_linear GL_NV_path_rendering GL_NV_path_rendering_shared_edge GL_NV_pixel_buffer_object GL_NV_polygon_mode GL_NV_read_buffer GL_NV_read_depth GL_NV_read_depth_stencil GL_NV_read_stencil GL_NV_representative_fragment_test GL_NV_sample_locations GL_NV_sample_mask_override_coverage GL_NV_scissor_exclusive GL_NV_shader_atomic_fp16_vector GL_NV_shader_noperspective_interpolation GL_NV_shader_subgroup_partitioned GL_NV_shader_texture_footprint GL_NV_shading_rate_image GL_NV_shadow_samplers_array GL_NV_shadow_samplers_cube GL_NV_sRGB_formats GL_NV_stereo_view_rendering GL_NV_texture_array GL_NV_texture_barrier GL_NV_texture_border_clamp GL_NV_texture_compression_latc GL_NV_texture_compression_s3tc GL_NV_texture_compression_s3tc_update GL_NV_timer_query GL_NV_viewport_array GL_NV_viewport_array2 GL_NV_viewport_swizzle GL_KHR_blend_equation_advanced GL_KHR_blend_equation_advanced_coherent GL_OES_compressed_ETC1_RGB8_texture GL_EXT_compressed_ETC1_RGB8_sub_texture GL_OES_depth24 GL_OES_depth32 GL_OES_depth_texture GL_OES_depth_texture_cube_map GL_OES_copy_image GL_OES_draw_buffers_indexed GL_OES_draw_elements_base_vertex GL_OES_texture_border_clamp GL_OES_tessellation_point_size GL_OES_tessellation_shader GL_OES_texture_buffer GL_OES_geometry_point_size GL_OES_geometry_shader GL_OES_gpu_shader5 GL_OES_shader_io_blocks GL_OES_texture_view GL_OES_primitive_bounding_box GL_OES_EGL_image GL_OES_EGL_image_external GL_OES_EGL_image_external_essl3 GL_OES_EGL_sync GL_OES_element_index_uint GL_OES_fbo_render_mipmap GL_OES_get_program_binary GL_OES_mapbuffer GL_OES_packed_depth_stencil GL_OES_rgb8_rgba8 GL_EXT_read_format_bgra GL_OES_sample_shading GL_OES_sample_variables GL_OES_shader_image_atomic GL_OES_shader_multisample_interpolation GL_OES_standard_derivatives GL_OES_surfaceless_context GL_OES_texture_cube_map_array GL_OES_texture_npot GL_OES_texture_float GL_OES_texture_float_linear GL_OES_texture_half_float GL_OES_texture_half_float_linear GL_OES_texture_stencil8 GL_OES_texture_storage_multisample_2d_array GL_OES_vertex_array_object GL_OES_vertex_half_float GL_OES_viewport_array GL_OVR_multiview GL_OVR_multiview2 GL_OVR_multiview_multisampled_render_to_texture GL_ANDROID_extension_pack_es31a [2023-11-06 09:41:31.604426] GLRenderer: GL max texture size = 32768 [2023-11-06 09:41:31.604432] GLRenderer: GL framebuffer bits: RGBA=8888, depth=0, stencil=0 [2023-11-06 09:41:31.625967] < - debug - > mirserver: Ignoring logind PauseDevice("gone") event for DRM device 226:1 [2023-11-06 09:41:31.626032] < - debug - > mirserver: Ignoring logind PauseDevice("gone") event for DRM device 226:0 [2023-11-06 09:41:31.626055] < - debug - > mirserver: Ignoring logind PauseDevice("gone") event for DRM device 226:1 [2023-11-06 09:41:31.626088] < - debug - > mirserver: Ignoring logind PauseDevice("gone") event for DRM device 226:0 [2023-11-06 09:41:31.626162] mirserver: Initial display configuration: [2023-11-06 09:41:31.626179] mirserver: * Output 1: DisplayPort disconnected [2023-11-06 09:41:31.626190] mirserver: * Output 2: eDP connected, used [2023-11-06 09:41:31.626204] mirserver: . |_ EDID monitor name: LQ140M1JW46 [2023-11-06 09:41:31.626215] mirserver: . |_ EDID manufacturer: SHP [2023-11-06 09:41:31.626225] mirserver: . |_ EDID product code: 5361 [2023-11-06 09:41:31.626240] mirserver: . |_ Physical size 13.9" 310x170mm [2023-11-06 09:41:31.626269] mirserver: . |_ Power is on [2023-11-06 09:41:31.626285] mirserver: . |_ Current mode 1920x1080 120.00Hz [2023-11-06 09:41:31.626295] mirserver: . |_ Preferred mode 1920x1080 120.00Hz [2023-11-06 09:41:31.626305] mirserver: . |_ Orientation normal [2023-11-06 09:41:31.626318] mirserver: . |_ Logical size 1920x1080 [2023-11-06 09:41:31.626327] mirserver: . |_ Logical position +0+0 [2023-11-06 09:41:31.626337] mirserver: . |_ Scaling factor: 1.00 [2023-11-06 09:41:31.626347] mirserver: * Output 3: HDMI-A disconnected [2023-11-06 09:41:41.845584] mirserver: Stopping ```

:x: Specifying egl-generic only

Full logs ``` [2023-11-06 09:41:56.164729] mirserver: Starting [2023-11-06 09:41:56.170932] < - debug - > mirserver: Using logind for session management [2023-11-06 09:41:56.171082] mircommon: Loading modules from: ./bin/../lib/server-modules/ [2023-11-06 09:41:56.171147] mircommon: Loading module: ./bin/../lib/server-modules/graphics-eglstream-kms.so.20 [2023-11-06 09:41:56.171169] mircommon: Loading module: ./bin/../lib/server-modules/renderer-egl-generic.so.20 [2023-11-06 09:41:56.171177] mircommon: Loading module: ./bin/../lib/server-modules/graphics-gbm-kms.so.20 [2023-11-06 09:41:56.171184] mircommon: Loading module: ./bin/../lib/server-modules/server-virtual.so.20 [2023-11-06 09:41:56.171191] mircommon: Loading module: ./bin/../lib/server-modules/graphics-wayland.so.20 [2023-11-06 09:41:56.171198] mircommon: Loading module: ./bin/../lib/server-modules/server-x11.so.20 [2023-11-06 09:41:56.171205] mircommon: Loading module: ./bin/../lib/server-modules/input-evdev.so.8 [2023-11-06 09:41:56.171212] mircommon: Loading module: ./bin/../lib/server-modules/graphics-throw.so [2023-11-06 09:41:56.171220] mircommon: Loading module: ./bin/../lib/server-modules/input-stub.so [2023-11-06 09:41:56.171868] mircommon: Loading module: ./bin/../lib/server-modules/graphics-dummy.so [2023-11-06 09:41:56.171896] mirserver: Found display driver: mir:eglstream-kms (version 2.15.0) [2023-11-06 09:41:56.190242] < - debug - > eglstream: Found EGLDeviceEXT with device extensions: EGL_NV_device_cuda EGL_EXT_device_drm EGL_EXT_device_drm_render_node EGL_EXT_device_query_name EGL_EXT_device_persistent_id [2023-11-06 09:41:56.436745] < - debug - > eglstream: Found EGLDeviceEXT with device extensions: EGL_EXT_device_drm EGL_EXT_device_drm_render_node [2023-11-06 09:41:56.482950] < -warning- > eglstream: Failed to create EGL context: no EGL_STREAM_BIT_KHR configs supported [2023-11-06 09:41:56.503762] < - debug - > eglstream: Found EGLDeviceEXT with device extensions: EGL_EXT_device_drm EGL_EXT_device_drm_render_node [2023-11-06 09:41:56.533309] < - debug - > eglstream: Failed to initialise EGL: EGL_NOT_INITIALIZED (0x3001) [2023-11-06 09:41:56.613997] < - debug - > eglstream: Found EGLDeviceEXT with device extensions: EGL_MESA_device_software EGL_EXT_device_drm_render_node [2023-11-06 09:41:56.614125] eglstream: Failed to query DRM node for EGLDevice: Failed to determine DRM device node path from EGLDevice: EGL_BAD_PARAMETER (0x300c) [2023-11-06 09:41:56.614156] mirserver: Driver supports: [2023-11-06 09:41:56.614174] mirserver: /devices/pci0000:00/0000:00:01.1/0000:01:00.0/drm/card1 (priority 256) [2023-11-06 09:41:56.614185] mirserver: /devices/pci0000:00/0000:00:08.1/0000:04:00.0/drm/card0 (priority 0) [2023-11-06 09:41:56.614195] mirserver: /devices/pci0000:00/0000:00:01.1/0000:01:00.0/drm/card1 (priority 0) [2023-11-06 09:41:56.614233] mirserver: Found display driver: mir:egl-generic (version 2.15.0) [2023-11-06 09:41:56.614341] mirserver: Found display driver: mir:gbm-kms (version 2.15.0) [2023-11-06 09:41:56.616139] < - debug - > gbm-kms: Quirks: checking device with devnode: /dev/dri/card1, driver nvidia [2023-11-06 09:41:56.616165] gbm-kms: Quirks: skipping device /dev/dri/card1 (matches driver quirk nvidia) [2023-11-06 09:41:56.616177] gbm-kms: Not probing device /dev/dri/card1 due to specified quirk [2023-11-06 09:41:56.616291] < - debug - > gbm-kms: Quirks: checking device with devnode: (null), driver [2023-11-06 09:41:56.616438] < - debug - > gbm-kms: Quirks: checking device with devnode: /dev/dri/card0, driver amdgpu [2023-11-06 09:41:56.637634] < - debug - > gbm-kms: Quirks: checking device with devnode: (null), driver [2023-11-06 09:41:56.637859] < - debug - > gbm-kms: Quirks: checking device with devnode: (null), driver [2023-11-06 09:41:56.654034] mirserver: Driver supports: [2023-11-06 09:41:56.654210] mirserver: /devices/pci0000:00/0000:00:08.1/0000:04:00.0/drm/card0 (priority 256) [2023-11-06 09:41:56.654291] mirserver: Found display driver: mir:virtual (version 2.15.0) [2023-11-06 09:41:56.654334] mirserver: (Unsupported by system environment) [2023-11-06 09:41:56.654355] mirserver: Found display driver: mir:wayland (version 2.15.0) [2023-11-06 09:41:56.654377] mirserver: (Unsupported by system environment) [2023-11-06 09:41:56.654396] mirserver: Found display driver: mir:x11 (version 2.15.0) [2023-11-06 09:41:56.654466] mirserver: (Unsupported by system environment) [2023-11-06 09:41:56.654597] mirserver: Found display driver: throw-on-creation (version 2.15.0) [2023-11-06 09:41:56.654624] mirserver: Driver supports: [2023-11-06 09:41:56.654638] mirserver: System (priority 0) [2023-11-06 09:41:56.654689] mirserver: Found display driver: mir:stub-graphics (version 2.15.0) [2023-11-06 09:41:56.654709] mirserver: Driver supports: [2023-11-06 09:41:56.654723] mirserver: System (priority 1) [2023-11-06 09:41:56.654930] mirserver: Selected display driver: mir:eglstream-kms (version 2.15.0) for device ((null): /dev/dri/card1) [2023-11-06 09:41:56.656793] mirserver: Selected display driver: mir:gbm-kms (version 2.15.0) for device ((null): /dev/dri/card0) [2023-11-06 09:41:56.678155] mircommon: Loading modules from: ./bin/../lib/server-modules/ [2023-11-06 09:41:56.678374] mircommon: Loading module: ./bin/../lib/server-modules/graphics-eglstream-kms.so.20 [2023-11-06 09:41:56.678409] mircommon: Loading module: ./bin/../lib/server-modules/renderer-egl-generic.so.20 [2023-11-06 09:41:56.678425] mircommon: Loading module: ./bin/../lib/server-modules/graphics-gbm-kms.so.20 [2023-11-06 09:41:56.678438] mircommon: Loading module: ./bin/../lib/server-modules/server-virtual.so.20 [2023-11-06 09:41:56.678452] mircommon: Loading module: ./bin/../lib/server-modules/graphics-wayland.so.20 [2023-11-06 09:41:56.678465] mircommon: Loading module: ./bin/../lib/server-modules/server-x11.so.20 [2023-11-06 09:41:56.678480] mircommon: Loading module: ./bin/../lib/server-modules/input-evdev.so.8 [2023-11-06 09:41:56.678493] mircommon: Loading module: ./bin/../lib/server-modules/graphics-throw.so [2023-11-06 09:41:56.678507] mircommon: Loading module: ./bin/../lib/server-modules/input-stub.so [2023-11-06 09:41:56.680003] mircommon: Loading module: ./bin/../lib/server-modules/graphics-dummy.so [2023-11-06 09:41:56.680133] mirserver: Found rendering driver: mir:egl-generic (version 2.15.0) [2023-11-06 09:41:56.681757] mirserver: Driver supports: [2023-11-06 09:41:56.681787] mirserver: System (priority 128) [2023-11-06 09:41:56.681814] mirserver: Selected rendering driver: mir:egl-generic (version 2.15.0) for platform [2023-11-06 09:41:56.751163] platform-generic-egl: Cannot enable linux-dmabuf import support: Failed to query number of modifiers: EGL_BAD_PARAMETER (0x300c) [2023-11-06 09:41:56.751320] < - debug - > platform-generic-egl: Detailed error: : /home/matthew/Github/mir/src/platform/graphics/linux_dmabuf.cpp(103): Throw in function mir::graphics::DmaBufFormatDescriptors::DmaBufFormatDescriptors(EGLDisplay, const mir::graphics::EGLExtensions::EXTImageDmaBufImportModifiers&) Dynamic exception type: boost::wrapexcept std::exception::what: Failed to query number of modifiers: EGL_BAD_PARAMETER (0x300c) [2023-11-06 09:41:56.760490] < -warning- > gbm-kms: Unable to determine the current display mode. [2023-11-06 09:41:56.760695] gbm-kms: DRM device details: [2023-11-06 09:41:56.760740] gbm-kms: /dev/dri/card0: using driver amdgpu [AMD GPU] (version: 3.47.0 driver date: 20150101) [2023-11-06 09:41:56.763102] gbm-kms: Output: eDP-1 (connected) [2023-11-06 09:41:56.763129] gbm-kms: Mode: 1920×1080@120.00 [2023-11-06 09:41:56.763144] gbm-kms: Mode: 1920×1080@96.00 [2023-11-06 09:41:56.763158] gbm-kms: Mode: 1920×1080@72.02 [2023-11-06 09:41:56.763172] gbm-kms: Mode: 1920×1080@60.00 [2023-11-06 09:41:56.763185] gbm-kms: Mode: 1920×1080@60.00 [2023-11-06 09:41:56.763198] gbm-kms: Mode: 1920×1080@50.01 [2023-11-06 09:41:56.763212] gbm-kms: Mode: 1920×1080@48.00 [2023-11-06 09:41:56.763225] gbm-kms: Mode: 1680×1050@120.00 [2023-11-06 09:41:56.763239] gbm-kms: Mode: 1280×1024@120.00 [2023-11-06 09:41:56.763252] gbm-kms: Mode: 1440×900@120.00 [2023-11-06 09:41:56.763265] gbm-kms: Mode: 1280×800@120.00 [2023-11-06 09:41:56.763278] gbm-kms: Mode: 1280×720@120.00 [2023-11-06 09:41:56.763292] gbm-kms: Mode: 1024×768@120.00 [2023-11-06 09:41:56.763305] gbm-kms: Mode: 800×600@120.00 [2023-11-06 09:41:56.763318] gbm-kms: Mode: 640×480@120.00 [2023-11-06 09:41:56.763348] gbm-kms: Output: HDMI-A-1 (disconnected) [2023-11-06 09:41:56.768140] < -warning- > gbm-kms: drmModeCrtcSetGamma failed: Invalid argument [2023-11-06 09:41:56.777259] mirserver: Using software cursor [2023-11-06 09:41:56.827592] mircommon: Loading modules from: ./bin/../lib/server-modules/ [2023-11-06 09:41:56.827674] mircommon: Loading module: ./bin/../lib/server-modules/graphics-eglstream-kms.so.20 [2023-11-06 09:41:56.827700] mircommon: Loading module: ./bin/../lib/server-modules/renderer-egl-generic.so.20 [2023-11-06 09:41:56.827712] mircommon: Loading module: ./bin/../lib/server-modules/graphics-gbm-kms.so.20 [2023-11-06 09:41:56.827723] mircommon: Loading module: ./bin/../lib/server-modules/server-virtual.so.20 [2023-11-06 09:41:56.827735] mircommon: Loading module: ./bin/../lib/server-modules/graphics-wayland.so.20 [2023-11-06 09:41:56.827744] mircommon: Loading module: ./bin/../lib/server-modules/server-x11.so.20 [2023-11-06 09:41:56.827755] mircommon: Loading module: ./bin/../lib/server-modules/input-evdev.so.8 [2023-11-06 09:41:56.827823] mirserver: Selected input driver: mir:evdev-input (version: 2.15.0) [2023-11-06 09:41:56.828044] mirserver: Mir version 2.15.0 [2023-11-06 09:41:56.878609] GLRenderer: EGL vendor: NVIDIA [2023-11-06 09:41:56.878663] GLRenderer: EGL version: 1.5 [2023-11-06 09:41:56.878677] GLRenderer: EGL client APIs: OpenGL_ES OpenGL [2023-11-06 09:41:56.878696] GLRenderer: EGL extensions: EGL_ANDROID_native_fence_sync EGL_EXT_buffer_age EGL_EXT_client_sync EGL_EXT_create_context_robustness EGL_EXT_image_dma_buf_import EGL_EXT_image_dma_buf_import_modifiers EGL_MESA_image_dma_buf_export EGL_EXT_output_base EGL_EXT_protected_content EGL_EXT_stream_acquire_mode EGL_EXT_sync_reuse EGL_IMG_context_priority EGL_KHR_config_attribs EGL_KHR_create_context_no_error EGL_KHR_context_flush_control EGL_KHR_create_context EGL_KHR_fence_sync EGL_KHR_get_all_proc_addresses EGL_KHR_partial_update EGL_KHR_swap_buffers_with_damage EGL_KHR_no_config_context 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 EGL_KHR_image_base EGL_KHR_reusable_sync EGL_KHR_stream EGL_KHR_stream_attrib EGL_KHR_stream_consumer_gltexture EGL_KHR_stream_cross_process_fd EGL_KHR_stream_fifo EGL_KHR_stream_producer_eglsurface EGL_KHR_surfaceless_context EGL_KHR_wait_sync EGL_NV_nvrm_fence_sync EGL_NV_quadruple_buffer EGL_NV_stream_consumer_eglimage EGL_NV_stream_cross_display EGL_NV_stream_cross_object EGL_NV_stream_cross_process EGL_NV_stream_cross_system EGL_NV_stream_dma EGL_NV_stream_flush EGL_NV_stream_metadata EGL_NV_stream_remote EGL_NV_stream_reset EGL_NV_stream_socket EGL_NV_stream_socket_inet EGL_NV_stream_socket_unix EGL_NV_stream_sync EGL_NV_stream_fifo_next EGL_NV_stream_fifo_synchronous EGL_NV_stream_consumer_gltexture_yuv EGL_NV_stream_attrib EGL_NV_stream_origin EGL_NV_system_time EGL_NV_output_drm_flip_event EGL_NV_triple_buffer EGL_NV_robustness_video_memory_purge EGL_WL_bind_wayland_display EGL_WL_wayland_eglstream [2023-11-06 09:41:56.878739] GLRenderer: GL vendor: NVIDIA Corporation [2023-11-06 09:41:56.878752] GLRenderer: GL renderer: NVIDIA GeForce RTX 2060 with Max-Q Design/PCIe/SSE2 [2023-11-06 09:41:56.878762] GLRenderer: GL version: OpenGL ES 3.2 NVIDIA 545.29.02 [2023-11-06 09:41:56.878774] GLRenderer: GLSL version: OpenGL ES GLSL ES 3.20 [2023-11-06 09:41:56.878789] GLRenderer: GL extensions: GL_EXT_base_instance GL_EXT_blend_func_extended GL_EXT_blend_minmax GL_EXT_buffer_storage GL_EXT_clear_texture GL_EXT_clip_control GL_EXT_clip_cull_distance GL_EXT_color_buffer_float GL_EXT_color_buffer_half_float GL_EXT_conservative_depth GL_EXT_copy_image GL_EXT_depth_clamp GL_EXT_debug_label GL_EXT_discard_framebuffer GL_EXT_disjoint_timer_query GL_EXT_draw_buffers_indexed GL_EXT_draw_elements_base_vertex GL_EXT_EGL_image_array GL_EXT_EGL_image_storage GL_EXT_EGL_image_external_wrap_modes GL_EXT_float_blend GL_EXT_frag_depth GL_EXT_geometry_point_size GL_EXT_geometry_shader GL_EXT_gpu_shader5 GL_EXT_map_buffer_range GL_EXT_multi_draw_indirect GL_EXT_multisample_compatibility GL_EXT_multisampled_render_to_texture GL_EXT_multisampled_render_to_texture2 GL_EXT_multiview_texture_multisample GL_EXT_multiview_timer_query GL_EXT_occlusion_query_boolean GL_EXT_polygon_offset_clamp GL_EXT_post_depth_coverage GL_EXT_primitive_bounding_box GL_EXT_raster_multisample GL_EXT_render_snorm GL_EXT_robustness GL_EXT_separate_shader_objects GL_EXT_shader_group_vote GL_EXT_shader_implicit_conversions GL_EXT_shader_integer_mix GL_EXT_shader_io_blocks GL_EXT_shader_non_constant_global_initializers GL_EXT_shader_texture_lod GL_EXT_shadow_samplers GL_EXT_sparse_texture GL_EXT_sparse_texture2 GL_EXT_sRGB GL_EXT_sRGB_write_control GL_EXT_tessellation_point_size GL_EXT_tessellation_shader GL_EXT_texture_border_clamp GL_EXT_texture_buffer GL_EXT_texture_compression_bptc GL_EXT_texture_compression_dxt1 GL_EXT_texture_compression_rgtc GL_EXT_texture_compression_s3tc GL_EXT_texture_cube_map_array GL_EXT_texture_filter_anisotropic GL_EXT_texture_filter_minmax GL_EXT_texture_format_BGRA8888 GL_EXT_texture_mirror_clamp_to_edge GL_EXT_texture_norm16 GL_EXT_texture_query_lod GL_EXT_texture_rg GL_EXT_texture_shadow_lod GL_EXT_texture_sRGB_R8 GL_EXT_texture_sRGB_decode GL_EXT_texture_storage GL_EXT_texture_view GL_EXT_draw_transform_feedback GL_EXT_unpack_subimage GL_EXT_window_rectangles GL_KHR_context_flush_control GL_KHR_debug GL_EXT_memory_object GL_EXT_memory_object_fd GL_NV_memory_object_sparse GL_KHR_parallel_shader_compile GL_KHR_no_error GL_KHR_robust_buffer_access_behavior GL_KHR_robustness GL_EXT_semaphore GL_EXT_semaphore_fd GL_NV_timeline_semaphore GL_KHR_shader_subgroup GL_KHR_texture_compression_astc_ldr GL_KHR_texture_compression_astc_sliced_3d GL_KHR_texture_compression_astc_hdr GL_NV_bgr GL_NV_bindless_texture GL_NV_blend_equation_advanced GL_NV_blend_equation_advanced_coherent GL_NVX_blend_equation_advanced_multi_draw_buffers GL_NV_blend_minmax_factor GL_NV_clip_space_w_scaling GL_NV_compute_shader_derivatives GL_NV_conditional_render GL_NV_conservative_raster GL_NV_conservative_raster_pre_snap_triangles GL_NV_copy_buffer GL_NV_copy_image GL_NV_draw_buffers GL_NV_draw_instanced GL_NV_draw_texture GL_NV_draw_vulkan_image GL_NV_EGL_stream_consumer_external GL_NV_explicit_attrib_location GL_NV_fbo_color_attachments GL_NV_fill_rectangle GL_NV_fragment_coverage_to_color GL_NV_fragment_shader_barycentric GL_NV_fragment_shader_interlock GL_NV_framebuffer_blit GL_NV_framebuffer_mixed_samples GL_NV_framebuffer_multisample GL_NV_generate_mipmap_sRGB GL_NV_geometry_shader_passthrough GL_NV_instanced_arrays GL_NV_internalformat_sample_query GL_NV_gpu_shader5 GL_NV_image_formats GL_NV_memory_attachment GL_NV_mesh_shader GL_NV_occlusion_query_samples GL_NV_non_square_matrices GL_NV_pack_subimage GL_NV_packed_float GL_NV_packed_float_linear GL_NV_path_rendering GL_NV_path_rendering_shared_edge GL_NV_pixel_buffer_object GL_NV_polygon_mode GL_NV_read_buffer GL_NV_read_depth GL_NV_read_depth_stencil GL_NV_read_stencil GL_NV_representative_fragment_test GL_NV_sample_locations GL_NV_sample_mask_override_coverage GL_NV_scissor_exclusive GL_NV_shader_atomic_fp16_vector GL_NV_shader_noperspective_interpolation GL_NV_shader_subgroup_partitioned GL_NV_shader_texture_footprint GL_NV_shading_rate_image GL_NV_shadow_samplers_array GL_NV_shadow_samplers_cube GL_NV_sRGB_formats GL_NV_stereo_view_rendering GL_NV_texture_array GL_NV_texture_barrier GL_NV_texture_border_clamp GL_NV_texture_compression_latc GL_NV_texture_compression_s3tc GL_NV_texture_compression_s3tc_update GL_NV_timer_query GL_NV_viewport_array GL_NV_viewport_array2 GL_NV_viewport_swizzle GL_KHR_blend_equation_advanced GL_KHR_blend_equation_advanced_coherent GL_OES_compressed_ETC1_RGB8_texture GL_EXT_compressed_ETC1_RGB8_sub_texture GL_OES_depth24 GL_OES_depth32 GL_OES_depth_texture GL_OES_depth_texture_cube_map GL_OES_copy_image GL_OES_draw_buffers_indexed GL_OES_draw_elements_base_vertex GL_OES_texture_border_clamp GL_OES_tessellation_point_size GL_OES_tessellation_shader GL_OES_texture_buffer GL_OES_geometry_point_size GL_OES_geometry_shader GL_OES_gpu_shader5 GL_OES_shader_io_blocks GL_OES_texture_view GL_OES_primitive_bounding_box GL_OES_EGL_image GL_OES_EGL_image_external GL_OES_EGL_image_external_essl3 GL_OES_EGL_sync GL_OES_element_index_uint GL_OES_fbo_render_mipmap GL_OES_get_program_binary GL_OES_mapbuffer GL_OES_packed_depth_stencil GL_OES_rgb8_rgba8 GL_EXT_read_format_bgra GL_OES_sample_shading GL_OES_sample_variables GL_OES_shader_image_atomic GL_OES_shader_multisample_interpolation GL_OES_standard_derivatives GL_OES_surfaceless_context GL_OES_texture_cube_map_array GL_OES_texture_npot GL_OES_texture_float GL_OES_texture_float_linear GL_OES_texture_half_float GL_OES_texture_half_float_linear GL_OES_texture_stencil8 GL_OES_texture_storage_multisample_2d_array GL_OES_vertex_array_object GL_OES_vertex_half_float GL_OES_viewport_array GL_OVR_multiview GL_OVR_multiview2 GL_OVR_multiview_multisampled_render_to_texture GL_ANDROID_extension_pack_es31a [2023-11-06 09:41:56.878817] GLRenderer: GL max texture size = 32768 [2023-11-06 09:41:56.878832] GLRenderer: GL framebuffer bits: RGBA=8888, depth=0, stencil=0 [2023-11-06 09:41:56.904668] < - debug - > mirserver: Ignoring logind PauseDevice("gone") event for DRM device 226:1 [2023-11-06 09:41:56.904768] < - debug - > mirserver: Ignoring logind PauseDevice("gone") event for DRM device 226:0 [2023-11-06 09:41:56.904817] < - debug - > mirserver: Ignoring logind PauseDevice("gone") event for DRM device 226:1 [2023-11-06 09:41:56.904863] < - debug - > mirserver: Ignoring logind PauseDevice("gone") event for DRM device 226:0 [2023-11-06 09:41:56.904971] mirserver: Initial display configuration: [2023-11-06 09:41:56.904995] mirserver: * Output 1: DisplayPort disconnected [2023-11-06 09:41:56.905009] mirserver: * Output 2: eDP connected, used [2023-11-06 09:41:56.905028] mirserver: . |_ EDID monitor name: LQ140M1JW46 [2023-11-06 09:41:56.905042] mirserver: . |_ EDID manufacturer: SHP [2023-11-06 09:41:56.905056] mirserver: . |_ EDID product code: 5361 [2023-11-06 09:41:56.905076] mirserver: . |_ Physical size 13.9" 310x170mm [2023-11-06 09:41:56.905088] mirserver: . |_ Power is on [2023-11-06 09:41:56.905102] mirserver: . |_ Current mode 1920x1080 120.00Hz [2023-11-06 09:41:56.905116] mirserver: . |_ Preferred mode 1920x1080 120.00Hz [2023-11-06 09:41:56.905151] mirserver: . |_ Orientation normal [2023-11-06 09:41:56.905168] mirserver: . |_ Logical size 1920x1080 [2023-11-06 09:41:56.905181] mirserver: . |_ Logical position +0+0 [2023-11-06 09:41:56.905194] mirserver: . |_ Scaling factor: 1.00 [2023-11-06 09:41:56.905206] mirserver: * Output 3: HDMI-A disconnected [2023-11-06 09:41:57.005417] < -warning- > frontend:Wayland: Exception processing Surface::commit() request: /home/matthew/Github/mir/src/platform/graphics/egl_wayland_allocator.cpp(97): Throw in function EGLint {anonymous}::get_wl_egl_format(wl_resource*, const mir::graphics::EGLExtensions&) Dynamic exception type: boost::wrapexcept std::exception::what: Failed to query Wayland buffer format: EGL_SUCCESS (0x3000) [2023-11-06 09:41:57.013196] mirserver: Stopping ```

:x: Specifying neither

Full logs ``` [2023-11-06 09:42:11.559541] mirserver: Starting [2023-11-06 09:42:11.564479] < - debug - > mirserver: Using logind for session management [2023-11-06 09:42:11.564657] mircommon: Loading modules from: ./bin/../lib/server-modules/ [2023-11-06 09:42:11.564737] mircommon: Loading module: ./bin/../lib/server-modules/graphics-eglstream-kms.so.20 [2023-11-06 09:42:11.564761] mircommon: Loading module: ./bin/../lib/server-modules/renderer-egl-generic.so.20 [2023-11-06 09:42:11.564770] mircommon: Loading module: ./bin/../lib/server-modules/graphics-gbm-kms.so.20 [2023-11-06 09:42:11.564782] mircommon: Loading module: ./bin/../lib/server-modules/server-virtual.so.20 [2023-11-06 09:42:11.564789] mircommon: Loading module: ./bin/../lib/server-modules/graphics-wayland.so.20 [2023-11-06 09:42:11.564796] mircommon: Loading module: ./bin/../lib/server-modules/server-x11.so.20 [2023-11-06 09:42:11.564803] mircommon: Loading module: ./bin/../lib/server-modules/input-evdev.so.8 [2023-11-06 09:42:11.564810] mircommon: Loading module: ./bin/../lib/server-modules/graphics-throw.so [2023-11-06 09:42:11.564818] mircommon: Loading module: ./bin/../lib/server-modules/input-stub.so [2023-11-06 09:42:11.565497] mircommon: Loading module: ./bin/../lib/server-modules/graphics-dummy.so [2023-11-06 09:42:11.565529] mirserver: Found display driver: mir:eglstream-kms (version 2.15.0) [2023-11-06 09:42:11.584025] < - debug - > eglstream: Found EGLDeviceEXT with device extensions: EGL_NV_device_cuda EGL_EXT_device_drm EGL_EXT_device_drm_render_node EGL_EXT_device_query_name EGL_EXT_device_persistent_id [2023-11-06 09:42:11.835931] < - debug - > eglstream: Found EGLDeviceEXT with device extensions: EGL_EXT_device_drm EGL_EXT_device_drm_render_node [2023-11-06 09:42:11.860893] < -warning- > eglstream: Failed to create EGL context: no EGL_STREAM_BIT_KHR configs supported [2023-11-06 09:42:11.873315] < - debug - > eglstream: Found EGLDeviceEXT with device extensions: EGL_EXT_device_drm EGL_EXT_device_drm_render_node [2023-11-06 09:42:11.902794] < - debug - > eglstream: Failed to initialise EGL: EGL_NOT_INITIALIZED (0x3001) [2023-11-06 09:42:11.976402] < - debug - > eglstream: Found EGLDeviceEXT with device extensions: EGL_MESA_device_software EGL_EXT_device_drm_render_node [2023-11-06 09:42:11.976515] eglstream: Failed to query DRM node for EGLDevice: Failed to determine DRM device node path from EGLDevice: EGL_BAD_PARAMETER (0x300c) [2023-11-06 09:42:11.976543] mirserver: Driver supports: [2023-11-06 09:42:11.976560] mirserver: /devices/pci0000:00/0000:00:01.1/0000:01:00.0/drm/card1 (priority 256) [2023-11-06 09:42:11.976571] mirserver: /devices/pci0000:00/0000:00:08.1/0000:04:00.0/drm/card0 (priority 0) [2023-11-06 09:42:11.976582] mirserver: /devices/pci0000:00/0000:00:01.1/0000:01:00.0/drm/card1 (priority 0) [2023-11-06 09:42:11.976622] mirserver: Found display driver: mir:egl-generic (version 2.15.0) [2023-11-06 09:42:11.976700] mirserver: Found display driver: mir:gbm-kms (version 2.15.0) [2023-11-06 09:42:11.978491] < - debug - > gbm-kms: Quirks: checking device with devnode: /dev/dri/card1, driver nvidia [2023-11-06 09:42:11.978513] gbm-kms: Quirks: skipping device /dev/dri/card1 (matches driver quirk nvidia) [2023-11-06 09:42:11.978519] gbm-kms: Not probing device /dev/dri/card1 due to specified quirk [2023-11-06 09:42:11.978572] < - debug - > gbm-kms: Quirks: checking device with devnode: (null), driver [2023-11-06 09:42:11.978643] < - debug - > gbm-kms: Quirks: checking device with devnode: /dev/dri/card0, driver amdgpu [2023-11-06 09:42:12.008888] < - debug - > gbm-kms: Quirks: checking device with devnode: (null), driver [2023-11-06 09:42:12.009093] < - debug - > gbm-kms: Quirks: checking device with devnode: (null), driver [2023-11-06 09:42:12.023643] mirserver: Driver supports: [2023-11-06 09:42:12.023822] mirserver: /devices/pci0000:00/0000:00:08.1/0000:04:00.0/drm/card0 (priority 256) [2023-11-06 09:42:12.023873] mirserver: Found display driver: mir:virtual (version 2.15.0) [2023-11-06 09:42:12.023911] mirserver: (Unsupported by system environment) [2023-11-06 09:42:12.023931] mirserver: Found display driver: mir:wayland (version 2.15.0) [2023-11-06 09:42:12.023952] mirserver: (Unsupported by system environment) [2023-11-06 09:42:12.023972] mirserver: Found display driver: mir:x11 (version 2.15.0) [2023-11-06 09:42:12.024042] mirserver: (Unsupported by system environment) [2023-11-06 09:42:12.024171] mirserver: Found display driver: throw-on-creation (version 2.15.0) [2023-11-06 09:42:12.024197] mirserver: Driver supports: [2023-11-06 09:42:12.024211] mirserver: System (priority 0) [2023-11-06 09:42:12.024260] mirserver: Found display driver: mir:stub-graphics (version 2.15.0) [2023-11-06 09:42:12.024280] mirserver: Driver supports: [2023-11-06 09:42:12.024293] mirserver: System (priority 1) [2023-11-06 09:42:12.024502] mirserver: Selected display driver: mir:eglstream-kms (version 2.15.0) for device ((null): /dev/dri/card1) [2023-11-06 09:42:12.026504] mirserver: Selected display driver: mir:gbm-kms (version 2.15.0) for device ((null): /dev/dri/card0) [2023-11-06 09:42:12.048974] mircommon: Loading modules from: ./bin/../lib/server-modules/ [2023-11-06 09:42:12.049177] mircommon: Loading module: ./bin/../lib/server-modules/graphics-eglstream-kms.so.20 [2023-11-06 09:42:12.049221] mircommon: Loading module: ./bin/../lib/server-modules/renderer-egl-generic.so.20 [2023-11-06 09:42:12.049242] mircommon: Loading module: ./bin/../lib/server-modules/graphics-gbm-kms.so.20 [2023-11-06 09:42:12.049261] mircommon: Loading module: ./bin/../lib/server-modules/server-virtual.so.20 [2023-11-06 09:42:12.049278] mircommon: Loading module: ./bin/../lib/server-modules/graphics-wayland.so.20 [2023-11-06 09:42:12.049297] mircommon: Loading module: ./bin/../lib/server-modules/server-x11.so.20 [2023-11-06 09:42:12.049315] mircommon: Loading module: ./bin/../lib/server-modules/input-evdev.so.8 [2023-11-06 09:42:12.049334] mircommon: Loading module: ./bin/../lib/server-modules/graphics-throw.so [2023-11-06 09:42:12.049353] mircommon: Loading module: ./bin/../lib/server-modules/input-stub.so [2023-11-06 09:42:12.051456] mircommon: Loading module: ./bin/../lib/server-modules/graphics-dummy.so [2023-11-06 09:42:12.051516] mirserver: Found rendering driver: mir:eglstream-kms (version 2.15.0) [2023-11-06 09:42:12.051544] < - debug - > eglstream: EGLStream-capable display found [2023-11-06 09:42:12.053640] < - debug - > eglstream: Rendering platform using EGLDeviceEXT matching Display platform [2023-11-06 09:42:12.072808] eglstream: EGLDevice found but unsuitable. Missing extension EGL_KHR_stream_consumer_gltexture [2023-11-06 09:42:12.072860] eglstream: EGLDevice found but unsuitable. Missing extension EGL_NV_stream_attrib [2023-11-06 09:42:12.088783] < - debug - > eglstream: Failed to initialise EGL: EGL_NOT_INITIALIZED (0x3001) [2023-11-06 09:42:12.088825] < - debug - > eglstream: Failed to find kernel device for EGLDevice: Failed to determine DRM device node path from EGLDevice: EGL_BAD_PARAMETER (0x300c) [2023-11-06 09:42:12.088838] mirserver: Driver supports: [2023-11-06 09:42:12.088847] mirserver: /devices/pci0000:00/0000:00:01.1/0000:01:00.0/drm/card1 (priority 128) [2023-11-06 09:42:12.088852] mirserver: /devices/pci0000:00/0000:00:08.1/0000:04:00.0/drm/card0 (priority 0) [2023-11-06 09:42:12.088858] mirserver: /devices/pci0000:00/0000:00:01.1/0000:01:00.0/drm/card1 (priority 0) [2023-11-06 09:42:12.088884] mirserver: Found rendering driver: mir:egl-generic (version 2.15.0) [2023-11-06 09:42:12.090178] mirserver: Driver supports: [2023-11-06 09:42:12.090189] mirserver: System (priority 128) [2023-11-06 09:42:12.090199] mirserver: Found rendering driver: mir:gbm-kms (version 2.15.0) [2023-11-06 09:42:12.090210] < - debug - > gbm-kms: GBM-capable display found [2023-11-06 09:42:12.091310] < - debug - > gbm-kms: Quirks: checking device with devnode: /dev/dri/card1, driver nvidia [2023-11-06 09:42:12.091322] gbm-kms: Quirks: skipping device /dev/dri/card1 (matches driver quirk nvidia) [2023-11-06 09:42:12.091328] gbm-kms: Not probing device /dev/dri/card1 due to specified quirk [2023-11-06 09:42:12.091380] < - debug - > gbm-kms: Quirks: checking device with devnode: (null), driver [2023-11-06 09:42:12.091447] < - debug - > gbm-kms: Quirks: checking device with devnode: /dev/dri/renderD129, driver nvidia [2023-11-06 09:42:12.091455] gbm-kms: Quirks: skipping device /dev/dri/renderD129 (matches driver quirk nvidia) [2023-11-06 09:42:12.091460] gbm-kms: Not probing device /dev/dri/renderD129 due to specified quirk [2023-11-06 09:42:12.091525] < - debug - > gbm-kms: Quirks: checking device with devnode: /dev/dri/card0, driver amdgpu [2023-11-06 09:42:12.091736] < - debug - > gbm-kms: Quirks: checking device with devnode: (null), driver [2023-11-06 09:42:12.091797] < - debug - > gbm-kms: Quirks: checking device with devnode: (null), driver [2023-11-06 09:42:12.091865] < - debug - > gbm-kms: Quirks: checking device with devnode: /dev/dri/renderD128, driver amdgpu [2023-11-06 09:42:12.098995] mirserver: Driver supports: [2023-11-06 09:42:12.099033] mirserver: /devices/pci0000:00/0000:00:08.1/0000:04:00.0/drm/renderD128 (priority 256) [2023-11-06 09:42:12.099051] mirserver: Found rendering driver: mir:virtual (version 2.15.0) [2023-11-06 09:42:12.099088] mirserver: Found rendering driver: mir:wayland (version 2.15.0) [2023-11-06 09:42:12.099105] mirserver: Found rendering driver: mir:x11 (version 2.15.0) [2023-11-06 09:42:12.099132] mirserver: Found rendering driver: throw-on-creation (version 2.15.0) [2023-11-06 09:42:12.099142] mirserver: Driver supports: [2023-11-06 09:42:12.099147] mirserver: System (priority 0) [2023-11-06 09:42:12.099163] mirserver: Found rendering driver: mir:stub-graphics (version 2.15.0) [2023-11-06 09:42:12.099170] mirserver: Driver supports: [2023-11-06 09:42:12.099176] mirserver: System (priority 1) [2023-11-06 09:42:12.099244] mirserver: Selected rendering driver: mir:eglstream-kms (version 2.15.0) for device ((null): /dev/dri/card1) [2023-11-06 09:42:12.099529] mirserver: Selected rendering driver: mir:egl-generic (version 2.15.0) for platform [2023-11-06 09:42:12.168508] platform-generic-egl: Cannot enable linux-dmabuf import support: Failed to query number of modifiers: EGL_BAD_PARAMETER (0x300c) [2023-11-06 09:42:12.168579] < - debug - > platform-generic-egl: Detailed error: : /home/matthew/Github/mir/src/platform/graphics/linux_dmabuf.cpp(103): Throw in function mir::graphics::DmaBufFormatDescriptors::DmaBufFormatDescriptors(EGLDisplay, const mir::graphics::EGLExtensions::EXTImageDmaBufImportModifiers&) Dynamic exception type: boost::wrapexcept std::exception::what: Failed to query number of modifiers: EGL_BAD_PARAMETER (0x300c) [2023-11-06 09:42:12.168627] mirserver: Selected rendering driver: mir:gbm-kms (version 2.15.0) for device ((null): /dev/dri/renderD128) [2023-11-06 09:42:12.168698] < - debug - > gbm-kms: Checking whether /dev/dri/renderD128 is the same device as (/dev/dri/card0, /dev/dri/renderD128)... [2023-11-06 09:42:12.168704] < - debug - > gbm-kms: ...yup. [2023-11-06 09:42:12.182873] < -warning- > gbm-kms: Unable to determine the current display mode. [2023-11-06 09:42:12.182971] gbm-kms: DRM device details: [2023-11-06 09:42:12.182990] gbm-kms: /dev/dri/card0: using driver amdgpu [AMD GPU] (version: 3.47.0 driver date: 20150101) [2023-11-06 09:42:12.184958] gbm-kms: Output: eDP-1 (connected) [2023-11-06 09:42:12.184981] gbm-kms: Mode: 1920×1080@120.00 [2023-11-06 09:42:12.184995] gbm-kms: Mode: 1920×1080@96.00 [2023-11-06 09:42:12.185010] gbm-kms: Mode: 1920×1080@72.02 [2023-11-06 09:42:12.185023] gbm-kms: Mode: 1920×1080@60.00 [2023-11-06 09:42:12.185036] gbm-kms: Mode: 1920×1080@60.00 [2023-11-06 09:42:12.185050] gbm-kms: Mode: 1920×1080@50.01 [2023-11-06 09:42:12.185063] gbm-kms: Mode: 1920×1080@48.00 [2023-11-06 09:42:12.185076] gbm-kms: Mode: 1680×1050@120.00 [2023-11-06 09:42:12.185089] gbm-kms: Mode: 1280×1024@120.00 [2023-11-06 09:42:12.185103] gbm-kms: Mode: 1440×900@120.00 [2023-11-06 09:42:12.185115] gbm-kms: Mode: 1280×800@120.00 [2023-11-06 09:42:12.185129] gbm-kms: Mode: 1280×720@120.00 [2023-11-06 09:42:12.185142] gbm-kms: Mode: 1024×768@120.00 [2023-11-06 09:42:12.185155] gbm-kms: Mode: 800×600@120.00 [2023-11-06 09:42:12.185168] gbm-kms: Mode: 640×480@120.00 [2023-11-06 09:42:12.185197] gbm-kms: Output: HDMI-A-1 (disconnected) [2023-11-06 09:42:12.189382] < -warning- > gbm-kms: drmModeCrtcSetGamma failed: Invalid argument [2023-11-06 09:42:12.192630] mirserver: Using software cursor [2023-11-06 09:42:12.239380] mircommon: Loading modules from: ./bin/../lib/server-modules/ [2023-11-06 09:42:12.239466] mircommon: Loading module: ./bin/../lib/server-modules/graphics-eglstream-kms.so.20 [2023-11-06 09:42:12.239494] mircommon: Loading module: ./bin/../lib/server-modules/renderer-egl-generic.so.20 [2023-11-06 09:42:12.239506] mircommon: Loading module: ./bin/../lib/server-modules/graphics-gbm-kms.so.20 [2023-11-06 09:42:12.239517] mircommon: Loading module: ./bin/../lib/server-modules/server-virtual.so.20 [2023-11-06 09:42:12.239528] mircommon: Loading module: ./bin/../lib/server-modules/graphics-wayland.so.20 [2023-11-06 09:42:12.239538] mircommon: Loading module: ./bin/../lib/server-modules/server-x11.so.20 [2023-11-06 09:42:12.239547] mircommon: Loading module: ./bin/../lib/server-modules/input-evdev.so.8 [2023-11-06 09:42:12.239616] mirserver: Selected input driver: mir:evdev-input (version: 2.15.0) [2023-11-06 09:42:12.239833] mirserver: Mir version 2.15.0 [2023-11-06 09:42:12.291713] GLRenderer: EGL vendor: NVIDIA [2023-11-06 09:42:12.291747] GLRenderer: EGL version: 1.5 [2023-11-06 09:42:12.291753] GLRenderer: EGL client APIs: OpenGL_ES OpenGL [2023-11-06 09:42:12.291761] GLRenderer: EGL extensions: EGL_ANDROID_native_fence_sync EGL_EXT_buffer_age EGL_EXT_client_sync EGL_EXT_create_context_robustness EGL_EXT_image_dma_buf_import EGL_EXT_image_dma_buf_import_modifiers EGL_MESA_image_dma_buf_export EGL_EXT_output_base EGL_EXT_protected_content EGL_EXT_stream_acquire_mode EGL_EXT_sync_reuse EGL_IMG_context_priority EGL_KHR_config_attribs EGL_KHR_create_context_no_error EGL_KHR_context_flush_control EGL_KHR_create_context EGL_KHR_fence_sync EGL_KHR_get_all_proc_addresses EGL_KHR_partial_update EGL_KHR_swap_buffers_with_damage EGL_KHR_no_config_context 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 EGL_KHR_image_base EGL_KHR_reusable_sync EGL_KHR_stream EGL_KHR_stream_attrib EGL_KHR_stream_consumer_gltexture EGL_KHR_stream_cross_process_fd EGL_KHR_stream_fifo EGL_KHR_stream_producer_eglsurface EGL_KHR_surfaceless_context EGL_KHR_wait_sync EGL_NV_nvrm_fence_sync EGL_NV_quadruple_buffer EGL_NV_stream_consumer_eglimage EGL_NV_stream_cross_display EGL_NV_stream_cross_object EGL_NV_stream_cross_process EGL_NV_stream_cross_system EGL_NV_stream_dma EGL_NV_stream_flush EGL_NV_stream_metadata EGL_NV_stream_remote EGL_NV_stream_reset EGL_NV_stream_socket EGL_NV_stream_socket_inet EGL_NV_stream_socket_unix EGL_NV_stream_sync EGL_NV_stream_fifo_next EGL_NV_stream_fifo_synchronous EGL_NV_stream_consumer_gltexture_yuv EGL_NV_stream_attrib EGL_NV_stream_origin EGL_NV_system_time EGL_NV_output_drm_flip_event EGL_NV_triple_buffer EGL_NV_robustness_video_memory_purge EGL_WL_bind_wayland_display EGL_WL_wayland_eglstream [2023-11-06 09:42:12.291783] GLRenderer: GL vendor: NVIDIA Corporation [2023-11-06 09:42:12.291788] GLRenderer: GL renderer: NVIDIA GeForce RTX 2060 with Max-Q Design/PCIe/SSE2 [2023-11-06 09:42:12.291793] GLRenderer: GL version: OpenGL ES 3.2 NVIDIA 545.29.02 [2023-11-06 09:42:12.291798] GLRenderer: GLSL version: OpenGL ES GLSL ES 3.20 [2023-11-06 09:42:12.291805] GLRenderer: GL extensions: GL_EXT_base_instance GL_EXT_blend_func_extended GL_EXT_blend_minmax GL_EXT_buffer_storage GL_EXT_clear_texture GL_EXT_clip_control GL_EXT_clip_cull_distance GL_EXT_color_buffer_float GL_EXT_color_buffer_half_float GL_EXT_conservative_depth GL_EXT_copy_image GL_EXT_depth_clamp GL_EXT_debug_label GL_EXT_discard_framebuffer GL_EXT_disjoint_timer_query GL_EXT_draw_buffers_indexed GL_EXT_draw_elements_base_vertex GL_EXT_EGL_image_array GL_EXT_EGL_image_storage GL_EXT_EGL_image_external_wrap_modes GL_EXT_float_blend GL_EXT_frag_depth GL_EXT_geometry_point_size GL_EXT_geometry_shader GL_EXT_gpu_shader5 GL_EXT_map_buffer_range GL_EXT_multi_draw_indirect GL_EXT_multisample_compatibility GL_EXT_multisampled_render_to_texture GL_EXT_multisampled_render_to_texture2 GL_EXT_multiview_texture_multisample GL_EXT_multiview_timer_query GL_EXT_occlusion_query_boolean GL_EXT_polygon_offset_clamp GL_EXT_post_depth_coverage GL_EXT_primitive_bounding_box GL_EXT_raster_multisample GL_EXT_render_snorm GL_EXT_robustness GL_EXT_separate_shader_objects GL_EXT_shader_group_vote GL_EXT_shader_implicit_conversions GL_EXT_shader_integer_mix GL_EXT_shader_io_blocks GL_EXT_shader_non_constant_global_initializers GL_EXT_shader_texture_lod GL_EXT_shadow_samplers GL_EXT_sparse_texture GL_EXT_sparse_texture2 GL_EXT_sRGB GL_EXT_sRGB_write_control GL_EXT_tessellation_point_size GL_EXT_tessellation_shader GL_EXT_texture_border_clamp GL_EXT_texture_buffer GL_EXT_texture_compression_bptc GL_EXT_texture_compression_dxt1 GL_EXT_texture_compression_rgtc GL_EXT_texture_compression_s3tc GL_EXT_texture_cube_map_array GL_EXT_texture_filter_anisotropic GL_EXT_texture_filter_minmax GL_EXT_texture_format_BGRA8888 GL_EXT_texture_mirror_clamp_to_edge GL_EXT_texture_norm16 GL_EXT_texture_query_lod GL_EXT_texture_rg GL_EXT_texture_shadow_lod GL_EXT_texture_sRGB_R8 GL_EXT_texture_sRGB_decode GL_EXT_texture_storage GL_EXT_texture_view GL_EXT_draw_transform_feedback GL_EXT_unpack_subimage GL_EXT_window_rectangles GL_KHR_context_flush_control GL_KHR_debug GL_EXT_memory_object GL_EXT_memory_object_fd GL_NV_memory_object_sparse GL_KHR_parallel_shader_compile GL_KHR_no_error GL_KHR_robust_buffer_access_behavior GL_KHR_robustness GL_EXT_semaphore GL_EXT_semaphore_fd GL_NV_timeline_semaphore GL_KHR_shader_subgroup GL_KHR_texture_compression_astc_ldr GL_KHR_texture_compression_astc_sliced_3d GL_KHR_texture_compression_astc_hdr GL_NV_bgr GL_NV_bindless_texture GL_NV_blend_equation_advanced GL_NV_blend_equation_advanced_coherent GL_NVX_blend_equation_advanced_multi_draw_buffers GL_NV_blend_minmax_factor GL_NV_clip_space_w_scaling GL_NV_compute_shader_derivatives GL_NV_conditional_render GL_NV_conservative_raster GL_NV_conservative_raster_pre_snap_triangles GL_NV_copy_buffer GL_NV_copy_image GL_NV_draw_buffers GL_NV_draw_instanced GL_NV_draw_texture GL_NV_draw_vulkan_image GL_NV_EGL_stream_consumer_external GL_NV_explicit_attrib_location GL_NV_fbo_color_attachments GL_NV_fill_rectangle GL_NV_fragment_coverage_to_color GL_NV_fragment_shader_barycentric GL_NV_fragment_shader_interlock GL_NV_framebuffer_blit GL_NV_framebuffer_mixed_samples GL_NV_framebuffer_multisample GL_NV_generate_mipmap_sRGB GL_NV_geometry_shader_passthrough GL_NV_instanced_arrays GL_NV_internalformat_sample_query GL_NV_gpu_shader5 GL_NV_image_formats GL_NV_memory_attachment GL_NV_mesh_shader GL_NV_occlusion_query_samples GL_NV_non_square_matrices GL_NV_pack_subimage GL_NV_packed_float GL_NV_packed_float_linear GL_NV_path_rendering GL_NV_path_rendering_shared_edge GL_NV_pixel_buffer_object GL_NV_polygon_mode GL_NV_read_buffer GL_NV_read_depth GL_NV_read_depth_stencil GL_NV_read_stencil GL_NV_representative_fragment_test GL_NV_sample_locations GL_NV_sample_mask_override_coverage GL_NV_scissor_exclusive GL_NV_shader_atomic_fp16_vector GL_NV_shader_noperspective_interpolation GL_NV_shader_subgroup_partitioned GL_NV_shader_texture_footprint GL_NV_shading_rate_image GL_NV_shadow_samplers_array GL_NV_shadow_samplers_cube GL_NV_sRGB_formats GL_NV_stereo_view_rendering GL_NV_texture_array GL_NV_texture_barrier GL_NV_texture_border_clamp GL_NV_texture_compression_latc GL_NV_texture_compression_s3tc GL_NV_texture_compression_s3tc_update GL_NV_timer_query GL_NV_viewport_array GL_NV_viewport_array2 GL_NV_viewport_swizzle GL_KHR_blend_equation_advanced GL_KHR_blend_equation_advanced_coherent GL_OES_compressed_ETC1_RGB8_texture GL_EXT_compressed_ETC1_RGB8_sub_texture GL_OES_depth24 GL_OES_depth32 GL_OES_depth_texture GL_OES_depth_texture_cube_map GL_OES_copy_image GL_OES_draw_buffers_indexed GL_OES_draw_elements_base_vertex GL_OES_texture_border_clamp GL_OES_tessellation_point_size GL_OES_tessellation_shader GL_OES_texture_buffer GL_OES_geometry_point_size GL_OES_geometry_shader GL_OES_gpu_shader5 GL_OES_shader_io_blocks GL_OES_texture_view GL_OES_primitive_bounding_box GL_OES_EGL_image GL_OES_EGL_image_external GL_OES_EGL_image_external_essl3 GL_OES_EGL_sync GL_OES_element_index_uint GL_OES_fbo_render_mipmap GL_OES_get_program_binary GL_OES_mapbuffer GL_OES_packed_depth_stencil GL_OES_rgb8_rgba8 GL_EXT_read_format_bgra GL_OES_sample_shading GL_OES_sample_variables GL_OES_shader_image_atomic GL_OES_shader_multisample_interpolation GL_OES_standard_derivatives GL_OES_surfaceless_context GL_OES_texture_cube_map_array GL_OES_texture_npot GL_OES_texture_float GL_OES_texture_float_linear GL_OES_texture_half_float GL_OES_texture_half_float_linear GL_OES_texture_stencil8 GL_OES_texture_storage_multisample_2d_array GL_OES_vertex_array_object GL_OES_vertex_half_float GL_OES_viewport_array GL_OVR_multiview GL_OVR_multiview2 GL_OVR_multiview_multisampled_render_to_texture GL_ANDROID_extension_pack_es31a [2023-11-06 09:42:12.291818] GLRenderer: GL max texture size = 32768 [2023-11-06 09:42:12.291824] GLRenderer: GL framebuffer bits: RGBA=8888, depth=0, stencil=0 [2023-11-06 09:42:12.320154] < - debug - > mirserver: Ignoring logind PauseDevice("gone") event for DRM device 226:1 [2023-11-06 09:42:12.320242] < - debug - > mirserver: Ignoring logind PauseDevice("gone") event for DRM device 226:0 [2023-11-06 09:42:12.320276] < - debug - > mirserver: Ignoring logind PauseDevice("gone") event for DRM device 226:1 [2023-11-06 09:42:12.320304] < - debug - > mirserver: Ignoring logind PauseDevice("gone") event for DRM device 226:0 [2023-11-06 09:42:12.320402] mirserver: Initial display configuration: [2023-11-06 09:42:12.320425] mirserver: * Output 1: DisplayPort disconnected [2023-11-06 09:42:12.320438] mirserver: * Output 2: eDP connected, used [2023-11-06 09:42:12.320458] mirserver: . |_ EDID monitor name: LQ140M1JW46 [2023-11-06 09:42:12.320472] mirserver: . |_ EDID manufacturer: SHP [2023-11-06 09:42:12.320486] mirserver: . |_ EDID product code: 5361 [2023-11-06 09:42:12.320506] mirserver: . |_ Physical size 13.9" 310x170mm [2023-11-06 09:42:12.320536] mirserver: . |_ Power is on [2023-11-06 09:42:12.320551] mirserver: . |_ Current mode 1920x1080 120.00Hz [2023-11-06 09:42:12.320564] mirserver: . |_ Preferred mode 1920x1080 120.00Hz [2023-11-06 09:42:12.320576] mirserver: . |_ Orientation normal [2023-11-06 09:42:12.320593] mirserver: . |_ Logical size 1920x1080 [2023-11-06 09:42:12.320605] mirserver: . |_ Logical position +0+0 [2023-11-06 09:42:12.320618] mirserver: . |_ Scaling factor: 1.00 [2023-11-06 09:42:12.320631] mirserver: * Output 3: HDMI-A disconnected [2023-11-06 09:42:12.444392] < -warning- > frontend:Wayland: Exception processing Surface::commit() request: /home/matthew/Github/mir/src/platform/graphics/egl_wayland_allocator.cpp(97): Throw in function EGLint {anonymous}::get_wl_egl_format(wl_resource*, const mir::graphics::EGLExtensions&) Dynamic exception type: boost::wrapexcept std::exception::what: Failed to query Wayland buffer format: EGL_SUCCESS (0x3000) [2023-11-06 09:42:12.450368] mirserver: Stopping ```
mattkae commented 1 year ago

Whenever we select egl-generic in any capacity, we get the following two errors:

[2023-11-06 09:41:56.681814] <information> mirserver: Selected rendering driver: mir:egl-generic (version 2.15.0) for platform
[2023-11-06 09:41:56.751163] <information> platform-generic-egl: Cannot enable linux-dmabuf import support: Failed to query number of modifiers: EGL_BAD_PARAMETER (0x300c)
[2023-11-06 09:41:56.751320] < - debug - > platform-generic-egl: Detailed error: : /home/matthew/Github/mir/src/platform/graphics/linux_dmabuf.cpp(103): Throw in function mir::graphics::DmaBufFormatDescriptors::DmaBufFormatDescriptors(EGLDisplay, const mir::graphics::EGLExtensions::EXTImageDmaBufImportModifiers&)
Dynamic exception type: boost::wrapexcept<std::system_error>
std::exception::what: Failed to query number of modifiers: EGL_BAD_PARAMETER (0x300c)
...
[2023-11-06 09:41:57.005417] < -warning- > frontend:Wayland: Exception processing Surface::commit() request: /home/matthew/Github/mir/src/platform/graphics/egl_wayland_allocator.cpp(97): Throw in function EGLint {anonymous}::get_wl_egl_format(wl_resource*, const mir::graphics::EGLExtensions&)
Dynamic exception type: boost::wrapexcept<std::system_error>
std::exception::what: Failed to query Wayland buffer format: EGL_SUCCESS (0x3000)