Running Xorg on Raspberry Pi through Docker


  • Hello dead, hello all,

    I have created a github repository to contribute to dead's excellent work.
    I have reworked the code a bit, and managed to shave off 200 MB.
    Video is still stuttering, but at least chromium is running.

    :D

    There is some other stuff that can be removed:

    I'm not really sure but I think we should add the xserver-xorg-video-fbturbo package. (better performance?)
    I'm testing too the opengl driver.

    And when running the docker I think using:

    Quote


    --shm-size=350MB
    --tmpfs /run
    --tmpfs /var/log
    --tmpfs /tmp
    --log-driver=none


    Can me it run smoother.

    Edited once, last by dead (October 10, 2016 at 5:15 PM).

  • Hi dead!

    Look here:
    Raspberry Pi • View topic - Netflix on Pi 2

    External Content gist.github.com
    Content embedded from external sources will not be displayed without your consent.
    Through the activation of external content, you agree that personal data may be transferred to third party platforms. We have provided more information on this in our privacy policy.

    Plenty of ideas for improvement!

  • I have worked on this a bit.

    To determine if playing Netflix was at all possible, I tried the method of the Raspberry Pi forum posted in the previous post on the latest version of Raspbian
    Netflix does not play with the libwidevine shared libraries used in the Dockerfile.
    Moreover, Big Buck Bunny playback is even choppier than with the current docker image.

    I therefore propose the following:
    1. create a docker image for chromium (without widevine) for distribution, in docker hub;
    2. find out a method to play Netflix on Raspbian (without hardware acceleration results will likely be very disappointing);
    3. try to implement in docker

    As for step 1, I will update my repo as soon as I have the time

  • Widevine doesn't work because the chromium wasn't build with it enabled. We can try compile and enable it. I was thinking about add the flash pepper module too. But I think soon both flash and widevine will come together in the raspbian package, so I'm not really sure if it worth the effort.

  • Testing it on RPI3 . Let's see how it works. Please publish it on docker hub.
    [hr]
    Oky!
    1 great success. Chromium ran at the first attempt starting from the Dead's zip file. Bunny video is choppy and I cannot control it in anyway. Neither with mouse and keyboard connected.

    Looking in the gitrepo created by awiouy.

    Edited once, last by zioalex (November 13, 2016 at 1:20 AM).

  • hi,

    nobody answered to sukanime, I'm a newbie like him

    what is Docker ?

    How can I install the browser in LibreElec @ raspberry 3 ? I have the latest version of libreelec

    thanks in advance

    • Official Post


    hi,

    nobody answered to sukanime, I'm a newbie like him

    what is Docker ?

    How can I install the browser in LibreElec @ raspberry 3 ? I have the latest version of libreelec

    thanks in advance


    If I remember correctly, I did not get to enable the keyboard, because I found a browser in LE rather pointless, especially without Netflix.

    I think I used VNC to control the browser.

    Docker is software that enables to easily build and run an environment.