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
gnufan has quit [Ping timeout: 248 seconds]
gnufan has joined #linux-rockchip
lurchi__ is now known as lurchi_
afaerber has joined #linux-rockchip
lurchi_ is now known as lurchi__
lurchi__ is now known as lurchi_
lurchi_ is now known as lurchi__
vstehle has quit [Ping timeout: 248 seconds]
gnufan has quit [Quit: Leaving.]
RK3188-SOM has quit [Quit: Page closed]
cnxsoft has joined #linux-rockchip
hipboi__ has joined #linux-rockchip
hipboi_ has joined #linux-rockchip
hipboi__ has quit [Ping timeout: 255 seconds]
hipboi_ has quit [Quit: This computer has gone to sleep]
vagrantc has joined #linux-rockchip
lurchi_ has joined #linux-rockchip
lurchi__ has quit [Ping timeout: 248 seconds]
vagrantc has quit [Quit: leaving]
vstehle has joined #linux-rockchip
kaspter1 has joined #linux-rockchip
kaspter has quit [Ping timeout: 268 seconds]
kaspter1 is now known as kaspter
Easyfab has joined #linux-rockchip
kaspter has quit [Quit: kaspter]
aalm has joined #linux-rockchip
kaspter has joined #linux-rockchip
wzyy2 has joined #linux-rockchip
<wzyy2> "mpv --hwdec=rkmpp --vo=drm test.mp4" it didn't work?
<wzyy2> LongChair, does upstream mpv have merge your pacthes?
<wzyy2> ffmpeg and mpv in meta-rockchip are experimental. I don't have time to test and clean it recently, since i'm busy in ISP things
<Easyfab> wzyy2 see discussion from yesterday in this channel -> you need --vo=gpu and probably --gpu-api=opengl --gpu-context=drm --gpu-hwdec-interop=drmprime-drm
gnufan has joined #linux-rockchip
hipboi_ has joined #linux-rockchip
BenG83 has quit [Ping timeout: 250 seconds]
BenG83 has joined #linux-rockchip
<LongChair> wzyy2: yes it has the drm renderer
<LongChair> upstream ffmpeg & mpv would work on rockchip
<LongChair> using the opengl renderer with drm backend and the drmprime-drm hw overlay
<aalm> hi
<aalm> and
<aalm> are these really correct? t
<aalm> other PA pins seem to belong &gpio0
<aalm> lol
<aalm> i meant
hipboi_ has quit [Quit: This computer has gone to sleep]
hipboi_ has joined #linux-rockchip
<Ke> does the new video decoding thing do rescaling?
hipboi_ has quit [Quit: This computer has gone to sleep]
cyteen__ has quit [Ping timeout: 268 seconds]
hipboi_ has joined #linux-rockchip
hipboi_ has quit [Ping timeout: 260 seconds]
gnufan has quit [Ping timeout: 258 seconds]
hipboi_ has joined #linux-rockchip
gnufan has joined #linux-rockchip
cnxsoft has quit [Quit: cnxsoft]
LargePrime has quit [Remote host closed the connection]
cyteen__ has joined #linux-rockchip
hipboi_ has quit [Quit: This computer has gone to sleep]
vagrantc has joined #linux-rockchip
cyteen__ has quit [Ping timeout: 240 seconds]
cyteen__ has joined #linux-rockchip
LargePrime has joined #linux-rockchip
cyteen__ has quit [Ping timeout: 260 seconds]
cyteen__ has joined #linux-rockchip
lurchi_ is now known as lurchi__
lurchi__ is now known as lurchi_
<Tro> https://tinkerboarding.co.uk <-- down? :(
ayaka has quit [Ping timeout: 240 seconds]
ayaka has joined #linux-rockchip
kaspter has quit [Remote host closed the connection]
kaspter has joined #linux-rockchip
vagrantc has quit [Quit: leaving]
libv_ has joined #linux-rockchip
libv has quit [Ping timeout: 260 seconds]
cyteen__ has quit [Ping timeout: 240 seconds]
cyteen__ has joined #linux-rockchip
libv has joined #linux-rockchip
libv_ has quit [Ping timeout: 260 seconds]
cyteen__ has quit [Ping timeout: 248 seconds]
libv_ has joined #linux-rockchip
cyteen__ has joined #linux-rockchip
LargePrime has quit [Ping timeout: 248 seconds]
libv has quit [Ping timeout: 260 seconds]
libv_ has quit [Ping timeout: 260 seconds]
libv has joined #linux-rockchip
gnufan has quit [Ping timeout: 250 seconds]
gnufan has joined #linux-rockchip
cyteen__ has quit [Ping timeout: 248 seconds]
cyteen__ has joined #linux-rockchip
cyteen__ has quit [Ping timeout: 240 seconds]
cyteen__ has joined #linux-rockchip
libv_ has joined #linux-rockchip
libv has quit [Ping timeout: 260 seconds]
cyteen__ has quit [Ping timeout: 260 seconds]
cyteen__ has joined #linux-rockchip
lurchi_ is now known as lurchi__
lurchi__ is now known as lurchi_
lurchi_ is now known as lurchi__
libv_ has quit [Ping timeout: 260 seconds]
libv has joined #linux-rockchip
libv has quit [Ping timeout: 260 seconds]
libv has joined #linux-rockchip
Myy has joined #linux-rockchip
<Myy> Miaou
<Myy> ayaka, stdint, LongChair, do you know what the variable MPP_DEC_GET_FREE_PACKET_SLOT_COUNT was used for ? And it's been removed ?
<LongChair> it was used to get the decoder free slots
<LongChair> and it's been removed from mpp
<LongChair> seems ayaka said we should be able to do it differently, but didn't have time to look into that yet
<Myy> Oh okay
<LongChair> yeah i know it's a bit annoying :)
<Myy> Were you able to test the last versions of mpp yet ? :3
<LongChair> not directly
<LongChair> but i hope to be able to get back to it soon
<LongChair> we had also to add a patch to reintroduce that in our mpp so that it keeps building
<LongChair> you can use it until we find another way to do that
<Myy> What could happen if I send packets to MPP without checking if there's free slots ? :3
wzyy2 has quit [Remote host closed the connection]
<Myy> Oh okay, I'll try that
<Myy> The point is to test the new DMA interface of the VPU driver
<LongChair> i think nothing bad happens
<LongChair> but the problem in ffmpeg was that you get a packet and then if you can't push it it's ticky as it's a queue
<LongChair> so you need to know if you will be able to write it before you pop it from the queue
<LongChair> otherwise you don't know what to do with it
<LongChair> and you can't put it back into the queue afaik
<LongChair> i think mpp will give you some error code if you try to write, but that there is no room
<Myy> And if you send the packet to /dev/null on error, will ffmpeg bail out ? :3
<Myy> Well, let's see what happens if I force the way...
<Myy> Or I could just apply the patch... it seems quite simple
<LongChair> yeah it's fairly simple
<Myy> By the way, the DMA version of the driver that compiles against 4.14 kernel is available here : https://github.com/Miouyouyou/rockchip-vcodec
<LongChair> I thought they had forgotten it in the rebase, but seems that RK won't accept it anymore because there is some new way
<Myy> Now, it compiles and loads but I can't provide any guarantee that it works
<LongChair> it does for LE
<Myy> The DMA interface ?
<LongChair> oh no was talking about the slots thing :)
<Myy> Ah :3
<Myy> Well, I'll apply the patch and see how it fares
ayaka has quit [Ping timeout: 260 seconds]
ayaka has joined #linux-rockchip
Easyfab has quit [Quit: Leaving]
Easyfab has joined #linux-rockchip
libv_ has joined #linux-rockchip
ayaka has quit [Ping timeout: 260 seconds]
libv has quit [Ping timeout: 260 seconds]
ayaka has joined #linux-rockchip
<Myy> Alright, ffmpeg compiled... I wonder if I can test the rkmpp output directly with ffmpeg...
Miouyouyou has joined #linux-rockchip
Myy has quit [Disconnected by services]
Miouyouyou is now known as Myy
<Myy> Is there a simple command to test the rkmpp output with ffmpeg ? :3
ayaka has quit [Ping timeout: 260 seconds]
libv has joined #linux-rockchip
libv_ has quit [Ping timeout: 260 seconds]
ayaka has joined #linux-rockchip
<Easyfab> ./ffmpeg -c:v h264_rkmpp -i in.file -an -vf hwdownload,format=nv12,format=yuv420p out.file
<Easyfab> Myy ^^
<Myy> Ah ! I'll try that ! Thanks :3
<Myy> Okay, I missed a parameter in mpp and now it's trying to use the ION output...
<Myy> Well, the whole thing crashed in the weirdest way possible
<Myy> Yep, in it's current form, something is broken. Either the driver port or the libraries in between...
<Myy> I'll say the driver port for now and check what could go wrong
Easyfab has quit [Quit: Leaving]
lurchi__ is now known as lurchi_
libv has quit [Ping timeout: 260 seconds]
gnufan has quit [Quit: Leaving.]
libv has joined #linux-rockchip
libv_ has joined #linux-rockchip
libv has quit [Ping timeout: 260 seconds]
kloczek has quit [Remote host closed the connection]
kloczek has joined #linux-rockchip
libv has joined #linux-rockchip
libv_ has quit [Ping timeout: 260 seconds]
libv_ has joined #linux-rockchip
libv has quit [Ping timeout: 260 seconds]
libv has joined #linux-rockchip