X11

From WikiPixie
Jump to: navigation, search

Installing Xorg Server

Pixie has GPU accelerated xorg packages specifically compiled and optimized for the platform.

  • First, install mesa specific drivers:
    $sudo pacman -S libdrm-PixiePro
    $sudo pacman -S mesa-PixiePro

Note: select imx-gpu-viv-x11-PixiePro (option no. 8) as imx-gpu-viv provider

  • Install I.MX Xorg drivers:
    $sudo pacman -S xserver-xorg-video-imx-viv-PixiePro
  • Install Xorg server:
    $sudo pacman -S xorg-server-PixiePro
  • Installing a desktop environment:

A desktop environment bundles together a variety of X clients to provide common graphical user interface elements such as icons, toolbars, wallpapers, and desktop widgets. Additionally, most desktop environments include a set of integrated applications and utilities. Most importantly, desktop environments provide their own window manager.

  • For example, to install XFCE desktop environment:
    $sudo pacman -S xfce4
  • In order to run the desktop environment:
    $startxfce4
  • To see a list of available desktop environments:

https://wiki.archlinux.org/index.php/Desktop_environment

Hardware accelerated Chromium Browser

  • Install i.MX6 Accelerated Chromium:
    $sudo pacman -S chromium-PixiePro

There is a bug (in Chromium, not specific of our accelerated version) where Chromium crashes while opening a blank tab, the workaround is to install the "New tab redirect" extension:

Open Chromium from a terminal while running Xorg:

  • $export DISPLAY=:0

and then run Chromium with a preset url (google.com in the example below):

  • $chromium --use-gl=egl "google.com"

Then install "New tab redirect" from the Chromium Webstore:

https://chrome.google.com/webstore/detail/new-tab-redirect/icpgjfneehieebagbmdbhnlpiopdcmna?hl=en

And configure the extension to redirect to "about:blank:"

Also, Youtube now uses VP9 by default, which can't be hardware accelerated on the i.MX6 at the moment, please install the "h264fy" extension to have video decoding acceleration in Youtube:

https://chrome.google.com/webstore/detail/h264ify/aleakchihdccplidncghkekgioiakgal

With these two extensions installed, Chromium should work like a charm.