vagrantc has quit [Remote host closed the connection]
buzzmarshall has quit [Quit: Konversation terminated!]
Stricted has quit [*.net *.split]
cottsay has quit [*.net *.split]
rapha has quit [*.net *.split]
rapha has joined #linux-amlogic
cottsay has joined #linux-amlogic
Stricted has joined #linux-amlogic
sputnik_ has quit [Remote host closed the connection]
sputnik_ has joined #linux-amlogic
camus has quit [Remote host closed the connection]
camus has joined #linux-amlogic
<narmstrong>
mcirsta: yep
sputnik_ has quit [Read error: Connection reset by peer]
sputnik_ has joined #linux-amlogic
rapha has joined #linux-amlogic
rapha has quit [Changing host]
<chewitt>
mcirsta o/
camus1 has joined #linux-amlogic
camus has quit [Ping timeout: 264 seconds]
camus1 is now known as camus
sputnik_ has quit [Remote host closed the connection]
sputnik_ has joined #linux-amlogic
warpme__ has joined #linux-amlogic
<mcirsta>
hi guys, chewitt , narmstrong
dagmcr has quit [Ping timeout: 250 seconds]
arnd has quit [Ping timeout: 265 seconds]
ccaione_ has joined #linux-amlogic
Tartarus has quit [Ping timeout: 250 seconds]
mturquette has quit [Ping timeout: 246 seconds]
lvrp16 has quit [Ping timeout: 265 seconds]
ccaione has quit [Ping timeout: 260 seconds]
ccaione_ is now known as ccaione
warpme__ has quit [Ping timeout: 245 seconds]
khilman has quit [Ping timeout: 264 seconds]
jbrunet has quit [Ping timeout: 246 seconds]
warpme__ has joined #linux-amlogic
steev has quit [Ping timeout: 265 seconds]
narmstrong has quit [Ping timeout: 268 seconds]
dagmcr has joined #linux-amlogic
steev has joined #linux-amlogic
jbrunet has joined #linux-amlogic
mturquette has joined #linux-amlogic
Tartarus has joined #linux-amlogic
lvrp16 has joined #linux-amlogic
arnd has joined #linux-amlogic
narmstrong has joined #linux-amlogic
sputnik_ has quit [Remote host closed the connection]
jbrunet has quit [Ping timeout: 264 seconds]
khilman has joined #linux-amlogic
sputnik_ has joined #linux-amlogic
camus has quit [Ping timeout: 260 seconds]
camus has joined #linux-amlogic
jbrunet has joined #linux-amlogic
sputnik_ has quit [Remote host closed the connection]
sputnik_ has joined #linux-amlogic
sputnik_ has quit [Remote host closed the connection]
sputnik_ has joined #linux-amlogic
sputnik_ has quit [Ping timeout: 245 seconds]
camus has quit [Ping timeout: 245 seconds]
camus has joined #linux-amlogic
camus1 has joined #linux-amlogic
camus has quit [Ping timeout: 250 seconds]
camus1 is now known as camus
camus1 has joined #linux-amlogic
camus has quit [Ping timeout: 250 seconds]
camus1 is now known as camus
tdebrouw has joined #linux-amlogic
tdebrouw has quit [Quit: Leaving.]
<mcirsta>
Hi narmstrong . I was told by chewitt that you might be able to point me towards how to start on the vdec Amlogic work. I have to say that unfortunately I'm not really the right man for the job but as there's not really anyone else I would like to start somehow
<narmstrong>
mcirsta: the best would be to have a setup and try to decode some video on h264 & vp9 to see the the issues you encounter
<narmstrong>
then look at the different ffmpeg changes and see what helps
camus1 has joined #linux-amlogic
camus has quit [Ping timeout: 245 seconds]
camus1 is now known as camus
<mcirsta>
narmstrong , OK , I was thinking the same. I now have Manjaro ARM with kernel 5.14 installed on a S912 TV box. I think that one would do fine. I'll try with the ffmpeg that chewitt mentioned , the one the rpi devs are using
<narmstrong>
yep
<chewitt>
current status with that branch is .. I have no video playback
<chewitt>
quoting:
<chewitt>
"The issue is that we are caught in a "stuff changed" loop where we keep getting events but fail to resolve life"
<chewitt>
it is more of a disagreement about how to resolve (between ffmpeg & V4L2) what the video size/SAR/interlace etc. is at the start of time and if it ever changes.
<mcirsta>
that's for Rpi ?
<chewitt>
that's with a GXBB device
<chewitt>
but the same issue will impact all Amlogic boards
<mcirsta>
OK but I still think that ffmpeg branch is the best starting point, right ?
<chewitt>
IMHO yes, as it's probably had the greatest level of effort on stateless v4l2_m2m support
<chewitt>
not all of that effort will align to Amlogic needs, it's probably gone pi-flavoured in places
<chewitt>
but the ultimate goal is for the upstream codebase to support both (and other) stateful consumers
<chewitt>
so figuring out where there are differences isn't a bad thing
<chewitt>
the pi devs are busy working on their needs, but they do have one eye on the need to upstream it all at some point
<chewitt>
being able to point at two working implementations always helps the cause of getting their code merged :)
<chewitt>
there are also some patches for HEVC, but H264 is the initial target
camus1 has joined #linux-amlogic
camus has quit [Ping timeout: 245 seconds]
camus1 is now known as camus
<chewitt>
I renamed some of the vdec patches in my 5.15.y branch, and they are all grouped together now
buzzmarshall has joined #linux-amlogic
Darkmatter66 has joined #linux-amlogic
Darkmatt- has quit [Ping timeout: 260 seconds]
Darkmatt- has joined #linux-amlogic
Darkmatter66 has quit [Read error: Connection reset by peer]
<mcirsta>
chewitt : thanks for that. Actually I have a device tree that I'd like to commit for my Amlogic S912 H96 Pro+
<chewitt>
point me to a repo and I will pick it into my codebase
<mcirsta>
OK, I'll fork from that one that you've shared and I'll add my DTB
<chewitt>
i'm also happy to coach on the process of upstreaming it
<mcirsta>
I didn't bother with the audio yet
<mcirsta>
as that was not my concern, just wanted to get something working
<chewitt>
GXM box devices should be pretty simple to figure out, they are nearly all identical
<mcirsta>
it's based on some other one that I've found in mainline kernel , I forgot which one but it's still a TV box indeed
<mcirsta>
only that one didn't have some HDMI stuff defined
<mcirsta>
so Panfrost didn't work and no GUI
<mcirsta>
the one difference is that this GXM has only 2 USB ports so it's complaining at one point about some USB hub something
<mcirsta>
when booting up the kernel
<mcirsta>
but it's just some warning, both the existing ports work just fine
<mcirsta>
it's a pity that Amlogic just released and forgot about things like GXM , the hardware is still decent , I even have KDE Wayland running on it , it's not the fastest but it works
<chewitt>
the historical challenge was the lack of mali blobs for Linux, so it was a nice box for Android, but lousy for anything else
<chewitt>
panfrost fixed that awesomely
<chewitt>
but by that point the world has moved on to G12B devices, mostly
<chewitt>
the minix neo u9-h dts upstream should be a good starting point
<chewitt>
it's likely only LEDs and an ADC button that are different, and the USB ports
<chewitt>
and an IR keymap, if there's a remote for the box
<chewitt>
should be about 10 mins worth of copy/paste
<chewitt>
(as the u9-h dts demonstrates)
jernej has joined #linux-amlogic
camus1 has joined #linux-amlogic
camus has quit [Ping timeout: 264 seconds]
camus1 is now known as camus
<chewitt>
mcirsta in the ffmpeg branch, this is the commit that breaks H264 playback
<mcirsta>
red and blue , well I was only able to test the blue
<mcirsta>
but it didn't have HDMI , so I added that and now other than sound I think all works
<mcirsta>
but sound is for later, I think you did some work for that
<mcirsta>
and yes , there's also the remote control but again not important
<chewitt>
sound should work fine, unless you're trying to use the S/PDIF output
<chewitt>
(which is not implemented in the audio driver)
<mcirsta>
nope, didn't try anything related to sound, I only care about the video for now
<mcirsta>
later yes, I'd like some sound, including S/PDIF but without the VDEC sound is useless , I'm not going to just listen to Spotify or something
<chewitt>
on some level audio is important to media that contains audio streams in addition to video
<chewitt>
so it might be useful to get it added sooner
<mcirsta>
yes, maybe
<mcirsta>
anyway even some analog out will do just fine
<mcirsta>
this box has it, I think it's where the reset button is also
<mcirsta>
or combined with the analog video , something , never cared as I was using either HDMI or S/PDIF