Khadas Docs

Amazing Khadas, always amazes you!

User Tools

Site Tools


Sidebar

products:sbc:common:applications:chromium

This is an old revision of the document!


Chromium with WebGL

Introduction

This document mainly describes how to install Chromium and add WebGL support.

If you install Chromium using snap, you can't use WebGL.

Install

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.

$ 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 Support GPU

Open your Chromium first, then setting flags by visiting chrome://flags .

As shown in the figure below, you need to enable these flags.

Restart Chromium to take effect.

Test

You can test Chromium's GPU rendering capabilities by visiting https://webglsamples.org.

Last modified: 2022/09/07 02:12 by nick