mnemoc changed the topic of #arm-netbook to: EOMA: Embedded Open Modular Architecture - Don't ask to ask. Just ask! - http://elinux.org/Embedded_Open_Modular_Architecture/EOMA-68 - ML arm-netbook@lists.phcomp.co.uk - Logs http://ibot.rikers.org/%23arm-netbook or http://irclog.whitequark.org/arm-netbook/ - http://rhombus-tech.net/
<provel_> ssvb: it's just emulator that's more than 50%cpu without rescaling
<provel_> ssvb: then you need to scale
<provel_> ssvb: and likely change color space/apply shaders
<libv> provel_: which is what overlays could be used for
<libv> again, overlays.
<provel_> there's some doc about overlays? some example code?
<libv> it should be a few days work for anyone to figure out how the overlays work on the disp engine
<libv> and hooking things into Xv should be easy
<ssvb> libv: yep, doing this now :)
<libv> but then, very few existing game backends actually know about xv.
<provel_> xv = xvideo?
<libv> i doubt that sdl uses it for rescaling/colourspace conversion
<libv> yes
<ssvb> provel_: scaling should be also reasonably fast on the CPU
<provel_> oh god.... also xvideo is good
<provel_> ssvb: scaling 250x220 to 1280x720?
<provel_> however retroarch has xvideo backend too
jlj has joined #arm-netbook
<provel_> bye
provel_ has quit [Quit: leaving]
<ssvb> provel_: pixman can do ~90MPix/s for bilinear scaling, which means ~100FPS and somewhat faster for nearest (this is memory bandwidth bound)
<libv> but that eats 100% cpu
<ssvb> yes
<ssvb> he has 50% spare CPU, so we are down to just 50FPS
<ssvb> that is unless there is something else doing stupid things in the pipeline
<libv> i am amazed that this retroarch thing depends on openvg
<ssvb> it might be not a bad idea for the platforms where openvg actually works and is hardware accelerated
<libv> this might be worth a go https://github.com/micahpearlman/MonkVG
freakazoid0223 has joined #arm-netbook
Entropy512 has joined #arm-netbook
L84Supper has quit [Ping timeout: 252 seconds]
bsdfox has quit [Ping timeout: 264 seconds]
L84Supper has joined #arm-netbook
stefanro1 has joined #arm-netbook
stefanro has quit [Ping timeout: 265 seconds]
popolon has quit [Quit: Quitte]
penguin42 has quit [Quit: Leaving.]
Jef91 has joined #arm-netbook
rz2k has quit []
itamarjp has quit [Quit: Leaving]
itamarjp has joined #arm-netbook
itamarjp has joined #arm-netbook
itamarjp has quit [Changing host]
captainigloo has quit [Ping timeout: 255 seconds]
revident has quit [Quit: Combustible lemons? Bah, I bring you weaponized asparagus!]
lkcl has quit [*.net *.split]
jelly has quit [*.net *.split]
vgrade has quit [*.net *.split]
IEF has quit [*.net *.split]
IEF has joined #arm-netbook
ganbold__ has joined #arm-netbook
jelly has joined #arm-netbook
lkcl has joined #arm-netbook
ganbold_ has quit [Ping timeout: 252 seconds]
freakazoid0223 has quit [Quit: Leaving]
toxicpsion has joined #arm-netbook
bsdfox has joined #arm-netbook
aholler has joined #arm-netbook
slapin_nb has quit [Ping timeout: 260 seconds]
aholler_ has quit [Ping timeout: 244 seconds]
<toxicpsion> PMU is AXP right? @ i2c bus 0: addr: 0x34 on mele right?
itamarjp has quit [Remote host closed the connection]
HSt_ has quit [Ping timeout: 245 seconds]
Avernos_ has joined #arm-netbook
Avernos has quit [Ping timeout: 252 seconds]
robclark` has joined #arm-netbook
Quarx has joined #arm-netbook
bsdfox has quit [Ping timeout: 255 seconds]
Jef91 has quit [Quit: Instantbird 1.3 -- http://www.instantbird.com]
gimli has joined #arm-netbook
bsdfox has joined #arm-netbook
Gujs_ has joined #arm-netbook
eFfeM has joined #arm-netbook
Gujs_ has quit [Client Quit]
rellla has joined #arm-netbook
servili007_ has quit [Read error: Connection reset by peer]
provel_ has joined #arm-netbook
<provel_> hi
<provel_> still trying to make EGL work under framebuffer..... still one question
<provel_> I have an egl surface rendering.... but it doesn't seems to "collate" with the framebuffer
<provel_> is there a way I can get an handle/element from framebuffer to pass it as EGLNativeWindow to the EGL?
popolon has joined #arm-netbook
rellla has quit [Remote host closed the connection]
rellla has joined #arm-netbook
<provel_> I'm trying open("/dev/fb0", O_RDRW) but I doubt...
<provel_> segmentation fault, as expected :-)
<provel_> hum, looking at eglplatform.h I swear it's impossible
<provel_> there should be an element field there
gimli has quit [Ping timeout: 276 seconds]
provel_ has quit [Read error: Connection reset by peer]
<orly_owl> a20 and a31
bsdfox has quit [Ping timeout: 245 seconds]
Quarx has quit [Read error: Connection reset by peer]
Quarx has joined #arm-netbook
vgrade has joined #arm-netbook
<rellla> using stage/sunxi-3.0 and the latest hdmi-commits i'm wondering if i have to give some arguments to boot.scr or uEnv.txt to get hdmi running? dmesg give some edid-output, but screen doesn't come up!?
gimli has joined #arm-netbook
hansg has joined #arm-netbook
lerc has quit [Ping timeout: 255 seconds]
stefanro has joined #arm-netbook
stefanro1 has quit [Ping timeout: 260 seconds]
andi2342346 has joined #arm-netbook
lerc has joined #arm-netbook
<rm> mnemoc, hey
provel_ has joined #arm-netbook
<rm> which kernel branch should I use if I want both latest Mali, and the HDMI stuff?
<provel_> 3.0 in my setup is not compatible with r3p1 x11 dmali drivers
<provel_> are shaders supposed to work with Mali drivers?
eFfeM has quit [Quit: Leaving.]
penguin42 has joined #arm-netbook
<techn_> provel_: that's right
<techn_> you need r3p1 kernel stuff also
<provel_> but 3.4 seems unchanged since months, while 3.0 gets the updates (for example for usb otg port..)
<provel_> is r3p1 working better/faster than 3.0 in xorg? in my setup xorg eats lots of CPU time (even more than 50% some times, with opengl)
<techn_> opengl is not hw accelerated what I know
<provel_> sorry... it's gl
<provel_> gles
<provel_> still xorg consumes lot of cpu time
<techn_> what is your cpu frequency?
<techn_> last update on 3.4 is from 2 days ago
<provel_> oh
<provel_> and 3.4 is faster?
<techn_> most likely not.. no one has done any benchmarking
<techn_> but I think differences are only marginal
<provel_> hum... some benchs here :http://linux-sunxi.org/Benchmarks
<provel_> but I don't know were to get things like es2_gears to test my own
jas-hacks has joined #arm-netbook
<mnemoc> rm: latest hdmi stuff is in stage/sunxi-3.x
<jas-hacks> provel_ : You compile es2_gears (part of mesa-demo) from here http://cgit.freedesktop.org/mesa/demos, need to compile yourself
<ganbold__> where can I find about fex file syntax?
<provel_> jas-hack: thank you
<jukivili> how often latest stable(s) is merged to sunxi trees?
<jas-hacks> provel_: I suggest you try razor-qt desktop, I found it be snappy considering no hw acceleration.
<jas-hacks> ganbold__: google for 'crane_fex_guide' you'll find a pdf
Turl has quit [Ping timeout: 264 seconds]
Turl_ has joined #arm-netbook
<ganbold__> jas-hacks: ok, the problem is I can't give power to USB while booting other OS
<jas-hacks> ganbold__: so want to disable the gpio pin for USB port ?
<ganbold__> jas-hacks: maybe other way, driver can't find USB since it is not powered
<provel_> still... I can't believe that my a10 it's slower than a raspberry Pi
<jas-hacks> ganbold__: You can try setting 'usb_drv_vbus_gpio' but you would need to know the gpio pin.
<jukivili> provel_: do you have cpufreq enabled?
<provel_> jukivili : think so... 1000 bogomips
<provel_> on load
<techn_> provel_: which benchmark you are using?
<provel_> retroarch emulator (ssnes9x and psnes)
<provel_> I compiled all with ffast-math , unrolls, neon, etc.etc.
<techn_> x or framebuffer?
Skoti has joined #arm-netbook
<techn_> someone benchmarked x with mali drivers.. and performance was killed by malloc
<provel_> malloc? O__o
<techn_> [01:57:53] <rz2k> provel_: ssvb has done some measurements on xf86-video-mali. https://groups.google.com/d/msg/linux-sunxi/6lLMjfvZj44/lH5kFRB0bN8J
<ganbold__> jas-hacks: but gpio pin is defined in script.bin, right?
<provel_> techn_: very nice thanks..... now need just to figure out how to speedup
<jas-hacks> ganbold__: Yes.
hg_5 has joined #arm-netbook
<ssvb> techn_: the performance is killed by both lack of cpu caching for the ump allocated pixmap memory, and the expensive ioctls doing these ump allocations
Skoti has quit [Quit: Page closed]
<ssvb> provel_: just profile the code to know *what* to speedup, the answer *how* to speedup it may be sometimes obvious after the profiling is done
<techn_> ssvb: what profiling method you used?
<techn_> or is that embedded to that cairo
<techn_> since I'd like to profile xbmc sometime
<ssvb> techn_: "perf" tool, but oprofile should also work fine if you prefer it
<ssvb> techn_: some hints are here for example: http://www.pixelbeat.org/programming/profiling/ (just a randomly googled link)
<techn_> I tried couple tools ( which doesnt need compiling with profiling hooks).. but valgrind kills performane.. kernel debugfs didn't work right away.. strace-like tool crashed
<ssvb> I don't remember if I had to enable extra some kernel options to get the performance counters support for perf
<ssvb> but this should be quite easy
<ssvb> provel_: "in my setup xorg eats lots of CPU time (even more than 50% some times, with opengl)" - yes, because the cpu is busy copying data from the buffers where mali does all the rendering to the framebuffer
<ssvb> provel_: and these buffers are of course uncached, which means several times worse performance than you would expect for memcpy with normal cached memory
<ssvb> provel_: for your emulator thing, a quick check would be to just use xf86-video-fbdev driver to see if it performs better (without gles, just using software rendering)
<ganbold__> jas-hacks: doesn't work for me, maybe I'm missing something, probably need to get linux-sunxi source and try to build kernel with some debug printf and see
<jas-hacks> ganbold__: What device are you testing on?
<ganbold__> cubieboard
<ganbold__> so something like for sata: volatile uint32_t *sata_reg = (uint32_t *) 0xe1c20828; *sata_reg |= (1 << 0); /* set for output */
<ssvb> provel_: obviously the high cpu usage for gles is not normal, dri2 mali integration needs some fixes to get the best performance out of it
<ganbold__> maybe I'm missing something, but after that I supposed to get voltage on sata connector, am I right?
<jas-hacks> ganbold__: Looking a cubie schematic, I guess power is controller through PH6?
<ganbold__> jas-hacks: for usb1 I think ph06, but for sata it is PB08
<jas-hacks> ganbold__: The quickest way to test the pins is to use hno's uboot. You can then set each pin to determine if it is the right one or not.
<ganbold__> jas-hacks: so pb08 means pio_base + Offset: 0x28 and 0-2 bits and 001 sets for output
<ganbold__> jas-hacks: where to find hno uboot
<jas-hacks> ganbold__: There is also a utility in https://github.com/linux-sunxi/sunxi-tools - pio.c to do something similar if you don't want to use uboot.
<ganbold__> jas-hacks: does hno uboot have commands for gpio testing
<jas-hacks> ganbold__: You can do something like this 'gpio set ph19', just type help for more info.
<ganbold__> jas-hacks: I see, how to use sunxi-tools?
<libv> provel_: have you tried looking closely at our mali-libs tree?
<jas-hacks> ganbold__: sunix-tools is similar
<ganbold__> jas-hacks: do I need to go to FEL mode? or make some image and write to sd card and boot?
<jas-hacks> ganbold__: for uboot, yes need to create a bootable SD with just hno uboot on it and serial console attached. It may be quicker to just compile sunix-tools and run that from your linux distro.
<ganbold__> jas-hacks: for uboot right, for sunxi-tools I thought totally different thing :)
andi2342346 has quit [Quit: bye]
andi2342346 has joined #arm-netbook
jas-hacks has left #arm-netbook [#arm-netbook]
hansg has quit [Quit: Leaving]
<provel_> huf... still struggling for better gpu... anyone here used fb drivers with openVG ? should I revompile everything?
<libv> provel_: no.
<libv> provel_: there is no openvg available for mali at this time.
<provel_> ok
<provel_> I'll likely give up.... if no-one else has already a decently working port of Retroarch.... mine's still going at half speed for snes games
provel_ has quit [Quit: leaving]
rz2k has joined #arm-netbook
andi2342346 has quit [Ping timeout: 245 seconds]
itamarjp has joined #arm-netbook
itamarjp has quit [Changing host]
itamarjp has joined #arm-netbook
bsdfox has joined #arm-netbook
Jef91 has joined #arm-netbook
andi23423467 has joined #arm-netbook
andi23423467 has quit [Ping timeout: 255 seconds]
rellla has quit [Quit: rellla]
andi2342346 has joined #arm-netbook
andi2342346 has quit [Quit: bye]
Jef91 has quit [Quit: Instantbird 1.3 -- http://www.instantbird.com]
Workboot has joined #arm-netbook
mdasoh_ has joined #arm-netbook
klys has quit [Ping timeout: 255 seconds]
ph0en1x has joined #arm-netbook
<ph0en1x> hey all. what's the easiest way to identify if my generic mk802 is an 802ii or a regular 802?
<ph0en1x> looking online at images of the pcb, it looks more like an 802ii than an 802
<ph0en1x> i see the power protect IC on the board
<ph0en1x> and mine has the Uniciron AA029? antenna chip rather than a wire antenna
slapin_nb has joined #arm-netbook
bsdfox has quit [Ping timeout: 255 seconds]
<rm> not the first one then
<rm> why do you care anyways
<ph0en1x> getting a development environment set up
<ph0en1x> i noticed linaro doesnt have any precise rootfs images up anymore
<mnemoc> it does, but not under the "latest" symlink
<ph0en1x> really? i poked around and all the directories were empty
<ph0en1x> everything under here only has a latest:
<ph0en1x> awesome
<ph0en1x> guess i'll have to update the link on the wiki
<mnemoc> that's why tutorials on forums stink and tutorials on wikis are cool :)
<penguin42> you mean the way the links are wrong the instant after you post something to a forum?
<mnemoc> yeah :)
<slapin_nb> Happy New Year!!!!
<mnemoc> happy 2013 slapin_nb
darkvlad has joined #arm-netbook
ccssnet has quit [Quit: http://atccss.net]
ccssnet has joined #arm-netbook
ph0en1x has quit [Ping timeout: 260 seconds]
ccssnet has quit [Client Quit]
Jef91 has joined #arm-netbook
Quarx has quit []
Jef91 has quit [Remote host closed the connection]
ccssnet has joined #arm-netbook
XenGi_ has quit [Ping timeout: 240 seconds]
jelly has quit [Ping timeout: 260 seconds]
jelly has joined #arm-netbook
servili007 has joined #arm-netbook
WarheadsSE has quit [Remote host closed the connection]
WarheadsSE has joined #arm-netbook
marcan has quit [Quit: Coyote finally caught me]
marcan has joined #arm-netbook
Jef91 has joined #arm-netbook
<ManoftheSea> I know I've asked for (and received) a lot of help. Could I beg help in getting my audio to work on this mk802ii?
<ManoftheSea> I expect it to go through the hdmi, and the TV speakers to play sound.
* specing swings his magic wand of sound
<jelly-home> is that what you call it
<ManoftheSea> actually, yeah, if I had a starting place that'd be nice. I have pulseaudio on Debian Wheezy on an mk802ii hooked to a tv through hdmi.
<ManoftheSea> I have a /dev/snd/by-path/{platform-soc-audio.0,platform-sun4i-codec}
<ManoftheSea> hmm, some clicks and pops. That's... better than nothing.
<ManoftheSea> How about a way to test that cedarx is working?
WarheadsSE has quit [Quit: WeeChat 0.3.9.1]
WarheadsSE has joined #arm-netbook
XenGi has joined #arm-netbook
darkvlad has quit [Ping timeout: 245 seconds]
nulluser has left #arm-netbook [#arm-netbook]
XenGi has quit [Ping timeout: 240 seconds]
XenGi_ has joined #arm-netbook
XenGi_ has quit [Ping timeout: 240 seconds]
popolon has quit [Quit: Quitte]
popolon has joined #arm-netbook
arete74 has quit [*.net *.split]
gzamboni_ has quit [*.net *.split]
arete74 has joined #arm-netbook
gzamboni_ has joined #arm-netbook
WarheadsSE has quit [Quit: WeeChat 0.3.9.1]
WarheadsSE has joined #arm-netbook
XenGi has joined #arm-netbook
<rz2k> you now recieve knight status for writing bad APIs and providing zero customer support. http://www.eetimes.com/electronics-news/4403955/Imagination-Technologies-CEO-knighted-
<penguin42> rz2k: It's better than it used to be; many years ago you had to conquer far away lands and slaughter their people
<rz2k> lol
<rz2k> :)
<rz2k> hardkernel gave us HNY present - they've finally pushed updated 3.0.51 for odroid-x2
gimli has quit [Ping timeout: 245 seconds]
freakazoid0223 has joined #arm-netbook
<ssvb> rz2k: do you also have odroid-x2?
<rz2k> yeah