-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
rockchip-rk3588: Bump edge
kernel from 6.10 to 6.11-rc and current
from 6.8 to 6.10
#7015
Conversation
NanoPC CM3588 is now also included in mainline as rk3588-friendlyelec-cm3588-nas.dts, so I think we should use that. |
Seems like a v2 hdmitx patches have been sent yesterday. |
patch/kernel/archive/rockchip-rk3588-6.11/0026-RK3588-Add-VPU121-H.264-Decoder-Support.patch
Outdated
Show resolved
Hide resolved
patch/kernel/archive/rockchip-rk3588-6.11/0026-RK3588-Add-VPU121-H.264-Decoder-Support.patch
Outdated
Show resolved
Hide resolved
I've also derived them from Cristian's branch it should be up-to-date |
I will remove it and add a patch to enable HDMI on CM3588 |
Yes it has been added to mainline 🎉 I'll do this in a separate PR though since CM3588 needs some other new changes as well. I'll update a bunch of stuff :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Overall: nice, thanks 👍
I've got two comments though:
- Let's wait for ~rc3 (1.5 weeksfrom now) or at least rc2 before merging to have the first bugs ironed out.
- EOL 6.8
current
kernel should be bumped to 6.10 in this PR as well in a way that doesn't destroy git history, since it can just use the 6.10 patches we have now. I can have a look how the optimal approach would be to make git recognize most stuff as movbed or copied instead of deleted/newly added.
Agree. |
… add Hantro VPU back
308b591
to
8c2f105
Compare
Builds and boots on 5+ |
@efectn Hm I am confused. For me the green led already had the heartbeat trigger set before this change. /ot |
@igorpecovnik I suggest to late-merge this into 24.08 once ready. |
It's quite strange behavior since default-trigger is not defined for both LEDs; therefore, they both should be off by default. For example, blue LED does not have any default trigger because it's not defined by devicetree or at somewhere else. |
Yes it does |
Alright. Something was messed up in my brain. Sorry for the noise. And thanks for your patience. |
Thanks, this works! RC3 should be ready today or tomorrow probably. |
@efectn I tried to update to 6.11-rc3 but I can't push to this PR, likely because you want to merge this from a different account? |
edge
kernel from 6.10 to 6.11-rc and current
from 6.8 to 6.10
Yes it looks like. Can you send me your patch? I can apply it into the tree |
Remove one patch that is now included in the latest kernel revision.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I haven't done any thorough testing like HDMi and stuff, but from looking through the commits, the PR looks good to me in its current state 👍
What's up with this though? I guess it did not make it for 6.11, does anyone know if this VPU stuff is in the pipeline for 6.12? @amazingfate |
This is a bit complicated. RK3588 has two h264 decoder: hantro g1 and rkvdec2, but userspace applications like gstreamer and chromium can't deal with two decoder with the same codec. We did a hack in armbian to disable h264 hantro vpu and use h264 decoder in rkvdec2 to make chromium work out of box. And at the moment hantro vpu patches are not at a good state to be upstreamed. |
We should not stray too far from the upstream kernel in my opinion. If the Hantro G1 is hacked in and not in a good state (as in will not be upstreamed soon), we should remove it fully since it does not really provide any benefit. Its main benefit is/was H264 (the other codecs from Hantro G1 as far as I can see, VP8 and MPEG2 have no real relevance in 2024), but if rkvdec2 can do H264 in similar quality and is in a better patch state, we should only keep that one. Opinions? |
Hantro g1 provides vp8, and I think it's worth keeping the patch. |
I think the PR should be ready to merge. What do you think @amazingfate @ColorfulRhino |
I tried to build kernel 6.11 serval days ago, but at that time there is no kernel shallow cache in ghcr. I'm fine with it if you guys have tested the kernel since this is bleeding edge. |
just did a build and working fine on my headless rock5b |
That's... worrying. When there is no -rc, the shallow cache should carry torvald's master instead |
Where is VP8 used these days? Sites like Youtube use VP9 and AV1 for ages. I have personally never noticed any VP8 encoded videos. |
Fixed; it broke cos Torvalds pushed an |
Description
edge
kernel to 6.11current
kernel to 6.10To Do
USB-C doesn't work on both boards as far as i've tested. This needs to be checked. (also not working with 6.10)works but not stable like it wasHow Has This Been Tested?
Checklist:
Please delete options that are not relevant.