This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
products:sbc:common:applications:chromium [2022/08/30 02:20] frank created |
products:sbc:common:applications:chromium [2022/11/06 22:59] (current) nick |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Chromium ====== | + | ====== Chromium |
===== Introduction ===== | ===== Introduction ===== | ||
- | This document mainly describes how to install Chromium and add GPU support. You will learn how to install chromium and add GPU support by setting flags. | + | This document mainly describes how to install Chromium and add WebGL support. |
- | ===== Install ===== | + | <WRAP important > |
+ | If you install Chromium using snap, you can't use WebGL. | ||
+ | </ | ||
- | Ubuntu22.04 will use '' | + | <WRAP alert > |
+ | This is just an experienced function, you may got some issues when you enable the WebGL, you can follow the steps below to enable WebGL at your own risk. | ||
+ | </ | ||
+ | |||
+ | |||
+ | ===== Upgrade the System ===== | ||
+ | |||
+ | You need to upgrade the system to latest version. | ||
```shell | ```shell | ||
- | $ sudo add-apt-repository ppa: | + | sudo apt update |
- | $ sudo apt remove chromium-browser | + | sudo apt full-upgrade |
- | $ sudo snap remove chromium | + | sync |
- | $ sudo apt install chromium-browser | + | sudo reboot |
``` | ``` | ||
- | ====== | + | ===== Install Chromium from APT Source |
+ | |||
+ | Ubuntu 22.04 will use '' | ||
+ | |||
+ | ```shell | ||
+ | sudo add-apt-repository ppa: | ||
+ | sudo apt remove chromium-browser | ||
+ | sudo snap remove chromium | ||
+ | sudo apt install chromium-browser | ||
+ | ``` | ||
+ | |||
+ | ===== Setting Flags to Enable WebGL ===== | ||
Open your '' | Open your '' | ||
- | {{: | + | As shown in the figure below, you need to enable these flags. |
+ | |||
+ | {{: | ||
- | Restart '' | + | Restart '' |
===== Test ===== | ===== Test ===== | ||
Line 28: | Line 50: | ||
You can test Chromium' | You can test Chromium' | ||
- | {{: | + | {{: |