/srv/irclogs.ubuntu.com/2012/12/07/#ubuntu-arm.txt

EtherninHey anyone here been messing around with ubuntu on the Nexus7?00:37
Etherninhas anyone tried lxde yet?00:37
plarsxnox: any ideas on preseeding the oem-config install stuff for n7?02:35
plarsxnox: I'm trying to have it finish the setup (time zone, language, user, etc) on the first boot automagically02:36
plarsxnox: I tried sticking the preseed in the initrd, and also in the rootfs, but so far haven't had much success with it, nor do I seem to be able to ctrl-alt-f1 to see what's going on under the covers02:37
plarsxnox: but tbh, I don't know if maybe there's some difference with the preseeding that I need to account for02:37
xenomehi guys, I've heard ubuntu doesn't run as fast on a BBxm when compared to Angstrom, is that still true today?02:40
rcn-eexenome, "heard" is that quantifiable. ;)02:41
xenomewell I've seen some posts about bogo mips too but I think that has to do with the calculation02:42
rcn-eebogo = bogus...02:42
xenomercn-ee, I believe I'm running your kernel I setup from the wiki02:42
xenomeis there a good way to benchmark?02:43
rcn-eewith ondemand cpufreq, the bogomips calc is useless, as it does not get updated..02:43
xenomewell it's different now then at bootup when I cat /proc/cpuinfo02:44
rcn-eexenome, what will get you, post v3.6.x 800Mhz is no longer stable when rebooting, so I had to disable that in my builds.. SO if your Angstrom is running v3.0.x it'll be at 1Ghz, where as i'm at 600Mhz max.. ;)02:44
rcn-eeIf you don't care if it hardlocks on a softrware reset, you can reenable 800Mhz..02:45
xenomeis that a bug in the kernel?02:45
xenomeor did something change and that capability was just lost02:45
rcn-eelooks for Tony Lindgren's email...02:45
rcn-eexenome, http://www.spinics.net/lists/linux-omap/msg78218.html (basically we need the Nokia fixes..)02:47
xenomeeven at 800 if it worked, is there a reason for not hitting 1GHz like on angstrom02:47
Zero_Chaoswait, ubuntu, not stable? unpossible02:48
rcn-eeWell, there was hacks to make it work with v3.0.x & v3.2.x but with the 2 or 3 omap power managment rewrites, those patches are useless..02:48
rcn-eeBasicly if you want it, complain to TI. ;)02:49
xenomedoes TI offer a commercial solution?02:49
xenomefor people who buy this chip, what OS do they recommend to leverage all the features?02:50
rcn-eewell, there was the 2.6.32-psp, then 2.6.37-psp and i think a v3.0.x based branch for those customers..02:50
xenomeoh so the psp branches are the TI modded kernels?02:53
xenomeis it possible to setup ubuntu and just drop back to one of their older kernels, or is that a big mess?02:53
rcn-eeTI's psp are here: http://arago-project.org/git/projects/02:55
rcn-eesure, in theory you can go all the way back to 2.6.32 as long as DEVTMPFS is enabled..02:57
rcn-eebut, it'll be a fun adventure, specially with all the gcc bugs. ;)02:58
xenomebecause I'd be using a recent ubuntu dist, or because their code does not work well with gcc?02:59
xenomei've started off with the demo image that shipped with my board.  I'm hesitant to even do a package upgrade as I'm afraid I may lose support for all the optimized programs03:00
rcn-eeon arm, depending on far back you go with the kernel version, you better find a version of gcc built at the same time. ;)03:00
xenomei'm not sure how I can check to see what I might lose03:00
xenomeah, ok03:00
rcn-eedid you rebuild your programs or just apt-get them?03:00
xenomewell I was using ubuntu at first, and now I'm back playing with arm03:01
xenomeerr angstrom03:01
xenomeis it a tremendous amount of work to get a video player built under ubuntu that leverages the dsp?03:01
xenomethat's where I see the biggest difference03:01
rcn-eeyou can mix/match the kernel's too..  there's some things nice in angstrom's userspace..  but i need dpkg. ;)03:02
xenomeI saw some demo of synergy on youtube with 6 beagleboards...that looked amazing03:02
rcn-eeoh that was mans's project, no dsp their..03:02
rcn-eeall cortex...03:03
xenomeoh I love ubuntu, I'd must rather work in it...but I think I need the drivers unless I can with get something optimized built03:03
xenomehow exactly did that work? I haven't really seen a program that does that screen division like that03:03
xenomeshould I just google synergy beagleboard?03:03
rcn-eebut for the dsp: instead of working the dsplink guys i followed the tidspbridge guys.. (aka nokia) it works for video.. but yeah, no more changes now.. ;)03:03
xenomebecause of their microsoft deal?03:04
rcn-eehere's the wall: http://www.youtube.com/watch?v=9pwUdRKllo003:05
rcn-eepretty much, before Microsoft all Nokia phones had omap34/36xx based devices.. now qualcomm..03:05
xenomeyeah that's amazing03:05
xenometoo bad omapfbplay doesn't have sound :)03:06
rcn-eeand i think sounds now finally works on the beagle in v3.7-rcX! ;)03:07
rcn-eeit was broken for a long time.03:07
xenomerunning under angstrom?03:07
xenomewhen it says "usb networked" does that just refer to the nics that connect via usb, or was there some special program running over usb (not ethernet)03:09
xenomeis there a version of ubuntu I could drop back to to be on par with the best angstrom, or is there just too much optimization by the angstrom guys to compete?03:10
rcn-eealot of those 'usb networked' device notes go back when we didn't have any real ethernet devices on the original beagle..03:10
rcn-eejust grab the kernel/modules from here: http://downloads.angstrom-distribution.org/demo/beagleboard/  They'll run just fine on ubuntu...03:11
xenomeso is v3.7-rcX another kernel besides the one you're hosting?03:11
xenomeso I just need to drop my kernel back to 3.0.17?03:12
rcn-eewe are at v3.7-rc8: http://git.kernel.org/?p=linux/kernel/git/torvalds/linux.git;a=summary  (in this merge the twl4030 (beagle/etc) was rewritten..)03:12
xenomethat chip does the power management?03:13
rcn-eeWell, you could use my legacy v3.2.x branch on github.. 800Mhz works..03:13
rcn-eeaudio/usb/etc...03:13
rcn-eeit's a very complex multifunction/mult power/etc device..03:13
xenomedoes torvald's kernel have the myriad of patches in your repo?03:14
xenomeseems like you've done a great deal of work to get things to where they are03:14
rcn-eeWe (beagleboard.org community) use torvald kernel as a base..  Most of the patches we have in the repo is stuff heading mainline.. or the last gasp of board based changes, before we have to fianlly convert to device tree..03:15
xenomeso is that a good thing?03:17
rcn-eeyeah, it keeps it easy to rebase and keep following torvald's tree..  but we give up on backporting to old stuff. ;)03:18
xenomeI see...so do the angstrom guys do something special to get 1 GHz?03:20
rcn-eehere's their patch list for '1 Ghz' : https://github.com/beagleboard/kernel/tree/beagleboard-3.0/patches/pm-wip (both directories)03:20
rcn-eeUnless you work for TI and are paid to do it, yeah that massive list of patches to keep track of and push mainline. ;)03:21
xenomewow, it takes all that go from 800 to 1 GHz?03:22
rcn-eeCorrect.. ;)  IF you didn't care about the life of the silicon and had heat spreader... well you could just bump the Vcc voltage and enable 1Ghz. .;)03:23
xenomeso did someone do that once for the angstrom kernel, and it's just too much work to follow the new revs?03:24
rcn-eeand one user actually did that in 2.6.36: https://groups.google.com/forum/?fromgroups=#!topic/beagleboard/z3Jsk_nHLNU03:25
rcn-eeThat was pulled from ti's 3.0.x-psp, they were even posted to the linux-omap mailing list, but after asked for more comments the poster never rebased so they got lost..03:26
rastermoo03:26
rasteranyone here doing any nexus7 ubuntuey stuff?03:26
xenomeso TI will make the board work in their branch at 1 GHz03:27
xenome?03:27
xenomethat doesn't quite seem as big of a patch as the site you just showed me03:28
xenomebut I guess that was for 2.6.3603:28
rcn-eethat small patch just over volts the core with no protection. ;)03:29
xenomeand that's what TI does in their tree?03:30
rcn-eeno.. that small patch was from a users..03:31
rcn-eebtw, i have no interest in TI's tree, i know it supports 1Ghz.. and there's a lot of patches to accomplish it.. but it's not mainline..03:32
xenomeoh it's really far off?03:32
xenomeis your goal to get most of the stuff pushed into mainline, is that realistic?03:33
rcn-eewhy not? ;) btw you should talk to the fedora-arm guys: they will not except even a small patch: it has to be 100% mainline. ;)03:35
xenomeheh03:35
xenomeso to get the serial port working for output I had to diable getty in /etc/init, but keep the console line in uEnv.txt03:36
xenomei thought from what I read online I had to remove that line fro uEnv.txt03:36
rcn-eeYou need both places... uEnv.txt just redirects the boot console... /etc/init/serial inits getty..03:36
xenomewell it didn't work when I removed it from uEnv.txt03:37
xenomebut maybe that's because it's also setting up the port correctly for me03:37
xenomei.e. 9600, etc..03:37
rcn-eetechnically we don't need it in uEnv.txt..  but who wants to wait 10 Seconds waiting for a login to appear..03:37
xenomewell I suppose I better remove it if I don't want messages coming out03:37
rcn-eethe problem for a lot of people... if your actually using the port with something.. you also need to quite MLO/u-boot..03:38
xenomeoh so do more than just uEnv.txt?03:38
rcn-eeThe easy way: just change u-boot to use a different serial port.. then you'll never see that either..03:39
rcn-eefun to debug..03:39
xenomevia uEnv.txt?03:39
xenomeyou wouldn't happen to know what disconnects getty in angstrom?  I figured my first test would be to do that, then to yank the uEnv.txt line03:40
xenomethat's at least how I got success with ubuntu03:41
rcn-eeno just use a different serial port: http://git.denx.de/?p=u-boot.git;a=blob;f=include/configs/omap3_beagle.h;hb=HEAD#l89  then u-boot will dump all the boot stuff somewhere else..03:41
rcn-eeno idea, it's systemd... yuck..03:42
rasterany ideas on hunting down an apparent kernel-side memory leak on tegra3?03:44
rasteri can only account for about 128m of userspace memory being used03:44
xenomeis that file used by the kernel or just u-boot?03:44
rasterbut kernel reports 420m gone03:44
xenomeso rcn-ee, if I want to stick with ubuntu yet leverage the prexisting kernel modules, is it best to drop back to 3.0.17 and use the BBxm modules, or try to use your 3.2 kernel?04:06
=== Ursinha is now known as Ursinha-afk
=== Ursinha-afk is now known as Ursinha
dholbachgood morning07:45
gurgalofmorning07:45
achiangdholbach: good morning07:46
dholbachhey achiang07:46
=== doko_ is now known as doko
dholbachogra_, I can't use onboard when gksu is active!08:12
rasteryay for mouse grabs!08:12
dholbachaha, it's filed already: bug 42166008:12
ubot2Launchpad bug 421660 in gksu (Ubuntu) "gksu's and gksudo's modal password prompt prevents OnBoard's virtual keyboard input, causing accessibility issues" [Medium,Confirmed] https://launchpad.net/bugs/42166008:12
rasteranyone here doing nexus7/tegra3 stuffs?08:13
=== yofel_ is now known as yofel
=== albert is now known as Guest24941
* ogra_ waves to raster10:11
rasterogra_: moo10:11
ogra_i'm rolling the nexus images, whats your question10:13
rastermemory10:13
rasteri've found a 270mb memory black hole10:13
rasternot in userspace10:13
rasternot in kernel slab info10:13
rasteri cant find it10:13
rasterbut theres 270mb or so of mem i cant account for no matter how i try10:14
rasterfyi10:14
rasteri've already chopped out 200m of memory usage10:14
ogra_using our image ?10:14
rasterthe standard setup uses about 630m10:14
rasteryup10:14
ogra_is that 12.10 or 13.04 ?10:14
rasteri'm down to around 430m10:14
raster12.1010:14
raster13.04 is broken as it gets10:14
ogra_13.04 installs zram by default10:15
rastergl is busted nasty-like10:15
rasterbah10:15
rasterdont need zram10:15
raster:)10:15
ogra_hmm, i use it fine here10:15
ogra_it has some issues butu you can work around them10:15
rasterif i can find this memory hole i'll have a base footprint of less than 130m10:15
rasterthats plenty good enough for a 1g device and me :)10:15
ogra_did you check the cmdline ? the bootloader prefixes a mad amount of stuff to it ... hardcoded10:15
rasterummm10:16
rasteri did indeed not10:16
rasterwhere can i find it10:16
raster?10:16
ogra_cat /proc/cmdline10:16
rasterfrom regular userspace?10:16
rasteraaaah of course10:16
rasternm10:16
* raster slaps himself10:16
ogra_heh, dont :)10:16
rasteri was thinking grub10:16
rasterbut realised "hmmm.. no.. no grub there"10:17
rasterthen i blanked out10:17
raster:)10:17
ogra_abootimg is the tool to use for fiddling with cmdline, kernel or initrd bootloader stuff10:18
rasterlp0_vec=8192@0xbddf900010:18
rastertegra_fbmem=8195200@0xabe0100010:18
ogra_yeah. no idea how you can get rid fo that10:18
rasterre thos in.. bytes?10:18
* ogra_ guesses they are10:19
ogra_not sure though10:19
Etherninogra_, Hey man any info on the Nexus 32GB with 3G?10:19
rasterhmm10:19
rasterwell 8mb for fbmem...10:19
Etherninjust tried like 5 minutes ago installing the latest raring10:19
rasterkind redundant to use that much10:19
Etherninstill no go10:19
ogra_Ethernin, hmm, how does it hang ?10:19
rasterogra_:  have u been in touch with the nvidia guys?10:19
rasterthe gl/tegra drivers are not doing vsyn swaps10:20
rastervsync swaps10:20
rasterits severely offensive10:20
rasterespecially since i asked for them :)10:20
ogra_raster, only through some guys in #ac100 (tegra2 netbook)10:20
raster(set swapinterval to 1)10:20
ogra_but i doubt they will be able to help you here10:20
rasteraaah boogers10:20
ogra_the stuff you look at comes hardcoded from the bootloader10:20
ogra_thats rather googles side of things i'd say10:21
Etherninogra_, well i noticed that in the bootimg.cfg within the bootimg file it's still pointing to the partition9 instead of partition1010:21
Etherninogra_, cmdline = root=/dev/mmcblk0p9 ro console=tty0 fbcon=rotate:1 access=m2 quiet splash10:21
rastervmalloc is 128m10:21
rasterhmm i wonder what that does10:21
ogra_Ethernin, yes, thats fine, it detects the right partition during first boot, resets the cmdline and reboots10:21
Etherninok10:22
ogra_at least it is supposed to :)10:22
rasterhmm10:22
rasteri wonder if ont he tegra kernel the vmalloc literally snarfs those 128m away and never allows userspace to get it10:22
rasterthat accounts for almost half my vanished mem10:22
ogra_i would bet thats most likely used for the binary drivers10:23
rasteri wonder ifr it gets it wrong and uses it as real physical ram10:23
Etherninogra_, so i've tried downloading from http://hwe.ubuntu.com/uds-r/nexus7/ (the 32GB version) and the latest raring from: http://cdimage.ubuntu.com/daily-preinstalled/current/10:23
rasterogra_:  quite possible10:23
rasterif its where ti stuffs texture and backbuffer data etc.10:23
Etherninneither one of those works using fastboot 1.6 flashing Nexus 32gb with 3g10:23
Etherninat least so far10:23
Etherninoh shit!10:24
rasteror where it gets it from10:24
EtherninNM!10:24
Etherninit worked!10:24
Etherninwahoooo!!!10:24
ogra_:)10:24
rasteryay!10:24
Ethernin!_!10:24
EtherninBOOOYAH!10:24
rasterogra_: also.. wheni suspend.. it just insta wakes up10:24
rasterliek suspend for 200ms10:24
rasterthen wake10:24
rasterall onits own10:24
Etherninit was hanging at first saying is wasnt a modem or soemthing10:24
ogra_raster, i noticed that too, next suspend persists though10:24
raster/usr/sbin/pm-suspend10:24
rasterwhen i go direct10:25
rasterhmm10:25
rasternah - it keeps doing it every time for me10:25
rasteragain and again10:25
ogra_(using just the UI, not sure what that calls additionally beyond pm-suspend)10:25
rasteri was wondering if i can figure out the wakeup src?10:25
rasterdmesg didnt seem to help10:25
rasterwsell not that i could find10:25
rasterhmm ok10:25
rasteri'm bypassing the ui10:25
raster:)10:25
ogra_heh10:25
ogra_trying to get E17 to work ?10:25
rasteralready working10:25
rasterthats why i saved 200m10:25
raster:)10:26
ogra_heh10:26
rastercompositing works a treat10:26
rastereverything working10:26
rastermultitouch works10:26
ogra_yeah, as bad as binary drivers are, the tegra ones are a pleasure to use10:26
rasterit would seem the hw fb is actually portrait mode10:26
rasternoting how the screen updates/scans10:26
rasteror appears to10:26
ogra_heh, yeah10:26
ogra_we tricked it into landscape10:26
rasterewww10:27
ogra_using a desktop distro that somewhat seemed better10:27
rastercan i untrick it10:27
rasterwithout xrotate?10:27
raster:)10:27
ogra_i dont think you can untrick the touchscreen easily10:27
rasteri noticed its dodgey when i xrotate back to portrait10:27
rasterand noting the rendeirng speed10:27
rasterit feels like its doing extra copies and rotates along the way10:27
rastermaybe 2 times10:28
rasterso render to buffer10:28
rasterrotate to the tricked landscape10:28
rasterthen when in portrait10:28
ogra_but yeah, for the rest, there is a) a rotation option set on the cmdline (use abootimg on /dev/mmcblk0p2 to change it) and b) an xorg.conf snippet10:28
rasterrotate YET again back to portrait10:28
rasterooh docs?10:28
ogra_abootimg -h10:28
ogra_:)10:28
rasteraaah there it is10:28
rasterfbcon=rotate:110:28
ogra_/dev/mmcblk0p2 carries the bootimg raw10:29
rasterbtw10:29
rasteris the IO meant to be that slow?10:29
ogra_sudo abootimg -i /dev/mmcblk0p210:29
ogra_we didnt do much to optimize for MMC yet10:29
rasterhmm10:29
rasterfair enough - it's pretty sluggish10:29
ogra_i'll likely set some sysctrl bits during the cycle10:29
rasterwell ok- sluggish compared to equivalent devices i have.. around the place10:30
rasterthat lets say.. some big oem's like to make10:30
ogra_there isnt much we can do wrt filesystem optimization ... the ext4 we use needs to be created by the android tools to make it work with fastboot10:30
rasterie i can see 2-3x the io rate10:30
rasterext4 isnt the problem10:30
raster:)10:30
ogra_so on that side there isnt much we can imrpove10:30
rasterit know - ext4 works a treat on some over-the-top ssd's i have10:31
ogra_but userspace surely still has room10:31
rasterand on.. other arm devices on emmc10:31
rasteroh btw10:31
rasterdo u try and change governor by default?10:31
rasteri realized theres a new interactive governor10:31
ogra_well, ubuntu defaults to ondemand10:31
ogra_everywhere10:31
rasterits AWESOMELY better than ondemand or conservative10:31
rasteroh no no10:31
rasterdont do that on this10:31
rasterchange to interactive10:31
ogra_file a bug ;)10:31
rasterits like night and day10:31
rasternah :) i alrwady fixed that10:32
rastere17 just sets it itself10:32
rasteri just have to select it in the menu10:32
raster:)10:32
ogra_there are the android init scripts that set a lot of these optimizations on boot, i havent had the time to go through all of them in detail yet10:32
rasterwhen u get toit - i suggest u try it10:32
rasteru can try it now to see what i mean10:32
ogra_iirc there is some code for the interactive governor10:33
EtherninHey have any of you guys made a custom onboard keyboard before?10:33
Etherninjust looking at trying to make it a little more usable on the nexus10:34
Ethernini know it uses svg files and you can create your own custom keyboard maps10:34
rasterecho "interactive" > /sys/devices/system/cpu/cpu[0123]/cpufreq/scaling_governor10:34
Etherninjust wondering if anyone had some good ideas on a simple way to do it?10:34
rasteru dont need any code10:34
rasterjust do that and try it out10:34
ogra_well, interactive means you can set options ;)10:35
rasterno10:35
rasteri think it means its designed for interactivity10:35
rasterie so the gui is responsive10:35
rasteras it beocmes really responsive10:35
rasterit htink it clocks up fast10:35
ogra_https://android.googlesource.com/device/asus/grouper/+/7fce7d56cb077e869b9509cd2770d92e8cf29dcc/init.grouper.rc10:35
rastermuch faster than ondemand/conservative10:35
ogra_line 171 ff.10:35
rastersou get high clockrates fast10:35
rasterthen clocks down10:35
ogra_the lp_ options could probably help your suspend issue10:36
rasterhmm10:36
rasterinteresting10:36
ogra_194 ff. looks intresting for MMC performance10:36
rasterwell the out-of-the-box interactive governor options make it great :)10:37
ogra_the prob is that we need to change a really badly implemented ubuntu default here10:37
ogra_i would much rather fix it by a complete re-implementation but wont have the time for this in 13.0410:38
rasterwhere are those lp_ options?10:38
rasterhmm wtc10:38
rasterwtf10:38
rasteroooh10:38
raster2k10:38
rasternm10:38
rasterwait10:38
raster2mb10:38
rasterthats insane10:38
ogra_well, the device is pretty fast on android :)10:39
ogra_btw ... /etc/init.d/ondemand is what i was talking about above10:39
rastersure10:39
rasterwell for nexus7 i'd suggest using interactive10:39
rasterjust as is it makes it massively less sluggish10:40
rasteroh10:40
ogra_right, the point is it should a) be autodetected which one is needed or b) be configurable10:40
rasteru mean lp2_in_idle, no_lp, lp2_0_in_idle ?10:41
ogra_yes10:41
rasteraaah yeah10:41
rasteru want to have a single ubuntu image for eveyrhting10:41
rastersure10:41
ogra_no, but the things that are installed by default should work either automatically or be configurable to cover different tasks :)10:41
rasteru COULD do some evil shellness in there looking at uname/proc/sys etc.10:41
rasterAnd if in tegra3 ... then try a different one10:42
raster:)10:42
ogra_this initrscript is simply assuming the whole world wants ondemand all the time10:42
rastersure10:42
rasterit dpeends if u are happy to hack init scripts to maek these work10:42
ogra_heh, sure10:42
rasterpersonally i despise init scripts and want to see them die :)10:42
ogra_it just needs to function on x86, ppc, arm and under all ubuntu flavours after i touched it :)10:43
rastersure10:43
ogra_its not the coding, its the "make sure it does it right on all arches and flavours" bit thats hard for such generic bits in the distro10:44
rasterand if [] ...; then ... ; else ;; fi10:44
ogra_boo10:44
rasterto detect tegra3 at least .. if there is an interactive one10:44
ogra_case arch in; .... esac10:44
rasterin fact i think if there were an interactive governor for desktop and laptop anyway u'd want it10:44
raster:)10:44
ogra_3x faster than if ;)10:44
rasterits shell10:44
ogra_yep10:44
raster3x faster still means abotu the speed ofr continental drift :)10:45
rasterbut sure - i get it :)10:45
ogra_heh, well, if its a script executed during boot, 3x faster matters10:45
rastertrue10:46
rastertho imoh unity should take care of that higher up10:46
rasteras such 1 size does not fit all with governors10:46
rasteri have 1 laptop i have to clock at 600mhz10:46
ogra_right, but it should staay in the plumbing layer i think10:47
ogra_unity is to high up10:47
rasterany more and it'll overheat after 1 min of compiling and throttle itself to death10:47
ogra_lovely ...10:47
rasteras such i can clock in vast improvements in compiling times if i clokc to performance for the whole compile session10:47
rasterthen let it go back to auto afterwards10:47
ogra_write more shell and less C ;)10:48
rasterthats why e17 has a control in it with some suid root fun10:48
rasterhahaha10:48
infinity1I'd tend to agree that this doesn't need to be machine-specific, and interactive is the sane choice if it's available.10:48
ogra_infinity1, oh, you mean just looking at available_governors ?10:49
ogra_hmm, sounds like a good idea10:49
infinity1ogra_: Yeah.10:49
* ogra_ will play with that 10:49
ogra_first .... coffee though ....10:50
ogra_brb10:50
infinity1ogra_: One could concievably build a kernel with no governors, and that init script should just exit silently in that case.10:50
infinity1ogra_: But if interactive is in the set, use that, else if ondemand, use that.10:50
=== infinity1 is now known as infinity
rasterok10:52
rasterlets hope the rotate thing is.. better10:52
rasterogra_:  yeah - just use interative form avilable_governes if there.. if not - use ondemand :)10:53
rastersimple10:53
rasterbut interactive is miles better10:54
rasterhmm10:54
infinityYeah, I'm guessing it's not mainline yet.10:54
rasterread are better with 2m readahead indeed10:54
infinityMy 3.7 kernel doesn't seem to have it built in, at any rate.10:54
rasterinfinity: i think its something android added10:55
rasteri read about it as part of 4.0 or 4.110:55
rasterits a new governor to improve interactivity10:55
ogra_yeah, we dont use it on x86 i think10:55
rasterand it clocks up to max cloickrate almost immediately10:55
rasterand then pulls back after that10:55
infinityYeah, it's definitely not in the 3.7 sources.10:55
rasterso it leads to slightly more power drain10:55
infinityraster: Yeah, I've read what it does, seems a bit saner.10:55
rasterbut its much more repsonsive as the cpu clocks up the moment it needs to do even just a little more work than the "trivial"10:56
infinityAnd it's not necessarily more power drain, if it changes usage habits.10:56
rastersure10:56
infinityMuch like we discovered that 7200rpm laptop drives draw less power than 4200rpm ones.10:56
rasterit makes sense to me - why it isnt in ondemand by default.. dunno10:56
raster:)10:56
infinityBecause they spin up faster, get shit done, and spin down.10:56
ogra_hmm, could it happen that not all cores have the same set of available governors ?10:56
infinityogra_: Not on any systems we support out of the box.10:57
ogra_k10:57
rasterogra_:  that'd be highly odd10:57
infinityCo, checking cpu0/available would be fine.10:57
infinityWhich is, I assume, why you asked.10:57
ogra_well, sysfs exposes it by core10:57
rasterit could be that they cant all do the same clockrates tho10:57
infinitys/Co/So/10:57
ogra_so you can obviously set it by core10:57
ogra_which makes me think its not that odd (not that i see how it would help anything)10:58
infinityNo kernel we ship would/could have a different supported set per CPU.10:58
ogra_right10:58
infinityOne could potentially do such a thing, but it would be rather odd.10:58
rasteryeah10:58
rasterodd10:58
ogra_ok ok10:58
ogra_odd10:58
ogra_:)10:58
infinity(Now, setting the governor per CPU is a less odd use-case, but that's left as an exercise for the end-user, not something we need to cater to)10:59
rastertho the tegra3 does have this awesome 5th cpu thing10:59
rasterthats an example of 1 cpu only going up to.. hmm 400 or 500mhz10:59
infinityLike having a many-core server with one core set to performance and the rest to ondemand.10:59
rastercant rememebr10:59
rastertho its jnot exposes in sysfs10:59
rasterits glued in under the covers as u can do 4 cpus or 110:59
infinityraster: Yeah, their own take on big.LITTLE, but not.10:59
rasterdepending on needs/clockrate10:59
rasteryeah10:59
rasterdifferent10:59
rasterbut it was rather neat when i saw it in a presnetation from them a while back11:00
rasterthe fact that it uses a specific lower power process to make ti too i guess makes sense11:00
infinityYeah, all the big.LITTLE type ideas are pretty slick, both ARM's and NVIDIA's.11:00
rastereither way - its just what us hackers need11:00
rasteras we often just need a single core only going up to some middling clockrate11:00
rastereg to play some mp3 data11:00
rasterwe dont need the rest11:01
infinityKernel folks are still working on sane ways to make the scheduler take advantage of all of this.11:01
rastermaybe just shuffle some bits from disk into the video decode buffers11:01
rasterwho knows11:01
infinityThe ARM big.LITTLE design involves a low-clocked A7 (the successor to the A9, which isn't confusing at all) and a bunch of A15s.11:01
infinityBut it definitely needs serious software support to make it as cool as the whitepapers and slides.11:01
rastersure11:02
infinityAlso has knock-on effect for high end computing clusters and such too, though, so it's an interesting problem to wrap one's head around.11:02
rasterindeed not just kernel support11:02
rasterbut i think userspace too11:03
rasterkernel cant predict what an app WILL do11:03
rasterit can guess what it might based on history11:03
rasterbut an app is much more likely to know11:03
rasterbased on its knowledge of the world11:03
infinityYes, response time is one of the concerns if it's all kernel-side.11:03
rasterso having interfaces to "hint" to the kernel what u are doing would be useful11:03
rasteran example would be the std mainloop toolkits have11:04
rasterwhen we wake up.. we take a quick look at the fd's that are active11:04
infinitySince the initial cut here looks basically like an ondemand scheduler (again), but hotplugging cores in addition to frequency scaling.11:04
rasterif x is active11:04
rasterthen we can assume we wil be doing some rendering11:04
rasterso we can issue a "hey - clock up mate.. i need you now!"11:04
rasteror if its an fd from wayland compositor11:04
rasteror wherever11:05
raster:)11:05
rasterwe dont need absolute control11:05
rasterbut we need the ability to let the kernel knwo what we need11:05
rasteror might need11:05
infinityIt goes back to the same discussion as hard drive RPM, really.  Faster response times win the day (both in user experience and actual energy consumption), but you can't clock up "for no reason", or you lose hard on energy.11:05
rasternot necessarily11:06
rasterdepending on soc/cpu/whatever11:06
rastereg 1.5ghz may be nice11:06
rasteru CAN do 2ghz11:06
rasterbut you drain 3x the power as u have to up voltages and what not all over11:06
infinityOh, sure, clocking to max isn't always a win.11:07
rastertheres a "fast sweetspot"11:07
infinityI just mean "fast enough to get work done".11:07
rasterand then thers the "give me everything u have"11:07
rastersure11:07
infinityThe key being that the largest power drain on these systems is actually the display.11:07
rasterbut if an app can hint at what it needs - semantically11:07
infinityThen the RAM.11:07
infinityThen the CPU.11:07
rasterthat'd be majorly helpful11:07
rastertrue11:07
rasterram? really?11:07
infinityYeah.11:07
rasterthats the first time i hear it in the lsit11:07
rasterits normally after cpu11:07
infinityIt's after CPU on low-RAM devices.11:08
rasterhmm11:08
infinitySRAM battery drain goes up rather quickly.11:08
rasteroh sram... sure11:08
rasteri'm thinking dram11:08
rasteryour usual run of the mill11:08
rastergarden variety11:08
infinityAnyhow.  The display is always the biggest killer.11:08
infinitySo anything that gets the user through his task faster and the screen off faster is a win.11:08
infinityTo a point.11:09
infinityAs long as it doesn't mean "your cores are always awake and spun up, sucks to be you".11:09
infinityCause then the CPU takes over the battery wars. :P11:09
rasterwhat is this no_lp thing...11:09
rastersure11:10
rasterthats the "screen is on" scenario11:11
rasterif its "screen off playing my music"... thats another matter11:11
rastera bit of amoled action and a nice dark theme... helpeth :)11:11
infinityYeah, that helps a lot.11:11
infinityThough my phone isn't amoled.11:11
raster:(11:12
rasterthe samoleds are gorgeous11:12
rasteri have to say11:12
rastertho they suffer from burn-in11:12
rasterand pentile is just plain offensive11:12
infinityThe LG IPS displays are also pretty sexy.11:12
rasterwell offensive to me11:13
infinity:)11:13
rasterthe s2 was the only one to get it right so far11:13
rastertho the s3 is getting into "totally silly" dpi land so it begins to all just vanish in the blur :)11:13
infinityNo DPI is silly, it just needs marketing fluff comparing it to your ocular anatomy and suddenly it's "innovative".11:15
infinityDuh.11:15
rasterhahaha11:15
rastersure11:15
rasterhmm11:15
rastertime to go home and see if my rotate works...11:15
rasteror non-rotate11:15
rasterenough sshying twice acorss the pacific to talk to my nexus711:16
ogra_infinity, http://paste.ubuntu.com/1416620/11:19
mjrosenbis there a bot in here that keeps track of the last time someone said something?11:22
ogra_nope11:22
infinityogra_: That's an inverse optimisation for the less likely case.11:22
ogra_hmm11:22
infinityogra_: Dropping the block at the top with the exit would solve that, ish.11:24
infinityogra_: Forking grep for every core is a bit much too, though.11:25
ogra_not really, let me think about something where we dont run grep all the time :)11:25
infinityogra_: fork-free version: http://paste.ubuntu.com/1416644/11:33
ogra_awesome11:33
ogra_let me test that11:33
infinitySeems to DTRT here in some quick testing with governors I actually have.11:36
ogra_yeah, rebooting the nexus now11:37
gurgalofis raring usable now on the nexus7?11:38
ogra_it has issues and bugs but isnt much worse than 12.10 was11:38
infinityogra_: On a side note, I find that once you wrap your head around "while read foo; do ...; done < /file", it becomes a claw hammer to remove many a shell-forking nail.11:39
ogra_yeah11:40
ogra_i was thinking about how to use case here ... "while read" wasnt striking me though :)11:41
gurgalofthen I may flash raring, instead of using quantal as I do now...11:41
ogra_gurgalof, there are some input issues with onboard in the graphical installer where you cant type into text fields, for some people it works to reboot the device if that happens11:42
ogra_thats the only blocker i currently know about11:42
infinityogra_: Actually, being a single line file, the while loop is unnecessary.11:42
infinityogra_: Though, upstream could always make it multiline just to prove me wrong. :P11:42
ogra_heh11:42
ogra_unlikely though11:43
ogra_ogra@nexus7:~$ cat /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor11:43
ogra_interactive11:43
ogra_interactive11:43
ogra_interactive11:43
ogra_interactive11:43
ogra_great11:43
ogra_and raster was actually right, it feels a lot more responsive11:44
ogra_(finger scrolling in the browser actually got smooth)11:44
infinityhttp://paste.ubuntu.com/1416666/11:44
infinity^-- Ditching the while loop.11:44
infinityAnd renaming the variable to something more readable.11:45
infinityogra_: Want me to upload this, if you're happy with the testing?11:46
infinityogra_: Is there a bug ref?11:46
ogra_case "$(cat $AVAILABLE)" in11:46
ogra_save you the read11:46
infinityErr, but it forks cat.11:46
ogra_no bug ref, nope11:46
infinityread is a builtin.11:46
infinityWhich was the point.11:46
ogra_oh,. fork free, indeed11:46
ogra_heh11:46
ogra_yeah, go ahead and upload11:46
ogra_raster just came up with it during conversation, there was no time for a bug :)11:47
ogra_      case $governors in11:48
ogra_                *conservative*)11:48
ogra_                        GOVERNOR="interactive"11:48
ogra_                        break11:48
ogra_                        ;;11:48
ogra_infinity, better dont upload it that way :)11:48
infinityYeah, that was me testing. :P11:49
ogra_guessing you want to match interactive for interactive11:49
ogra_:)11:49
infinity(Since I don't have interactive).11:49
infinityBut I appreciate the review concern. :)11:49
ogra_your manager should really give you one of the nexuses he sits on :P11:49
ogra_ogra@nexus7:~$ cat /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor11:51
ogra_userspace11:51
ogra_hrm11:51
infinityogra_: I have one, but I was iterating on the laptop cause, well, laptop.11:52
ogra_ah11:52
ogra_well, it didnt work here11:52
infinityOh.  You mean, even after fixing it, it doesn't do anything?11:52
ogra_it is set to userspace11:52
ogra_which the kernel defaults to11:53
infinityThat's odd, since if you neuter the echos and test it, it does exactly what it used to (except for adding interactive as an option).11:53
ogra_(performance makes it hang)11:53
infinityDoes that mean it wasn't set to ondemand before either?11:53
ogra_it was11:53
* ogra_ doesnt see any paste errors or typos 11:54
infinity(base)adconrad@cthulhu:~$ ./ondemand background11:54
infinityecho -n interactive > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor11:54
infinityecho -n interactive > /sys/devices/system/cpu/cpu1/cpufreq/scaling_governor11:54
infinityecho -n interactive > /sys/devices/system/cpu/cpu2/cpufreq/scaling_governor11:54
infinityecho -n interactive > /sys/devices/system/cpu/cpu3/cpufreq/scaling_governor11:54
infinityDon't make me reflash my N7 at 5am to test this...11:54
infinityI guess I may as well.11:55
ogra_nah11:55
infinityNah, I have to get a recent image on it anyway.11:55
infinityThis is a fair excuse.11:55
infinityAnd I want to know why this fails.11:55
ogra_i'm running a set -x atm11:55
ogra_but missed to take out the sleep 60 :P11:55
ogra_bah11:56
infinityThe only thing I can think is that AVAIL points to nowhere on your device.11:56
ogra_http://paste.ubuntu.com/1416687/11:57
ogra_weird11:57
ogra_why didnt it work at boot then11:57
infinityThat looks right...11:57
ogra_yeah, it is11:57
* ogra_ reboots again11:58
ogra_oh, wait !11:58
infinity?11:58
ogra_heh11:58
ogra_i was likely to fast11:58
ogra_there is that sleep 6011:59
infinityOh, you may have checked too early?11:59
infinityDerp.11:59
ogra_ogra@nexus7:~$ cat /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor11:59
ogra_userspace11:59
* ogra_ twiddles thumbs for a minute11:59
ogra_ogra@nexus7:~$ cat /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor11:59
ogra_interactive11:59
ogra_HA !11:59
infinityWhy is it that, even though I own about 400 micro USB cables from my Nokia days, I can never find one?11:59
infinityOkay, panic averted, this works?12:00
ogra_yep12:00
ogra_just the silly sleep12:00
ogra_i guess though, we could also solve that on a kernel level12:00
infinityUploaded, then.12:00
ogra_we cant run performance by default on boot anyway12:01
infinityWe could default the kernel to interactive, but this is still "more right" for all devices, IMO.12:01
ogra_so instead of pointing to userspace we could as well just default to interactive12:01
ogra_oh, yeah, toitally independent from that fix12:01
infinityIf/when interactive gets mainlined, this is what I want ondemand doing.12:01
infinityDoesn't "userspace" end up being "fully clocked until you do something to it" anyway?12:01
ogra_well, i wonder if preformance is broken because interactrive is there :)12:02
infinityYeah, it could just be that the code around performance is broken.12:02
ogra_since interactive seems to be an android thing12:02
ogra_but yeah, i think userspace behaves similar to performance12:02
ogra_if you dont touch it12:02
infinityRight, then that's what we want on boot.12:03
infinityThat's why we have the 60s delay.12:03
infinitySuck battery while booting, but get it done quick and without scaling getting in the way.12:03
infinityThen scale.12:03
ogra_yep12:03
ogra_hmm, so should i ship a default-settings file for the SD card sysctrl12:03
ogra_# Default Read Ahead value for sdcards12:03
ogra_    write /sys/block/mmcblk0/queue/read_ahead_kb 204812:03
ogra_    write /sys/block/mmcblk1/queue/read_ahead_kb 204812:03
ogra_thats what the android init script sets12:04
ogra_i wonder if we should make that generic, i see that value used in BSPs since years12:04
infinityI wouldn't be against that being true for every system.12:05
infinityAt which point, it probably belongs in all the kernels.12:05
ogra_not sure how it affects i.e. a vfat card from a camera on x86 though ... i.e. if you dont run your rootfs from the SD12:05
infinityBut I'm not opposed to a global sysctl hack for now.12:05
infinityI'd think it would improve typical VFAT usage too, since those are usually large (ish) files.12:06
ogra_true12:06
infinityOh bah.  There's no raring version of the nexus7-installer PPA.12:06
ogra_its 5 cmdline commands to flash12:06
infinityYeah, I wanted to try this the "blessed" way for once, instead of being a hack.12:07
ogra_wget/zsync the img.gz and bootimg ...12:07
ogra_unzip it to get an img12:07
infinityI full well know how to do it the hack way. :)12:07
ogra_oh, ok12:07
ogra_i dont think ita a hack way :)12:07
ogra_its my preferred way ;)12:07
infinityIt's a hack if it's not what we tell other people to do.12:07
ogra_well, its just what the zenity shell script does in the backend12:08
infinityBah, and this version of fastboot doesn't ship with a sane udev rule, does it?12:08
* infinity grumps about having to be root.12:08
ogra_you dont if you have the udev rules installed12:08
gurgalofwow, interactive is way faster, just had to try...12:09
ogra_we'lll ship them with usb-creator later12:09
infinityogra_: Yes, I don't if I have the udev rules installed, which I don't.  That was my point. :P12:09
ogra_heh12:09
infinityCause android-tools-fastboot only has /usr/bin/fastboot12:09
infinityWe had an old fastboot package from elsewhere that had pretty udev rules.12:10
ogra_the installer has the udev rules since we switched to the debian packaged fastboot12:10
xnoxhmm....12:10
* xnox wonders where I lost those.12:10
infinityHrm, does it?12:10
infinityOh, maybe this is because I plugged it in before installing the packages.12:10
ogra_that might be12:11
infinityNope.12:11
ogra_iirc it is supposed to run root-less12:11
ogra_so it needs the rules12:11
xnoxogra_: no udev rules in android-tools-fastboot from the mirror. I think I may have lost them somewhere, as I sure have to be root when flashing =/12:12
ogra_xnox, well, we could add them to fastboot12:12
infinityNo udev rule in the installer package either.12:12
xnoxogra_: can you point me to where I can find those?12:12
infinityI can fish my udev rules off my old laptop.12:13
* ogra_ is looking12:13
ogra_SUBSYSTEM=="usb", ATTR{idVendor}=="18d1", ATTR{idProduct}=="4e40", TAG+="udev-acl"12:15
ogra_SUBSYSTEM=="usb", ATTR{idVendor}=="18d1", ATTR{idProduct}=="d001", TAG+="udev-acl"12:15
ogra_something like that shoudl work12:16
ogra_probably even only the first line, the second one is for detecting the device in recovery mode iirc12:17
ogra_(while the first one is for flash mode)12:18
infinityHrm, I seem to have misplaced my old android/fastboot rules.12:18
infinityI guess the above works. :P12:18
* ogra_ goes for a break12:26
gurgalofit would be nice witch hardware accel in firefox12:32
gurgalofnow it says "GLXtest process failed"12:32
gurgalofin about:support12:33
mjrosenbchrisccoulson: ping?12:36
mjrosenbchrisccoulson: well, you'll find out soon enough :-p12:44
chrisccoulsonmjrosenb, hi, what's up?12:44
mjrosenbchrisccoulson: ahh. i've heard that you are responsible for firefox on ubuntu/arm?12:46
chrisccoulsoni'm responsible for firefox. not specifically on arm though12:47
mjrosenbahh.12:47
mjrosenbso, in about a month, we're going to be putting out 18, which will have ionmonkey as part of its js engine12:48
mjrosenband it doesn't have hardfp support yet.12:49
chrisccoulsonmjrosenb, it's still possible to run it on systems that provide hardfp though, isn't it?12:55
chrisccoulsonwe have 18.0 builds already, and nobody has mentioned that they don't work yet :)12:56
mjrosenbyou'd need to either turn off the new jit, or grab the patch that i'll be landing today... for 20.012:56
xnoxCan I force unaligned memory access on armhf port because a very silly application that wants unaligned memory access.12:57
mjrosenbchrisccoulson: I'm not horribly surprised, since the calling conventions are the same for functions that only take integers or values12:57
xnoxAnd what are the consequences of unaligned memory access for other applications?12:57
mjrosenbchrisccoulson: but they differ when passing doubles, and I suspect on pages like slashdot, you don't call math.pow() that frequently12:58
infinityxnox: Uhm, what?12:58
infinityxnox: Fix the silly code.12:58
chrisccoulsonmjrosenb, ah, i've just noticed there's quite a lot of test failures on our armhf builds12:59
infinityYeah, there would be.13:00
xnoxinfinity: oh, it's not a bug, but an "architecture design feature" they load memory mapped files from disk and do loads of crazy things.13:00
infinityxnox: Sounds like a bug to me, still.13:00
chrisccoulsonmjrosenb, hopefully we'll notice these in the future, as i'm working on exposing test results via https://jenkins.qa.ubuntu.com/ ;)13:00
infinityxnox: Given the number of platforms that just plain Won't Work on, that's unportable to the extreme.13:01
infinityxnox: And probably also slower on x86 than it needs to be.13:01
sfeolemorning13:01
mjrosenbchrisccoulson: how are you running the tests?13:01
xnoxinfinity: the package in question is mongodb =)))13:03
infinityxnox: Yeah, mongodb in unportable code shocker.13:04
infinityxnox: They're the same upstream that spent a year saying "we only support x86, cause everything else is toooo haaaard".13:04
chrisccoulsonmjrosenb, we're packaging most of the tests and running them on an installed system13:04
* xnox goes away to write some portable C13:05
mjrosenbchrisccoulson: firefox has like 10 testsuites :-p13:05
chrisccoulsonmjrosenb, yeah, we're doing it with all of the xpcshell tests, reftests, crashtest, js tests and mochitests. but we run everything that normally runs during make check as part of the build13:06
mjrosenbcool.13:06
mjrosenbchrisccoulson: random note: I found that using gold with xpcshell on arm generated an xpcshell that is incapable of running.13:07
chrisccoulsonmjrosenb, ah, i've not tried using gold yet. i just build it with our defaults. thanks for letting me know though13:08
chrisccoulsonmjrosenb, so, i guess for pre-firefox 20 builds we should be using --disable-ion on armhf?13:09
mjrosenbof course, it might just be something else related to my setup.13:10
=== albert is now known as Guest23700
mjrosenbchrisccoulson: that is probably a good idea, unless you want to backport this patch.13:10
chrisccoulsonmjrosenb, i finish for the rest of the year today, so i'll probably go with the easy option for now :)13:10
mjrosenbhttps://bugzilla.mozilla.org/show_bug.cgi?id=80235813:11
ubot2Mozilla bug 802358 in JavaScript Engine "IonMonkey: (ARM) Add support for hardfp" [Normal,New]13:11
mjrosenbthere we go13:11
infinityReasonably simple patch.13:12
infinityI'd go for backporting it so we can get some testing, personally.13:12
chrisccoulsonmjrosenb, thanks13:13
mjrosenbchrisccoulson: not a problem.13:14
=== Quintasan_ is now known as Quintasan
sfeoleogra_: ping14:03
ogra_sfeole, whats up ?14:06
sfeoleogra_: hey, any word on the brcm-patchram for raring?14:07
ogra_not sure yet, its an evil hack14:07
sfeoleis that being tracked somewhere in LP ?14:08
sfeolejust so i dont have to keep pestering you ;P14:08
ogra_not that i know of, i know there was some upstream work to support patchram14:08
ogra_bug 106540014:11
ubot2Launchpad bug 1065400 in linux (Ubuntu Raring) "Support for loading Broadcom bluetooth firmware" [Medium,In progress] https://launchpad.net/bugs/106540014:11
ogra_sfeole, ^14:11
sfeoleogra_: sweet thx14:11
ogra_it might need a newer kernel than we have on the nexus though14:13
kyleN_ogra_, so we will hod our weekly un7 meeting in 50 minutes. mostly status updates.15:08
ogra_yep, np15:08
kyleN_thanks15:08
=== Snark_ is now known as Snark
ogra_nexus7 meeting is in #ubuntu-meeting right now16:02
=== Martyn is now known as Guest5629
=== gatox is now known as gatox_lunch
ogra_xnox, so originally i thought i would like ot keep the two file approach, simply to make manual flashing easier (having to unzip the img.gz is already annoying) .... but noticing that even infinity preferred the installer script i might reconsider my attitude here16:46
xnoxogra_: I was chatting with vanhoof the other night. How about publishing just a single tarball, which has: individual bits to construct boot img + userdata squashfs.16:47
xnoxand then do the whole sparse image packaging client side & constructing the boot image.16:48
ogra_i dont want to put to much local processing in16:48
ogra_currently you could flash from windows16:48
ogra_we would lose that opportunity16:48
ogra_(or from fedora or suse)16:49
ogra_so i prefer to have ready made images .... i donw mind to repack them on the fly, but the generic image we offer should just be flashable from any fastboot install you have imho16:49
xnoxogra_: ok.16:49
vanhoofogra_: just trying to figure out the easiest way to resize is the tricky part, its easy w/ the tarball, suppose we could unpack/rebuild16:50
vanhoofand /me didnt notice xnox was building -fsutils now (thanks xnox for the update in the ppa btw!)16:50
ogra_right, we would need make_ext4fs16:51
xnoxogra_: so a tarball of bootimg & userdata? can we still publish just the user-data tarball as well? (the way some images publish their inner squashfs)16:51
ogra_ans simg2img16:51
ogra_*and16:51
xnoxfor the repacking to larger sizes, while still by default offering "flash & go"16:51
ogra_xnox, well, i can just tar up both files in debina=cd, thats most trivial16:52
ogra_*debian-cd16:52
xnoxogra_: don't the simg2img require target space size (8GB?!) =/16:52
ogra_not that much16:52
ogra_its still a sparse img16:52
ogra_but yeah. you require some space for repacking16:53
ogra_and root16:53
ogra_you need to loop mount the img, copy the tarball somewhere and call make_ext4fs on that16:53
xnoxogra_: by "packing both files" do you mean  the download will be ~ double the current size and contain: bootimg, userdata.img, userdata-just-tarball?16:53
ogra_bootimg and img.gz in one tarball16:54
xnoxogra_: yeah, but I can't loop mount simg, and img is 100% the size.16:54
xnoxogra_: ah, ok.16:54
xnoxogra_: why .gz?16:54
ogra_size ... :)16:54
ogra_saves 100M16:54
vanhoofsaves ~100m iirc16:54
xnoxtar.gz: boot.img & img.gz16:55
ogra_we wont need that if we wrap a tar.gz around it16:55
ogra_i guess16:55
ogra_i'll do some tests on the weekend16:55
ogra_how much size differs16:55
ogra_also note that i'm not sure the image will be flashable in its current state if you resize it16:56
ogra_i fear it will get to big to be flashed without -S switch to fastboot16:56
ogra_fo that we have a plan but nobody worked on it yet ...16:56
ogra_(using tar.xz instead of tar.gz for the internal tarball(16:57
=== gatox_lunch is now known as gatox
ogra_doing that will need some work on cdimage/debian-cd that i wont manage to do before end of the year though16:58
xnoxogra_: to what extend have you tried the bog standard mkfs.ext4 and tweaking it's settings? to the point that it doesn't ever work with img2simg, or it's too big, or you tried every mkfs.ext4 option to try to reduce the size and it was still too big?16:58
ogra_its way to big16:58
xnoxogra_: tar.xz is interesting.16:58
ogra_like 200m bogger than fsutils16:58
ogra_*bigger16:58
xnoxargh.16:58
ogra_i think the tar.xz way is best16:59
ogra_but for that we need to re-write the image creation stuff quite a bit16:59
ogra_(xz compression is to slow to run on the live builder, builds already take over 2h)17:00
ogra_(currently the whole build is done by live-build, we need to move 50% out of that and into debian-cd)17:01
ogra_xnox, i think targeting the usb-creator bits for alpha2 should be fine and not put to much pressure on us17:03
ogra_until then vanhoof's installer will serve us fine17:04
ogra_(A2 is due on feb 7th)17:04
ogra_sfeole, hmm, was that mail actually supposed to go to canonical-tech ? (sounds more like it was intended for ubuntu-devel tbh)18:17
sfeoleogra_: I don't think it hurts sending to canonical-tech, I was just doing it as a general announce. There have been many emails like that in the past to CT.18:23
ogra_well, i think we should make the info a bit more widely known :)18:24
sfeoleogra_: Sure! I will forward to ubuntu-devel as well18:26
ogra_++18:26
sfeole:P18:26
sfeoleenjoy your vaca btw18:26
sfeolehave a safe rest-of-201218:27
* ogra_ will blog on the weekend so it goes on planet as well18:27
ogra_heh, dont think you will get rid of me for the rest of the year :)18:27
* ogra_ will be around on IRC and surely work on non work related projects18:27
ogra_i dont really feel like doing vacation ... its just a formal thing to burn the days18:28
vanhoofogra_: you never know, the mayan's could be right ;)18:44
tassadar_they just used too small data type for their timestamp18:44
ogra_lol, yeah i was saving the buying of xmas presents for the 22nd this year18:45
ogra_just to be sure18:45
vanhoofbest idea i heard all day!18:45
infinity*snicker*18:52
=== hggdh_ is now known as hggdh
=== carif_ is now known as carif
achiangvanhoof: hi, i'm lazy and jetlagged. where can i download a copy of the installer that would run on precise? :)22:48
vanhoofachiang: same place as always22:49
vanhoofapt-get install ubuntu-nexus7-installer22:49
vanhoofyou'll get 1.7~p22:49
achiangrad22:50
vanhoofthe ~{p,q,r} are just rebuilds of the same bits for diffrerent series22:50
vanhoofso anyone can install from the ppa22:50
vanhoofsfeole and bjf asked that I upload a ~r today22:50
achiangah, i don't have the ppa in sources.list22:52
* achiang goes to download the .deb :)22:52
infinityvanhoof: When is the installer going to switch to installing raring by default?22:52
vanhoofinfinity: 8 hours ago22:53
infinityHah.22:53
vanhoof:)22:53
infinityNice.22:53
infinityDid you update the wiki to reflect that?22:53
vanhoofinfinity: believe sfeole did, but ill check22:53
infinityYup, apparently so.22:53
infinityThough, it now has "Installing 13.04" twice.  Maybe the second section should have a "Manually" prepended. :P22:54
vanhoofinfinity: figured w/ the changes that landed today, its a good time to move folks to raring for new installs vs the quantal image at UDS22:54
LisaNoriBeen using raring images for a few days now.  It's quite usable and will be even more so once that button1 stuck bug is fixed.  :)22:54
infinityThe raring images should get much more responsive as of my initscripts change earlier this morning.22:55
achianginfinity: what changed there?22:55
infinityhttp://launchpadlibrarian.net/125105308/sysvinit_2.88dsf-13.10ubuntu13_2.88dsf-13.10ubuntu14.diff.gz22:56
infinityAndroid kernels have a shiny new governer that behaves a bit more pleasantly than ondemand.22:56
infinityKinda hoping this lands in mainline sometime, my laptop would be much happier.22:56
achianginteresting. upstream has been recommending ondemand for a long time22:56
infinityWhich upstream?22:57
achianglkml?22:57
infinityWell, lkml isn't really relevant here, interactive isn't in mainline.22:57
infinityondemand is the best we've got on non-Android kernels.22:58
achianginfinity: did you test interactive vs ondemand for power consumption?22:58
infinityNo, if it proves horrible, we can revert.22:59
vanhoofachiang: got some feedback from our 32G+3G folks as well, they're happy with 1.7 as well22:59
infinityIt's the default governor on most Android devices, though, and they seem better at power than we are. :P23:00
* achiang just has latent suspicion of all governors !ondemand but maybe that's outdated knowledge by now23:01
vanhoofinfinity: if you give a new install a whirl lmk23:04
infinityvanhoof: Probably not today.  I've been up and working since midnight or so. :P23:04
vanhoofyeah i know i slept last night but i swear you're in every hour of scrollback somewhere :)23:05
infinityI try for 24/7 coverage.23:06
vanhoofinfinity: well you made diwic happy w/ his pa upload today :)23:08
vanhoofso infinity++ :D23:08
achiangcool, from 0% to 12% battery. maybe i can try an install now :)23:37
vanhoofachiang: lmk how it goes23:43
=== cwayne1 is now known as cwayne

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!