brave / brave-browser

Brave browser for Android, iOS, Linux, macOS, Windows.
https://brave.com
Mozilla Public License 2.0
18k stars 2.36k forks source link

Brave from DNF repo in distrobox crash on start #37684

Closed SnuggleCovenant closed 7 months ago

SnuggleCovenant commented 7 months ago

Description

since i updated a couple versions ago, launching brave stable from a default distrobox in fedora 39 on wayland with nvidia drivers (rpmfusion) creates an empty window.

Steps to Reproduce

  1. distrobox-create (with or without --nvidia)
  2. distrobox-enter
  3. https://brave.com/linux/#fedora-rockyrhel
  4. launch brave
  5. error

Actual result:

$ /usr/bin/brave-browser-stable [14114:14134:0418/084042.399839: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 [14114:14142:0418/084042.444338: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 [14114:14142:0418/084042.444373: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 [14114:14114:0418/084042.476805:ERROR:chrome_browser_cloud_management_controller.cc(161)] Cloud management controller initialization aborted as CBCM is not enabled. Please use the--enable-chrome-browser-cloud-managementcommand line flag to enable it if you are not using the official Google Chrome build. libEGL warning: egl: failed to create dri2 screen [14153:14153:0418/084042.539204:ERROR:viz_main_impl.cc(198)] Exiting GPU process due to errors during initialization [14114:14303:0418/084042.600181: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 [14114:14303:0418/084042.600258: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 [14114:14303:0418/084042.600304: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 [14114:14303:0418/084042.600335: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 [14114:14303:0418/084042.600363: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 [14114:14114:0418/084042.610143:ERROR:object_proxy.cc(576)] Failed to call method: org.freedesktop.ScreenSaver.GetActive: object_path= /org/freedesktop/ScreenSaver: org.freedesktop.DBus.Error.NotSupported: This method is not part of the idle inhibition specification: https://specifications.freedesktop.org/idle-inhibit-spec/latest/ libEGL warning: egl: failed to create dri2 screen [14301:14301:0418/084042.701786:ERROR:viz_main_impl.cc(198)] Exiting GPU process due to errors during initialization [14248:7:0418/084042.791838:ERROR:command_buffer_proxy_impl.cc(131)] ContextResult::kTransientFailure: Failed to send GpuControl.CreateCommandBuffer.

Expected result:

brave functioning

Reproduces how often:

i am able to reproduce the problem with fresh distroboxes running the default f39 image

Brave version (brave://version info)

brave-keyring-1.14-1.noarch brave-browser-1.65.114-1.x86_64

Version/Channel Information:

Other Additional Information:

Miscellaneous Information:

SnuggleCovenant commented 7 months ago

fixed by launching with --enable-features=UseOzonePlatform --ozone-platform=wayland flags