Khadas Docs

Amazing Khadas, always amazes you!

User Tools

Site Tools


products:sbc:common:applications:chromium

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

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 with WebGL ======
  
 ===== 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. 
 +</WRAP>
  
-Ubuntu22.04 will use ''snap'' to install software by defaultwe need to install Google Chrome using ''apt'' by adding source.+<WRAP alert > 
 +This is just an experienced functionyou may got some issues when you enable the WebGL, you can follow the steps below to enable WebGL at your own risk. 
 +</WRAP> 
 + 
 + 
 +===== Upgrade the System ===== 
 + 
 +You need to upgrade the system to latest version.
  
 ```shell ```shell
-sudo add-apt-repository ppa:saiarcot895/chromium-beta +sudo apt update 
-sudo apt remove chromium-browser +sudo apt full-upgrade 
-$ sudo snap remove chromium +sync 
-sudo apt install chromium-browser+sudo reboot
 ``` ```
  
-====== Setting ======+===== Install Chromium from APT Source ===== 
 + 
 +Ubuntu 22.04 will use ''snap'' to install software by default, in order to add WebGL support we need to install Chromium from other apt source. 
 + 
 +```shell 
 +sudo add-apt-repository ppa:saiarcot895/chromium-beta 
 +sudo apt remove chromium-browser 
 +sudo snap remove chromium 
 +sudo apt install chromium-browser 
 +``` 
 + 
 +===== Setting Flags to Enable WebGL =====
  
 Open your ''Chromium'' first, then setting flags by visiting ''chrome:%%/%%/flags'' . Open your ''Chromium'' first, then setting flags by visiting ''chrome:%%/%%/flags'' .
  
-{{:products:sbc:common:applications:chromim.png?1200}}+As shown in the figure below, you need to enable these flags. 
 + 
 +{{:products:sbc:common:applications:chromim.webp?1200}}
  
-Restart ''Chromium'' to effect.+Restart ''Chromium'' to take effect.
  
 ===== Test ===== ===== Test =====
Line 28: Line 50:
 You can test Chromium's GPU rendering capabilities by visiting https://webglsamples.org. You can test Chromium's GPU rendering capabilities by visiting https://webglsamples.org.
  
-{{:products:sbc:common:applications:webglsamples.png?1200}}+{{:products:sbc:common:applications:webglsamples.webp?1200}}
  
Last modified: 2022/08/30 02:20 by frank