Skip to content

mjbenz/oxide-eglfs-snap

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Oxide EGLFS snap

This is a snap package of Qt5 and Oxide, with default EGLFS QPA, so the WebView works without display server.

The amd64 version is using eglfs_kms backend (KMS/DRM), and the RPi2/3 version is using eglfs_brcm backend from Broadcom's dispmanx/EGL driver.

Install

Install from beta channel in the store:

sudo snap install oxide-digitalsignage --devmode --channel=beta

Or download snap oxide-digitalsignage_1_amd64.snap, and install locally:

sudo snap install oxide-digitalsignage_1_amd64.snap --dangerous --devmode

The --devmode parameter is required since EGLFS scans video devices, and currently there's no plug for that.

Run

Stop the X11 session, and if you have more than one graphic card, you'll need to disable the other one (nouveau for nVidia, radeon for AMD), too:

systemctl stop lightdm
sudo chmod a+rw /dev/dri/*

sudo modprobe -r nouveau

Then launch the WebView by:

/snap/bin/oxide-digitalsignage.start-oxide --url="http://google.com/ncr"

Build

You'll need to add ppa:ci-train-ppa-service/stable-phone-overlay PPA for more recent packages:

sudo add-apt-repository ppa:ci-train-ppa-service/stable-phone-overlay

Then build it with:

snapcraft snap 

Details

There's prebuilt Qt5 binaries needed that's linked against OpenGLES, that will be extracted via tar-content plugin and copied over to prime/. We could try to use stage packages like libqt5gui5-gles in the future.

For Raspberry Pi2/3 please refer to rpi2 branch.

About

Hardware accelerated WebView for Ubuntu Core, without display server

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Shell 69.8%
  • QML 30.2%