User avatar
Gavinmc42
Posts: 5678
Joined: Wed Aug 28, 2013 3:31 am

Re: Moving Linux Kernel to 5.10

Wed Jun 09, 2021 1:43 am

Pi3 and Pi4 decode HEVC in totally different ways. Pi4 has dedicated hardware. Pi3 reuses H264 hardware that it can, but otherwise uses the VPU and QPUs to accelerate other parts of the decode.
I thought the Pi4 was using the Arm cores to decode H.265?
Is there "dedicated" hardware for this?
I'm dancing on Rainbows.
Raspberries are not Apples or Oranges

6by9
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 11247
Joined: Wed Dec 04, 2013 11:27 am
Location: ZZ9 Plural Z Alpha, aka just outside Cambridge.

Re: Moving Linux Kernel to 5.10

Wed Jun 09, 2021 9:40 am

Gavinmc42 wrote:
Wed Jun 09, 2021 1:43 am
Pi3 and Pi4 decode HEVC in totally different ways. Pi4 has dedicated hardware. Pi3 reuses H264 hardware that it can, but otherwise uses the VPU and QPUs to accelerate other parts of the decode.
I thought the Pi4 was using the Arm cores to decode H.265?
Is there "dedicated" hardware for this?
Yes.
See driver at https://github.com/raspberrypi/linux/tr ... dia/rpivid, enabled via https://github.com/raspberrypi/linux/bl ... verlay.dts. It uses the V4L2 stateless decoder API.
Software Engineer at Raspberry Pi Trading. Views expressed are still personal views.
I'm not interested in doing contracts for bespoke functionality - please don't ask.

Aardappeltaart
Posts: 168
Joined: Wed Mar 02, 2016 11:32 am

Re: Moving Linux Kernel to 5.10

Wed Jun 09, 2021 11:47 am

6by9 wrote:
Tue Jun 08, 2021 10:38 am
Aardappeltaart wrote:
Tue Jun 08, 2021 9:06 am
6by9 wrote:
Tue Jun 08, 2021 6:30 am

Title of #4112

So why are you commenting there when your problem is on a Pi4? Conflating unrelated issues is not helpful.
Because of this?
viewtopic.php?f=66&t=251645&start=475#p1830032

And because maybe the Github issue is related, and the title is just not 100% correct. In OP 4112 it is stated that RPI4 is playing HEVC files fine, which is not the case.
Pi3 and Pi4 decode HEVC in totally different ways. Pi4 has dedicated hardware. Pi3 reuses H264 hardware that it can, but otherwise uses the VPU and QPUs to accelerate other parts of the decode.
I just give a plausible reason why Pi4 users are commenting on the github thread.

Maybe it's not clear to users that the RPI3/RPI4 issues are not related: HEVC playback is broken on kernel 5.10, that's what they experience.

greg.ooi
Posts: 11
Joined: Fri May 28, 2021 7:25 am
Location: Australia

Re: Moving Linux Kernel to 5.10

Fri Jun 11, 2021 1:38 am

For HEVC 4K video playback/hardware decoding ... try
Libreelec 10.0 (build 19.1.0) compiled 2021-06-04 RPI4
GPU: V3D 4.2
OpenGL : OpenGL ES 3.1 Mesa 21.0.3
(Linux Kernel 5.10.x)

https://test.libreelec.tv/
https://test.libreelec.tv/LibreELEC-RPi ... d15.img.gz

HEVC playback was seamless and impressive. Just works on RPI4 and CM4 4G mem.

User avatar
dickon
Posts: 1892
Joined: Sun Dec 09, 2012 3:54 pm
Location: Home, just outside Reading

Re: Moving Linux Kernel to 5.10

Fri Jun 11, 2021 2:01 pm

I've had 8b 4k HEVC playback on 5.10.17-v8+ flawlessly in vlc on the console. Works well.
As it is apparently board policy to disallow any criticism of anything, as it appears to criticise something is to criticise all the users of that something, I will no longer be commenting in threads which are not directly relevant to my uses of the Pi.

Return to “Advanced users”