hno changed the topic of #linux-sunxi to: /Allwinner/sunxi development discussion - Don't ask to ask. Just ask and wait! - See http://linux-sunxi.org | https://github.com/linux-sunxi/ | Logs at http://irclog.whitequark.org/linux-sunxi
egbert has quit [Disconnected by services]
egbert has joined #linux-sunxi
<robb83> anybody know some trick how to debug booting (console output) in allwinner tablets without serial output ?
egbert has quit [Disconnected by services]
egbert_ has joined #linux-sunxi
<Turl> robb83: you can get a serial console with a uSD breakout
<Turl> (of course that also means you cannot boot from uSD)
<robb83> so, its works, maybe for A31 too ? http://elinux.org/Hack_A10_devices#Get_a_console
<Turl> robb83: that's the idea, yes
<Turl> robb83: but I dunno if it works on A31, and I don't have any access to docs to actually check
<robb83> doesn't matter, i will try, soon, thx
benoitm974 has quit [Quit: benoitm974]
setkeh has quit [Ping timeout: 246 seconds]
setkeh has joined #linux-sunxi
hipboi has joined #linux-sunxi
<Turl> hey hipboi :)
<hipboi> Turl, morning
<Turl> hipboi: I finally got my cb2 :D thanks
<hipboi> Turl, oh, it takes long
<Turl> yeah, it took quite a bit this time for some reason :/ even russia ships faster lol
<Turl> usually it takes like a month less
[7] has quit [Read error: Operation timed out]
TheSeven has joined #linux-sunxi
setkeh has quit [Read error: Operation timed out]
setkeh has joined #linux-sunxi
setkeh has quit [Read error: Operation timed out]
setkeh has joined #linux-sunxi
hipboi has quit [Ping timeout: 256 seconds]
hipboi has joined #linux-sunxi
hipboi has quit [Read error: Connection reset by peer]
ykchavan has joined #linux-sunxi
akaizen_ has joined #linux-sunxi
akaizen has quit [Read error: Connection reset by peer]
robb83 has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
robb83 has joined #linux-sunxi
robb83 has quit [Client Quit]
robb83 has joined #linux-sunxi
moofree has quit [Ping timeout: 246 seconds]
robb83 has quit [Client Quit]
robb83 has joined #linux-sunxi
moofree_ has joined #linux-sunxi
drachensun has joined #linux-sunxi
<drachensun> anyone seen any code for the ft5x06 or inet_ctp touch screen drivers?
akaizen has joined #linux-sunxi
akaizen_ has quit [Read error: Connection reset by peer]
robb83 has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
drachensun has quit [Quit: Leaving]
akaizen has quit [Remote host closed the connection]
akaizen has joined #linux-sunxi
kaspter has quit [Ping timeout: 245 seconds]
fredy has quit [Excess Flood]
fredy has joined #linux-sunxi
robb83 has joined #linux-sunxi
ykchavan has quit [Ping timeout: 245 seconds]
popolon has joined #linux-sunxi
massi has joined #linux-sunxi
akaizen has quit [Remote host closed the connection]
rz2k has joined #linux-sunxi
deasy has joined #linux-sunxi
stekern has quit [Read error: Operation timed out]
stekern has joined #linux-sunxi
\\Mr_C\\ has quit []
\\Mr_C\\ has joined #linux-sunxi
akaizen has joined #linux-sunxi
deasy has quit [Quit: Quitte]
akaizen has quit [Ping timeout: 264 seconds]
wingrime has joined #linux-sunxi
mcbrick has quit [Quit: Leaving]
<oliv3r> drapossibly
<oliv3r> drachensun possibly
<oliv3r> Turl: i'll push my current bsp repo somewhere, while it's not pretty and wip; it shouldn't be just on my disk :)
soul has joined #linux-sunxi
vinifr has joined #linux-sunxi
massi has quit [Quit: Sto andando via]
popolon has quit [Quit: Quitte]
<pacopad> Hi All, i got a noob question, i try to apply a kernel patch found not this mailing list
<pacopad> the patch command returns Only garbage was found in the patch input.
<pacopad> i thing i didn't paste the patch correctly
<pacopad> what's the beginning , what's the end ?
<rz2k> if the patch throws errors that means that it needs to be rebased to newer version
<rz2k> (e.g. it was done on erlier commit) also most of todays patches are applying against https://github.com/jwrdegoede/linux-sunxi/commits/sunxi-3.4
<pacopad> Ok rz2k thank you, i got no matters with kernel compilation, just with patch application
<rz2k> try jwrdegoede sunxi-3.4, your patch might work on that
<pacopad> i use theses sources sunxi-3.4-cb2-dev http://github.com/cubieboard2/linux-sunxi.git
Seppoz has quit [Remote host closed the connection]
Seppoz has joined #linux-sunxi
ibrah has joined #linux-sunxi
notmart has joined #linux-sunxi
notmart has joined #linux-sunxi
notmart has quit [Changing host]
notmart has quit [Client Quit]
deasy has joined #linux-sunxi
deasy has quit [Remote host closed the connection]
binaryferret has joined #linux-sunxi
deasy has joined #linux-sunxi
ibrah has quit [Ping timeout: 245 seconds]
ibrah has joined #linux-sunxi
vinifr has quit [Ping timeout: 240 seconds]
vinifr has joined #linux-sunxi
ganbold_ has quit [Ping timeout: 256 seconds]
setkeh has quit [Max SendQ exceeded]
pacopad has quit [Quit: pacopad]
setkeh has joined #linux-sunxi
<TheSeven> ssvb: I've retried with VLC, and despite behaving slightly differently, it's still choppy
<TheSeven> it doesn't seem to depend as much on the video content though
<TheSeven> and once again, just like with XBMC, linux libvecore vs. libhybris android libvecore doesn't seem to make a difference at all
<ssvb> TheSeven: you can try to set cpufreq governor to 'performance'
<ssvb> TheSeven: and also run a profiler to see what is pegging the CPU
<TheSeven> I had that suspicion already (because it was running at ~75% load at 500-600MHz), but setting it to performance didn't help
<TheSeven> at 1GHz I'm seeing 40-60% CPU usage, yet video is choppy
<TheSeven> the video is 720p, played from a SATA hard drive, but the part in question must have been in the disk cache anyway
<TheSeven> so while it seems to be CPU bound in XBMC, it isn't in VLC, but something else makes it stutter
<TheSeven> also I don't have audio yet, still have to figure out what's wrong with that
<ssvb> can you try the samples from http://linux-sunxi.org/CedarXVideoRenderingChart ?
<ssvb> about your last comment, you really need to fix the audio problems first
<ssvb> because video is supposed to play in sync with audio, broken audio can easily cause a lot of problems
<TheSeven> seems like alsa doesn't find any cards
<TheSeven> what do I need to do to make HDMI audio work?
tinti has joined #linux-sunxi
* TheSeven downloads samples
<ssvb> TheSeven: have you checked http://linux-sunxi.org/Audio_Codec ?
<rah> which branch of allwinner-pack-tools is the latest LiveSuit in?
jemk has joined #linux-sunxi
<TheSeven> hm, seems like alsa was completely missing from that install...
<TheSeven> seems to work now
<ssvb> TheSeven: is video playback working better now?
deasy has quit [Remote host closed the connection]
deasy has joined #linux-sunxi
_BJFreeman has joined #linux-sunxi
_BJFreeman is now known as BJfreeman
n01 has joined #linux-sunxi
mcbrick has joined #linux-sunxi
n01 has quit [Ping timeout: 260 seconds]
_BJFreeman has joined #linux-sunxi
BJfreeman is now known as Guest63726
Guest63726 has quit [Read error: Connection reset by peer]
_BJFreeman is now known as BJfreeman
akaizen has joined #linux-sunxi
_BJFreeman has joined #linux-sunxi
BJfreeman is now known as Guest42206
_BJFreeman is now known as BJfreeman
Guest42206 has quit [Ping timeout: 268 seconds]
_BJFreeman has joined #linux-sunxi
BJfreeman is now known as Guest95601
_BJFreeman is now known as BJfreeman
Guest95601 has quit [Read error: Connection reset by peer]
jemk_ has joined #linux-sunxi
_BJFreeman has joined #linux-sunxi
BJfreeman is now known as Guest2156
_BJFreeman is now known as BJfreeman
jemk has quit [Ping timeout: 248 seconds]
Guest2156 has quit [Ping timeout: 268 seconds]
BJfreeman has quit [Read error: Connection reset by peer]
deasy has quit [Quit: Quitte]
soul has quit [Remote host closed the connection]
robb83 has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
akaizen has quit [Remote host closed the connection]
_BJFreeman has joined #linux-sunxi
_BJFreeman is now known as BJfreeman
utzig has joined #linux-sunxi
RaYmAn has quit [Remote host closed the connection]
vinifr has quit [Remote host closed the connection]
ZetaNeta has joined #linux-sunxi
rz2k has quit []
<TheSeven> ssvb: SD video playback seems to mostly work now in XBMC (seems like it skips a frame now and then, but acceptable)
<TheSeven> CPU load isn't the problem apparently
<TheSeven> for HD video playback I have some weird issues with both XBMC and VLC
<TheSeven> or at least for some HD videos
<TheSeven> I repeatedly managed to get cedarx into a state where it produced garbage colors (horizontal r/g/b bars) with correct luma until a reboot
<TheSeven> and with VLC I also have some issues where audio playback is completely garbled or stalls for about 5 seconds every couple of seconds. video playback is choppy during these stalls, but CPU usage is low.
akaizen has joined #linux-sunxi
akaizen has quit [Ping timeout: 240 seconds]
<TheSeven> this, repeatedly:
<TheSeven> [0xb67005f8] main input error: ES_OUT_RESET_PCR called
<TheSeven> [0xb67005f8] main input error: ES_OUT_SET_(GROUP_)PCR is called too late (jitter of 5000 ms ignored)
<TheSeven> there's also a rather nasty problem where after playing a file to its end in xbmc the cedar overlay will stay over the mali-rendered layer, which effectively results in a black screen. even if I restart XBMC!
<wingrime> TheSeven: mali?
<TheSeven> well, or whatever that is... the "UI" layer of XBMC
<wingrime> actualy it on a20?
jemk_ is now known as jemk
<TheSeven> a10
ibrah has quit [Ping timeout: 240 seconds]
<wingrime> TheSeven: more about usecase please
<TheSeven> of which of these problems?
<wingrime> black screen
<TheSeven> I start XBMC, watch a video. when I pause it or otherwise enter the menu, everything is fine. If I let the video run until the end however, I get stuck on a black screen. I can hear XBMC produce menu sounds, but the screen stays black. Even after restarting XBMC.
<wingrime> TheSeven: oh well I can explain what it happens
<TheSeven> that's with native linux libvecore, but I think it has also happened with the libhybris one
<wingrime> TheSeven: our Disp driver actualy piece of crap from AW
<TheSeven> looks like it doesn't properly remove the overlay somehow
<wingrime> TheSeven: yes
<wingrime> TheSeven: I have noticed that with black-light
<TheSeven> I'm just wondering why it only seems to happen if I let a video run until the end
<wingrime> TheSeven: all you problems related hardware overlay handling
<wingrime> TheSeven: lines on top - looks like incorrect overlay mode
<TheSeven> yes
<wingrime> TheSeven: for example disp can handle UVY video
<wingrime> *image
<TheSeven> however the "pausing audio and stuttering video" VLC issue doesn't seem to be overlay-related to me
<TheSeven> that seems more like a demuxer or audio codec thing
<wingrime> can explain more
<wingrime> ?
<wingrime> TheSeven: also, problem with XBMC can be produced due incorrect /dev/disp close / ioctl sequence
<TheSeven> for some HD video files I'm getting garbled audio in XBMC (and IIRC also in VLC), along with very bad video frame rate (<5fps), then after a while the audio comes alive somehow and video gets smooth as well. then after a few seconds audio goes silent and video stutters again for 5 seconds, then it works normally again. and so on. VLC messages: see above
<wingrime> TheSeven: good news *it fixable* - thats not related blobs
<TheSeven> well, if I had some background in this area I would be tempted to just throw those blobs out and reimplement the whole mess based on reverse engineered HW knowledge...
<wingrime> TheSeven: thats audio bug - some sync related
<wingrime> TheSeven: I working on it)
<TheSeven> let me know if I can be of any help :)
<wingrime> TheSeven: but It it still not usable state
<TheSeven> the problem is that I have zero background in that whole GPU, video, codecs, ... architecture stuff
<TheSeven> I know my way around ARM SoCs, and have done lowlevel reverse engineering before, but this is an all new area to me
<wingrime> TheSeven: our video driver must be rewrited , and I hope some one take a work on it
<wingrime> TheSeven: rewrite for mainline
<TheSeven> I also haven't done linux kernel development yet... planning to get into that some day
<wingrime> TheSeven: we going to use mainline kernel in future
<wingrime> TheSeven: so thats requires rewrite almost everything
<wingrime> TheSeven: also about this http://linux-sunxi.org/Mainlining_Effort
<wingrime> it far from complite
n01 has joined #linux-sunxi
tinti has quit [Quit: Leaving]
<jemk> wingrime: some of the ve registers in h264 engine seem to have different function in h264 and vp8, so the name you gave them doesn't fit for both
<jemk> wingrime: how should we handle this?
<wingrime> jemk: no idea
<wingrime> jemk: use different #define is bad
<wingrime> jemk: single name mostly prefered
<wingrime> jemk: any idea?
<jemk> wingrime: e.g. reg 0x21c is PART_OFFSET for vp8, but for h264 it contains values from slice header
<jemk> so totaly different use
<wingrime> I glad paullo join us
<jemk> did you talk to him?
<wingrime> jemk: still no
<wingrime> jemk: MACC_H264_POFFSET_VP8_<some>
<wingrime> jemk: there some name for VP8 and H264 codec family?
<jemk> wingrime: don't know, that gets ugly
<wingrime> jemk: indeed
<oliv3r> mripard: may have a naming or other suggestion for you guys
<wingrime> jemk: are you figured what extatly value for H264 means
<wingrime> jemk: if it only slice header
<wingrime> MACC_H264_VP8_SHDR
<wingrime> jemk: I try add
techn__ has quit [Ping timeout: 264 seconds]
<wingrime> jemk: take a look now
<jemk> wingrime: i don't know if vp8 name is correct, but for h264 it contains values all named *_qp_* something
<wingrime> jemk: but slice and part are not synonims?
<wingrime> "slice" can be == "part"
<jemk> wingrime: no, not that i know, maybe you find the answer in paullos code
<wingrime> jemk: better se him there
<wingrime> *see
<wingrime> jemk: his code not ever runed
<jemk> wingrime: well, its decompiled and cleaned up i think
<wingrime> jemk: any way I Add new name in *single row*
<wingrime> jemk: how idea?
<jemk> wingrime: i don't really know wiki syntax, but why not two rows?
<jemk> wingrime: do we have a way to read ve-ram from cpu, to check my idea of function of regs 0x2e0 and 0x2e4
<ssvb> TheSeven: what kind of kernel are you using on your a10? the leaked disp overlay problem should have been fixed quite a long time ago
<wingrime> jemk: what you mean ve-ram?
<wingrime> jemk: we have dram and sram
<jemk> wingrime: the sram mapped to ve
<wingrime> jemk: ok, we can remap it back
<jemk> wingrime: but how, we would need help of kernel, or not?
<wingrime> jemk: no see SRAM_C2_MAP
<wingrime> oliv3r: ^
<wingrime> oliv3r: have you tryed this
<jemk> wingrime: well, wiki says it doesn't work
<jemk> Useable: N
<wingrime> jemk: actualy now all things correct
<wingrime> *not all
<wingrime> jemk: we can't say what actualy required to do this
<wingrime> jemk: but it form AW's docs
<wingrime> jemk: this is was checked using u-boot console
<wingrime> jemk: BUT,
<wingrime> jemk: cedar not gate-on and clocked
<oliv3r> wingrime: i tried remapping a few SRAM memories
<oliv3r> i think i updated the wiki to show which coul dand which could not be re-used
<oliv3r> I tried to map it back to the CPU in u-boot and failed
<wingrime> oliv3r: can it be read only even in remaped to cpu state?
<wingrime> oliv3r: also see, "11" means mapped to cedar and audio engine together
<oliv3r> yeah
<oliv3r> cedarA and cedarV = cedarX imo
<oliv3r> anyway, reading might work, but i always only got 0 if i rememb er correctly, so dunno if reading is possible
<wingrime> oliv3r: also,I see in A20 man that C1 - 50l
<wingrime> *50K
<oliv3r> 512k could very much be a typo
<wingrime> oliv3r: crap, c1 - ve , c2 - ae , ce ,ace
<wingrime> if ve - cedar x
<wingrime> what means ce than
<oliv3r> Codec Engine? :p
<oliv3r> remeber, those sram pages where written long before we knew a lot of meaning
<TheSeven> ssvb: rm's latest
<TheSeven> $ uname -a
<TheSeven> Linux cubie 3.4.43-20130531.1334-v-rm1+ #95 Fri May 31 19:55:59 YEKT 2013 armv7l armv7l armv7l GNU/Linux
<wingrime> oliv3r: just see)))
<wingrime> /*for clk test*/
<wingrime> printk("ace_module CLK:0xf1c20148 is:%x\n", *(volatile int *)0xf1c20148);
<oliv3r> that's audio clock iirc
<wingrime> pll5 also used
<wingrime> printk("dram_ace CLK:0xf1c20100 is:%x\n", *(volatile int *)0xf1c20100);
<oliv3r> dram <--> ACE memory mapping
BJfreeman has quit [Quit: had a good time]
<oliv3r> for DMA
<oliv3r> i would think
<wingrime> jemk: you can try
<ssvb> TheSeven: hmm, 20130531, seems like it might include https://github.com/linux-sunxi/linux-sunxi/commit/c5b0367d86eef671
<ssvb> TheSeven: but we can't know for sure
iamfrankenstein has joined #linux-sunxi
iamfrankenstein has quit [Ping timeout: 276 seconds]
utzig has left #linux-sunxi [#linux-sunxi]
iamfrankenstein has joined #linux-sunxi
<TheSeven> ssvb: [ 662.240000] [DISP] layer allocated: 0,101
<TheSeven> so I'd guess it includes that patch
<Turl> ssvb: it should, it's present on the 3.4.29 tag too judging by what github says
n01 has quit [Ping timeout: 264 seconds]
jemk has quit [Ping timeout: 240 seconds]
akaizen has joined #linux-sunxi
wingrime has quit [Ping timeout: 245 seconds]
akaizen has quit [Ping timeout: 240 seconds]
akaizen has joined #linux-sunxi
Tartarus has quit [Ping timeout: 245 seconds]
Tartarus has joined #linux-sunxi
_BJFreeman has joined #linux-sunxi
_BJFreeman is now known as BJfreeman
_BJFreeman has joined #linux-sunxi
BJfreeman is now known as Guest95068
_BJFreeman is now known as BJfreeman
Guest95068 has quit [Ping timeout: 268 seconds]
_BJFreeman has joined #linux-sunxi
\\Mr_C\\ has quit []
BJfreeman is now known as Guest91484
_BJFreeman is now known as BJfreeman
Guest91484 has quit [Ping timeout: 268 seconds]