Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
arm64 build for kodi-pvr-hts
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on ARM
View previous topic :: View next topic  
Author Message
Just in
n00b
n00b


Joined: 27 Oct 2020
Posts: 3

PostPosted: Tue Oct 27, 2020 6:05 am    Post subject: arm64 build for kodi-pvr-hts Reply with quote

My intention is to use my RPi4 as a PVR and have a web browser. 

I don't see the point of having 64 bit architecture and running a 32 bit OS though, so I tried Ubuntu 20.0.4, but the playback of videos on VLC and Kodi was really sluggish. 

I am now using sakaki's gentoo distribution which is more than excellent for video playback - CPU core temps were in the low sixties with Ubuntu, but now hover in the high forties with gentoo.

What I'd like is to use kodi as a frontend for tvheadend for which I need an arm64 distribution of kodi-pvr-hts - anyone out there able to help?

I did try compiling kodi myself because you need a kodi-build directory before you can compile pvr.hts - but I can't get passed 12% of the build process after some Makefile2 error which I have no idea how to resolve.

I'm open to trying different known good setups, but I'm so close with gentoo already . . .

Shout out to sakaki and everyone else who makes Linux and RPi so awesome!

Domo arigato gozaimasu
Back to top
View user's profile Send private message
candrews
Developer
Developer


Joined: 10 Aug 2005
Posts: 160

PostPosted: Fri Oct 30, 2020 4:19 pm    Post subject: Reply with quote

Why not just emerge media-plugins/kodi-pvr-hts?
_________________
I'm working on a variety of random things throughout Gentoo.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 46684
Location: 56N 3W

PostPosted: Fri Oct 30, 2020 8:04 pm    Post subject: Reply with quote

media-plugins/kodi-pvr-hts is keyworded
Code:
KEYWORDS="~amd64 ~x86"

That means its not tested on arm64.

Don't use the -9999 version.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
Just in
n00b
n00b


Joined: 27 Oct 2020
Posts: 3

PostPosted: Sat Oct 31, 2020 6:25 am    Post subject: Reply with quote

I did try to emerge before posting and failed with a message about things being masked. After searching and trying the 'missing keyword' workaround it still said that 'All ebuilds that could satisfy ... have been masked'

I believe NeddySeagoon is inferring that I can still emerge a specific version, but I have yet to figure out how to do so.

Not that it matters anyway, my idea is to use the RPi4 as a PVR, but I have subsequently found that the Hauppauge WinTV DualHD USB that I bought does not have drivers for arm64 outside of RPi OS. So looks like a dead end from here.

This is a shame because sakaki's gentoo build for RPi is the best I've seen so far for video playback - be it through a browser or a media player.

I'm now trying the 32 bit recommended OS from RPi but after streaming a show on Chromium and Firefox I'm not impressed - crackling from the former and video lag on the latter.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 46684
Location: 56N 3W

PostPosted: Sat Oct 31, 2020 11:47 am    Post subject: Reply with quote

Just in,

I've tried too. You need to play with directory called /etc/portage/package.accept_keywords.

Create a file in there (the name won't matter) containing a comment and the line
Code:
<media-plugins/kodi-pvr-hts-9999 **

The comment is optional, its for you when you come back in 6 months.

The ** is a special keyword that matches anything, including no keywords at all.

I ran into trouble with ffmpeg. The genpi64 version has some Raspberry Pi specific patches.
They enable hardware decoding on the Pi. It not clear to me yet if they made it upstream or not.
Anyway, Kodi needs a newer version of ffmpeg than the one provided in the genpi64 overlay.
Sadly, Sakaki is unlikely to fix it.

However, all the bits are freely available, so it can be done.

Unless the drivers for your USB TV stick are evil binary only blobs, the source code will be available, so they can be built for Gentoo too.
Maybe its one of these?
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
Just in
n00b
n00b


Joined: 27 Oct 2020
Posts: 3

PostPosted: Mon Nov 02, 2020 10:42 am    Post subject: Reply with quote

Thank you NeddySeagoon for the instructions on package.accept_keywords - whatever I found out there on the 'interweb' and tried was clearly wrong.

Thanks also for the other links. Was surprised to read of the constraining legal requirement and what it in turn means for us mere mortals . . .

I've done a fair bit of searching, but clearly not enough as the last link you provided has evaded me all this while. I'll most probably not try compiling the source myself and go along with running RPi OS 32 on my RPi4 :roll:

For closure and anyone else reading this: I did try making the directory and file as per NeddySeagoon's instructions and after running emerge I do get as far as the ffmpeg 4.3.1 requirement which was much further than before.

Warmest regards
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 46684
Location: 56N 3W

PostPosted: Mon Nov 02, 2020 11:02 am    Post subject: Reply with quote

Just in,

Good luck.

Quote:
... and go along with running RPi OS 32 on my RPi4

That's like keeping a Ferrari, just to drive to the corner shop. :)
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on ARM All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum