Package Details: brave-beta-bin 1.74.6-1

Git Clone URL: https://aur.archlinux.org/brave-beta-bin.git (read-only, click to copy)
Package Base: brave-beta-bin
Description: Web browser that blocks ads and trackers by default (beta binary release).
Upstream URL: https://brave.com/download-beta
Licenses: MPL2
Provides: brave-beta-bin, brave-beta-browser
Submitter: originof
Maintainer: gregbunk
Last Packager: gregbunk
Votes: 41
Popularity: 0.057637
First Submitted: 2018-09-28 15:42 (UTC)
Last Updated: 2024-11-15 11:36 (UTC)

Dependencies (9)

Required by (0)

Sources (3)

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 8 Next › Last »

timescam commented on 2022-07-21 09:14 (UTC) (edited on 2022-07-21 09:20 (UTC) by timescam)

Can you add these lines to brave-beta-bin.sh so that it will read user flags form file, like how it works on both brave-nightly-bin and brave-bin in aur, thx

diff --git a/brave-beta-bin.sh b/brave-beta-bin.sh
index bd4c5d3..63ae45e 100644
--- a/brave-beta-bin.sh
+++ b/brave-beta-bin.sh
@@ -1,6 +1,13 @@
 #!/usr/bin/env bash
+XDG_CONFIG_HOME="${XDG_CONFIG_HOME:-$HOME/.config}"
+
+# Allow users to override command-line options
+USER_FLAGS_FILE="$XDG_CONFIG_HOME/brave-beta-flags.conf"
+if [[ -f $USER_FLAGS_FILE ]]; then
+   USER_FLAGS="$(cat $USER_FLAGS_FILE | sed 's/#.*//')"
+fi

 if [[ -z "${CHROME_USER_DATA_DIR}" ]]; then
     export CHROME_USER_DATA_DIR=~/.config/BraveSoftware/Brave-Browser-Beta
 fi
-exec "/opt/brave.com/brave-beta/brave-browser" "$BRAVE_FLAGS" "$FLAG" "$@"
+exec "/opt/brave.com/brave-beta/brave-browser" "$USER_FLAGS" "$BRAVE_FLAGS" "$FLAG" "$@"

theriddick commented on 2022-05-11 14:47 (UTC)

@gregbunk I rolled back to normal Mesa v22 and all is fine. Also I was using a AUR Mesa-git which is newer then the default AUR version I think.

gregbunk commented on 2022-05-11 12:13 (UTC)

Mesa-git looks OK here (AMD RX6400xt) - maybe it's the card?

In any case, please report this to Brave directly. This is simply a repackage of what they produce.

theriddick commented on 2022-05-11 07:00 (UTC) (edited on 2022-05-11 07:30 (UTC) by theriddick)

The last update corrupted Brave title bar etc on Mesa drivers (6800xt).

Not sure if same on NVIDIA. Probable Mesa-Git to blame. (confirmed, normal mesa22 is fine)

thx1138 commented on 2022-03-09 15:25 (UTC)

Ok, I finally noticed the "something else" from "fails to open a window". I'm running LXQt over openbox with multiple "desktops". When brave "fails to open a window", actually, it did open a window, but not on the active desktop, and then, the panel, in this case, also fails to recognize that brave has opened a window on an inactive desktop and display a new tab in the panel for this new window. brave is the only app that I've seen do this with LXQt, but probably cannot blame brave.

Sorry about the noise.

thx1138 commented on 2022-03-08 22:56 (UTC) (edited on 2022-03-08 23:09 (UTC) by thx1138)

Thanks for your note. Sorry about the time delay.

$ glxinfo
name of display: :0
Error: couldn't find RGB GLX visual or fbconfig

Umph. After reading-up on this, and noting that I'm running two different Xorg servers simultaneously, one on an Nvidia, one on a Radeon, I see in the Xorg log for the Radeon device "Loading /usr/lib/nvidia/xorg/libglx.so", even though ServerLayout and Screen sections have been explicitly configured to select only the Radeon device. That seems like an Xorg bug to me, and nothing to do with brave-beta-bin, of course.

Explicitly setting "-modulepath /usr/lib/xorg/modules" on the Xorg command line solves the problem, and no more complaints from brave-beta.

Apparently, some versions of brave-beta - for instance brave-beta-bin 1.37.84-1 - again work despite the libglx issue. And, at the moment, and after fixing the libglx problem, for instance brave-nightly-bin 1.38.29-1 will run but now fails to open a window. But that is brave-nightly. Still, there may be something else going on here. For the moment, brave-beta is behaving as expected.

gregbunk commented on 2022-02-18 15:47 (UTC)

I doubt it. I'm not seeing that.

Try a glxinfo and see if your glx is working.

thx1138 commented on 2022-02-18 15:44 (UTC) (edited on 2022-02-18 15:44 (UTC) by thx1138)

After a recent system upgrade, when starting brave-beta, lots of messages:

ERROR:gl_surface_egl.cc(808)] EGL Driver message (Critical) eglInitialize: GLX is not present.

and

ERROR:angle_platform_impl.cc(44)] Display.cpp:940 (initialize): ANGLE Display::initialize error 12289: GLX is not present.

and the browser window never opens.

From brave-beta support, I see:

"I maintain that aur. It turns out that chromium now ships their own libEGL and libGLES. ... I’ve updated the AUR to pull those files from chromium."

But, brave-nightly works normally.

Is there some problem again with these libraries?

wcasanova commented on 2021-12-23 20:14 (UTC)

it would be good to have also the user flags https://aur.archlinux.org/cgit/aur.git/tree/brave-bin.sh?h=brave-bin#n5

wknapik commented on 2021-10-21 17:10 (UTC)

This is now also fixed in brave-nightly-bin at https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=brave-nightly-bin#n44