Giter Club home page Giter Club logo

ungoogled-chromium-void's Introduction

Ungoogled Chromium for Void Linux

Ungoogled Chromium template and builds for Void Linux, based on the void-packages chromium template.

GitHub release (latest by date)

Content Overview

Building from source

Note

Consult void-packages documentation for more information about setting it up.

Quick start

Building packages natively for the musl C library

Clone and setup the void-packages repository in a work directory and:

git clone --depth=1 https://github.com/DAINRA/ungoogled-chromium-void.git
[[ -d void-packages/srcpkgs/ungoogled-chromium ]] && rm -r void-packages/srcpkgs/ungoogled-chromium
cp -r ungoogled-chromium-void/void-packages/srcpkgs/ungoogled-chromium void-packages/srcpkgs/
cd void-packages
./xbps-src pkg ungoogled-chromium

Binary release

./xbps-src show-options ungoogled-chromium                                                                                                                                                                                                                   adrian@TS-P320
=> ungoogled-chromium-120.0.6099.109_1: the following build options are set:
   clang: Use clang to build (ON)
   libcxx: Use bundled libc++ (ON)
   pipewire: Enable support for screen sharing for WebRTC via PipeWire (ON)
   pulseaudio: Enable support for the PulseAudio sound server (ON)
   vaapi: Enable support for VA-API (ON)
   debug: Build with debug symbols (OFF)
   sndio: Enable support for the sndio sound server (OFF)

Available builds

You can check the workflow file for the available builds:

Bootstrap:
needs: [Fetch]
strategy:
max-parallel: 1
matrix:
arch: [x86_64, x86_64-musl]

and the Actions tab for current build progress.

Installing the binary package

Method 1 - manual update

Download the xbps package from the releases page, index and install the package:

xbps-rindex -a *.xbps
sudo xbps-install -vR $PWD ungoogled-chromium

Method 2 - updates handled by xbps-install

Add the releases page as a repository:

cat << EOF > /etc/xbps.d/20-ungoogled-chromium.conf
repository=https://github.com/DAINRA/ungoogled-chromium-void/releases/latest/download/
EOF
xbps-install -Su ungoogled-chromium

First xbps-install -S run it will ask to import the repository key, same as 88:ac:8f:99:4d:b0:20:8f:6b:f0:8f:49:b9:13:fb:17.plist.

Troubleshooting

  • Although it is not included in the run dependencies, gtk+3 package must be installed.
  • To enable VAAPI add --enable-features=VaapiVideoDecoder to CHROME_FLAGS environment variable.
    More info vaapi.md. Also check Void Handbook in case of problems.
  • For VAAPI --disable-features=UseChromeOSDirectVideoDecoder might also be needed.
    Check in chrome://gpu if Video Decode: Hardware accelerated.

Musl crashes mitigation

  • Make sure you have dbus running (on glibc it doesn't matter).
    Symptoms: crashes, pages stalling and refusing to load until browser restart, plugin crashes.
  • Try adding --js-flags=--jitless to CHROME_FLAGS. If nothing else, it's a security hardening option.

General tweaks

  • Lower ram usage: --renderer-process-limit=2 renderer-process-limit.
  • Reduce disk activity: --disk-cache-size=1 --v8-cache-options=none disk-cache-size, v8-cache-options.
  • Dark Mode: chrome://flags/#enable-force-dark.
  • Global media controls can cause crashes either by opening or closing it, as described in this issue.
    Either avoid using the feature or disable it completely (--disable-features=GlobalMediaControls).

Credits

ungoogled-chromium-void's People

Contributors

dainra avatar uuuvn avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

ungoogled-chromium-void's Issues

Build fails: 'X11/xshmfence.h' file not found

I get a build failure when attempting to build [30603/49606] CXX obj/components/viz/service/gpu_service_dependencies/output_presenter_x11.o from 7f1c2fe:

../../components/viz/service/display_embedder/output_presenter_x11.cc:8:10: fatal error: 'X11/xshmfence.h' file not found

Linux 5.13.19_1 on x86_64, glibc.

Signature error when installing ungoogled chromium 112

[*] Downloading packages
ungoogled-chromium-112.0.5615.49_1.x86_64.xbps.sig
ungoogled-chromium-112.0.5615.49_1.x86_64.xbps
ungoogled-chromium-112.0.5615.49_1: verifying RSA signature...
ERROR: ungoogled-chromium-112.0.5615.49_1: the RSA signature is not valid!
ERROR: ungoogled-chromium-112.0.5615.49_1: removed pkg archive and its signature.

Invalid signature

As of the last week, I keep getting this error about an invalid signature. Not sure if anyone else is experiencing this or if I did something to make it happen.
image

x86 glibc compiled Chromium doesn't run on Intel P4/Xeon older hardware

As the title says, it doesn't run on older SSE/SSE2 only CPUs, like older Xeons and P4s.

fish: Job 1, 'ungoogled-chromium' terminated by signal SIGILL (Illegal instruction)

I've compiled it in a VM, since it takes forever on these older rigs (on newer hardware, Intel Core i7 4790K) and it runs in the VM, but not on these old rigs :-\.

Also, is there a way ninja to use all available CPU cores/threads? Currently, no matter what I compile Ungoogled Chromium on, it always uses 25% of the CPU resources.

Alternative installation method through the command line

curl -s https://api.github.com/repos/DAINRA/ungoogled-chromium-void/releases/latest | grep browser_download_url | awk '{print $2}'
this will display all the assets in the latest release. Then they can be downloaded using wget.

For example
wget https://github.com/DAINRA/ungoogled-chromium-void/releases/download/110.0.5481.77_1/ungoogled-chromium-110.0.5481.77_1.x86_64.xbps

Then
xbps-rindex -a *.xbps
sudo xbps-install -vR $PWD ungoogled-chromium
will install it

extremely unresponsive on musl

I switched from glibc to musl yesterday and ungoogled-chromium is working very poorly. Many websites don't load or are responsive to scrolling but not clicks. I reinstalled void but it's still happening.

Using latest release

Unresolvable shlib error when updating

Hello, I ran the usual sudo xbps-install -Su to update my packages and I am hit with this error:

ungoogled-chromium-119.0.6045.105_1: broken, unresolvable shlib `libFLAC.so.8'
Transaction aborted due to unresolved shlibs

Reproducable builds?

I just built ungoogled-chromium(musl) from this repository, and the sha256 sums of my build and the official one from the Releases are different.
A quick diff of the binaries showed that not only the timestamps are different.
Any plans to do determenistic builds?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.