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/
<ManoftheSea> This looks like a job for systemd-nspawn
drachensun has joined #arm-netbook
<WarheadsSE> ManoftheSea: ?
<WarheadsSE> I can help you with a distcc setup & premade cross chains if you like ManoftheSea
stefanro1 has quit [Ping timeout: 255 seconds]
bsdfox_ has joined #arm-netbook
<ManoftheSea> WarheadsSE: thanks, but I have cross-arm gcc from emdebian.
<ManoftheSea> I'm not sure how to configure sunxi-linux/xf86-video-mali on my x64 box to work on my a10
<ManoftheSea> So, I'm emulating ARM and using the a10 rootfs to build it.
<WarheadsSE> eeeeeeww
<buZz> why not just compile it on the a10?
<WarheadsSE> it doesnt take long
<WarheadsSE> kernel yes, xf86 & needed bits? ~ maybe 15 minutes on a bad day
<WarheadsSE> on a _BAD_ day
<buZz> why do you want xf86-video-mali btw?
<buZz> is it finally faster than straight fbdev?
<ManoftheSea> Hmm, I only got an .la, no .so...
<ManoftheSea> Because I don't have the space for a compile chain on my uSD
<ManoftheSea> dunno.
<buZz> ok just experimenting
<ManoftheSea> I don't have any video acceleration. So, this was something I could try.
<ManoftheSea> I also have no audio across the hdmi.
<ManoftheSea> And, rather than ask a million questions, I was gonna try some things first.
<ManoftheSea> unless you want to hold my hand through it all.
<buZz> hdmi sound on my A10 worked when i first booted it
<buZz> once in linux, i have two alsa devices, one for analog, one for hdmi
stefanro has joined #arm-netbook
<ManoftheSea> yep, I saw those.
<buZz> and when you play on the second alsa device?
<ManoftheSea> I'll have to try it and confirm, but I thought I tried both.
ZaEarl has quit [Ping timeout: 276 seconds]
voronaam has quit [Quit: Leaving.]
<ManoftheSea> alsamixer says sun4i-sndhdmi has no controls
<ManoftheSea> buZz: is that right?
<buZz> yes
<buZz> it has no controls
tinti has quit [Ping timeout: 240 seconds]
<ManoftheSea> ok, well, now I have static.
<ManoftheSea> Is it because VLC can't decode the MP3?
slapin_nb has quit [Ping timeout: 240 seconds]
<ManoftheSea> hmm, quod libet is able to play the mp3.
<ManoftheSea> VLC, Y U NO WORK?
<ManoftheSea> it's stuttery, though. Bleh.
<buZz> no clue, i always use mplayer
<buZz> did you set 'performance' governer?
<ManoftheSea> dunno. Will check.
<ManoftheSea> I know conky was telling me cpu was at .2 GHz
<buZz> yes, thats probably true then
<ManoftheSea> and it typically sits at 60 MHz, with %30 use.
<buZz> it will not play mp3 smooth at 60mhz
slapin_nb has joined #arm-netbook
mSquare has joined #arm-netbook
mSquare1 has joined #arm-netbook
mSquare has quit [*.net *.split]
aholler_ has quit [*.net *.split]
<ManoftheSea> hmm, okay, so now I've almost got rygel running.
<ManoftheSea> since audio problem seems to have been with vlc.
<ManoftheSea> grumble grumble, no joy.
<ManoftheSea> But now it's issue with rygel, it seems. anyway, thanks buzz for the help.
aholler has joined #arm-netbook
<Sv> :)
mSquare has joined #arm-netbook
mSquare1 has quit [Ping timeout: 248 seconds]
<buZz> your welcome ;)
mSquare has quit [Ping timeout: 260 seconds]
mSquare has joined #arm-netbook
Jef91 has joined #arm-netbook
L84Supper has quit [Ping timeout: 260 seconds]
L84Supper has joined #arm-netbook
aholler_ has joined #arm-netbook
aholler has quit [Ping timeout: 248 seconds]
mSquare has quit [Ping timeout: 246 seconds]
mSquare has joined #arm-netbook
Jef91 has quit [Quit: Instantbird 1.3 -- http://www.instantbird.com]
mSquare1 has joined #arm-netbook
mSquare has quit [Ping timeout: 265 seconds]
mSquare has joined #arm-netbook
mSquare1 has quit [Ping timeout: 248 seconds]
mSquare has quit [Read error: Connection reset by peer]
mSquare has joined #arm-netbook
mSquare1 has joined #arm-netbook
mSquare has quit [Ping timeout: 248 seconds]
jquip has joined #arm-netbook
jquip has quit [Quit: jquip]
gimli has joined #arm-netbook
Quarx has joined #arm-netbook
mSquare has joined #arm-netbook
mSquare1 has quit [Ping timeout: 248 seconds]
rellla has joined #arm-netbook
mSquare has quit [Ping timeout: 265 seconds]
mSquare has joined #arm-netbook
Quarx has quit [Read error: Connection reset by peer]
Quarx has joined #arm-netbook
Quarx has quit [Client Quit]
Quarx has joined #arm-netbook
mSquare1 has joined #arm-netbook
mSquare has quit [Read error: Connection reset by peer]
servili007 has quit [Read error: Connection reset by peer]
Yaku has joined #arm-netbook
pcat has joined #arm-netbook
robws has quit [Ping timeout: 244 seconds]
pwhalen has quit [Ping timeout: 244 seconds]
xxiao has quit [Ping timeout: 244 seconds]
xxiao has joined #arm-netbook
robws has joined #arm-netbook
pwhalen has joined #arm-netbook
pcat has quit [Ping timeout: 264 seconds]
pcat has joined #arm-netbook
mSquare has joined #arm-netbook
mSquare1 has quit [Ping timeout: 248 seconds]
tinti has joined #arm-netbook
mSquare has quit [Ping timeout: 248 seconds]
jquip has joined #arm-netbook
jquip has quit [Quit: jquip]
jquip has joined #arm-netbook
jquip has quit [Client Quit]
jquip has joined #arm-netbook
jquip has quit [Quit: jquip]
jquip has joined #arm-netbook
tinti_ has joined #arm-netbook
<jinzo> so what's the status around cubieboard avability? I see it is listed in the shop again?
<hramrach> jinzo: some are available
<hramrach> there was like 2k manufactured and like 1.5k shipped in the last batch iirc
<jinzo> so the indegogo batch was shipped already?
<hramrach> yes, those are shipped already
<hramrach> the express shipped already arrived the post shipped are somewhere in transport
<jinzo> oh goodie.
jquip has quit [Quit: jquip]
bsdfox_ has quit [Ping timeout: 255 seconds]
jquip has joined #arm-netbook
jquip has quit [Client Quit]
rellla2 has joined #arm-netbook
rellla has quit [Ping timeout: 255 seconds]
<rm> you sure about that? <hramrach> yes, those are shipped already
<rm> if that would be the case, people would receive tracking numbers
<rellla2> i have confirmed my address, but not received a tracking number yet. standard shipping.
<rm> jinzo, if you mean the aliexpress shop, then it's only a preorder, it says "Ships out within 45 days" there
rellla2 is now known as rellla
jquip has joined #arm-netbook
Yaku has quit []
<jinzo> hm interesting
<mnemoc> rm: hipboi mails tend to end on people's spam box
<mnemoc> easy to miss
<hramrach> rm: maybe they are still working on the standard shipping packages. those were to go in shipping after the priority shippng packages
<hramrach> spam box may be another reason
<hramrach> and longer time to obtain tracking numbers from the post another
<jinzo> the whole cubieboard project could really benefit from an English speaking person that could do the PR (stuff has been shipped, etc), and a proper mail system (there're a lot, albeit payable e-mail services that are designed for souch things)
<jinzo> but, that's the case with most of the Chinese based projects
<mnemoc> in the cubieboard's case all falls on tom' shoulders
<mnemoc> as the rest of the team doesn't speaking english at all or fear too much to sound stupid talking it
<jinzo> and they all seem quite busy
<Quarx> mnemoc: hello, sunxi-3.4 is ready for android?
<mnemoc> Quarx: 3.4 is still incomplete (compared to 3.0), but it is an android kernel
<mnemoc> jinzo: also need to consider it's not their day job
<jinzo> indeed - but didn't tom say it'll be his at least?
<mnemoc> it will
<mnemoc> but he still needs to freelance to feed his family and pay the bills
<jinzo> makes sense indeed.
<mnemoc> hope he can live from his boards/shop soon :)
<jinzo> isn't shop operated by one of his friends or something like that?
<jinzo> but yes, hopefully he'll succeed
<jinzo> on the other hand, I think that the cubieboard future (eg. new boards) are quite a lot depended on Allwinner releasing some source/open source support
<mnemoc> the aliexpress shop is operated by one of his friends in shenzhen, because the post service in his province has different rules
<rellla> is tom still staying in contact with allwinner's software-devs? at least he is a vendor of their product?! imho i'll be the only way to do a step forward...
<rellla> s/i'll/it will/
<ibot> rellla meant: is tom still staying in contact with allwinner's software-devs? at least he is a vendor of their product?! imho it will be the only way to do a step forward...
<mnemoc> rellla: yes, he has friends/partners inside allwinner walls
<mnemoc> but that doesn't mean they can leak stuff
<mnemoc> and now allwinnertech's site lists the cubieboard and the olinuxino in a devkit section
<rellla> i'm not talking about leaking ;-) most important thing is to have someone, where you can talk to inside.
<RaYmAn> Now that cheap chinese i.mx6q devices are out, it'd be kind of awesome with a cubie6q! :>
<RaYmAn> I know, unlikely, but :)
<mnemoc> let the wand people ship :p
<RaYmAn> they are only dual-core/lite variants
<RaYmAn> mnemoc: after working with tegra, and allwinner a10, It's just insane to see how open and well documented freescale is :P
<mnemoc> :D
<RaYmAn> also, I think this might be why they wanted to get rid of the a10 sticks: http://dx.com/l/consumer-electronics/2012-12/mini-pc.aspx?utm_source=dx&utm_medium=cdn&utm_campaign=h004minipc
<RaYmAn> that's a lot of different sticks with dual and quad core cpus :P
<mnemoc> the quad-core term is overrated...
<mnemoc> people forgets about the diff between quad-a9, quad-a5, quad-a7 and quad-a15
<mnemoc> only "quad" matters
<mnemoc> most of those "quad core" sticks are a5
<mnemoc> but yes, cortex-a8 is obsolete in that market
<mnemoc> i trust the wand people will add a quad and populate the sata connector before going into production
Avernos has joined #arm-netbook
Avernos has joined #arm-netbook
jquip has quit [Ping timeout: 255 seconds]
Avernos_ has quit [Ping timeout: 245 seconds]
eebrah has joined #arm-netbook
Jef91 has joined #arm-netbook
<RaYmAn> mnemoc: most of the actual quad core sticks around now are freescale. Which is quad a9 at around 1ghz, + quad gpu vivante gc2000
<rellla> Rayman: so it would be better to begin investing in freescale than in allwinner due to better open sources and allwinner's dead end?
<rellla> RaYmAn: ^ - case sensitivity ;-)
<RaYmAn> freescale devices are also a bit more expensive though
<RaYmAn> but open source wise, they are miles ahead.
<RaYmAn> i.mx6 is in mainline, or at least arm-soc so it will be soon. By freescale engineers :P
<RaYmAn> mind you, I don't actually have any freescale dev-type devices
<RaYmAn> so I have limited info
<jinzo> rellla, there's a little known about next gen allwinner products. Maybe they'll open source their shit :D
<jinzo> I wonder what's the Vivante GPU situation like, they boast X11 support
<mnemoc> RaYmAn: i'm still pondering about getting that hi802/8GB for $99.... but I have zero use for it :|
<rellla> i.mx6 just started to flood from ali.. and dx imho - that's the space allwinner is ahead.
<rellla> jinzo: i'm hoping for progress. ordered another 2 uhost-devices :-)
<mnemoc> rellla: the $20 deal?
<mnemoc> that's hard to resist
<RaYmAn> mnemoc: yeah :P me too. If only to play with the platform
<jinzo> indeed. but they're sold out now.
<rellla> mnemoc: yep. but not sure, if really allwinner is inside...
<rellla> otherwise i'll have some rockchip-device, too \o/
gimli has quit [Ping timeout: 248 seconds]
<RaYmAn> for 20$, won't matter much :P
<rellla> 32€
<tTTttt> is the encrypt_para section in script.bin related to crypto engine?
popolon has joined #arm-netbook
<tTTttt> there is also encrypt.ko module in factory firmware
<RaYmAn> mnemoc: the thing stopping me is that a odroid u2 costs almost the same :P
<RaYmAn> though, freescale is more open source friendly
<jinzo> exynos is mainline too afaik
<jinzo> so - they're somewhere there
<RaYmAn> yeah
<mnemoc> tTTttt: REing time :)
<tTTttt> trying to load that module hangs insmod, but says that it detects 'chip encrypt' at the address set in script.bin
<tTTttt> then spams errors forever
<mnemoc> tTTttt: the GPS controller is on a similar state. we have a gpl-violating gps.ko and some "hints" in an script.fex file
<tTTttt> but how can a crypto accelerator be communicated by twi? shouldn't it map memory directly somehow?
<tTTttt> or is twi virtual, and the twi controller itself is a crypto engine?
eebrah has quit [Ping timeout: 248 seconds]
<mnemoc> many controllers within the A10 need a companion chip
<mnemoc> well... not many. but wemac and gps do
<mnemoc> it might also be the case of the crypto engine
<mnemoc> or it's a totally unrelated chip
<mnemoc> like all the TS drivers we have
<hramrach> everyone boasts X11 support
<hramrach> but you never know until you get teh device
<mnemoc> that's part of the fun ;-)
<hramrach> I prefer Mali based devices because there is more than one chip manufacturer using those
ganbold_ has joined #arm-netbook
<hramrach> so it's more likely stay around and morelikely the driver get usable over time
<tTTttt> kernel module itself looks like a modification of mma7660.ko module provided in the same firmware
<tTTttt> and mma7660 itself is a accelerometer, not a crypto engine
<hramrach> but if somebody has a board with working X11 I would like to hear
<mnemoc> sun4i/sun5i devices run X11/fb fine. 3d acceleration is less "out of the box" but mostly works too
<mnemoc> 2d acceleration is pending
<mnemoc> ssvb is working on some drivers to improve the xorg experience
lkcl has quit [Ping timeout: 264 seconds]
<hramrach> I don't really care about 2d accel
<hramrach> you have glamour these days
<RaYmAn> hramrach: supposedly freescale boards has fully working acceleration. But I don't have one yet.
<hramrach> but accel is clearly required. shadowfb is unlikely to fly on something that rund the cpu on 60MHz by default
<hramrach> if lima worked out somehow that would be great
<libv> lima will never cover for what shadowfb does.
<hramrach> why would it not?
<libv> the mali is not a 2d engine/blitter
<hramrach> shadowfb is workaround for lack of GPU (support)
<hramrach> you don't need one
<hramrach> 3d can blit all right
<libv> yes, very expensively
<libv> often more expensive than the cpu
<hramrach> yes and no
<hramrach> if you go the shadowfb route then you have the fb in linar structure and blitting on CPU is easy
<hramrach> but the CPU can't do other stuff then because it is blitting
<hramrach> if you go the glamour route then the fb is possibly organized in some baroque tiles
<hramrach> so blitting on cpu is very expensive
<libv> i have not seen this on telechips, amlogic or allwinner
<hramrach> blitting on gpu may take longer than on CPU but it frees the CPU
<hramrach> also it's hard to tell when you have no driver to test with
<libv> and on the n9, using pvr2d over the cpu really hit us bad in several cases
<libv> on allwinner we have g2d, which should be used but isn't used today
<hramrach> the hit for mixing GPU and CPU operation is also that you have to set up synchronization so the CPU and GPU agree on the state of the memory
<mnemoc> libv: hi. did you have time to look at hdmi/edid changes in stage/sunxi-3.x and/or ssvb patches on the ml? :)
<hramrach> so if you want any 3d at all it's cheaper to do everything on th GPU in post cases
<hramrach> *most
<libv> mnemoc: not really, fosdem is nearing, and i still have some way to go to get q3a working on top of lima.
<mnemoc> libv: new videos? :)
<hramrach> lima is workable?
<libv> mnemoc: around fosdem timeframe, yes
eebrah has joined #arm-netbook
<mnemoc> libv: :)
<libv> i have some single frame gles1 dumps that replay correctly already, and i have a handle on what is going on in the back as well, but that does not mean that i am home free on this goal yet
datagutt has joined #arm-netbook
<libv> hramrach: i now know how to blit relatively cheaply on mali, and it is magnitudes more efficient than doing so on pvr, but g2d will still beat it both in ease of use, speed and power consumption.
DEAT_ has quit [Read error: Connection reset by peer]
<libv> hramrach: i had hoped that we finally did dispell "we do not need $good_idea, as we can do it all on the gpu"-myth
DEAT_ has joined #arm-netbook
<hramrach> I wonder how g2d and mali will mix together if/when both are available and supported
<libv> ati r600 was such a mess.
<hramrach> it still is a mess
<libv> no overlays, no usable dma engine or blitter...
<libv> even imagination has caught on now
<libv> rogue should come with its own blitter.
<hno> slapin, not available until monday from what it looks.
<hramrach> there is some problem with the dma engine on r600 but don't remember what
<hramrach> anyway, if the gpu can do it and it's the cheapest way there is now it should
<hramrach> if g2d turns out better it's cool
<libv> designed for what microsoft said would ship in windows 7, which it later on dropped, and it ended up being silicon that was partly untested and partly highly IP encumbered
<libv> at least this was the excuses that ati made for not giving us the info back in 2007
<libv> but that was just the dma engine
<libv> all normal 2d operations were emulated on the shaders by microcode
<hramrach> the IP encumberance is somewhat *the* problem in graphics
<hramrach> doing 2d on shaders does not sound that bad
<hramrach> you have the shaders anyway
<libv> in any case: overlays are back, 2d engines are back, media engines are back
<libv> shaders require context switches and stuff
<libv> expensive.
<hramrach> radeons do have media engines
<hramrach> but they are unusable due to IP encumberance :>
<libv> r600 famously did not.
<libv> untested silicon
<libv> dead silicon
<hramrach> heh
<libv> which they had to own up to on the day after the big press release
<libv> r600 also has overlays
<libv> but... they only supported rgb colour spaces, so they were not very useful
<libv> and they were most likely not tested
<libv> hramrach: in case you are wondering, i was at SuSE at the time, and i was the co-author for the "freeing ati proposal" to AMD, and egbert eich, matthias hopf and i did get to free ATI
Quarx has quit []
Quarx has joined #arm-netbook
<mnemoc> libv: what's your plan after fosdem?
eebrah has quit [Ping timeout: 265 seconds]
Yaku has joined #arm-netbook
<libv> not sure yet, i should start poking at mesa to see whether it will allow using an external compiler
<libv> when i have q3a running, all major questions have been answered, so it is about time to start writing an actual driver.
<libv> will be fun to see q3a later on run on top of mesa on the same hw, methinks that it will not be a favourable comparison :)
<Yaku> why does mxplayer have hw support on almost all devices, do they have insider info´s that are simply not availible to anyone else ?
<mnemoc> libv: :)
<mnemoc> Yaku: android provides a layer of hw acceleration to all players
<mnemoc> Yaku: they only add the UI
<oliv3r> Im secretivily hopeing hipboi hasn't shipped my melee A1000g yet, and i can wait for a super A1000g with an A20 ;p
<mnemoc> oliv3r: he isn't listing them anymore
<mnemoc> not sure what's his plan regarding mele-reselling
<Yaku> oh i thought the a1000g a2000g have an a13
gimli has joined #arm-netbook
rellla has quit [Remote host closed the connection]
<oliv3r> jinzo: the mail system is just fine thank you :p i think it ends up in spam boxes due to content? Though a payed mail service could be whitelisted by things like gmail more easily.
<mnemoc> Yaku: no, they are the same as before but with 1GB of RAM and more NAND
<RaYmAn> mailchimp.com even lets you send 12k emails pr month for free
<mnemoc> but to an small set of addresses
<RaYmAn> s/mailchimp.com/mandrill.com/
<ibot> RaYmAn meant: mandrill.com even lets you send 12k emails pr month for free
<RaYmAn> arg, mandrillapp.com
<RaYmAn> they have a really nice api and stuff
<mnemoc> tom tried mailchimp for the initial notify-me list.... the free quota of subscribers got filled in a week
<RaYmAn> yeah, mandrill doesn't have subscribers
<RaYmAn> it just has recipients
<RaYmAn> so you need to maintain list elsewhere
<mnemoc> neither a page describing the product :|
<RaYmAn> but then you can just send through them and they add trust and stuff
<RaYmAn> they have a really nice json api
<mnemoc> https://mandrillapp.com send me directly to the login page
<RaYmAn> (and let you send through smtp as well)
<RaYmAn> ah
<RaYmAn> I guess it was that then
<RaYmAn> lol
<mnemoc> i think he is going to use shopify. don't know if they offset spam lists too
<mnemoc> s/offset/offer/
<ibot> mnemoc meant: i think he is going to use shopify. don't know if they offer spam lists too
<mnemoc> RaYmAn: nice thing this mandrill
<RaYmAn> very much so :)
<mnemoc> didn't know it
<oliv3r> mnemoc: well He was supposed to send me one, but payment is going stupid, and i did e-mail him, but he still hasn't replied yet. twice i think
<RaYmAn> also given you can just setup smtp through that and they add trust automatically etc
<oliv3r> it's stupid that I need a third party to 'add trust'
<oliv3r> stupid stupid stupid :S
<RaYmAn> it probably has something to do with the insane amount of spam being sent :P
<mnemoc> oliv3r: it seems he left civilization. he tends to be always-on on android/gtalk but not currently
<ssvb> libv: g2d is slightly (?) misdesigned and can't support premultiplied alpha, it means that OVER compositing operation need to be emulated in several passes and/or done in some really roundabout ways
<oliv3r> mnemoc: hopefully he'll be back after chinese new year :)
<mnemoc> ssvb: how's your neon-fu? ;-)
<mnemoc> oliv3r: nah... the new year holidays are in like over a month
<ssvb> libv: some operations are not supported by g2d at all, which means mixing g2d and cpu rendering is unavoidable - we need to have a design which minimizes performance hit on such switches
<ssvb> libv: if mali is more versatile, then it may potentially beat g2d for 2d graphics
<ssvb> libv: or we may want to be able to have a mix of g2d/mali/cpu rendering in the end
<mnemoc> ssvb: the problem is in the current g2d driver on the mixer processor itself?
<mnemoc> +or
<ssvb> mnemoc: the current g2d driver is not usable for anything practical for sure
<libv> ssvb: due to the way the mali is designed, and how the mali kernel works, mixing should be easy
<libv> as said, it's a much much better situation than on powervr, but the gpu is not the most efficient way to handle these things, both in codesize, cpu overhead and power consumption.
<ssvb> mnemoc: the mixer processor hardware does not support all the needed operations, so it's not a perfect solution, but still should be useful
<hramrach> libv: I heard today nVidia is more free than ati
<mnemoc> even if it's only to move the mouse pointer it should be notizable
<libv> hramrach: first off s/ati/amd/
<hramrach> because nVidia refused to cooperate all the stuff was reverse-engineered. no AtomBIOS, no firmware now
<hramrach> because AMD/ATI cooperates somewhat there is somewhat working driver with somewhat documented blob inside
<libv> hramrach: secondly, you have to distinguish between amd and the former ati (which probably still is not integrated properly -- signs are that the original amd is losing ground on the former ati)
<libv> and you also have to distinguish between the desktop nvidia and tegra
<ssvb> hramrach: "if somebody has a board with working X11 I would like to hear" - by working X11 do you mean XRENDER acceleration for 2D?
<libv> they are also different entities in the same company
<hramrach> not much different. in term sof opensource. cooperation is exactly zero
<libv> i was under the impression that the tegra people were opening up more and more
<hramrach> tegra does not work. it will if/when somebody makes a driver without any info from nVidia. nouveau is that for desktop
<libv> as for atombios... iirc nvidia has fuc to achieve the same
<hramrach> maybe they are. but tegra2 is noway near working
<hramrach> nVidia does. nouveau does not. where would they get it?
<libv> ati, with the help of redhat and some "community members", has nicely killed my work on reducing atombios dependance for the common and simple things like modesetting
<ssvb> mnemoc: about your neon question, most of the 2d graphics operations are already done with neon for software rendering, but of course there is always some room for improvement
<libv> the nouveau guys are creating their own fucs
<hramrach> with the result that modesetting fails on ati hardware
<hramrach> it's 100% working on all the board devs have
<hramrach> it's 100% broken on all the board I have
<libv> none of the bigmouths on ati are even attempting to even work with atombios or hacking it
<libv> hey, i gave two years of my life trying to correct the bs
<libv> talk to the idiots who went and killed a proper open source driver
<hramrach> :s
<libv> airlied, ajax, daniels, ... in the end pretty much the whole in-crowd of X.org
<jelly-home> libv: you mean video-radeonhd?
<libv> they happily sided with ATI just so they could try to get the glory of freeing ati
<hramrach> they maybe thought that working with ati would get a driver done
<libv> they worked against amd, against free software, against long term supportable graphics drivers, against preloaded laptops without fglrx
<hramrach> they get some inside info
<hramrach> and they trade it for making hte driver forever broken
<libv> hramrach: they got info we at suse were sometimes asking for but never got
<libv> hramrach: and we were contractually tied with amd on delivering
<hramrach> soo nice
<libv> but some ati elements happily informed the other side just to kill us off
<libv> because we were the ones that pushed ati open, ati killed us off later on that way
<libv> and the idiots went along with it
<hramrach> there is nothing to say. everyone can see where radeon is now and where nouveau is
<ssvb> hramrach: btw, you mentioned glamor, but it gets beaten by software rendering at the moment - https://ickle.wordpress.com/2012/12/30/sandybridge-acceleration/
<hramrach> I looked at some of the radeon code :s
<libv> my gfs laptop died, so i got a cheap hp (as a lot of my friends still work at suse and do preloads on hp)
<libv> we got a cheapo 15.6"er with SLED preinstalled
<libv> _with_ fglrx
<libv> as radeon is just a bringup and support nightmare
<hramrach> so is fglrx
<libv> not as bad as radeon
<hramrach> but you can blame on amd then
<hramrach> it's bad in different ways
<libv> this is exactly what we set out to fix when we proposed to free ati to amd
<libv> amd has its own set of troubles
<libv> ati now runs the show inside amd
<libv> and we were first used as the crowbar to push this bad acquisition open
<libv> later on we were partly victimized when amd lost control completely in the 2008 financial crisis
<ssvb> hramrach: but AMD/ATI at least did manage to get EXA acceleration working slower than glamor, so glamor may be perceived as an improvement :)
<ssvb> hramrach: anyway, looks like you are not interested in the subject
<libv> but what pisses me off the most is the role some noisy X.org people played, and that those very same people still make big statements today, despite their radeon work representing a massive intelectual sell-out
<libv> if it wasn't for my lima work these days, people would still blame me for being evil novell and trying to corrupt the freeing of ati
<hramrach> ssvb: the problem with sw accel on desktop is that if you want to do sw accel and 3d you will have to do some expensive buffer migration
<hramrach> so even if glamour is slower in microbenchmark it can possibly get better overall performance - or not
<hramrach> depending on how slower it is and what else you use
<ssvb> hramrach: libv said that modern ATI hardware supports overlays, so you may have a chance keeping 2d and 3d cleanly separated
<libv> popular notion on radeonhd is exactly opposite of the facts
<hramrach> the number of overlays is limited
<libv> one per crtc
<hramrach> so you can't expect to make every 3D application and overlay
pcat has quit [Read error: Connection reset by peer]
<libv> and there is no 2d engine left on the generations of hw i worked on
<libv> not sure whether this got fixed for r700, it might've been
<ssvb> hramrach: microbenchmark what? the only relevant benchmark is recording and replaying what real applications do, and that's cairo-perf-trace for you
<libv> err, r800 and later, when the naming changed
<ssvb> hramrach: glamor and exa are slower than software rendering on a lot of real use cases
<hramrach> indeed, they are.
<hramrach> the problem they are trying to solve (and poorly at this time) is that
<hramrach> 1) software rendering takes the CPU from other workloads
<ssvb> hramrach: 1) you have a lot of freaking cpu cores nowadays
<hramrach> 2) for software rendering the buffer has to be migrated so that CPU can access, and if GPU rendering is attempted lateer it has to be migrated back
<libv> i think chris wilsons sna might finally bring intel 2d accel performance bettering xaa
<ssvb> 2) overlays
<hramrach> ssvb: not on every system.
<hramrach> overlays do not solve 2
<hramrach> you have exactly 1
<libv> exa performance only became acceptable when anholt crippled xaa, and when xaa was actively deprecated
<ssvb> hramrach: on *all* modern systems, and the number of cpu cores will be increasing
<hramrach> it's _very_ rare resource
<hramrach> no, modern netbook ahs two underpowered cores
<hramrach> not all modern systems are meant to replace your heating
<hramrach> also even with truckload of freaking cores you can *still* havesoftware that uses them
<ssvb> and modern atom netbooks have hyperthreading, which is good for 2d graphics in theory (when one hardware thread is memory bandwidth bound, the other hardware thread can still do something)
<hramrach> libv: that's one of the most glaring problem in X
<ssvb> hramrach: about overlays, I'm currently trying to prove you wrong with the ddx driver for allwinner a10 hardware :)
<hramrach> for backwards compatibility you have to jump through hoops in so many places
<hramrach> ssvb: how do you combine N applications rendering in software and M applications rendering with GPU with 1 overlay?
<hramrach> also some applications would like to use the oveerlay themselves. well, since the modern ati drivers don't support them any way they have to do without
<ssvb> hramrach: one most demanding application gets an overlay for GPU, the others just run slower
<hramrach> since A10 is not powerful enough to run multiple applications anyway it might work out well
<ssvb> hramrach: it seems to work really well in my preliminary tests (though allwinner a10 has more than one extra overlay, but I'm initially testing the code with only one)
<hramrach> cool
<tTTttt> what does it mean that buffer has to be migrated?
<tTTttt> is the buffer the size of cpu cache?
<ssvb> tTTttt: yes, we need to switch between using on overlay and buffer copies depending on windows stacking and layout
<ssvb> tTTttt: that's the thing I'm trying to get right at the moment
<tTTttt> how big exactly is that cache?
<ssvb> tTTttt: A10 has only 256K of L2 cache
ganbold_ has quit [Ping timeout: 248 seconds]
<tTTttt> and it's such big problem to flush it?
<ssvb> but how is it relevant? the caches are not shared between cpu and mali
<tTTttt> but physical memory is
ganbold_ has joined #arm-netbook
<ssvb> if overlay is used, flushing caches is not necessary, because mixing cpu with gpu rendered data is done by the display controller
<hramrach> tTTttt: that's the problem. not only have you to flush the cache. You have to turn it off so that when the ther *PU is finished rendering you get the data from the shared RAM and not the cache. or you have t ophysically move the buffer if the RAM is not shared.
<tTTttt> and there is no more direct way of communicating cpu with gpu?
<ssvb> hramrach: the discrete desktop gpu accelerators surely have it tough because of slow pci express bus
<hramrach> the cache is separate. So only one can have stuff cached. What else can you do
<tTTttt> control cache meybe
<ssvb> hramrach: integrated intel graphics and embedded systems have a lot less problems :)
rellla has joined #arm-netbook
<hramrach> they have more with the current drivers
<hramrach> at least integrated ATI
<hramrach> the memory is just reserved for the graphics at boot or at init with AtomBIOS
<hramrach> and used like normal VRAM
<ssvb> tTTttt: the solution for what problem (and on what hardware) are you trying to find? the questions about the caches seem to be really random
<tTTttt> nvm, i don't think i'll ever understand how gpus work
<hramrach> ssvb: as for the problem I am trying to solve without success is to get working graphics on any hardware, with decent desktop and video and 3d performance
<ssvb> hramrach: I guess ati/amd problem is that they need to support both discrete and integrated graphics, so they might be trying the lowest common denominator approach (something that sucks in all configurations)
<hramrach> they tread integrated as discrete so it sucks
<hramrach> the problem is that maybe the hardware is not capable of abusing UMA in any way because it is made by the people wh odo discrete graphics after all
<hramrach> or maybe the hardware could but AtomBIOS cannot
<hramrach> at any rate the integrated graphics performance sucks for multiple reasons
<hramrach> one of them being that GPU rendering with Mesa/dri is CPU intensive
<hramrach> the Intel drivers do abuse UMA because they only do integradet graphics and they do ahve in-house knowledge of CPU/chipset/.. behaviour so they can play cache games
<hramrach> you sometimes lose when going with them, though.
<hramrach> on some chipsets you get severe corruption
<hramrach> all in all if you want to see fast graphics get an ancient mac with 40MHz processor or what it was and install OS6
<hramrach> sad :(
popolon has quit [Remote host closed the connection]
bsdfox_ has joined #arm-netbook
L84Supper has quit [Quit: <puff of smoke>]
<tTTttt> /proc/iomem lists mali cache as memory area
L84Supper has joined #arm-netbook
<tTTttt> or are those registers controlling the cache?
rz2k has joined #arm-netbook
hg_5 has joined #arm-netbook
hramrach has quit [Remote host closed the connection]
hramrach has joined #arm-netbook
servili007 has joined #arm-netbook
ganbold_ has quit [Remote host closed the connection]
servili007 has quit [Ping timeout: 255 seconds]
Quarx has quit []
servili007 has joined #arm-netbook
voronaam has joined #arm-netbook
<slapin> hi, all!
<slapin> do anybody remembers how I should split sdcard so spl and u-boot are hidden by first partition?
<slapin> any examples?
<xenoxaos> you should just be able to make the first partition offset by X
<xenoxaos> so in fdisk when it asks you the first partition start location....you just specify +20M or whatever you want
<xenoxaos> at least that's what i've done on other devices
<WarheadsSE> slapin: ^ precisely that
<WarheadsSE> script referenced here does it: http://archlinuxarm.org/platforms/armv7/mele-a100 (mkA10card.sh
lkcl has joined #arm-netbook
drachensun has quit [Quit: Leaving]
Soravux has joined #arm-netbook
pcat has joined #arm-netbook
<Soravux> Hello everyone! Anybody knows why there is no Linaro snapshot images (rootfs) of ubuntu-desktop for precise and quantal?
<Soravux> Since their webpage ( https://wiki.linaro.org/Platform/DevPlatform/Rootfs ) links to a precise release that 404s...
<Soravux> Ok then, LXDE it is!
<Soravux> Oh you're right, it's just not in the snapshots
<Soravux> Thanks!
<mnemoc> yw
<hramrach> how you make a rootfs?
<hramrach> you debootstrap and add some random junk?
<mnemoc> basically yes
<hramrach> I will probably need init and dhcpcd
<hramrach> hmm, and login
<mnemoc> making custom debian-based distros is totally out of scope of the channel
<hramrach> not custom distro
<hramrach> just need something that boots and connects to the net to install more packages
ZaEarl has joined #arm-netbook
<mnemoc> start from an existing rootfs, then chroot+qemu-static and apt-get install the res
<mnemoc> rest*
<hramrach> do you use initramfs on arm or are all required drivers built-in?
<mnemoc> cnxsoft has a tutorial about using initramfs... but it's not required
<hramrach> it's kinda required for sane distro
<jukivili> I use initramfs
<hramrach> otherwise you need special image for each device
<hramrach> but I am fine with not using one for now
vgrade has joined #arm-netbook
<hramrach> and you still need special image for each device anyway with the current state of the bootloader/drivers
<Soravux> Anybody built the sunxi-bsp repo recently? When I make [...], it spits an assertion fail ( 2.22 assertion fail /cbuild/slaves/oorts/crosstool-ng/builds/arm-linux-gnueabihf-linux/.build/src/binutils-2.22/bfd/elf32-arm.c:13830 )...
eebrah has joined #arm-netbook
<mnemoc> hramrach: in arm devices you either have a device specific kernel entirely, or a multi-platform kernel receiving a dts from the bootloader. eitherway there is no real use for initramfs as on x86 machines
markatto has joined #arm-netbook
<mnemoc> you only need to get root mounted, and there aren't that many =m able options involved
<mnemoc> considering you already need a device specific kernel
<hramrach> mnemoc: not sure how much differnt boards very but the root medium nac be any of flash/mmc/sata/usb
<hramrach> out of these at least usb does not like being built-in too much
<mnemoc> and the point of making those =m on a device-specific kernel is?
<mnemoc> slowing down the boot?
<hramrach> if it is not device specific unused modules will not be loaded possibly saving memory
<mnemoc> it's not that you'll have 100 mtd/mmc/sata/usb controllers... it's only one... the one in the SoC
<mnemoc> in the initramfs they'll be automatically modprobed too
<hramrach> if you need a specific kernel for each SoC then sure
<hramrach> and even if it is the same SoC some variants may not have some pieces
<hramrach> like mtd and sata is not always available
<mnemoc> in multi-platform, yes, initramfs makes more sense
eebrah has quit [Quit: ChatZilla 0.9.89 [Firefox 17.0.1/20121129152039]]
rellla has quit [Remote host closed the connection]
<jelly-home> well initramfs has uses other than picking correct drivers to enable mounting rootfs, like hibernate/resume support
<techn_> on embedded systems drivers are usually build in :/
<techn_> btw. how is deep sleep on a10 working?
<hramrach> you do not need hibernate/resume support in initramfs when the resume device is available to the kernel without extra drivers
<techn_> or is it even supported with linux
tinti has quit [Quit: Leaving]
Guest_______ has joined #arm-netbook
Guest_______ has quit [Client Quit]
<RaYmAn> mnemoc: hah, apparently those freescale sticks just has an internal microsd card instead of nand
<RaYmAn> I guess it makes sense given how crap most of this cheap nand is
<mnemoc> even a cheap uSD is several times more expensive than those nands they use
<RaYmAn> sure, but at least it means you can easily replace them with a decent one if you want
<mnemoc> or if it wears out
<RaYmAn> yeah
<RaYmAn> or if you brick it :D
* RaYmAn just ordered one
<RaYmAn> lol
<RaYmAn> couldn't resist
<RaYmAn> we'll see how it is in uhm, a month or so when it arrives ;)
<mnemoc> which?
<RaYmAn> gk802
<RaYmAn> from geekbuying.com
<mnemoc> somehow I like the hi802 more
<RaYmAn> yeah I'm not really sure there's any difference
<andoma> what's this thing with 802 anyway?
<RaYmAn> some posts claim that hi802 is a crappy clone
<RaYmAn> good question
<RaYmAn> it dosn't really make sense
<RaYmAn> I'd want to differentiate my product from the piece of crap mk802 is if it was me :P
<mnemoc> 802 became code name for hdmi stick :p
<RaYmAn> apparently
<rz2k> <RaYmAn> some posts claim that hi802 is a crappy clone - they are same
<rz2k> both made by richtechie
<mnemoc> doh
<rz2k> which run hiapad.com
<rz2k> they have videos of retina demos and debugging hi802
<rz2k> so I believe they are the source
<RaYmAn> rz2k: yeah, looks that way
<mnemoc> so gk802 is a mere rebranding of hi802/8GB?
<RaYmAn> no
<RaYmAn> they are both rebrandings of Richtech one
<RaYmAn> richtechie*
<RaYmAn> from android build.prop on gk802 rom:
<RaYmAn> ro.product.model=GK802
<RaYmAn> ro.product.brand=Freescale
<RaYmAn> ro.product.name=richtechie_6dq
<mnemoc> :)
<RaYmAn> I'm going to bet that hi-802 says the same thing
<RaYmAn> but I haven't found a rom download for that yet
<RaYmAn> oh joy, the usual rtl8192 wifi
popolon has joined #arm-netbook
popolon has quit [Remote host closed the connection]
<hramrach> mnemoc: so with usb you get assorted drivers for non-compliant usb storage devices built-in just in case you were booting from one
<hramrach> but you don't have the uscsi or what it's called
<hramrach> so in case you were lucky and had compliant device
<hramrach> it would not work in the enhanced mode
<hramrach> so there you have reason to have initramfs with *any* device that has usb.
hg_5 has quit [Ping timeout: 248 seconds]
gimli has quit [Ping timeout: 255 seconds]
<Yaku> maybe a stupid question but what´s the difference between an otg and an usb host port, i was just looking at the pictures of the mk808 i´ve ordered and even in the description the ports are differently named, but somehow i don´t directly get the difference, maybe i can´t use an usb hub on an otg port ?
Jef91 is now known as Jef91|AFK
Yaku has quit [Ping timeout: 246 seconds]