rz2k 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 | FOSDEM talks - http://dl.linux-sunxi.org/users/nove/sunxi_at_fosdem2014/
<nazcafan> or is it that basically the SOC delivers interfaces, not all of them are actually used when designing a board?
<Turl> nazcafan: indeed, you don't need to use every interface
<Turl> nazcafan: think for example on the "Mini PCs" that look like sticks, those don't have any ethernet, and like 1 usb port
deasy has quit [Quit: Nom d'un quark, c'est Edmonton !]
<nazcafan> but they still will use a full A20 even though only a handful of its capacity will be used?
<nazcafan> do they get a discount?
<Turl> nazcafan: nah, the A20 is a chip
<Turl> nazcafan: it's the same in the X86 world for example
<Turl> nazcafan: you can buy an intel cpu and put it on a motherboard with 1 PCIe or 4 PCIe
<nazcafan> is there any board out there that actually uses the emac?
<nazcafan> or say, device
<Turl> nazcafan: yes, all A10 and A10S devices with ethernet
<Turl> there's also the cubieboard2 with A20, but the A20 is designed in such a way that you can use gmac too with the same board design as gmac
<Turl> as emac*
<Turl> so we use gmac for all A20 boards because it works better
<nazcafan> Turl, everytime you give me an answer, it triggers a dozen more questions
<Turl> :)
<nazcafan> is basically the physical ethernet connector usable with either the gmac or the emac inteface?
<nazcafan> (on a cubieboard2)
<Turl> the phy rather than the connector
<Turl> but yes
<nazcafan> does this hold for cubietruck as well?
<Turl> nazcafan: no, because cubietruck has a gigabit phy
<Turl> emac is 10/100Mbit only, gmac is 10/100/1000
deasy has joined #linux-sunxi
<nazcafan> so a 10/100 interface can not handle a gigabit phy... and are all gigabit phys interchangeable?
<Turl> nazcafan: the interface between the phy and the mac (emac, gmac) is standarized
<Turl> that's what "defines" the limitation
<Turl> you can read more about that on https://en.wikipedia.org/wiki/Media_Independent_Interface
<Turl> brb
<nazcafan> thanks again for all the info Turl, have a nice day
nazcafan has quit [Ping timeout: 244 seconds]
newleaves_ has joined #linux-sunxi
VargaD has quit [Ping timeout: 245 seconds]
DJJeff has joined #linux-sunxi
bamvor_ has quit [Quit: Leaving]
bamvor has joined #linux-sunxi
egbert has quit [Disconnected by services]
egbert has joined #linux-sunxi
kivutar has quit [Quit: Ex-Chat]
<Skaag> is there something like bootsplash for 3.x kernels?
<Skaag> ok found something
<Skaag> ok looks like uBoot supports something called UBootSplashScreen
<Skaag> but looks super complex
FreezingCold has quit [Ping timeout: 244 seconds]
diego71 has quit [Ping timeout: 265 seconds]
diego71 has joined #linux-sunxi
<Turl> Skaag: we don't have display support in uboot either
Gerwin_J has joined #linux-sunxi
<Skaag> gotcha, so just the boot splash where the tux is showing right now
<Skaag> which I need to learn how to replace
bsdfox has quit [Ping timeout: 240 seconds]
<Skaag> does a uImage contain the kernel config somehow?
deasy has quit [Quit: Nom d'un quark, c'est Edmonton !]
bsdfox has joined #linux-sunxi
hipboi has joined #linux-sunxi
<Turl> Skaag: if you enabled IKCONFIG the config gets embedded into it
<DJJeff> I found a nand dump of my device on some russian site
<DJJeff> how to I get these back onto my tablet?
<Turl> DJJeff: how fubared is your device?
<Turl> that dump doesn't have the bootloader nor the partition layout
pacopad_ has joined #linux-sunxi
<DJJeff> I have the partition layout
pacopad has quit [Ping timeout: 240 seconds]
pacopad_ is now known as pacopad
<Turl> DJJeff: boot an SD image and try fixing it with nand-part and dd then
<DJJeff> how do I do this?
<DJJeff> the nand on my tablet is all 0's
<Turl> DJJeff: given that you don't have a working system it'll be hard to get the original memory config, but if you play it safe, you can probably find a board on uboot which will boot
<Turl> you have the script.bin on that nanda I suppose
<Turl> you can then make a sd card image
<DJJeff> using phoenixcard?
<Turl> no, using dd, mkfs.vfat, make, the wiki, etc
<DJJeff> X)X
<DJJeff> X_X
<Turl> or something like the fedora image, which should be less painful
<Turl> read the README
<DJJeff> thats a10
<DJJeff> mine is a13
Gerwin_J has quit [Quit: Gerwin_J]
<Turl> DJJeff: why don't you read the readme before saying stuff? :)
<DJJeff> oh
<Skaag> Turl: thanks
bsdfox has quit [Read error: Operation timed out]
bsdfox has joined #linux-sunxi
hipboi has quit [Read error: Connection reset by peer]
hipboi has joined #linux-sunxi
hipboi has quit [Read error: Connection reset by peer]
hipboi has joined #linux-sunxi
JohnDoe_71Rus has joined #linux-sunxi
pacopad_ has joined #linux-sunxi
pacopad has quit [Ping timeout: 244 seconds]
pacopad_ is now known as pacopad
VargaD has joined #linux-sunxi
TheSeven has quit [Disconnected by services]
[7] has joined #linux-sunxi
hipboi has quit [Read error: Connection reset by peer]
hipboi has joined #linux-sunxi
hipboi has quit [Read error: Connection reset by peer]
hipboi has joined #linux-sunxi
hipboi has quit [Read error: Connection reset by peer]
hipboi has joined #linux-sunxi
hipboi has quit [Read error: Connection reset by peer]
hipboi has joined #linux-sunxi
hipboi_ has joined #linux-sunxi
hipboi_ has quit [Read error: Connection reset by peer]
hipboi_ has joined #linux-sunxi
hipboi_ has quit [Read error: Connection reset by peer]
hipboi_ has joined #linux-sunxi
hipboi has quit [Ping timeout: 264 seconds]
hipboi has joined #linux-sunxi
_hipboi_ has joined #linux-sunxi
_hipboi_ has quit [Read error: Connection reset by peer]
_hipboi_ has joined #linux-sunxi
hipboi_ has quit [Ping timeout: 264 seconds]
hipboi has quit [Ping timeout: 244 seconds]
diego71_ has joined #linux-sunxi
diego71 has quit [Ping timeout: 244 seconds]
kz1 has quit [Ping timeout: 264 seconds]
bsdfox has quit [Ping timeout: 264 seconds]
Gerwin_J has joined #linux-sunxi
Gerwin_J has quit [Client Quit]
bsdfox has joined #linux-sunxi
HeHoPMaJIeH has joined #linux-sunxi
diego_r has joined #linux-sunxi
_massi_ has joined #linux-sunxi
bertrik has joined #linux-sunxi
Gerwin_J has joined #linux-sunxi
bertrik has quit [Ping timeout: 265 seconds]
DJJeff has quit [Read error: No route to host]
jemk has joined #linux-sunxi
nazcafan has joined #linux-sunxi
<jemk> rellla: looks like g2d isn't fast enough to finish before timeout: https://github.com/linux-sunxi/linux-sunxi/blob/sunxi-3.4/drivers/char/sunxi_g2d/g2d.c#L124
<jemk> rellla: but I can't really believe this, according to ssvbs g2d_bench it does ~80MPix/s blit, that would mean around 25ms per 1080p image
FR^2 has joined #linux-sunxi
leviathanch2 has joined #linux-sunxi
<rellla> jemk: in old 3.3 sources, timeout was set to 100ms ...
<rellla> what do you think of that: 23:49 <ssvb> rellla: could it be some sort of a race, caused by several different g2d users trying to do something at once?
<rellla> if i see it the right way, there is everything handled after each other and waiting fo reach other in libvdpau and softhddevice. except g2d_wait_cmd_finish
<jemk> rellla: it looks like the g2d driver has locks in the ioctls, so only one can be active at the same time
<jemk> vdpau isn't thread safe yet (it has to be according to specification), that's why i recommended to build softhddevice without USE_VIDEO_THREAD
<jemk> but it looks like it isn't relevant for the g2d error
Gerwin_J has quit [Quit: Gerwin_J]
<rellla> jemk: so may i increase the timeout?
<rellla> is there any possibility to clear/reset the whole g2d thing without a reboot?
newleaves_ has quit [Read error: Connection reset by peer]
<jemk> rellla: increase timeout could help, but if we really need more than the 50ms it will be too slow for smooth video
Net147 has joined #linux-sunxi
<jemk> and to reset it might help to unload the g2d module if you build it as module
<jemk> but i don't know
<rellla> jemk: i adressed a 100ms test to someone ;) lets see.
sehraf has joined #linux-sunxi
<rellla> and how is the g2d timeout chained with smoothness of the video? even 50ms should be too much?
notmart has joined #linux-sunxi
kz1 has joined #linux-sunxi
rz2k has joined #linux-sunxi
t3st3r has quit [Write error: Connection reset by peer]
Black_Horseman has quit [Remote host closed the connection]
<rellla> jemk: the strange thing is, that g2d totally crashes, so even mplayer has this overlay after the issue appeared within vdr. there is nothing that clears or resets it.
kivutar has joined #linux-sunxi
nabblet has joined #linux-sunxi
<jemk> rellla: I reproduced the problem with a small test, once g2d had the irq pending timeout it doesn't work anymore. Nothing else is involved, no disp, no threads, no ve, so it's a g2d kernel bug
<rellla> voila
leviathanch2 has quit [Ping timeout: 264 seconds]
popolon has joined #linux-sunxi
popolon has joined #linux-sunxi
<jemk> now the hard part, find out how to fix it ;)
<rellla> so this should go to the mailing list...
<jemk> but the timeout has to be increased anyway, or we can't use g2d for big images.
<rellla> yes. but a second time: what has timeout todo with the video's smoothness/ frame rate?
nabblet has quit [Ping timeout: 240 seconds]
<jemk> g2d draws the overlay, if it needs that long the frame will be delayed till it finishes
<jemk> and at the moment it also fills the output_surface with transparent black each frame to overwrite possible old osd before drawing the new one
nabblet has joined #linux-sunxi
<rellla> ah ok. video surface + output surface goes into presentation queue and then are displayed if the frame composed of both is ready. so long timeout -> long frame creation -> low frame rate
<jemk> exactly, it could be optimized to only draw dirty areas, that speeds up for small osd, but for big overlays like in vdr it won't change too much
<rellla> where do i find this black filling?
nabblet__ has joined #linux-sunxi
<jemk> normally this function should compose the video into the output surface, using a different layer for video is not the way that is intended by vdpau
nabblet__ has left #linux-sunxi [#linux-sunxi]
<rellla> is this even necessary here? imo this should be called when closing osd? when is this https://github.com/linux-sunxi/libvdpau-sunxi/blob/master/surface_output.c#L357 called?
<jemk> there is no such thing as closing osd in vdpau. you draw a video to the output surface and then draw something above it. We don't draw the video to the output_surface but show it on a different layer, so the output surface contains the old osd
<jemk> you can see what happens by removing the black fill, you will always have the old osd below the new one
<rellla> but now you call G2D_CMD_FILLRECT AND G2D_CMD_BITBLT each frame, right?
<jemk> yes, it could be optimized with some intelligent logic, but i wasn't motivated enough to figure that out
<rellla> in which cases source_surface handle isn't created? https://github.com/linux-sunxi/libvdpau-sunxi/blob/master/surface_output.c#L357
<jemk> i think thats the vdpau way to do a fill. source_surface == NULL -> treat it as 0xffffffff filled
<rellla> ah. see it.
<jemk> i have to go now, back in some hours
leviathanch2 has joined #linux-sunxi
jemk has quit [Quit: bye]
geecko has joined #linux-sunxi
geecko has quit [Remote host closed the connection]
geecko has joined #linux-sunxi
leviathanch2 has quit [Ping timeout: 244 seconds]
leviathanch2 has joined #linux-sunxi
rz2k has quit [Ping timeout: 240 seconds]
JohnDoe_71Rus has quit [Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org]
y0g1 has quit [*.net *.split]
arky has joined #linux-sunxi
leviathanch2 has quit [Ping timeout: 240 seconds]
Gerwin_J has joined #linux-sunxi
nabblet has quit [Quit: leaving]
leviathanch2 has joined #linux-sunxi
ddc has joined #linux-sunxi
leviathanch2 has quit [Ping timeout: 240 seconds]
leviathanch2 has joined #linux-sunxi
ddc has quit [Ping timeout: 252 seconds]
y0g1 has joined #linux-sunxi
arky has quit [Quit: Leaving]
shineworld has joined #linux-sunxi
shineworld has left #linux-sunxi [#linux-sunxi]
leviathanch2 has quit [Ping timeout: 240 seconds]
leviathanch2 has joined #linux-sunxi
tgaz has quit [Ping timeout: 240 seconds]
Net147 has quit [Quit: HydraIRC -> http://www.hydrairc.com <- Chicks dig it]
nove has joined #linux-sunxi
<Gerwin_J> Allwinner makes me little bit sad :(
deasy has joined #linux-sunxi
<nove> B2G based desktop environment at mozilla gsoc https://wiki.mozilla.org/Community:SummerOfCode14#Firefox_OS_.2F_Boot2Gecko
<nove> the few weeks ago crazy idea now, doesn't look so so crazy
<Gerwin_J> A80 Optimus board will be available end may or early June for all customers
<nove> Gerwin_J: and the sad part is?
<mnemoc> (leaving pvr aside)
<nove> we should bother mozilla to make known that with a bit of work, any tablet supported by us could become a firefox os tablet
<mnemoc> ist's firefox os just a fancy frontend for android?
<mnemoc> meaning surfaceflinger and friends are used
<mnemoc> so it's a "normal linux" built using AOSP build system
<nove> the b2g source is not depend of android, and works in a gnu/linux as is shown by the b2g simulator that isn't any more than b2g compiled to use X11
<nove> so that gsoc project is possible and not really hard, and if complete
<Gerwin_J> nove: First the said to me March, but chinese partners get a80 stuff first
kivutar has quit [Quit: Ex-Chat]
<nove> Gerwin_J: as expected, but why the optimus board, cubietech could making one even better
<mnemoc> Benn said that the final version will be better (hopefully including more pins and sata) than the one shown at CES
* mnemoc wonders if allwinnertech 2.0 will send us free boards
<mnemoc> (and docu :p)
tgaz has joined #linux-sunxi
<Gerwin_J> Allwinner want to see first Tablets with a80...
<Gerwin_J> But i want to use this soc for a complete other product
<Gerwin_J> I have also talk with WITS to make a prototype board with a80
<Gerwin_J> The get more information this month
t3st3r has joined #linux-sunxi
leviathanch2 has quit [Ping timeout: 264 seconds]
pacopad_ has joined #linux-sunxi
pacopad has quit [Read error: Operation timed out]
pacopad_ is now known as pacopad
sehraf has quit [Ping timeout: 245 seconds]
HeHoPMaJIeH has quit [Remote host closed the connection]
leviathanch2 has joined #linux-sunxi
sehraf has joined #linux-sunxi
pacopad has quit [Ping timeout: 240 seconds]
xeros has quit [Remote host closed the connection]
pacopad has joined #linux-sunxi
rz2k has joined #linux-sunxi
xeros has joined #linux-sunxi
toplessninja has joined #linux-sunxi
<nove> poor little binary, now has to eat fakes register values
pacopad has quit [Ping timeout: 265 seconds]
pacopad has joined #linux-sunxi
popolon has quit [Quit: Quitte]
lauri has left #linux-sunxi [#linux-sunxi]
<nove> jemk, this confirms at getbits VE_H264_STATUS is bit 8 that makes the glob to go infinite loop
<nove> jemk, but maybe instead checking for it, would be better to check for an unexpected value and print a error message if the case
<nove> jemk, like if(VE_H264_STATUS & 0x0ffeffff) error_happened
bertrik has joined #linux-sunxi
pacopad_ has joined #linux-sunxi
FR^2 has quit [Quit: Connection reset by peer]
pacopad has quit [Ping timeout: 244 seconds]
diego_r has quit [Ping timeout: 240 seconds]
pacopad_ has quit [Ping timeout: 240 seconds]
leviathanch2 has quit [Ping timeout: 240 seconds]
FreezingCold has joined #linux-sunxi
deasy has quit [Remote host closed the connection]
heffer_ has joined #linux-sunxi
pacopad has joined #linux-sunxi
heffer has quit [*.net *.split]
montjoie[home] has quit [*.net *.split]
montjoie[home] has joined #linux-sunxi
pacopad_ has joined #linux-sunxi
_massi_ has quit [Remote host closed the connection]
toplessninja has quit [Quit: Page closed]
pacopad has quit [Ping timeout: 264 seconds]
pacopad_ has quit [Ping timeout: 265 seconds]
pacopad has joined #linux-sunxi
orly_owl has quit [Read error: Connection reset by peer]
orly_owl_ has joined #linux-sunxi
pacopad has quit [Ping timeout: 264 seconds]
pacopad has joined #linux-sunxi
leviathanch2 has joined #linux-sunxi
notmart has quit [Quit: notmart terminated!]
leviathanch2 has quit [Ping timeout: 240 seconds]
pacopad_ has joined #linux-sunxi
pacopad has quit [Ping timeout: 244 seconds]
pacopad has joined #linux-sunxi
pacopad_ has quit [Ping timeout: 240 seconds]
andhe_ has quit [Ping timeout: 264 seconds]
netlynx has joined #linux-sunxi
netlynx has joined #linux-sunxi
netlynx has quit [Changing host]
jemk has joined #linux-sunxi
t3st3r has quit [Remote host closed the connection]
Gerwin_J has quit [Quit: Gerwin_J]
<oliv3r> mnemoc: ^
arete74 has quit [Ping timeout: 244 seconds]
arete74 has joined #linux-sunxi
netlynx has quit [Quit: Leaving]
jelly-home has quit [Ping timeout: 252 seconds]
hurtigbuffer has joined #linux-sunxi
rellla_ has joined #linux-sunxi
rellla has quit [Read error: Connection reset by peer]
<libv> WTF. Some idiot re-enabled the languages on the front page.
Black_Horseman has joined #linux-sunxi
Black_Horseman has joined #linux-sunxi
Black_Horseman has quit [Changing host]
<libv> and who is that anal imroy guy, he fixed 2 device pages and then gave up :)
deasy has joined #linux-sunxi
nedko has quit [Quit: kernel panic]
<oliv3r> lol libv
<oliv3r> how's things?
<oliv3r> i've been busy with many things !sunxi so haven't kept up :(
nedko has joined #linux-sunxi
nedko has joined #linux-sunxi
nedko has quit [Changing host]
jemk has quit [Remote host closed the connection]
xeros has quit [Ping timeout: 240 seconds]
setkeh has quit [Ping timeout: 244 seconds]
bertrik has quit [Remote host closed the connection]
xeros has joined #linux-sunxi
nove has quit [Quit: nove]
calcprgmr1 has quit [Quit: Page closed]
sehraf has quit [Quit: www.miranda-fusion.de ... be part of it...]
geecko has quit [Ping timeout: 240 seconds]