sakaki- / gentoo-on-rpi-64bit

Bootable 64-bit Gentoo image for the Raspberry Pi4B, 3B & 3B+, with Linux 5.4, OpenRC, Xfce4, VC4/V3D, camera and h/w codec support, weekly-autobuild binhost
GNU General Public License v3.0
925 stars 127 forks source link

Project Replace my AppleTV3 #158

Open Sudrien opened 4 years ago

Sudrien commented 4 years ago

This isn't a bug as much as notes for a particular use case.

  1. Kodi & Remote control - success

HDMI-CDC allows kodi menu navigation with your normal tv remote control, if the tv you pi is connected to supports it. Mine does, after I enabled it in settings.

The "cec" USE flag and dev-libs/libcec-4.0.2-r2 are the important things here.

/etc/portage/package.accept_keywords/zzz_via_autounmask currently looks like

<dev-libs/libplatform-9999 **
=sys-kernel/raspberrypi-sources-4.19.9999 **
<dev-libs/libcec-9999 **
<media-plugins/kodi-game-libretro-9999 **
<media-libs/kodi-platform-9999 **
<media-plugins/kodi-peripheral-joystick-9999 **

<media-plugins/kodi-audioencoder-flac-9999 **
<media-plugins/kodi-audioencoder-lame-9999 **
<media-plugins/kodi-audioencoder-vorbis-9999 **
<media-plugins/kodi-audioencoder-wav-9999 **
<media-plugins/kodi-audioencoder-wav-9999 **

<media-plugins/kodi-inputstream-adaptive-9999 **
<media-plugins/kodi-inputstream-rtmp-9999 **

<media-plugins/kodi-screensaver-asteroids-9999 **
<media-plugins/kodi-screensaver-biogenesis-9999 **
<media-plugins/kodi-screensaver-greynetic-9999 **
<media-plugins/kodi-screensaver-pingpong-9999 **
<media-plugins/kodi-screensaver-pyro-9999 **

<media-plugins/kodi-visualization-fishbmc-9999 **
<media-plugins/kodi-visualization-goom-9999 **
<media-plugins/kodi-visualization-projectm-9999 **
<media-plugins/kodi-visualization-shadertoy-9999 **
<media-plugins/kodi-visualization-spectrum-9999 **
<media-plugins/kodi-visualization-starburst-9999 **
<media-plugins/kodi-visualization-waveform-9999 **

....yes, I'm trying to avoid the git-based ebuilds.

The currently provided Kodi binary is compiled without CEC. It will take a bit.

Restart the tv and pi, start up kodi, and after a few seconds it should kick in.

  1. Netflix - FAILURE

https://github.com/CastagnaIT/plugin.video.netflix/ is the current kodi plugin. it has 2 caveats:

https://bugs.gentoo.org/667764 - instead of a emerge dev-python/pycparser, I did a pip install pycparser --user for the netflix service to stop crashing.

Widevine ARM64 support - as of writing, CastagnaIT downloads an arm32 chrome restore image to get the library, before kindly informing you it doesn't have arm64 support.

Instructions on installing a spoofed browser MAY be helpful in continuing

https://blog.vpetkov.net/2020/03/30/raspberry-pi-netflix-one-line-easy-install-along-with-hulu-amazon-prime-disney-plus-hbo-spotify-pandora-and-many-others/ https://blog.vpetkov.net/2019/07/12/netflix-and-spotify-on-a-raspberry-pi-4-with-latest-default-chromium/

...and no, they have not been so far. Heaver with browser string spoofing, nothing has actually gotten me video from Netfilx under arm64.

I'll need to try an armhf build.

  1. Youtube - success

Why do I need an API key? because because

https://ytaddon.page.link/keys => https://github.com/jdf76/plugin.video.youtube/wiki/Personal-API-Keys

The process requires an API key, Oauth credentials and Oath secret, and two sign-ins to google.com/device - though the lack of a "home" equivalent, suggestion that aren't the latest from subscriptions, mitigates the use a bit.

  1. Retropi - in progress

None of the emulation-centered disros I tested supported CEC - and the kodi-centered disros didn't support a controller. media-plugins/kodi-peripheral-joystick takes care of that one way, but... it seems sort of buggy. As in, I haven't figured out which buttons to press yet.

https://github.com/dillbyrne/es-cec-input is a fallback, but there seem to be some retropie & emulationstation compile time options floating around. They'd need to be exposed with USE flags.

layman -a vortex is a starting point.

Since the retroarch online updater doesn't do you much good here, might as well set some use flags to get all the graphics - games-emulation/retroarch-assets ozone xmb materialui

1080p proved to be stutter-y for my purchaed-through-steam roms, 720p seems to be working better. No real reason not to have that be my default resolution.

I will be forking vortex to get some more consoles available to kodi, like media-plugins/kodi-game-libretro-genplus - but can't seem to actually access them from the interface with a non-9999 build.

To be updated as progress is made.

sakaki- commented 4 years ago

FYI, I've now enabled the cec USE flag for kodi; please see #165

Best, sakaki

sakaki- commented 3 years ago

30 Oct 2020: sadly, due legal obligations arising from a recent change in my 'real world' job, I must announce I am standing down as maintainer of this project with immediate effect. For the meantime, I will leave the repo up (for historical interest, and since the images may be of use still in certain applications); however, there will be no further updates to the underlying binhost etc., nor will I be accepting / actioning further pull requests or bug reports from this point. Email requests for support will also have to be politely declined, so, please treat this as an effective EOL notice.

For further details, please see my post here.

Many thanks for your interest in this project!

With sincere apologies, sakaki ><