ChanServ changed the topic of #linux-sunxi to: Allwinner/sunxi development - Did you try looking at our wiki? https://linux-sunxi.org - Don't ask to ask. Just ask and wait for an answer! - This channel is logged at https://oftc.irclog.whitequark.org/linux-sunxi
tuxd3v has quit [Remote host closed the connection]
tuxd3v has joined #linux-sunxi
Mangy_Dog has quit [Ping timeout: 480 seconds]
tuxd3v has quit [Read error: Connection reset by peer]
tuxd3v has joined #linux-sunxi
tuxd3v_ has joined #linux-sunxi
tuxd3v has quit [Read error: Connection reset by peer]
tuxd3v has joined #linux-sunxi
tuxd3v_ has quit [Read error: Connection reset by peer]
pupil has joined #linux-sunxi
pupil has quit []
apritzel has quit [Ping timeout: 480 seconds]
vagrantc has quit [Quit: leaving]
JohnDoe_71Rus has joined #linux-sunxi
cnxsoft has joined #linux-sunxi
apritzel has joined #linux-sunxi
MoeIcenowy has left #linux-sunxi [#linux-sunxi]
apritzel has quit [Ping timeout: 480 seconds]
chewitt has joined #linux-sunxi
cnxsoft has quit [Ping timeout: 480 seconds]
chewitt has quit [Quit: Zzz..]
chewitt has joined #linux-sunxi
chewitt has quit [Quit: Zzz..]
apritzel has joined #linux-sunxi
JohnDoe_71Rus has quit []
Mangy_Dog has joined #linux-sunxi
apritzel has quit [Ping timeout: 480 seconds]
chewitt has joined #linux-sunxi
prefixcactus has quit [Ping timeout: 480 seconds]
JohnDoe_71Rus has joined #linux-sunxi
apritzel has joined #linux-sunxi
prefixcactus has joined #linux-sunxi
chewitt has quit [Quit: Zzz..]
chewitt has joined #linux-sunxi
apritzel has quit [Ping timeout: 480 seconds]
chewitt has quit [Quit: Zzz..]
chewitt has joined #linux-sunxi
prefixcactus has quit [Ping timeout: 480 seconds]
chewitt has quit [Quit: Zzz..]
checkpoint has joined #linux-sunxi
<checkpoint> Hi all. Is there any way to boot 3.14.113 kernel on A13 ? I cannot find proper kernel config, whatever I try it just hangs right after "Starting kernel ...", kernel version 3.4.103 boots ok.
vagrantc has joined #linux-sunxi
apritzel has joined #linux-sunxi
<montjoie> checkpoint: such old kernel! very few people will still use it
rajkosto has joined #linux-sunxi
<libv> checkpoint: you might want to explain what you want to achieve first
sunshavi has quit [Remote host closed the connection]
hexdump01 has joined #linux-sunxi
sunshavi has joined #linux-sunxi
apritzel has quit [Ping timeout: 480 seconds]
hexdump01 has quit []
hexdump0815 has joined #linux-sunxi
<hexdump0815> jernej: warpme: i just built a v5.15.11 kernel for a qplus h6 tv box and added the h6 related patches (for eth etc.) from minimyth2 ... it looks good so far, but hdmi-out does not work
<hexdump0815> it works well with v5.10 - full dmesg is: https://pastebin.com/raw/s6uzWzW3 - the relevant line seems to be "sun4i-drm display-engine: [drm] *ERROR* fbdev: Failed to setup generic emulation (ret=-12)"
<hexdump0815> is there anything special to keep in mind or any known problem with v5.15 on h6?
JohnDoe_71Rus has quit []
<checkpoint> montjoie: unfortunately that is the only way to use hardware accelerated H264 codecs, encoding is still not iplemented in mainline.
<checkpoint> libv: I want to boot 3.4.113 kernel on A13, I need hardware H264 codecs and OV5640 driver that is implemented in 3.4.113.
<gamiee> checkpoint: I get H.264 encoding working on mainline kernel (using binary blob)
<checkpoint> gamiee: got any web resource on how to achieve that ? We have H264 working using libcedar on 3.4, but how to get it working on mainline ?
<gamiee> I have verified that it works just fine, I'm working on GStreamer plugin which uses the libcedar for encoding
<checkpoint> gamiee: what driver does it use ? /dev/cedar_dev ?
<gamiee> cedar kernel module + ion
<checkpoint> gamiee: that's interesting, thanks
<gamiee> @checkpoint: No problem! If you will have any other questions, ping me here.
<gamiee> Also, I started to reverse engineer the libcedar blob here: https://github.com/gamelaster/pinecube/tree/main/software/recedar , although, I was reverse engineering the old CAMdroid blob, and after I will finish GStreamer plugin, I plan to start reimplementing the latest one, so it will be easier to test it.
apritzel has joined #linux-sunxi
<checkpoint> gamiee: we have our own software that does H264 encoding pipelining images from camera to encoder eliminating memcpy, works quite efficiently on 3.4.103 (better than ffmpeg). The problem is that ov5640 driver in 3.4.103 is incredibly lame witten. we tested 3.4.133 on T2, it works way better (gives better image quality and FPS). So we decided to build 3.4.113 for A13 as well and that's were we got stuck - kernel does not boot.
<gamiee> @checkpoint: as you might know, debugging allwinner's bsp is pain, so I can't give you any hints, but I think you should be able to get your software working on mainline just fine. OV5640 works on mainline just good :) PineCube on which I test everything have the same sensor
<checkpoint> gamiee: yes, switching to mainline was one of the planned ways to go for us, yet I could not find any info on how to use encoding in mainline. I read about cedrus which does hardware accelerated decoding, but it seems abandoned, so we stick with 3.4 kernel.
<gamiee> @checkpoint: cedrus is not abandoned, it's already done and working on mainline kernel for a longer time (but only decoding)
* checkpoint hopes that someone reverses encoding and adds support to cedrus
<gamiee> that's what I'm trying to do, recedar is first step, second step is to get this into cedrus :)
<checkpoint> gamiee: I will be grateful if you do it! thanks!
<checkpoint> we are also trying to get rid of buggy A13 switching to T3, but that takes a log of work to redesign our hardware.
<checkpoint> s/log/lot/
rajkosto has quit [Read error: Connection reset by peer]
<gamiee> what was buggy on A13?
rajkosto has joined #linux-sunxi
<checkpoint> gamiee: among other things, H264 hw encoder on A13 generates bogus P frames and we had to work around that. Exactly same code on A20/T2 works fine.
<checkpoint> gmiee: could be a bug in a blog, I don't really know, but damn annoying.
<gamiee> @checkpoint: on A20 and on A13, you use same libcedar blob, or different one? If same, it's definitely core bug
<checkpoint> s/blog/blob/
<checkpoint> gamiee: same libcedar, yes
<gamiee> then it's silicon bug
<checkpoint> gamiee: we managed to patch it somehow, to skip bogus P frames.
<jernej> hexdump0815: -12 means -ENOMEM, so increase CMA size? or alternatively, disable fbdev emulation or at least disable additional memory allocation for doublebuffering on fbdev
<jernej> H6 DRM driver should work well in almost all cases in 5.15
<jernej> the only outstanding issue is 4k@60 with some monitors or TVs, but I have patch for that too (in testing phase)
<checkpoint> can someone please tell is it feasible to achieve 1920x1080@30fsp using CSI DVP camera interface, not LVDS ?
<libv> checkpoint: yes.
<libv> with csi being the allwinner definition of csi
<libv> whether the a13 can handle the memory bandwidth that the csi engine throws out is something else
<libv> but a20 is happy doing double that
<checkpoint> libv: good, thanks.
<checkpoint> libv: btw, what camera sensors do you think can handle that ?
<libv> i used a dvi to parallel chip, the ti TFP401
<libv> as that came on a handy module
<checkpoint> that's cool
<checkpoint> I watched your video on youtube :)
<libv> :)
<libv> that was running 1280x720@60Hz for two days straight
<checkpoint> yeah..
<libv> early testing had it running full hd for much longer, but that was not needed for the physical fosdem setup of the time
<libv> if we are lucky, we actually can do full hd with the available memory bandwidth, but wait and see
<hexdump0815> jernej: thanks a lot - i think this goes into the right direction: CONFIG_CMA was not set :)
Luke-Jr has quit [Ping timeout: 480 seconds]