Netflix, state of the art? - Printable Version +- PINE64 (https://forum.pine64.org) +-- Forum: Pinebook Pro (https://forum.pine64.org/forumdisplay.php?fid=111) +--- Forum: Linux on Pinebook Pro (https://forum.pine64.org/forumdisplay.php?fid=114) +--- Thread: Netflix, state of the art? (/showthread.php?tid=9680) |
RE: Netflix, state of the art? - mkdent - 07-17-2020 (07-16-2020, 01:26 AM)@appelgriebsch I do like this idea, too. I tried it out, but get an error message concerning ChromeOs. Wrote: RE: Netflix, state of the art? - appelgriebsch - 07-18-2020 @mkdent looks like your debootstrap command wasn’t successful. The chromeos image part is just for copying over the widevine plugins. Before that it should have created a Debian armhf container via debootstrap... this seems to fail or not being run at all -> Setting up environment in systemd container chromium_widevine... Directory /var/lib/machines/chromium_widevine doesn't look like it has an OS tree. Refusing. did you run the full script or just parts of it? Related line in script: https://gitlab.manjaro.org/manjaro-arm/applications/arm-profiles/-/blob/master/overlays/sway/usr/local/bin/install_chromium_widevine.sh#L67 RE: Netflix, state of the art? - mkdent - 07-18-2020 Hi bappelgriebsch, thank you for helping! I did run the full script. So I did run debootstrap --include=systemd-container,debconf --components=main,universe --arch=armhf 'buster' 'chromium_widevine' manually in /var/libs/machines which run successfully. I then run ./install_chromium_widevine.sh but got a final Error message -> Downloading ChromeOS image... % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 976M 100 976M 0 0 2972k 0 0:05:36 0:05:36 --:--:-- 3673k -> Mounting local ChromeOS image... -> Setting up environment in systemd container chromium_widevine... E: dpkg was interrupted, you must manually run 'dpkg --configure -a' to correct the problem. E: dpkg was interrupted, you must manually run 'dpkg --configure -a' to correct the problem. cp: cannot overwrite non-directory '/usr/lib/chromium-browser' with directory '/tmp/chromium/img/opt/google/chrome/pepper' cp: failed to access '/usr/lib/chromium-browser/netflix-1080p': Not a directory cp: cannot create regular file '/etc/chromium-browser/default': No such file or directory useradd: warning: the home directory already exists. Not copying any file from skel directory into it. Adding user chromium to group audio -> Cleaning up... ==> All done! You can use the launcher to start the Chromium Widevine application When i run launch_chromium_widevine.sh then on-network local connections being added to access control list Spawning container chromiumwidevine on /var/lib/machines/chromium_widevine. Press ^] three times within 1s to kill container. Failed to stat /run/user/0/bus: No such file or directory Any idea how to solve this? Should I start from the beginning? RE: Netflix, state of the art? - mkdent - 07-18-2020 @appelgriebsch Changing to non-root user this happpens: [michael@michihost Downloads]$ ./launch_chromium_widevine.sh non-network local connections being added to access control list Spawning container chromiumwidevine on /var/lib/machines/chromium_widevine. Press ^] three times within 1s to kill container. execv(/usr/bin/chromium-browser) failed: No such file or directory Container chromiumwidevine failed with error code 1. RE: Netflix, state of the art? - appelgriebsch - 07-18-2020 Quote:I E: dpkg was interrupted, you must manually run 'dpkg --configure -a' to correct the problem. Looks like your bootstrapped Debian is broken. Hard to say why this happened, I did a couple of iterations with the script already, but never having such issue. That’s said some error handling in the script might still be missing. Best choice for you is to start from scratch and remove the chromium_widevine folder. When successful the script is executing the following successive steps: 1. debootstrap a plain Debian 10 armhf into the chromium_widevine folder 2. cloning a git repo with a compatible Chromium browser version to a local cache folder /var/cache/... 3. download the chromeos image from google for the widevine extension 4. run a setup script in the bootstrapped folder that - will install required dependencies for running graphical applications - will install the chromium-browser from the git repo - copy additional files from the mounted chromeos image to the correct places for the chromium-browser - create a chromium user account and add it to the audio group All of this has to be run in these steps and have to complete successfully in order to use the launch script later. I haven’t had any troubles so far with this procedure, but in doubt I would always clean up the mess and start again from the very beginning. Good luck! RE: Netflix, state of the art? - mkdent - 07-18-2020 @appelgriebsch thank you so much. Meanwhile I could solve my problem, although I don't know the exact reason for it. I had to remove the systemd-nspawn container and then start the install script again Now it's running. I do have a little performance issues like youtube videos get quite often interrupted. Manjaro is running on SD card, by the way. When launching chrome these are the messages. Is this as it should be? [michael@michihost Downloads]$ ./launch_chromium_widevine.sh non-network local connections being added to access control list Spawning container chromiumwidevine on /var/lib/machines/chromium_widevine. Press ^] three times within 1s to kill container. /usr/bin/chromium-browser: line 133: lsb_release: command not found /usr/bin/chromium-browser: line 134: lsb_release: command not found Pepper Flash detected. [4:31:0718/152951.865655:ERROR:bus.cc(393)] Failed to connect to the bus: Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory libEGL warning: DRI2: failed to open rockchip (search paths /usr/lib/arm-linux-gnueabihf/dri:\$${ORIGIN}/dri:/usr/lib/dri) libEGL warning: DRI2: could not open /dev/dri/card1 (Operation not permitted) [41:41:0718/152953.924398:ERRORandbox_linux.cc(369)] InitializeSandbox() called with multiple threads in process gpu-process. [4:271:0718/152954.106655:ERROR:bus.cc(393)] Failed to connect to the bus: Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory [4:271:0718/152954.106798:ERROR:bus.cc(393)] Failed to connect to the bus: Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory [4:271:0718/152954.106961:ERROR:bus.cc(393)] Failed to connect to the bus: Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory [4:271:0718/152954.107056:ERROR:bus.cc(393)] Failed to connect to the bus: Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory [4:271:0718/152954.107144:ERROR:bus.cc(393)] Failed to connect to the bus: Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory RE: Netflix, state of the art? - TonGruter - 07-27-2020 (07-27-2020, 09:38 AM)TonGruter Wrote:Now everything is installed I still got the error that lsb_release command is not found although it is installed. What is going wrong here?(04-30-2020, 04:58 PM)spikerguy Wrote: We have a stable Chromium-Armv7 application which can work quite smoothly on PBP and play netflix and Amazon as per my test. Some one can also try Spotify.Hi, it seems URL is not working anymore: Can anyone help me with this? Thanks, Ton RE: Netflix, state of the art? - TonGruter - 07-28-2020 (04-30-2020, 04:58 PM)spikerguy Wrote: We have a stable Chromium-Armv7 application which can work quite smoothly on PBP and play netflix and Amazon as per my test. Some one can also try Spotify.Hi, I've done all of this but keep hitting an error while running the script: lsb_release: command not found But this is actually installed: Code: LSB Version: n/a What is going wrong here? Can someone help me with this? Thanks, Ton RE: Netflix, state of the art? - spikerguy - 07-30-2020 Hello, Can you provide some logs so someone can look into it and know what might be causing the issue. Please share the output of the logs when it is trying to install the package. Sorry for the inconvenience caused. RE: Netflix, state of the art? - TheBackburner - 08-09-2020 (07-30-2020, 12:03 PM)spikerguy Wrote: Hello, @spikerguy , is what you need the output when trying to run chromium-docker? If so, see below: Code: Enabling XHost Forwarding If there's something else needed, could you help me out with what commands or program I would need to run to get the output you're looking for? I'm a bit of a Linux noob, so I'm not even sure what providing logs entails, and I didn't have much success Googling the topic. I'd love to get this program running again, so I'd be happy to provide any output you might need. Please let me know what I can do to help. Thanks! |