fedora-silverblue / issue-tracker

Fedora Silverblue issue tracker
https://fedoraproject.org/atomic-desktops/silverblue/
126 stars 3 forks source link

Cannot Open Certain GUI Applications in a Container #466

Closed bearyjd closed 1 year ago

bearyjd commented 1 year ago

Describe the bug When you try to open certain GUI applications in a container (distrobox, toolbox, or podman), errors pop up and the application fails to load -- this happens with firefox.

firefox is able to be loaded in safemode and google chrome / chromium work.

To Reproduce Please describe the steps needed to reproduce the bug:

  1. enter a container (my containers are running F37 OCI images but I think its container independent)
  2. run firefox

Expected behavior Firefox opens.

Screenshots firefox error:

firefox

Crash Annotation GraphicsCriticalError: |[0][GFX1-]: glxtest: VA-API test failed: failed to initialise VAAPI connection. (t=8.35865) [GFX1-]: glxtest: VA-API test failed: failed to initialise VAAPI connection.

chrome error:

[4716:4765:0429/114437.129922:ERROR:bus.cc(399)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory
[4716:4765:0429/114437.129972:ERROR:bus.cc(399)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory
[4716:4750:0429/114437.136923:ERROR:bus.cc(399)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory
libva error: vaGetDriverNameByIndex() failed with unknown libva error, driver_name = (null)
[4716:4904:0429/114442.995525:ERROR:bus.cc(399)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory
[4716:4904:0429/114442.995572:ERROR:bus.cc(399)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory
[4716:4904:0429/114442.995626:ERROR:bus.cc(399)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory
[4716:4904:0429/114442.995665:ERROR:bus.cc(399)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory
[4716:4904:0429/114442.995698:ERROR:bus.cc(399)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory
[4773:4773:0429/114444.264222:ERROR:gl_surface_presentation_helper.cc(260)] GetVSyncParametersIfAvailable() failed for 1 times!
[4773:4773:0429/114444.267430:ERROR:gl_surface_presentation_helper.cc(260)] GetVSyncParametersIfAvailable() failed for 2 times!
[4773:4773:0429/114444.279940:ERROR:gl_surface_presentation_helper.cc(260)] GetVSyncParametersIfAvailable() failed for 3 times!

(note -- chrome ultimately loads)

Chromium error

[22695:22723:0429/120430.364916:ERROR:bus.cc(399)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory
[22695:22729:0429/120430.448026:ERROR:bus.cc(399)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory
[22695:22729:0429/120430.448072:ERROR:bus.cc(399)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory
[22695:22695:0429/120430.455992:ERROR:chrome_browser_cloud_management_controller.cc(162)] Cloud management controller initialization aborted as CBCM is not enabled.
[22737:22737:0429/120430.457455:ERROR:egl_util.cc(44)] Failed to load GLES library: libGLESv2.so.2: libGLESv2.so.2: cannot open shared object file: No such file or directory
[22737:22737:0429/120430.458394:ERROR:viz_main_impl.cc(186)] Exiting GPU process due to errors during initialization
[22779:22779:0429/120430.520349:ERROR:egl_util.cc(44)] Failed to load GLES library: libGLESv2.so.2: libGLESv2.so.2: cannot open shared object file: No such file or directory
[22779:22779:0429/120430.528019:ERROR:viz_main_impl.cc(186)] Exiting GPU process due to errors during initialization
[22695:22791:0429/120430.533325:ERROR:bus.cc(399)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory
[22695:22791:0429/120430.533360:ERROR:bus.cc(399)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory
[22695:22791:0429/120430.533427:ERROR:bus.cc(399)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory
[22695:22791:0429/120430.533462:ERROR:bus.cc(399)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory
[22695:22791:0429/120430.533497:ERROR:bus.cc(399)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory
[22797:22797:0429/120430.543230:ERROR:egl_util.cc(44)] Failed to load GLES library: libGLESv2.so.2: libGLESv2.so.2: cannot open shared object file: No such file or directory
[22797:22797:0429/120430.545290:ERROR:viz_main_impl.cc(186)] Exiting GPU process due to errors during initialization
libva error: vaGetDriverNameByIndex() failed with unknown libva error, driver_name = (null)
[22765:7:0429/120430.720460:ERROR:command_buffer_proxy_impl.cc(128)] ContextResult::kTransientFailure: Failed to send GpuControl.CreateCommandBuffer.

(note -- chromium ultimately loads)

OS version:

BootedDeployment:
● fedora:fedora/38/x86_64/kinoite
                  Version: 38.20230429.0 (2023-04-29T02:03:30Z)
               BaseCommit: 8e25b778b5b39bd88f8f33fbcd456e9dc86e5bd479f63c98affe41bcdae1617e
             GPGSignature: Valid signature by 6A51BBABBA3D5467B6171221809A8D7CEB10B464

Additional context Add any other context about the problem here.

travier commented 1 year ago

You likely need more libraries installed in your container:

[22797:22797:0429/120430.543230:ERROR:egl_util.cc(44)] Failed to load GLES library: libGLESv2.so.2: libGLESv2.so.2: cannot open shared object file: No such file or directory

Containers created by toolbox should have everything included by default.

As this depends on what's in your container, I'll close this issue as it is not Silverblue specific.