View previous topic :: View next topic |
Author |
Message |
salfter Tux's lil' helper

Joined: 02 Jan 2003 Posts: 89
|
Posted: Mon Nov 16, 2020 3:59 am Post subject: raspberry-pi USE flag disabled...why? |
|
|
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 |
|
 |
Ant P. Watchman

Joined: 18 Apr 2009 Posts: 6920
|
Posted: Mon Nov 16, 2020 4:03 am Post subject: |
|
|
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 |
|
 |
NeddySeagoon Administrator


Joined: 05 Jul 2003 Posts: 55284 Location: 56N 3W
|
Posted: Mon Nov 16, 2020 12:19 pm Post subject: |
|
|
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 |
|
 |
salfter Tux's lil' helper

Joined: 02 Jan 2003 Posts: 89
|
Posted: Tue Nov 17, 2020 6:56 am Post subject: |
|
|
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 |
|
 |
NeddySeagoon Administrator


Joined: 05 Jul 2003 Posts: 55284 Location: 56N 3W
|
Posted: Tue Nov 17, 2020 11:37 am Post subject: |
|
|
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 |
|
 |
|