ChanServ changed the topic of #linux-rockchip to: Rockchip development discussion | IRC log http://irclog.whitequark.org/linux-rockchip | Community GH https://github.com/linux-rockchip | Rockchip GH https://github.com/rockchip-linux | ML https://groups.google.com/group/linux-rockchip
stikonas has quit [Remote host closed the connection]
vicencb has quit [Quit: Leaving.]
_whitelogger has joined #linux-rockchip
vstehle has quit [Ping timeout: 240 seconds]
camus1 has joined #linux-rockchip
kaspter has quit [Ping timeout: 256 seconds]
camus1 is now known as kaspter
vstehle has joined #linux-rockchip
ldevulder has joined #linux-rockchip
ldevulder has quit [Quit: Leaving]
lkcl__ has quit [Ping timeout: 246 seconds]
lkcl has joined #linux-rockchip
lkcl_ has joined #linux-rockchip
lkcl has quit [Ping timeout: 260 seconds]
nlhowell has quit [Ping timeout: 240 seconds]
kevery has joined #linux-rockchip
robmur01_ has joined #linux-rockchip
lkcl__ has joined #linux-rockchip
robmur01 has quit [Ping timeout: 258 seconds]
lkcl_ has quit [Ping timeout: 258 seconds]
camus1 has joined #linux-rockchip
kaspter has quit [Ping timeout: 258 seconds]
camus1 is now known as kaspter
ldevulder has joined #linux-rockchip
kaspter has quit [Ping timeout: 265 seconds]
kaspter has joined #linux-rockchip
ldevulder_ has joined #linux-rockchip
ldevulder has quit [Ping timeout: 256 seconds]
jaganteki has joined #linux-rockchip
jaganteki has quit [Remote host closed the connection]
ldevulder_ is now known as ldevulder
vicencb has joined #linux-rockchip
stikonas has joined #linux-rockchip
mraynal has quit [Read error: Connection reset by peer]
robmur01_ is now known as robmur01
mraynal has joined #linux-rockchip
kaspter has quit [Ping timeout: 256 seconds]
kaspter has joined #linux-rockchip
kevery1 has joined #linux-rockchip
kevery has quit [Ping timeout: 240 seconds]
kevery1 is now known as kevery
kevery has quit [Ping timeout: 258 seconds]
putti_ has joined #linux-rockchip
Putti has quit [Ping timeout: 258 seconds]
putti_ is now known as Putti
<warpme_> guys: can somebody hint me how to rise vdec clock on 3328? Currently v4l2_request decode speed is like 1.1x framerate and I think issue is v.low clocked vdec (i.e. on H6 the same test gives 4.5x speed)
nlhowell has joined #linux-rockchip
camus1 has joined #linux-rockchip
kaspter has quit [Ping timeout: 256 seconds]
camus1 is now known as kaspter
kevery has joined #linux-rockchip
kevery1 has joined #linux-rockchip
kevery has quit [Ping timeout: 258 seconds]
kevery1 is now known as kevery
<robmur01> warpme_: figure out the relevant clocks, hack "assigned_clock_rates" appropriately into your DT
<robmur01> (s/_/-/, derp)
nlhowell has quit [Ping timeout: 256 seconds]
<robmur01> many folks are already doing that for the GPU clock, since that defaults to a measly 164MHz
<warpme_> robmur01: I already tired to play with this in dts. Issue is that i'm not receiving feedback from system :-( (my changes are not changing speed of decoding nor are visible in SoC clock summary). Here is relevant fragment:
<warpme_> i simply don't know which one is about vdec clock....
<warpme_> for GPU/CPU i already managed. issue is video decoder....
<robmur01> hclk shouldn't matter much, aclk *might* if by default it's low enough to limit memory access bandwidth
camus1 has joined #linux-rockchip
kaspter has quit [Ping timeout: 258 seconds]
camus1 is now known as kaspter
<robmur01> that said, looking at mainline rkvdec it already has clock support, so maybe just hacking in some more clk_set_rate() calls there might be more robust
camus1 has joined #linux-rockchip
kaspter has quit [Ping timeout: 258 seconds]
camus1 is now known as kaspter
<warpme_> and nothing. no any change in deceasing speed....
<warpme_> deceasing->decoding
kevery has quit [Quit: kevery]
kaspter has quit [Ping timeout: 258 seconds]
kaspter has joined #linux-rockchip
JohnDoe_71Rus has joined #linux-rockchip
<warpme_> heh - there must be something other limiting decoding speed. I increase clock in rk3399_vpu_hw.c from 400 to 600MHz and decoding speed is exactly the same. So maybe there is another clock having impact on data throughput feeding decoder or setting decoder clock in rk3399_vpu_hw.c has bug and decoder isn't set properly. change from 400->600 is seen in clk_summary:
<warpme_> i'm out of ideas...
kaspter has quit [Ping timeout: 265 seconds]
kaspter has joined #linux-rockchip
nlhowell has joined #linux-rockchip
sphalerite has quit [Quit: WeeChat 2.6]
sphalerite has joined #linux-rockchip
<Esmil> I have arm64 .configs here for both rk3399-gru-keven and rk3399-rock-pi-4 that won't load modules unless I revert 5c3a7db0c7ec4bbd5bd3f48af9be859a8fa3e532
<Esmil> have anyone else seen that?
vicencb has quit [Quit: Leaving.]
<robmur01> Esmil: yup, apparently it's down to a toolchain bug, but workarounds are pending - https://lore.kernel.org/lkml/20200808101222.5103093e@coco.lan/
<Esmil> robmur01: cool, thanks
<Esmil> i was actually going to say it probably had something to do with using rawhides latest aarch64-linux-gnu-
JohnDoe_71Rus has quit [Quit: KVIrc 5.0.0 Aria http://www.kvirc.net/]
<robmur01> yeah, it's a bad time to be updating toolchains right now - GCC 10.2 also has a bug that prevents building some of the arm64 crypto code
<mps> Esmil: what is kernel version?
<Esmil> 5.8.6, but that patch entered in 5.8-rc1
<mps> 5.8.{1-5} works fine on my gru-kevin
<mps> lets try 5.8.6
<Esmil> right, then you're probably using an older toolchain without the bug
<Esmil> so you should be fine
kaspter has quit [Ping timeout: 264 seconds]
<mps> CONFIG_CC_VERSION_TEXT="gcc (Alpine 10.2.0) 10.2.0"
kaspter has joined #linux-rockchip
<mps> that is for testing 5.9-rc series
<robmur01> actually, it looks like a fix is already in linux-next, commit e0328feda79d
<mps> and also for 5.8.5 => CONFIG_CC_VERSION_TEXT="gcc (Alpine 10.2.0) 10.2.0"
field^Zzz2 has joined #linux-rockchip
<robmur01> FWIW it's binutils that matters in this case, not GCC, and it's slightly dependent on kernel config too
<mps> hmm, that can explain why my arm32 boards don't boot with 5.8 series
<mps> just rebuild kernel without modules and it boots on one of the arm32
<mps> robmur01: thanks for explaining problem I'm contemplating about one week
<Esmil> cool, and now the latest master 5.9-rc3+ works too with the revert and vicencb's saradc fix
<mps> so, binutils-2.34 is safe for now
vicencb has joined #linux-rockchip
field^Zzz2 has quit [Ping timeout: 240 seconds]
hanetzer has joined #linux-rockchip
stikonas has quit [Remote host closed the connection]
stikonas has joined #linux-rockchip