rellla changed the topic of #linux-sunxi to: Allwinner/sunxi /development discussion - did you try looking at our wiki? https://linux-sunxi.org - Don't ask to ask. Just ask and wait! - https://github.com/linux-sunxi/ - Logs at http://irclog.whitequark.org/linux-sunxi - *only registered users can talk*
Mangy_Dog has quit [Ping timeout: 265 seconds]
ganbold has quit [Ping timeout: 240 seconds]
deesix has quit [Read error: Connection reset by peer]
deesix has joined #linux-sunxi
popolon has quit [Quit: WeeChat 2.7.1]
ganbold has joined #linux-sunxi
<smaeul> though it's quite possibly out of date by now
Mangy_Dog has joined #linux-sunxi
Mangy_Dog has quit [Ping timeout: 250 seconds]
ChriChri_ has joined #linux-sunxi
ChriChri has quit [Ping timeout: 264 seconds]
ChriChri_ is now known as ChriChri
return0e has joined #linux-sunxi
return0e_ has quit [Ping timeout: 264 seconds]
iyzsong has joined #linux-sunxi
lurchi_ is now known as lurchi__
lurchi_ has joined #linux-sunxi
lurchi__ has quit [Ping timeout: 250 seconds]
JohnDoe_71Rus has joined #linux-sunxi
dddddd has quit [Remote host closed the connection]
lkcl has joined #linux-sunxi
reinforce has joined #linux-sunxi
lkcl has quit [Ping timeout: 250 seconds]
netlynx has joined #linux-sunxi
airgapp has joined #linux-sunxi
luke-jr has quit [Quit: ZNC - http://znc.sourceforge.net]
luke-jr has joined #linux-sunxi
selfbg has joined #linux-sunxi
vagrantc has quit [Quit: leaving]
<montjoie> smaeul: nothing to add in ATF ?
luke-jr has quit [Quit: ZNC - http://znc.sourceforge.net]
luke-jr has joined #linux-sunxi
ldevulder_ has joined #linux-sunxi
ldevulder has quit [Ping timeout: 250 seconds]
macc24 has joined #linux-sunxi
tnovotny has joined #linux-sunxi
gsz has joined #linux-sunxi
tdebrouw has joined #linux-sunxi
_whitelogger has joined #linux-sunxi
afaerber has joined #linux-sunxi
aliosa27 has joined #linux-sunxi
warpme_ has joined #linux-sunxi
jeandet has joined #linux-sunxi
ccaione has joined #linux-sunxi
ric96 has joined #linux-sunxi
ccaione has quit [Changing host]
ccaione has joined #linux-sunxi
ccaione has joined #linux-sunxi
rex_victor has joined #linux-sunxi
martinayotte has joined #linux-sunxi
Kamilion has joined #linux-sunxi
Asara has joined #linux-sunxi
superprower has joined #linux-sunxi
matthias_bgg has joined #linux-sunxi
afaerber has quit [Quit: Leaving]
afaerber has joined #linux-sunxi
afaerber has quit [Remote host closed the connection]
jstein has quit [Quit: quit]
suprothunderbolt has quit [Ping timeout: 256 seconds]
matthias_bgg has quit [Ping timeout: 240 seconds]
florian_kc has joined #linux-sunxi
sbbg has joined #linux-sunxi
<sbbg> Hi, everyone. I have serious frustration about hardware decoding on PineH64. I install forked version of FFMPEG, Kodi, Linux kernel 5.5.6 from LibreELEC build system into Gentoo. But I still cannot enjoy hardware decoding.
<sbbg> jernej told me I have to install patched kernel from LibreELEC last time. But somehow it still does not work. May I ask you how to diagnose problem of hardware decoding for Kodi?
<sbbg> In order to install the patched version of Kernel, I have to use the OLD DTB/DTS from armbian to boot properly. Does that affect hardware decoding?
<gnarface> hey sbbg i think the answer is yes, severely, but i'm not sure. i think you might have better luck asking this question in the pine64 irc network though
<sbbg> gee... really? I will go there and try my luck then. I forgot where I meet jernej last time.
<gnarface> there might be a better way to boot it now than what you're using
<gnarface> i'm pretty sure there is actually
<gnarface> but i'm not sure what you're doing
<sbbg> I want to make Armbian working with Gentoo Root file system and hardware decoding capable Kodi.
<gnarface> working for kernel 4.x and 5.x but only with the new firmware
<gnarface> the mainline one
<gnarface> (and extra patches that aren't mainlined yet i think)
<sbbg> ok, I forgot about the firmware actually. I copy only kernel and modules into my gentoo/armbian hybrid.
<gnarface> there might be some images on their site
<sbbg> Let me calm down and do this again.
<gnarface> but what you'll probably want to do if you're able, is to build u-boot and the kernel yourself
<gnarface> patches for u-boot i think *have* been mainlined now? not quite 100% on any of this but yea
<sbbg> I did fit the patched LibreELEC kernel 5.5.6 into Armbian build system and compile it with its toolkit. It cannot boot properly unless I replace the DTS/DTB with old version.(from original Armbian kernel 5.4)
<gnarface> so you'll probably be able to build u-boot without patches but you probably still need patches for the kernel
<sbbg> okay, let me calm down a bit and try this over.
<sbbg> gnarface, does dtb/dts coupled with firmware? I'm not really familiar with ARM development before.
<gnarface> well, i'm misusing the term firmware
<gnarface> it is read off your disk by the kernel to figure out your hardware
<gnarface> yes it is paired with u-boot which kinda also acts in place of firmware but is also read off the disk
<sbbg> So does the 'firmware' you mentioned is in form of files?
<gnarface> yes, but they don't go on the filesystem
<gnarface> they go in the empty space before it on the disk
<sbbg> Typically,if I can build the Armbian image with the LibreELEC kernel. The output image should include them, right?
<KotCzarny> uboot is best thought as bios+grub
<sbbg> ok, so it's including a boot loader and... initalization of something, right?
ldevulder_ is now known as ldevulder
<KotCzarny> yup
<KotCzarny> that's why uboot has to be compiled for specific board
<KotCzarny> because it includes configuration and initialization
<sbbg> So that make me feel even more bewildered, I did build the image successfully for PineH64 with Armbian's toolchain including the LE kernel. But its output image still cannot boot here, unless I replace the dtb/dts with the old one(from Armbian 5.4 kernel)
<gnarface> it's possible when you said *old* one i mistakenly interpreted that as being a much older one
<KotCzarny> there are 3 things
<KotCzarny> uboot, kernel and system
<sbbg> the *old* dts/dtb I mentioned is from original Armbian image build for PineH64.
<KotCzarny> dtb is loaded by kernel
<KotCzarny> one kernel can use different dtbs for multiple boards without need of recompilation
<KotCzarny> and dtbs are often universal between kernel versions
AneoX has joined #linux-sunxi
<KotCzarny> there are some changes, but often they work ok
<sbbg> That sounds great, but does any changes in dtb/dts affect HW decoding?
<KotCzarny> depends on driver i guess
<gnarface> it could in theory, since it's partially a list of what to power up, i think...
<KotCzarny> as it's still in development, so it might require new options
<KotCzarny> that weren't present before
<sbbg> ok. I will try to compare the versions from Armbian and from LibreELEC
<sbbg> BTW, does anyone have any idea about how to diagnose HW decoding problem in Kodi? I cannot find any in the logs.
<KotCzarny> start with ffmpeg
<sbbg> ok, I will try to keep that in mind.
<KotCzarny> once it plays from cmdline, you can test kodi
<sbbg> So I give parameter to force using HW decoder to test in FFMPEG first. Is that what you meant?
<gnarface> hmm, does ffmpeg need a patch too?
<KotCzarny> probably
<sbbg> I did install the forked version from LibreELEC
lkcl has joined #linux-sunxi
<sbbg> I mean compiled and installed the patched FFMPEG from LibreELEC's build system. The configure parameter also follow the log from LibreELEC, I think it should be fine for FFMPEG.
<KotCzarny> just try using ffmpeg to play some file
<KotCzarny> from command line
<sbbg> even I don't have a proper display? May I direct the frame to something like /dev/null ?
<KotCzarny> probably
<sbbg> ok, thank you. That's a lot to try.
<gnarface> i think it has benchmarking modes...
<gnarface> check the man page maybe
<gnarface> but couldn't you also just run it over ssh?
<gnarface> like with X11 forwarding?
matthias_bgg has joined #linux-sunxi
tdebrouw has quit [Quit: Leaving.]
<sbbg> I will see what I can do about that. Thank you for suggestion.
<KotCzarny> it can probably also save to file
<KotCzarny> for example as a bunch of jpegs
<sbbg> Yeah, it certainly should, I tried that before.
<sbbg> thank you for reminding.
florian_kc is now known as florian
<sbbg> Hi, I try hardware decoding by
<sbbg> $ ffmpeg -v 9 -loglevel 99 -c:v h264_v4l2m2m-i test.mp4 -f v4l2 /dev/video0
<sbbg> Does that sound right?
<KotCzarny> i think you have a typo before -i
<sbbg> oh, yeah, I will notice that. Do the parameters look right?
<sbbg> That's weird. It look like working according to the message.
<sbbg> Repository: https://github.com/bootlin/v4l2-request-test.git << I also try this successfully. It work as well!! I don't get it why Kodi just does not work with HW decoding.
<gnarface> something else could be missing
<KotCzarny> it might be they have some additional patches
<gnarface> i think xorg needs patches as well...
<sbbg> I follow LibreELEC build kodi use GBM as well.
<sbbg> https://linux-sunxi.org/Sunxi-Cedrus << there are 2 approaches mentioned here: Cedrus Driver |DRM Planes
egbert_ has joined #linux-sunxi
egbert has quit [Disconnected by services]
<sbbg> Does kodi use specifically only 1 or them? Does that DRMPlanes has any test method?
BroderTuck has joined #linux-sunxi
<BroderTuck> Speaking of the SUNXI_CEDRUS page, 1: the "Player Support" matrix is very red, and 2: what the *beep* does "Kodi (downstream)" mean?
<sbbg> So Kodi use that DRMPlanes approach. But I keep trying the v4l2 mem2mem arpproach? Gee...
<sbbg> Does that DRM planes support 64 bit? That's the only big difference between my gentoo and libreELEC I can think of now.
Mangy_Dog has joined #linux-sunxi
matthias_bgg has quit [Ping timeout: 240 seconds]
matthias_bgg has joined #linux-sunxi
iyzsong has quit [Remote host closed the connection]
iyzsong has joined #linux-sunxi
mauz555 has joined #linux-sunxi
luke-jr has quit [Ping timeout: 240 seconds]
luke-jr has joined #linux-sunxi
JohnDoe_71Rus has quit [Quit: KVIrc 5.0.0 Aria http://www.kvirc.net/]
dddddd has joined #linux-sunxi
tdebrouw has joined #linux-sunxi
BroderTuck has quit [Remote host closed the connection]
mauz555 has quit [Remote host closed the connection]
suprothunderbolt has joined #linux-sunxi
mauz555 has joined #linux-sunxi
mauz555 has quit [Remote host closed the connection]
mauz555 has joined #linux-sunxi
fl_0 has quit [Ping timeout: 246 seconds]
mauz555 has quit [Read error: Connection reset by peer]
gaston1980 has joined #linux-sunxi
mauz555 has joined #linux-sunxi
fl_0 has joined #linux-sunxi
matthias_bgg has quit [Ping timeout: 260 seconds]
iyzsong has quit [Ping timeout: 272 seconds]
matthias_bgg has joined #linux-sunxi
JohnDoe_71Rus has joined #linux-sunxi
JohnDoe_71Rus has quit [Changing host]
JohnDoe_71Rus has joined #linux-sunxi
macc24 has quit [Ping timeout: 256 seconds]
vagrantc has joined #linux-sunxi
dev1990_ has joined #linux-sunxi
selfbg has quit [Ping timeout: 264 seconds]
selfbg has joined #linux-sunxi
obbardc has quit [Ping timeout: 240 seconds]
obbardc has joined #linux-sunxi
dev1990 has quit [Ping timeout: 240 seconds]
tmlind has quit [Ping timeout: 264 seconds]
tmlind has joined #linux-sunxi
lkcl has quit [Ping timeout: 264 seconds]
lerc has quit [Ping timeout: 264 seconds]
lerc has joined #linux-sunxi
lkcl has joined #linux-sunxi
macc24 has joined #linux-sunxi
cnxsoft1 has quit [Quit: cnxsoft1]
afaerber has joined #linux-sunxi
reinforce has quit [Quit: Leaving.]
selfbg has quit [Ping timeout: 250 seconds]
reinforce has joined #linux-sunxi
dddddd has quit [Remote host closed the connection]
florian has quit [Quit: Leaving]
sbbg has quit [Remote host closed the connection]
selfbg has joined #linux-sunxi
tuxd3v has quit [Quit: Leaving]
tuxd3v has joined #linux-sunxi
sunilmohan has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
matthias_bgg has quit [Ping timeout: 260 seconds]
mauz555 has quit []
sunilmohan has joined #linux-sunxi
sunilmohan has quit [Changing host]
sunilmohan has joined #linux-sunxi
matthias_bgg has joined #linux-sunxi
aloo_two has joined #linux-sunxi
matthias_bgg has quit [Ping timeout: 258 seconds]
aloo_two is now known as aloo_shu
lurchi_ is now known as lurchi__
matthias_bgg has joined #linux-sunxi
freemangordon has quit [Remote host closed the connection]
freemangordon has joined #linux-sunxi
macc24 has quit [Ping timeout: 256 seconds]
lurchi__ is now known as lurchi_
macc24 has joined #linux-sunxi
selfbg has quit [Ping timeout: 264 seconds]
aloo_shu has quit [Ping timeout: 256 seconds]
vagrantc has quit [Quit: leaving]
gsz has quit [Quit: Konversation terminated!]
aloo_shu has joined #linux-sunxi
aloo_shu has quit [Client Quit]
aloo_shu has joined #linux-sunxi
gaston1980 has quit [Quit: Konversation terminated!]
matthias_bgg has quit [Ping timeout: 240 seconds]
deesix_ has joined #linux-sunxi
florian has joined #linux-sunxi
deesix has quit [Ping timeout: 256 seconds]
matthias_bgg has joined #linux-sunxi
netlynx has quit [Quit: Ex-Chat]
florian has quit [Ping timeout: 258 seconds]
dddddd has joined #linux-sunxi
JohnDoe_71Rus has quit [Quit: KVIrc 5.0.0 Aria http://www.kvirc.net/]
lurchi_ has quit [Ping timeout: 260 seconds]
deesix_ has quit [Quit: leaving]
deesix has joined #linux-sunxi
lurchi_ has joined #linux-sunxi
aloo_shu has quit [Read error: No route to host]
aloo_shu has joined #linux-sunxi
matthias_bgg has quit [Ping timeout: 250 seconds]
aloo_shu has quit [Ping timeout: 264 seconds]
aloo_shu has joined #linux-sunxi
florian has joined #linux-sunxi
mauz555 has joined #linux-sunxi
tbueno has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
lurchi_ is now known as lurchi__
lurchi__ is now known as lurchi_
tbueno has joined #linux-sunxi
<jernej> sbbg: h264_v4l2m2m is not correct codec
reinforce has quit [Quit: Leaving.]
<jernej> this one is for stateful v4l2 codecs, whereas Cedrus is stateless
<jernej> use something like: ffmpeg -loglevel debug -hwaccel drm -hwaccel_output_format drm_prime -i burosch1.mpg -f null -
<jernej> and there is no DT changes for Cedrus in LE
<jernej> however, there are changes in DT for other stuff, like hdmi audio
lurchi_ has quit [Quit: Konversation terminated!]
lurchi_ has joined #linux-sunxi
_whitelogger has joined #linux-sunxi
wasutton3 has quit [Quit: ZNC 1.7.5 - https://znc.in]
wasutton3 has joined #linux-sunxi
_whitelogger has joined #linux-sunxi
Kwiboo has quit [Quit: .]
tdebrouw has quit [Quit: Leaving.]
_whitelogger has joined #linux-sunxi
aloo_shu has quit [Read error: Connection reset by peer]
aloo_two has joined #linux-sunxi
aloo_two is now known as aloo_shu
aloo_shu has quit [Client Quit]
aloo_shu has joined #linux-sunxi
lurchi_ is now known as lurchi__
macc24 has quit [Ping timeout: 250 seconds]
RichardG867 has quit [Ping timeout: 256 seconds]
RichardG867 has joined #linux-sunxi
RichardG867 has joined #linux-sunxi
RichardG867 has quit [Changing host]
minicom has quit [Ping timeout: 256 seconds]
minicom has joined #linux-sunxi
mauz555 has quit [Remote host closed the connection]
mauz555 has joined #linux-sunxi
jernej has quit [Quit: Free ZNC ~ Powered by LunarBNC: https://LunarBNC.net]
jernej has joined #linux-sunxi
mauz555 has quit [Ping timeout: 256 seconds]
mauz555 has joined #linux-sunxi
tnovotny has quit [Remote host closed the connection]
mauz555 has quit [Ping timeout: 272 seconds]
jstein has joined #linux-sunxi
lkcl has quit [Ping timeout: 256 seconds]
aloo_shu has quit [Ping timeout: 256 seconds]
lurchi__ is now known as lurchi_
aloo_shu has joined #linux-sunxi
tmlind has quit [Ping timeout: 240 seconds]
tmlind has joined #linux-sunxi
dev1990_ has quit [Quit: Konversation terminated!]