Netflix, state of the art?
#51
(05-07-2020, 03:48 AM)Eight Bit Wrote: Though maybe obvious, I had to try ^ ^
The Alsamixer DAC audio output of Chromium-armhf doesn't route to a connected bluetooth headset either.
I can easily have Chromium play spotify through the speakers while listening to a youtube from firefox through a headset.
It's not a bug, it's a feature! Smile
LOL!!!
Yes a feature for you :p 

Someone on Manjaro forum have advices a fix for Volume controller to be used in Chromium-Docker 
Here is the post
DE Volume Control Fix

I am testing it and then will see how I can get it included in the package so users can just upgrade the package to get it fixed.
Manjaro ARM Team.
Devices: Pinebook Pro & PinePhone.
  Reply
#52
Chromium Docker package updated to fix netflix-1080p plugin.
Manjaro ARM Team.
Devices: Pinebook Pro & PinePhone.
  Reply
#53
(05-20-2020, 10:25 PM)spikerguy Wrote: Chromium Docker package updated to fix netflix-1080p plugin.

Nice! Smile
You can find me on IRC, Discord and Twitter


  Reply
#54
I tested with Spotify and Netflix and runs nice! XD

I need little help reading this https://github.com/HenningThiemann/docke...mium-armhf

But runs... Tongue Tongue Tongue
  Reply
#55
Hello,

i think it should be possible to get rid of docker completely using debootstrap.
I got google chrome running as follows:

Code:
mkdir deb
debootstrap --arch=armhf buster deb
cp deb/lib/ld-linux-armhf.so.3 /lib
sudo chroot deb /bin/bash
Now inside the chroot i edited /etc/apt/sources.list to enable non-free and contrib and then i was able to do apt update && apt install chromium.
Once this is done, one can launch chromium as follows:
Code:
LD_LIBRARY_PATH=$PWD/lib:$PWD/usr/lib/:$PWD/usr/lib/arm-linux-gnueabihf/:\
$PWD/lib/arm-linux-gnueabihf/:$PWD/usr/lib/arm-linux-gnueabihf/pulseaudio/ \
usr/lib/chromium/chromium

this is without docker or chroot or x forwarding ..
  Reply
#56
Hi,
Here is my configuration of /usr/local/bin/chromium-armhf, with sound control (in Bluetooth too) :


Code:
#!/usr/bin/env bash

addrip="$(hostname -i | grep -v '127.0.0.1' | awk '{ print $1}')"

echo "Enabling XHost Forwarding"
xhost +local:docker

echo "Searching for Docker image ..."
DOCKER_IMAGE_ID=$(docker images -q hthiemann/chromium-armhf:latest | head -n 1)
echo "Found and using ${DOCKER_IMAGE_ID}"

docker run --rm --privileged \
-e DISPLAY=unix$DISPLAY \
-e PULSE_SERVER=tcp:${addrip}:4713 \
-e PULSE_COOKIE_DATA=`pax11publish -d | grep --color=never -Po '(?<=^Cookie: ).*'` \
-v chromium_home:/home \
-v /tmp/.X11-unix:/tmp/.X11-unix \
-v /dev:/dev -v /run:/run \
-v /etc/machine-id:/etc/machine-id \
--ipc=host \
 ${DOCKER_IMAGE_ID}

If it helps anyone.

Smile
  Reply
#57
(05-31-2020, 08:41 AM)koparthur Wrote: Hi,
Here is my configuration of /usr/local/bin/chromium-armhf, with sound control (in Bluetooth too) :


Code:
#!/usr/bin/env bash

addrip="$(hostname -i | grep -v '127.0.0.1' | awk '{ print $1}')"

echo "Enabling XHost Forwarding"
xhost +local:docker

echo "Searching for Docker image ..."
DOCKER_IMAGE_ID=$(docker images -q hthiemann/chromium-armhf:latest | head -n 1)
echo "Found and using ${DOCKER_IMAGE_ID}"

docker run --rm --privileged \
-e DISPLAY=unix$DISPLAY \
-e PULSE_SERVER=tcp:${addrip}:4713 \
-e PULSE_COOKIE_DATA=`pax11publish -d | grep --color=never -Po '(?<=^Cookie: ).*'` \
-v chromium_home:/home \
-v /tmp/.X11-unix:/tmp/.X11-unix \
-v /dev:/dev -v /run:/run \
-v /etc/machine-id:/etc/machine-id \
--ipc=host \
 ${DOCKER_IMAGE_ID}

If it helps anyone.

Smile
This needs paprefs with pulseaudio on network enabled right?

Nice I wanted to use something similar thanks for the code.
Manjaro ARM Team.
Devices: Pinebook Pro & PinePhone.
  Reply
#58
(05-31-2020, 02:12 PM)spikerguy Wrote:
(05-31-2020, 08:41 AM)koparthur Wrote: Hi,
Here is my configuration of /usr/local/bin/chromium-armhf, with sound control (in Bluetooth too) :


Code:
#!/usr/bin/env bash

addrip="$(hostname -i | grep -v '127.0.0.1' | awk '{ print $1}')"

echo "Enabling XHost Forwarding"
xhost +local:docker

echo "Searching for Docker image ..."
DOCKER_IMAGE_ID=$(docker images -q hthiemann/chromium-armhf:latest | head -n 1)
echo "Found and using ${DOCKER_IMAGE_ID}"

docker run --rm --privileged \
-e DISPLAY=unix$DISPLAY \
-e PULSE_SERVER=tcp:${addrip}:4713 \
-e PULSE_COOKIE_DATA=`pax11publish -d | grep --color=never -Po '(?<=^Cookie: ).*'` \
-v chromium_home:/home \
-v /tmp/.X11-unix:/tmp/.X11-unix \
-v /dev:/dev -v /run:/run \
-v /etc/machine-id:/etc/machine-id \
--ipc=host \
 ${DOCKER_IMAGE_ID}

If it helps anyone.

Smile
This needs paprefs with pulseaudio on network enabled right?

Nice I wanted to use something similar thanks for the code.

Yes, and you have to activate that in Paprefs (sorry it's in french) :

[Image: Screenshot_20200531_233954.png]
I activated the PulseAudio server (Papref) and modified /usr/local/bin/chromium-armhf, it works fine.
The only problem is that if the IPv4 of the PBP changes, the sound doesn't work anymore and you have to restart Chromium.
  Reply
#59
(05-31-2020, 03:55 PM)koparthur Wrote:
(05-31-2020, 02:12 PM)spikerguy Wrote:
(05-31-2020, 08:41 AM)koparthur Wrote: Hi,
Here is my configuration of /usr/local/bin/chromium-armhf, with sound control (in Bluetooth too) :


Code:
#!/usr/bin/env bash

addrip="$(hostname -i | grep -v '127.0.0.1' | awk '{ print $1}')"

echo "Enabling XHost Forwarding"
xhost +local:docker

echo "Searching for Docker image ..."
DOCKER_IMAGE_ID=$(docker images -q hthiemann/chromium-armhf:latest | head -n 1)
echo "Found and using ${DOCKER_IMAGE_ID}"

docker run --rm --privileged \
-e DISPLAY=unix$DISPLAY \
-e PULSE_SERVER=tcp:${addrip}:4713 \
-e PULSE_COOKIE_DATA=`pax11publish -d | grep --color=never -Po '(?<=^Cookie: ).*'` \
-v chromium_home:/home \
-v /tmp/.X11-unix:/tmp/.X11-unix \
-v /dev:/dev -v /run:/run \
-v /etc/machine-id:/etc/machine-id \
--ipc=host \
 ${DOCKER_IMAGE_ID}

If it helps anyone.

Smile
This needs paprefs with pulseaudio on network enabled right?

Nice I wanted to use something similar thanks for the code.

Yes, and you have to activate that in Paprefs (sorry it's in french) :

[Image: Screenshot_20200531_233954.png]
I activated the PulseAudio server (Papref) and modified /usr/local/bin/chromium-armhf, it works fine.
The only problem is that if the IPv4 of the PBP changes, the sound doesn't work anymore and you have to restart Chromium.

The only problem is that if the IPv4 of the PBP changes, the sound doesn't work anymore and you have to restart Chromium.

If IP changes then a restart is a must as even your internet will stop working. That is how dockers work Wink
Manjaro ARM Team.
Devices: Pinebook Pro & PinePhone.
  Reply
#60
(05-28-2020, 01:58 PM)kervel Wrote: Hello,

i think it should be possible to get rid of docker completely using debootstrap.
I got google chrome running as follows:

Code:
mkdir deb
debootstrap --arch=armhf buster deb
cp deb/lib/ld-linux-armhf.so.3 /lib
sudo chroot deb /bin/bash
Now inside the chroot i edited /etc/apt/sources.list to enable non-free and contrib and then i was able to do apt update && apt install chromium.
Once this is done, one can launch chromium as follows:
Code:
LD_LIBRARY_PATH=$PWD/lib:$PWD/usr/lib/:$PWD/usr/lib/arm-linux-gnueabihf/:\
$PWD/lib/arm-linux-gnueabihf/:$PWD/usr/lib/arm-linux-gnueabihf/pulseaudio/ \
usr/lib/chromium/chromium

this is without docker or chroot or x forwarding ..

Hey,

I just did this based on a systemd-nspawn container following the guides here:
Works pretty well and doesn't need a docker daemon running in the background. My scripts for integration in Manjaro:
Like this idea much better than the docker image approach...
  Reply


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

Forum Jump:


Users browsing this thread: 1 Guest(s)