brave / brave-browser

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

[Arch Linux] Brave doesn't start after update #6772

Open sTiKyt opened 4 years ago

sTiKyt commented 4 years ago

Description

Brave browser doesn't start at all. It got broken.

Steps to Reproduce

  1. Install latest available Brave from aur (yay -S brave-bin)
  2. Try to open Brave
  3. Nothing happens!

Actual result:

Gtk-Message: 22:01:13.655: Failed to load module "appmenu-gtk-module" GPU at BusId 0x1 doesn't have a supported video decoder [19765:19782:1105/220114.035033:ERROR:object_proxy.cc(632)] Failed to call method: org.kde.KWallet.isEnabled: object_path= /modules/kwalletd5: org.freedesktop.DBus.Error.NoReply: Message recipient disconnected from message bus without replying [19765:19782:1105/220114.035073:ERROR:kwallet_dbus.cc(100)] Error contacting kwalletd5 (isEnabled) [19765:19782:1105/220114.037734:ERROR:object_proxy.cc(632)] Failed to call method: org.kde.KLauncher.start_service_by_desktop_name: object_path= /KLauncher: org.freedesktop.DBus.Error.ServiceUnknown: The name org.kde.klauncher was not provided by any .service files [19765:19782:1105/220114.037764:ERROR:kwallet_dbus.cc(72)] Error contacting klauncher to start kwalletd5 [19765:19782:1105/220114.217886:ERROR:object_proxy.cc(632)] Failed to call method: org.kde.KWallet.close: object_path= /modules/kwalletd5: org.freedesktop.DBus.Error.NoReply: Message recipient disconnected from message bus without replying [19765:19782:1105/220114.218028:ERROR:kwallet_dbus.cc(414)] Error contacting kwalletd5 (close) GPU at BusId 0x1 doesn't have a supported video decoder GPU at BusId 0x1 doesn't have a supported video decoder GPU at BusId 0x1 doesn't have a supported video decoder GPU at BusId 0x1 doesn't have a supported video decoder GPU at BusId 0x1 doesn't have a supported video decoder GPU at BusId 0x1 doesn't have a supported video decoder [19765:19765:1105/220118.833801:ERROR:CONSOLE(0)] "Unchecked runtime.lastError: Cannot access contents of url "chrome://newtab/". Extension manifest must request permission to access this host.", source: chrome-extension://mnojpmjdmbbfmejpflffifhffcmidifd/_generated_background_page.html (0) GPU at BusId 0x1 doesn't have a supported video decoder GPU at BusId 0x1 doesn't have a supported video decoder [19765:19774:1105/220121.004541:FATAL:gpu_data_manager_impl_private.cc(986)] The display compositor is frequently crashing. Goodbye. [19795:19821:1105/220123.426478:ERROR:broker_posix.cc(40)] Recvmsg error: Connection reset by peer (104) [19795:19821:1105/220123.427291:ERROR:broker_posix.cc(106)] Error sending sync broker message: Broken pipe (32) [19795:19821:1105/220123.427523:ERROR:broker_posix.cc(106)] Error sending sync broker message: Broken pipe (32) [19795:19821:1105/220123.427835:ERROR:broker_posix.cc(106)] Error sending sync broker message: Broken pipe (32) [19795:19821:1105/220123.428268:ERROR:broker_posix.cc(106)] Error sending sync broker message: Broken pipe (32) /usr/bin/brave: line 27: 19765 Trace/breakpoint trap (core dumped) /usr/lib/brave-bin/brave "$@" $SANDBOX_FLAG $PEPPER_FLASH_FLAG $USER_FLAGS

Expected result:

Before update everything was great.

Brave version (brave://version info)

brave-bin 1:0.70.122-1

Other Additional Information:

I can't install anything except bin because it downloads whole GitHub repository... And it's more than 20GB.

Miscellaneous Information:

Static hostname: stikyt Icon name: computer-laptop Chassis: laptop Machine ID: 7fb59ef5864a4d2f9b7f504330c07b26 Boot ID: 6a7308fbc2e740b49e6481db5e7c112b Operating System: Arch Linux Kernel: Linux 5.3.8-arch1-1 Architecture: x86-64 image

sTiKyt commented 4 years ago

Seems like it's Nvidia Optimus related, that means i won't be able to use Brave on linux? Nice work here guys... Cool update...

sTiKyt commented 4 years ago

Getting this in latest (1.0) stable release:

GPU at BusId 0x1 doesn't have a supported video decoder GPU at BusId 0x1 doesn't have a supported video decoder GPU at BusId 0x1 doesn't have a supported video decoder GPU at BusId 0x1 doesn't have a supported video decoder GPU at BusId 0x1 doesn't have a supported video decoder GPU at BusId 0x1 doesn't have a supported video decoder GPU at BusId 0x1 doesn't have a supported video decoder GPU at BusId 0x1 doesn't have a supported video decoder GPU at BusId 0x1 doesn't have a supported video decoder [6875:6884:1113/213527.940011:FATAL:gpu_data_manager_impl_private.cc(986)] The display compositor is frequently crashing. Goodbye. /bin/brave: line 27: 6875 Trace/breakpoint trap (core dumped) /usr/lib/brave-bin/brave "$@" $SANDBOX_FLAG $PEPPER_FLASH_FLAG $USER_FLAGS

sTiKyt commented 4 years ago

Earlier versions of browser worked just fine, now i use Firefox until it gets fixed.

bsclifton commented 4 years ago

I don't know if there's anything we can do here; we don't officially support AUR (we have an issue open to support it, with the maintainer commenting there) and I know the package diverges from the raw binaries we release (rpm/deb): https://github.com/brave/brave-browser/issues/1950

@sTiKyt do you know if Chromium has the same problem? You might try passing --ignore-gpu-blacklist from the command line when launching Brave. Worst case, you should be able to launch with --disable-gpu

sTiKyt commented 4 years ago

Downloaded Chromium, don't have any problems with it, works great.

**brave --ignore-gpu-blacklist**
Gtk-Message: 16:57:15.840: Failed to load module "appmenu-gtk-module"
GPU at BusId 0x1 doesn't have a supported video decoder
[22907:22984:1129/165718.046806:ERROR:object_proxy.cc(632)] Failed to call method: org.kde.KWallet.isEnabled: object_path= /modules/kwalletd5: org.freedesktop.DBus.Error.NoReply: Message recipient disconnected from message bus without replying
[22907:22984:1129/165718.046851:ERROR:kwallet_dbus.cc(100)] Error contacting kwalletd5 (isEnabled)
[22907:22984:1129/165718.051567:ERROR:object_proxy.cc(632)] Failed to call method: org.kde.KLauncher.start_service_by_desktop_name: object_path= /KLauncher: org.freedesktop.DBus.Error.ServiceUnknown: The name org.kde.klauncher was not provided by any .service files
[22907:22984:1129/165718.051598:ERROR:kwallet_dbus.cc(72)] Error contacting klauncher to start kwalletd5
[22907:22984:1129/165718.266919:ERROR:object_proxy.cc(632)] Failed to call method: org.kde.KWallet.close: object_path= /modules/kwalletd5: org.freedesktop.DBus.Error.NoReply: Message recipient disconnected from message bus without replying
[22907:22984:1129/165718.267043:ERROR:kwallet_dbus.cc(414)] Error contacting kwalletd5 (close)
GPU at BusId 0x1 doesn't have a supported video decoder
GPU at BusId 0x1 doesn't have a supported video decoder
GPU at BusId 0x1 doesn't have a supported video decoder
GPU at BusId 0x1 doesn't have a supported video decoder
GPU at BusId 0x1 doesn't have a supported video decoder
GPU at BusId 0x1 doesn't have a supported video decoder
[22907:22907:1129/165725.356518:ERROR:CONSOLE(0)] "Unchecked runtime.lastError: Cannot access contents of url "chrome://newtab/". Extension manifest must request permission to access this host.", source: chrome-extension://mnojpmjdmbbfmejpflffifhffcmidifd/_generated_background_page.html (0)
GPU at BusId 0x1 doesn't have a supported video decoder
GPU at BusId 0x1 doesn't have a supported video decoder
[22907:22916:1129/165726.899358:FATAL:gpu_data_manager_impl_private.cc(986)] The display compositor is frequently crashing. Goodbye.
/bin/brave: line 27: 22907 Trace/breakpoint trap   (core dumped) /usr/lib/brave-bin/brave "$@" $SANDBOX_FLAG $PEPPER_FLASH_FLAG $USER_FLAGS
[22938:22943:1129/165729.478294:ERROR:broker_posix.cc(40)] Recvmsg error: Connection reset by peer (104)                                                       
[22938:22943:1129/165729.502214:ERROR:broker_posix.cc(106)] Error sending sync broker message: Broken pipe (32)
[22938:22943:1129/165729.502823:ERROR:broker_posix.cc(106)] Error sending sync broker message: Broken pipe (32)
 **brave --disable-gpu**         
Gtk-Message: 16:57:40.002: Failed to load module "appmenu-gtk-module"
GPU at BusId 0x1 doesn't have a supported video decoder
[23406:23423:1129/165740.681654:ERROR:object_proxy.cc(632)] Failed to call method: org.kde.KWallet.isEnabled: object_path= /modules/kwalletd5: org.freedesktop.DBus.Error.NoReply: Message recipient disconnected from message bus without replying
[23406:23423:1129/165740.681696:ERROR:kwallet_dbus.cc(100)] Error contacting kwalletd5 (isEnabled)
[23406:23423:1129/165740.682916:ERROR:object_proxy.cc(632)] Failed to call method: org.kde.KLauncher.start_service_by_desktop_name: object_path= /KLauncher: org.freedesktop.DBus.Error.ServiceUnknown: The name org.kde.klauncher was not provided by any .service files
[23406:23423:1129/165740.682940:ERROR:kwallet_dbus.cc(72)] Error contacting klauncher to start kwalletd5
[23406:23423:1129/165740.838680:ERROR:object_proxy.cc(632)] Failed to call method: org.kde.KWallet.close: object_path= /modules/kwalletd5: org.freedesktop.DBus.Error.NoReply: Message recipient disconnected from message bus without replying
[23406:23423:1129/165740.838709:ERROR:kwallet_dbus.cc(414)] Error contacting kwalletd5 (close)
GPU at BusId 0x1 doesn't have a supported video decoder
GPU at BusId 0x1 doesn't have a supported video decoder
GPU at BusId 0x1 doesn't have a supported video decoder
GPU at BusId 0x1 doesn't have a supported video decoder
GPU at BusId 0x1 doesn't have a supported video decoder
[23406:23672:1129/165743.882228:ERROR:database.cc(1581)] Shortcuts sqlite error 1, errno 0: duplicate column name: document_type, sql: ALTER TABLE omni_box_shortcuts ADD COLUMN document_type INTEGER
[23406:23415:1129/165744.291426:FATAL:gpu_data_manager_impl_private.cc(986)] The display compositor is frequently crashing. Goodbye.
[23434:23446:1129/165745.818085:ERROR:broker_posix.cc(40)] Recvmsg error: Connection reset by peer (104)
[23434:23446:1129/165745.823834:ERROR:broker_posix.cc(106)] Error sending sync broker message: Broken pipe (32)
/bin/brave: line 27: 23406 Trace/breakpoint trap   (core dumped) /usr/lib/brave-bin/brave "$@" $SANDBOX_FLAG $PEPPER_FLASH_FLAG $USER_FLAGS

Something wrong with Brave, as i said before it was working before update, i was using it for very long time. Yeah, it got KDE Wallet related errors as well, i don't think KDE wallet error can disable whole browser...

dwkretz commented 4 years ago

Also been having this issue since the update OP is referring to.

Terminal output:

➜ ~ brave-browser GPU at BusId 0x1 doesn't have a supported video decoder GPU at BusId 0x1 doesn't have a supported video decoder GPU at BusId 0x1 doesn't have a supported video decoder GPU at BusId 0x1 doesn't have a supported video decoder GPU at BusId 0x1 doesn't have a supported video decoder GPU at BusId 0x1 doesn't have a supported video decoder GPU at BusId 0x1 doesn't have a supported video decoder GPU at BusId 0x1 doesn't have a supported video decoder GPU at BusId 0x1 doesn't have a supported video decoder [52263:52272:0128/200137.608595:FATAL:gpu_data_manager_impl_private.cc(990)] The display compositor is frequently crashing. Goodbye. [1] 52263 trace trap brave-browser Hardware:

CPU: Intel i7-4712MQ (8) @ 3.300GHz GPU: Intel 4th Gen Core Processor GPU: NVIDIA GeForce 940M

Edit to add that I'm using Solus not Arch

Jacalz commented 4 years ago

I think some users on Solus are seeing this issue as well. See https://dev.getsol.us/T8644 and https://dev.getsol.us/T8548.

hypnotortoise commented 4 years ago

same on PopOS 19.10

healBvdb commented 4 years ago

I am on Solus OS and I have the same issue. But I can still use Brave using the snap package

Termina output :

brave-browser 
GPU at BusId 0x1 doesn't have a supported video decoder
GPU at BusId 0x1 doesn't have a supported video decoder
GPU at BusId 0x1 doesn't have a supported video decoder
GPU at BusId 0x1 doesn't have a supported video decoder
GPU at BusId 0x1 doesn't have a supported video decoder
GPU at BusId 0x1 doesn't have a supported video decoder

(brave-browser:6454): Gtk-WARNING **: 09:13:19.287: Theme directory appsgray/scalable of theme korla-pgrey has no size field

GPU at BusId 0x1 doesn't have a supported video decoder
[6454:6505:0328/091319.337988:ERROR:rewards_service_impl.cc(339)] Failed to read file: /home/calisdecris/.config/BraveSoftware/Brave-Browser/Default/rewards_service/confirmations.json
[6454:6505:0328/091319.338197:ERROR:dat_file_util.cc(22)] GetDATFileData: the dat file is not found or corrupted /home/calisdecris/.config/BraveSoftware/Brave-Browser/emaecjinaegfkoklcdafkiocjhoeilao/1.0.406/rs-9852EFC4-99E4-4F2D-A915-9C3196C7A1DE.dat
[6494:6494:0328/091319.359962:ERROR:confirmations_impl.cc(783)] Failed to load confirmations state, resetting to default values
[6454:6454:0328/091319.360021:ERROR:ad_block_base_service.cc(225)] Could not obtain ad block data
[6454:6509:0328/091319.385671:ERROR:rewards_service_impl.cc(206)] Failed to read file: /home/calisdecris/.config/BraveSoftware/Brave-Browser/Default/ledger_state
[6494:6494:0328/091319.386660:ERROR:ledger_impl.cc(107)] Failed to initialize wallet
GPU at BusId 0x1 doesn't have a supported video decoder
GPU at BusId 0x1 doesn't have a supported video decoder
[6454:6463:0328/091319.476844:FATAL:gpu_data_manager_impl_private.cc(1034)] The display compositor is frequently crashing. Goodbye.
Trappe pour point d'arrêt et de trace
navoytak commented 2 years ago

same on Kubuntu 21.10 https://pastebin.com/embed/7qUXvdBb