ChanServ changed the topic of #linux-rockchip to: Rockchip development discussion | Wiki at http://linux-rockchip.info | Logs at http://irclog.whitequark.org/linux-rockchip | ML at http://groups.google.com/group/linux-rockchip
tizbac has quit [Ping timeout: 245 seconds]
lvrp16 has quit [Ping timeout: 245 seconds]
rperier has quit [Ping timeout: 245 seconds]
phh has quit [Ping timeout: 245 seconds]
phh has joined #linux-rockchip
lvrp16 has joined #linux-rockchip
fireglow has quit [Read error: Connection reset by peer]
rperier has joined #linux-rockchip
fireglow has joined #linux-rockchip
tizbac has joined #linux-rockchip
_whitelogger has joined #linux-rockchip
<wzyy2> Struggling in drm.
<phh> mmm interesting
<LongChair> stdint : so what those values could be changed to ?
<phh> I've seen many people use drm for gralloc/hwc, I thought it would be easy
<phh> (many being: Google with Nexs 9/Pixel C, with ARC, and Mesa guys)
nighty has quit [Quit: Disappears in a puff of smoke]
wzyy2 has quit [Ping timeout: 260 seconds]
<ayaka> LongChair, search 400MHZ of the source code of vcodec driver
<ayaka> change it to 500, it would be more easy
<LongChair> is that what we're talking about ?
<LongChair> if so do all 3 values need to be changed ?
lkcl has joined #linux-rockchip
<LongChair> ayaka : i'm heading to lunch, so in case you are still around i'll list a few more questions :) (you might be sleeping when i get back here)
<LongChair> 1 - please confirm if the link above is the vcodec freqs and which one should be changed (1st, 2nd all 3)
<LongChair> 2 - is that vcodec patch enough or do i need dtsi files changes as well ?
<LongChair> 3 - if dtsi changes are required, which ones of the values should be changed and which values can i try there (not sure of there are constraints between the frequencies)
<LongChair> 4 - which are the freq that android is using and which lead to HEVC 10 @80 mbits ? is that 500 Mhz. I see also 600 Mhz in the list of freqs in kernel ...
<LongChair> i'll be back in a few ... 40 mins or so
lkcl has quit [Ping timeout: 264 seconds]
wadim_ has quit [Remote host closed the connection]
lvrp16 has quit [Ping timeout: 252 seconds]
lvrp16 has joined #linux-rockchip
paulk-blaze has joined #linux-rockchip
wzyy2 has joined #linux-rockchip
fungi has quit [Ping timeout: 264 seconds]
fungi has joined #linux-rockchip
nighty has joined #linux-rockchip
wadim_ has joined #linux-rockchip
_hramrach has joined #linux-rockchip
paulk-blaze has quit [Ping timeout: 264 seconds]
paulk-blaze has joined #linux-rockchip
wzyy2 has quit [Ping timeout: 264 seconds]
wzyy2 has joined #linux-rockchip
<rperier> mmind00: I have found my email issue, I think
<rperier> "Return-Path: <rperier@rperier-laptop>"
<rperier> :)
<rperier> I will resend my series I think
cnxsoft has quit [Quit: cnxsoft]
wzyy2 has quit [Read error: Connection reset by peer]
wzyy2 has joined #linux-rockchip
wzyy2 has quit [Read error: Connection reset by peer]
<ayaka> only this line would work
<ayaka> also the 600MHZ is also possible, but I never try
<ayaka> I hear that the 500MHZ would be fine, but 600MHZ would crash sometimes
wzyy2 has joined #linux-rockchip
wzyy2 has quit [Read error: Connection reset by peer]
<LongChair> ayaka: thanks a lot, i will try that and report
wzyy2 has joined #linux-rockchip
JohnDoe_71Rus has joined #linux-rockchip
lkcl has joined #linux-rockchip
wzyy2 has quit [Ping timeout: 268 seconds]
lkcl has quit [Ping timeout: 240 seconds]
lkcl has joined #linux-rockchip
wzyy2 has joined #linux-rockchip
wzyy2 has quit [Ping timeout: 252 seconds]
wzyy2 has joined #linux-rockchip
paulk-blaze has quit [Ping timeout: 268 seconds]
<wens> hmm, tinker board retails for 2200 NTD (= 71.6 USD according to google) here
<phh> ATM it is still better to get some random rk3288 tvbox and flash it as a firefly...
<phh> (and it won't have power supply problem)
<wens> tinker board isn't available everywhere though
<wens> i heard from a friend at ASUS (in a different department) that it's only available in europe and taiwan (unannounced even)
wadim_ has quit [Remote host closed the connection]
paulk-collins has joined #linux-rockchip
wzyy2 has quit [Ping timeout: 264 seconds]
Omegamoon has left #linux-rockchip [#linux-rockchip]
lkcl has quit [Ping timeout: 260 seconds]
<LongChair1> phh: 500M still not enough for chess
<LongChair1> 600M neither
<phh> can you check kernel logs? perhaps it didn't apply for some reason?
<LongChair1> i don't see any log for vpu freq
<LongChair1> hmmm wait
<LongChair1> that is all i have
<LongChair1> not sure what that aclk and hclk error is about
<phh> aclk/hclk are normal, but the "failed on clk_get pd_hevc" isn't
<LongChair1> hmmm
<LongChair1> seems to be related to the same id as the one ayaka told me to tweak
<LongChair1> getting same thing with 500M, i'll try to go back to 400M, maybe there is something else wrong
<phh> in vpu_get_clk, I don't understand why it doesn't retrieve aclk_vcodec when ID_HEVC
<phh> ok, it looks like the rate is fixed in DTS
<phh> LongChair1: in hevc_service of rk3288.dtsi, assigned-clock-rates, ACLK_HEVC is the clock you want
<phh> I have no clue whether hclk_hevc/sclk_hevc_core/sclk_hevc_cabac must change...
<LongChair1> i came back to 400M
<LongChair1> still having the same error message in log
<phh> yup, leave the code that way
<phh> just change dts
<phh> I'm trying to look at original android kernel code
<phh> unless it's done in userland, aclk is 400MHz, hclk is 200MHz, hevc_cabac is 300MHz, hevc_core is 300MHz... compared to 300/100/300/300 in 4.4 kernel
<phh> LongChair1: so I'd suggest to change hclk actually
<LongChair1> i'll try to change with the suggested values in the comment above
<LongChair1> seen the comment in the file ?
<phh> true, the comment mentions 500 aclk, 125 hclk
<LongChair1> * The 4K hevc would also work well with 500/125/300/300
<phh> perhaps there is something about those in the TRM...
<phh> ah no, there is no doc about HEVC in the trm
<LongChair1> i patches the dts .... but i don't see much changes either
<LongChair1> we're probably missing something :)
<phh> do you do a precise fps measurement?
<LongChair1> not really ... i use ao=null / vo =null ... and just check the amount of framedrops i'm getting
<LongChair1> so that should be pure decoding
<phh> could you -benchmark?
<LongChair1> is there such an option ?
<phh> at the time of mplayer, there was
<LongChair1> i don't see such options ... but there are so many :)
<phh> so I see --untimed so that it doesn't sync to anything
<phh> but I don't see anything to display the rendering fps :s
beeno has quit [Ping timeout: 255 seconds]
<LongChair1> yeah the only thing i can see is the amount of lag that video and audio are getting
<LongChair1> but it's more likely playing half the pace it should
<LongChair1> [statusline] AV: 00:00:21 / 00:01:52 (38%) A-V: 21.102 Cache: 9s+73MB
<LongChair1> 21s lag after 21 secs playback
<LongChair1> suspicious
<LongChair1> if i use --untimed it's still not suite there
<LongChair1> quite*
<LongChair1> [statusline] AV: 00:00:32 / 00:01:52 (36%) A-V: 7.474 Cache: 10s+73MB
<LongChair1> 7 secs lag after 32 secs playback
<LongChair1> i'm feeling like the dts / kernel patch didn't change much
<LongChair1> i guess best now it to wait for China to come back and get some feedback :)
<phh> you tried 500/125?
<phh> can you check clocks in /sys/kernel/debug?
<LongChair1> root@linaro-alip:/sys/kernel/debug/clk/aclk_hevc# cat clk_rate
<LongChair1> 400000000
<LongChair1> so something is fishy
<LongChair1> it did rebuild the dts though ... very odd
<phh> perhaps try to set it from there?
JohnDoe_71Rus has quit [Quit: KVIrc 4.9.2 Aria http://www.kvirc.net/]
<LongChair1> seems i can't permission denied even with root
<LongChair1> found a way to change the aclk .. but still no effect on codec
<LongChair1> can't change the hclk
<LongChair1> there is another place in the dtsi where there is aclk_vcodec set and that seems to be the one taken into account
<LongChair1> but the hclk is set only in one place and changing it doesnt affect the value i see in /sys/debug
matthias_bgg has quit [Quit: Leaving]
lkcl has joined #linux-rockchip
paulk-collins has quit [Remote host closed the connection]
nighty has quit [Quit: Disappears in a puff of smoke]
sfara has joined #linux-rockchip
sfara has quit [Client Quit]
IgorPec has quit [Ping timeout: 252 seconds]
lkcl has quit [Ping timeout: 260 seconds]
zzarr has quit [Quit: This computer has gone to sleep]