Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
raspberry-pi USE flag disabled...why?
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
salfter
Tux's lil' helper
Tux's lil' helper


Joined: 02 Jan 2003
Posts: 89

PostPosted: Mon Nov 16, 2020 3:59 am    Post subject: raspberry-pi USE flag disabled...why? Reply with quote

I put the latest (1.6.0) 64-bit image on an SD card and popped it into a Raspberry Pi 4B. My intent was to get Kodi running on it, and then copy the image to the Raspberry Pi 3B stuck behind my TV. However, I needed to enable MySQL and NFS support. I did that, let everything rebuild, fired up Kodi...and got stuttering video playback.

It looks like the raspberry-pi USE flag, which is recognized by the Kodi ebuild, is masked so that I can't enable it. Even on a Raspberry Pi. I played a video and tabbed over to a terminal window running top; I was getting somewhere around 250% or so CPU usage from Kodi, which would indicate it's doing software decoding. Ick.

I've tried adding use.mask and use.unmask directories to /etc/portage. I've tried setting -raspberry-pi and raspberry-pi in them. None of them seem to make a difference. There has to be something I'm doing wrong here, but what is it?
Back to top
View user's profile Send private message
Ant P.
Watchman
Watchman


Joined: 18 Apr 2009
Posts: 6920

PostPosted: Mon Nov 16, 2020 4:03 am    Post subject: Reply with quote

use.{,un}mask goes in /etc/portage/profile/.

It looks like those flags are correctly unmasked on arm, but you're using arm64.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


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

PostPosted: Mon Nov 16, 2020 12:19 pm    Post subject: Reply with quote

salfter,

Quote:
I put the latest (1.6.0) 64-bit image ...
Is that Sakakis image?

What version of kodi do you have?
Sakaki did a specially patched ffmpeg and Kodi to get hardware accelerated video decoding on the Pi.
That work was for old versions of Kodi and ffmpeg.

As far as I know, it was never upstreamed.
_________________
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
salfter
Tux's lil' helper
Tux's lil' helper


Joined: 02 Jan 2003
Posts: 89

PostPosted: Tue Nov 17, 2020 6:56 am    Post subject: Reply with quote

NeddySeagoon wrote:
salfter,

Quote:
I put the latest (1.6.0) 64-bit image ...
Is that Sakakis image?


Yes.

Quote:

What version of kodi do you have?


I've been trying to build 18.9.

Quote:

Sakaki did a specially patched ffmpeg and Kodi to get hardware accelerated video decoding on the Pi.
That work was for old versions of Kodi and ffmpeg.

As far as I know, it was never upstreamed.


A bit of poking around turned up a 17.x ebuild in (IIRC) the genpi64 overlay...would that be the one? Maybe I should just roll the whole install back to that and just rebuild it with MySQL and NFS support, rather than try updating the whole system.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


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

PostPosted: Tue Nov 17, 2020 11:37 am    Post subject: Reply with quote

salfter,

You should have a working ffmpeg and kodi in that image, as long as you use it as is.
Portage will choose newer versions in ::gentoo over older versions in Sakakis overlay.

The newer versions in the ::gentoo repo will not provide hardware decoding.
_________________
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