<tuxd3v>
I believe that sun4i-ss brings Trng with it?
<tuxd3v>
sorry Prng?
tmlind has quit [Ping timeout: 256 seconds]
cnxsoft has joined #linux-sunxi
tmlind has joined #linux-sunxi
return0e_ has quit [Read error: Connection reset by peer]
return0e has joined #linux-sunxi
<sbbg>
Hi, Jernej, really appreciate your example of ffmpeg command. I got reading on console like "[mov,mp4,m4a,3gp,3g2,mj2 @ 0xaaab058221a0] stts: 951951 ctts: 6006, ctts_index:317, ctts_count:2457" ... keep repeating. Does that looks ok to you?
<sbbg>
And also, may I ask about why does the stateless or "stated" matter? Does Kodi require "stated" decoder or something?
tuxillo has quit [Ping timeout: 256 seconds]
<smaeul>
montjoie: the ATF changes for H6 have all been merged to mainline (except for fixing Orange Pi 3)
jstein has quit [Quit: quit]
<sbbg>
Oh, NO, it went wrong showing: No device available for decoder: device type drm needed for codec h264.
aloo_shu has quit [Ping timeout: 256 seconds]
<sbbg>
I did configure this EXACT copy of FFMPEG following all the config parameter like LibreELEC did in their build environment. I cannot see what can ever go wrong...
<gnarface>
maybe the driver module isn't loaded yet?
<sbbg>
oh, yap, is there a module for this?
<sbbg>
where can I learn about this?
<sbbg>
Do I have to login a running LibreELEC system to learn about this?
<gnarface>
i don't even know enough about libreELEC to tell you for sure, but it seems like running "lsmod" on both installs and comparing them would be very informative, yes
iyzsong has joined #linux-sunxi
mauz555 has joined #linux-sunxi
<chewitt>
sbbg: there are two types of video hardware; stateful and stateless
<chewitt>
allwiner and rockchip are stateless
<chewitt>
amlogic, exynos, some others are stateful
<chewitt>
ffmpeg can support both approaches
<chewitt>
currently stateless is in better shape
mauz555 has quit [Ping timeout: 272 seconds]
<chewitt>
and Kodi also supports both
<sbbg>
Thank you, chewitt. I'm just not sure why LibreELEC choosing DRMPlane for Kodi.
<chewitt>
there are two rendering approaches; EGL and DRMPRIME
<chewitt>
EGL collapses everything to a single plane
<chewitt>
DRMPRIME supports multiple planes
<sbbg>
So are DRMPRIME and DRMPlane coupled?
<chewitt>
no idea, I don't understand all the moving parts in that much detail
<sbbg>
ok, thanks anyway.
<chewitt>
best to wait for @jernej here or ping @lrusak in the Kodi dev channel
<chewitt>
along with @kwiboo .. they're the guilty folks who wrote most of that code :)
<chewitt>
to get something working you should only need to copy the LE build configs (and any patches) for kernel, ffmpeg and kodi
<sbbg>
Yes, I have a completed copy of LibreELEC by my side. It just want to make it into 64bit and fit into my Gentoo rootfs
<chewitt>
diff -y gentoo_defconfig le_defconfig | more
<chewitt>
^ that's the easiest way to "spot the difference"
<chewitt>
there will be lots .. LE runs pretty minimal configs (single SoC, no desktop/server stuff) but in the SoC/media sections it should be simple enough
<sbbg>
I think I did use config from LibreELEC, I will re-check again.
<chewitt>
our configs are probably missing stuff you'd want for a normal distro
<sbbg>
Making hardware decoding working is now my top priority, I will review the option later as long as HW decoding working.
<sbbg>
After comparing lsmod result, most of them are common. But there are few module like 8021q, garp, mrp, stp, llc are not their in my custom gentoo build.
<sbbg>
Do these module have any influence? I will review the kernel again.
<wens>
you can use modinfo to see what they are for
lerc has quit [Quit: No Ping reply in 180 seconds.]
lerc has joined #linux-sunxi
lerc has quit [Client Quit]
lerc has joined #linux-sunxi
<jernej>
sbbg: lsmod doesn't tell everything
<jernej>
Cedrus driver is built in in LE kernel
<jernej>
so it won't show up in lsmod
<jernej>
actually, plenty AW specific drivers are built in
<jernej>
display, audio, most of the network...
<sbbg>
okay... so I will try to look over the configs between Armbian and LibreELEC. Thank you.
selfbg has quit [Ping timeout: 265 seconds]
<montjoie>
tuxd3v: A20 SS has PRNG
<montjoie>
smaeul: where is this fix for opi3 ?
<sbbg>
BTW, is there a method to check if a symbol is built in-kernel? Just being curious.
dddddd has quit [Ping timeout: 250 seconds]
ldevulder_ has joined #linux-sunxi
ldevulder has quit [Ping timeout: 240 seconds]
tnovotny has joined #linux-sunxi
macc24 has joined #linux-sunxi
lennard_ has quit [Quit: Reconnecting]
lennard has joined #linux-sunxi
<sbbg>
oops. I use the very same kernel config from LibreELEC to compile LibreELEC patched kernel 5.5.6. FFMPEG tell me "No device available for decoder: device type drm needed for codec h264."
<sbbg>
I probably will try rebuild ffmpeg, although I remember that I did configure it with same config like successful compiled LibreELEC 32bit image.
tdebrouw has joined #linux-sunxi
<sbbg>
Hey wait... does armbian building system change kernel config in cache/sources/linux-mainline/master ?
maccraft has joined #linux-sunxi
<sbbg>
If I place the kernel config in my repository of kernel source as ".config" and "arch/arm64/config/defconfig," will it be used when Armbian building the image?
macc24 has quit [Ping timeout: 264 seconds]
maccraft is now known as macc24
<gnarface>
i think so...
<gnarface>
not sure it's a good idea to replace defconfig...
<sbbg>
I wish to reproduce exact same kernel as LibreELEC, I guess I have to do so.
suprothunderbolt has quit [Ping timeout: 258 seconds]
_rze has joined #linux-sunxi
rzerres has quit [Read error: Connection reset by peer]
<sbbg>
Hi, something weird happen to me. I place the kernel config into Armbian's build directory : build/config/kernel/linux-sunxi-current.config to build the image. But after it boot, its /proc/config.gz showing totally different config.
<sbbg>
Does anyone know how to actually make Armbian's build system use my kernel config to build the kernel?
mauz555 has joined #linux-sunxi
<Werner>
Use the menuconfig option and load your config. Should work
<sbbg>
oh, yeah, how can I forget that trick! Thanks.
<Werner>
You're welcome. Tell me if this worked for you
<Werner>
By the way, we have #armbian as well :P
<sbbg>
yep... you're right
mauz555 has quit [Ping timeout: 264 seconds]
<sbbg>
I place LibreELEC config in, and I select to check config menu before compilation. But when it goes to kernel compilation, it show me the oldconfig Yes/NO questions.
<sbbg>
Is that expected?
<gnarface>
hmmm
<gnarface>
the old answers you mean? i don't think so...
<sbbg>
you know "make oldconfig?" That kind of old method asking you <option> [N/m/Y?]
<sbbg>
I kind of expected there would be normal menuconfig.
<sbbg>
You know, that one render by ncurses.
mauz555 has joined #linux-sunxi
mauz555 has quit [Read error: Connection reset by peer]
mauz555 has joined #linux-sunxi
Mangy_Dog has joined #linux-sunxi
<gnarface>
yea i know what you're talking about, what is it showing instead?
<gnarface>
like the dialogue text interface or whatever it's called?
<sbbg>
yeah, I see now. It must happen due to missing options. After the questions are completed, it bring back the normal ncurses menuconfig.