Netflix, state of the art?
#23
(04-24-2020, 02:29 AM)PakoSt Wrote: Wow, that's a difference Smile  I'm not even using any of the chromium flags either - sure there are dropped frames but it's going well enough at 1080p for casual video playback at full screen.

@hthiemann , try with unstable:

Code:
FROM docker.io/arm32v7/debian:unstable  
MAINTAINER Henning Thiemann <henning.thiemann@gmail.com>
 
# Install dependencies
ENV DEBIAN_FRONTEND noninteractive
RUN apt-get update && apt-get install -y --no-install-recommends \
  git fontconfig fontconfig-config fonts-dejavu-core gconf-service gconf2-common \
  libasn1-8-heimdal libasound2 libasound2-data libatk1.0-0 libatk1.0-data libavahi-client3 libavahi-common-data \
  libavahi-common3 libcairo2 libcups2 libdatrie1 libdbus-1-3 libdbus-glib-1-2 libexpat1 libfontconfig1 \
  libfreetype6 libgconf-2-4 libgdk-pixbuf2.0-0 libgdk-pixbuf2.0-common libgmp10 \
  libgnutls30 libgraphite2-3 libgssapi-krb5-2 libgssapi3-heimdal libgtk2.0-0 \
  libgtk2.0-common libharfbuzz0b libhcrypto4-heimdal libheimbase1-heimdal libheimntlm0-heimdal libhogweed4 \
  libhx509-5-heimdal libjbig0 libk5crypto3 libkeyutils1 \
  libkrb5-26-heimdal libkrb5-3 libkrb5support0 libldap-2.4-2 libnettle6 libnspr4 libnss3 \
  libp11-kit0 libpango-1.0-0 libpangocairo-1.0-0 libpangoft2-1.0-0 libpixman-1-0 libpng16-16 libroken18-heimdal \
  libsasl2-2 libsasl2-modules-db libsqlite3-0 libtasn1-6 libthai-data libthai0 libtiff5 libwind0-heimdal libx11-6 \
  libx11-data libxau6 libxcb-render0 libxcb-shm0 libxcb1 libxcomposite1 libxcursor1 libxdamage1 libxdmcp6 \
  libxext6 libxfixes3 libxi6 libxinerama1 libxml2 libxrandr2 libxrender1 libxss1 libxtst6 shared-mime-info ucf \
  x11-common xdg-utils libpulse0 pulseaudio-utils wget libatk-bridge2.0-0 libatspi2.0-0 libgtk-3-0 \
  mesa-va-drivers mesa-vdpau-drivers mesa-utils libosmesa6 libegl1-mesa libwayland-egl1-mesa libgl1-mesa-dri
# Adding Mesa. Should need improvements - not sure what the debian packages are including by default (thinking panfrost)
# Consulting with users of the Unofficial Debian installer for the PBP would be preferable.

 
# Add chromium dependencies
ADD dependencies/chromium-browser_78.0.3904.97-0ubuntu0.16.04.1_armhf.deb chromium-browser.deb
ADD dependencies/chromium-codecs-ffmpeg-extra_78.0.3904.97-0ubuntu0.16.04.1_armhf.deb chromium-codecs.deb
RUN echo "Updating Chromium..." && dpkg -i chromium-codecs.deb && dpkg -i chromium-browser.deb
 
# Add settings
ADD chromium-settings /etc/chromium-browser/default
 
# Install Widevine
ADD widevine/libwidevinecdm.so /usr/lib/chromium-browser
ADD widevine/PepperFlash /usr/lib/chromium-browser/pepper
 
# Copy Pulseaudio config
COPY pulse-client.conf /etc/pulse/client.conf
 
# Set up the user
ENV UNAME mediaguy
RUN export UNAME=$UNAME UID=1000 GID=1000 && \
    mkdir -p "/home/${UNAME}" && \
    echo "${UNAME}:x:${UID}:${GID}:${UNAME} User,,,:/home/${UNAME}:/bin/bash" >> /etc/passwd && \
    echo "${UNAME}:x:${UID}:" >> /etc/group && \
    mkdir -p /etc/sudoers.d && \
    echo "${UNAME} ALL=(ALL) NOPASSWD: ALL" > /etc/sudoers.d/${UNAME} && \
    chmod 0440 /etc/sudoers.d/${UNAME} && \
    chown ${UID}:${GID} -R /home/${UNAME} && \
    gpasswd -a ${UNAME} audio
USER $UNAME
ENV HOME /home/${UNAME}
 
CMD ["/usr/bin/chromium-browser", "--user-agent='Mozilla/5.0 (X11; CrOS armv7l 6946.63.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36'"]
 


Update: Here is a comparison with the original Dockerfile that was using rockchip mesa and the one I posted above:
- Original Dockerfile using rockchip: https://drive.google.com/file/d/1gqC2Utn...p=drivesdk
- Dockerfile using debian unstable from above: https://drive.google.com/file/d/1gmqo0AX...p=drivesdk

Removing the chromium flags file could be good as well - my chromium settings is empty.
That's amazing, thank you very much for your investigation.

I will try it later today and create an updated image if it is working as expected.
  Reply


Messages In This Thread
Netflix, state of the art? - by gleachkr - 04-17-2020, 11:27 AM
Netflix, state of the art? - by hthiemann - 04-18-2020, 01:48 AM
RE: Netflix, state of the art? - by PakoSt - 04-18-2020, 07:47 AM
RE: Netflix, state of the art? - by gleachkr - 04-18-2020, 10:11 AM
Netflix, state of the art? - by hthiemann - 04-19-2020, 01:14 PM
RE: Netflix, state of the art? - by PakoSt - 04-19-2020, 04:18 PM
RE: Netflix, state of the art? - by Eight Bit - 04-20-2020, 11:37 AM
RE: Netflix, state of the art? - by 8-bit - 04-19-2020, 05:42 PM
RE: Netflix, state of the art? - by PakoSt - 04-19-2020, 06:44 PM
RE: Netflix, state of the art? - by hthiemann - 04-20-2020, 12:41 PM
RE: Netflix, state of the art? - by spikerguy - 04-20-2020, 03:54 PM
RE: Netflix, state of the art? - by Luke - 04-20-2020, 03:57 PM
RE: Netflix, state of the art? - by PakoSt - 04-20-2020, 01:41 PM
RE: Netflix, state of the art? - by PakoSt - 04-20-2020, 05:59 PM
RE: Netflix, state of the art? - by appelgriebsch - 04-23-2020, 01:29 AM
RE: Netflix, state of the art? - by hthiemann - 04-21-2020, 12:56 AM
RE: Netflix, state of the art? - by Eight Bit - 04-22-2020, 07:47 AM
RE: Netflix, state of the art? - by hthiemann - 04-23-2020, 01:55 AM
RE: Netflix, state of the art? - by PakoSt - 04-23-2020, 06:10 AM
RE: Netflix, state of the art? - by appelgriebsch - 04-23-2020, 10:47 AM
RE: Netflix, state of the art? - by PakoSt - 04-23-2020, 05:56 PM
RE: Netflix, state of the art? - by PakoSt - 04-24-2020, 02:29 AM
RE: Netflix, state of the art? - by hthiemann - 04-24-2020, 07:17 AM
RE: Netflix, state of the art? - by PakoSt - 04-24-2020, 01:43 PM
RE: Netflix, state of the art? - by spikerguy - 04-24-2020, 03:26 PM
RE: Netflix, state of the art? - by hthiemann - 04-25-2020, 05:12 AM
RE: Netflix, state of the art? - by gleachkr - 04-25-2020, 12:58 PM
RE: Netflix, state of the art? - by PakoSt - 04-25-2020, 02:01 PM
RE: Netflix, state of the art? - by PakoSt - 04-26-2020, 04:13 AM
RE: Netflix, state of the art? - by spikerguy - 04-26-2020, 08:00 AM
RE: Netflix, state of the art? - by PakoSt - 04-26-2020, 03:18 PM
RE: Netflix, state of the art? - by gleachkr - 04-26-2020, 04:09 PM
RE: Netflix, state of the art? - by spikerguy - 04-27-2020, 12:02 PM
RE: Netflix, state of the art? - by gleachkr - 04-28-2020, 01:10 PM
RE: Netflix, state of the art? - by spikerguy - 04-30-2020, 07:05 AM
RE: Netflix, state of the art? - by spikerguy - 04-30-2020, 04:58 PM
RE: Netflix, state of the art? - by pfeerick - 05-01-2020, 03:02 AM
RE: Netflix, state of the art? - by whiskey - 05-02-2020, 12:29 PM
RE: Netflix, state of the art? - by kervel - 05-28-2020, 01:58 PM
RE: Netflix, state of the art? - by appelgriebsch - 07-16-2020, 01:26 AM
RE: Netflix, state of the art? - by mkdent - 07-17-2020, 10:26 PM
RE: Netflix, state of the art? - by appelgriebsch - 07-18-2020, 12:24 AM
RE: Netflix, state of the art? - by TonGruter - 07-28-2020, 02:27 PM
RE: Netflix, state of the art? - by spikerguy - 07-30-2020, 12:03 PM
RE: Netflix, state of the art? - by TheBackburner - 08-09-2020, 02:48 PM
RE: Netflix, state of the art? - by spikerguy - 08-14-2020, 06:28 AM
RE: Netflix, state of the art? - by appelgriebsch - 09-06-2020, 11:42 PM
RE: Netflix, state of the art? - by User 18041 - 09-09-2020, 08:44 AM
RE: Netflix, state of the art? - by spikerguy - 09-09-2020, 11:45 AM
RE: Netflix, state of the art? - by User 18041 - 09-10-2020, 03:36 AM
RE: Netflix, state of the art? - by wrzomar - 09-26-2020, 12:05 PM
RE: Netflix, state of the art? - by spikerguy - 10-11-2020, 04:04 AM
RE: Netflix, state of the art? - by PakoSt - 05-02-2020, 04:08 PM
RE: Netflix, state of the art? - by whiskey - 05-02-2020, 06:31 PM
RE: Netflix, state of the art? - by whiskey - 05-02-2020, 06:54 PM
RE: Netflix, state of the art? - by pfeerick - 05-03-2020, 06:17 AM
RE: Netflix, state of the art? - by whiskey - 05-03-2020, 08:02 AM
RE: Netflix, state of the art? - by Eight Bit - 05-03-2020, 09:28 AM
RE: Netflix, state of the art? - by spikerguy - 05-03-2020, 06:48 PM
RE: Netflix, state of the art? - by pfeerick - 05-04-2020, 06:39 AM
RE: Netflix, state of the art? - by spikerguy - 05-04-2020, 10:35 AM
RE: Netflix, state of the art? - by Eight Bit - 05-04-2020, 03:42 PM
RE: Netflix, state of the art? - by spikerguy - 05-06-2020, 02:19 AM
RE: Netflix, state of the art? - by Eight Bit - 05-07-2020, 03:48 AM
RE: Netflix, state of the art? - by spikerguy - 05-08-2020, 07:38 AM
RE: Netflix, state of the art? - by spikerguy - 05-20-2020, 10:25 PM
RE: Netflix, state of the art? - by Luke - 05-21-2020, 04:26 AM
RE: Netflix, state of the art? - by erchache2000 - 05-22-2020, 04:24 PM
RE: Netflix, state of the art? - by koparthur - 05-31-2020, 08:41 AM
RE: Netflix, state of the art? - by spikerguy - 05-31-2020, 02:12 PM
RE: Netflix, state of the art? - by koparthur - 05-31-2020, 03:55 PM
RE: Netflix, state of the art? - by spikerguy - 06-01-2020, 05:08 AM
RE: Netflix, state of the art? - by mkdent - 07-18-2020, 02:53 AM
RE: Netflix, state of the art? - by mkdent - 07-18-2020, 03:59 AM
RE: Netflix, state of the art? - by appelgriebsch - 07-18-2020, 04:37 AM
RE: Netflix, state of the art? - by mkdent - 07-18-2020, 07:40 AM
RE: Netflix, state of the art? - by wrzomar - 10-13-2020, 06:11 AM
RE: Netflix, state of the art? - by Mangled - 10-27-2020, 10:20 AM
RE: Netflix, state of the art? - by monty11ez - 11-25-2020, 05:28 PM
RE: Netflix, state of the art? - by wrzomar - 03-24-2021, 03:42 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Funny Conky like script to monitor your PBP state as400 1 3,634 08-19-2020, 12:57 PM
Last Post: xmixahlx
  Netflix on default Chromium/Debian MoonDog 8 11,399 01-28-2020, 04:58 AM
Last Post: simeon
  State of hibernate or hybrid-sleep? Arwen 5 8,247 11-21-2019, 07:51 AM
Last Post: tophneal

Forum Jump:


Users browsing this thread: 47 Guest(s)