Comment 0 for bug 2048703

Revision history for this message
Eric Morgan (gemorgan) wrote : Many apps do no display on Wayland/Nvidia

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.
[3:0108/155954.210883:ERROR:bus.cc(407)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory
[3:0108/155954.210919:ERROR:bus.cc(407)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory
[3:0108/155954.210954:ERROR:bus.cc(407)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory
[3:0108/155954.210976:ERROR:bus.cc(407)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory
[3:0108/155954.210995:ERROR:bus.cc(407)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory

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