Package Details: brave-beta-bin 1.71.104-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.141454
First Submitted: 2018-09-28 15:42 (UTC)
Last Updated: 2024-10-03 11:40 (UTC)

Dependencies (9)

Required by (0)

Sources (3)

Latest Comments

1 2 3 4 5 6 .. 8 Next › Last »

arglo commented on 2024-09-24 13:05 (UTC) (edited on 2024-09-24 20:49 (UTC) by arglo)

It doesn't work for me. --ozone-platform=wayland setting is silently ignored and default value x11 is chosen instead, which is confirmed by Ozone platform entry on brave://gpu page (or xeyes). Everything works as expected (with line breaks in config) when I use the following modification of original brave-beta-bin.sh:

#!/bin/sh
XDG_CONFIG_HOME=${XDG_CONFIG_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=$(sed 's/#.*//' "$USER_FLAGS_FILE")
fi

if [ -z "$CHROME_USER_DATA_DIR" ]; then
    export CHROME_USER_DATA_DIR="$XDG_CONFIG_HOME/BraveSoftware/Brave-Browser-Beta"
fi

# default $IFS
set -- $USER_FLAGS $BRAVE_FLAGS "$@"
exec "/opt/brave.com/brave-beta/brave-browser" "$@"

gregbunk commented on 2024-07-01 14:13 (UTC)

Try one line:

Here's my conf file:

`--disable-gpu-vsync --disable-gpu-driver-bug-workarounds --enable-features=VaapiVideoDecoder --ignore-gpu-blocklist --enable-gpu-rasterization --enable-zero-copy --enable-features=UseOzonePlatform --ozone-platform=wayland --enable-wayland-ime

`

I just checked - that's passed to the browser.

arglo commented on 2024-07-01 01:00 (UTC)

The script brave-beta-bin.sh doesn't handle --key=value options correctly. For example:

~> cat .config/brave-beta-flags.conf 
--ozone-platform=wayland
--gtk-version=4
~> brave-beta
[130659:130659:0701/024917.097688:FATAL:platform_selection.cc(45)] Invalid ozone platform: wayland
--gtk-version=4.
/opt/brave.com/brave-beta/brave-browser: line 48: 130659 Trace/breakpoint trap   (core dumped) "$HERE/brave" "$@"

So the value for --ozone-platform key is interpreted as wayland\n--gtk-version=4.

gregbunk commented on 2024-03-23 12:32 (UTC) (edited on 2024-03-23 12:34 (UTC) by gregbunk)

Here's what I see. Note that --incognito is passed along correctly.

~ cat .config/brave-beta-flags.conf
--incognito

~ brave-beta & 
 %  ~  [7651:7651:0323/083052.822561:ERROR:policy_logger.cc(157)] :components/enterprise/browser/controller/chrome_browser_cloud_management_controller.cc(161) Cloud management controller initialization aborted as CBCM is not enabled. Please use the `--enable-chrome-browser-cloud-management` command line flag to enable it if you are not using the official Google Chrome build.
[7696:7696:0323/083057.229774:ERROR:gl_surface_presentation_helper.cc(260)] GetVSyncParametersIfAvailable() failed for 1 times!

~ ps aux | grep brave | grep inco
gwhite      7641  0.0  0.0   7520  3640 pts/0    S    08:30   0:00 /bin/bash /opt/brave.com/brave-beta/brave-browser --incognito --disable-gpu-driver-bug-workarounds
gwhite      7651  9.7  0.5 34504444 348140 pts/0 S<l  08:30   0:00 /opt/brave.com/brave-beta/brave --incognito --disable-gpu-driver-bug-workarounds 
[7696:7696:0323/083112.487062:ERROR:gl_surface_presentation_helper.cc(260)] GetVSyncParametersIfAvailable() failed for 2 times!
[7696:7696:0323/083112.495989:ERROR:gl_surface_presentation_helper.cc(260)] GetVSyncParametersIfAvailable() failed for 3 times!

 ~  cat (which brave-beta)
#!/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" "$USER_FLAGS" "$BRAVE_FLAGS" "$FLAG" "$@"

tinmarr commented on 2024-03-22 21:17 (UTC)

The brave-beta-bin.sh script shouldn't have $USER_FLAGS in quotes. In it's current state, the brave-beta-flags.conf file does nothing (test with --incognito for example).

Here is the modified last line that works for me:

exec "/opt/brave.com/brave-beta/brave-browser" $USER_FLAGS $BRAVE_FLAGS $FLAG "$@"

gregbunk commented on 2024-02-09 22:00 (UTC)

That's weird. It's definitely not a dependency of this package (which you can see in the PKGBUILD.) Must be something else going on.

querta commented on 2024-02-09 21:58 (UTC)

While installing it's asking Telegram as dependency which's not listed here

kido007 commented on 2023-11-30 19:28 (UTC) (edited on 2023-11-30 19:28 (UTC) by kido007)

Just upgraded to the latest iteration of brave beta and the previously reported error is gone... thank you.

gregbunk commented on 2023-11-30 13:08 (UTC)

I'm not seeing it here, FWIW

kido007 commented on 2023-11-30 10:58 (UTC)

I get this when I start brave, not sure if I am the only one:

brave-browser-beta --version /usr/bin/brave-browser-beta: line 48: 368925 Segmentation fault "$HERE/brave" "$@"

( I am on x64 )