Many apps do not display on Wayland/Nvidia

Bug #2048703 reported by Eric Morgan
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
flatpak (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Release: 23.10
Expect to happen: Run a flatpak app and it displays on the screen
What happens instead: Some flatpaks fail to display when using Wayland and Nvidia card. The icon for the app shows in the dash and I can interact with the icon (i.e. right click and quit) but the app never displays on screen. All these same apps display properly when running the log in with X11.

I'm no expert but it looks related to Vulkan. Here are the errors seen in Wayland but not in X11

Easy Effects, Weather & Resources display this:
libEGL warning: egl: failed to create dri2 screen
MESA: error: CreateSwapchainKHR failed with VK_ERROR_INITIALIZATION_FAILED
MESA: error: zink: could not create swapchain

Plexamp fails to display with the following errors:
[48:0108/155953.331435:ERROR:viz_main_impl.cc(196)] Exiting GPU process due to errors during initialization
[96:0108/155953.441997:ERROR:viz_main_impl.cc(196)] Exiting GPU process due to errors during initialization
[55:0108/155953.531240:ERROR:command_buffer_proxy_impl.cc(127)] ContextResult::kTransientFailure: Failed to send GpuControl.CreateCommandBuffer.

this warning shows in both Wayland and X11 when running plexamp...
Warning: vkCreateInstance: Found no drivers!
Warning: vkCreateInstance failed with VK_ERROR_INCOMPATIBLE_DRIVER
    at CheckVkSuccessImpl (../../third_party/dawn/src/dawn/native/vulkan/VulkanError.cpp:88)
    at CreateVkInstance (../../third_party/dawn/src/dawn/native/vulkan/BackendVk.cpp:458)
    at Initialize (../../third_party/dawn/src/dawn/native/vulkan/BackendVk.cpp:344)
    at Create (../../third_party/dawn/src/dawn/native/vulkan/BackendVk.cpp:266)
    at operator() (../../third_party/dawn/src/dawn/native/vulkan/BackendVk.cpp:521)

Flacon displays this (only warnings) but displays properly:
Warning: QSocketNotifier: Can only be used with threads started with QThread
Warning: Could not find color scheme ""
libEGL warning: egl: failed to create dri2 screen

Eric Morgan (gemorgan)
summary: - Many apps do no display on Wayland/Nvidia
+ Many apps do not display on Wayland/Nvidia
Eric Morgan (gemorgan)
description: updated
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in flatpak (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.