/srv/irclogs.ubuntu.com/2013/01/03/#ubuntu-arm.txt

SailorMoonWill the ubuntu phone be just another OS? Will it have its own apps, or will anything open source from the Ubuntu Software Center run on it, such as OpenJDK (Minecraft?) or Gnome?01:11
infinitySailorMoon: It's still Ubuntu under the hood.01:22
Ethernininfinity, gestures that work?01:29
SailorMoonAny plan to use the System partition of an Android device?01:35
TassadarSailorMoon: what would you use it for?01:50
SailorMoonI wouldnt know, im a noob. But it seems like wasted space, expecially on a device like the Nexus 7 where its like 700MB02:05
SailorMoonmaybe some sort of backup or install partition to recover from if ubuntu explodes :302:06
=== rsalveti_ is now known as rsalveti
Jef91Are the latest linux-nexus7 kernel sources that the Ubuntu 13.04 images here -> https://launchpad.net/~ubuntu-nexus7/+archive/ppa/+packages03:36
Jef91or are there newer debian sources for that package hiding somewhere?03:36
Jef91found it -> https://launchpad.net/ubuntu/+source/linux-nexus7/3.1.10-8.1903:41
logicbufferHas there been much activity here in development for the Samsung Chromebook?04:03
SmallFryWhat sort of Dec? I thought it was working well on the chrimebooks04:04
SmallFryDev*04:04
logicbufferIt's working decently well out of the box. Still needs some work as far as touchpad drivers go, and I don't think hardware video acceleration is working at all yet.04:06
SailorMoonis Ubuntu Phone going to install like an android rom? will there be individual roms per phone, or will there be one universal installer? lol04:06
logicbufferWe'll know in a few weeks when they release the first builds for the Galaxy Nexus04:06
SailorMooni dont have any devices that will be suported, unfortunetly.04:07
logicbufferLack of hardware acceleration makes Unity a bit of a cramp.04:07
SailorMoonIf theyd include the Nexus 7, i'd be good. lol04:07
SailorMoonits pretty much my only device that meets hardware requirements.04:08
logicbufferWell I know they used the Galaxy Nexus as the demo phone.04:08
logicbufferLuckily I had the foresight to buy one last year.04:08
SailorMooni wanted to04:09
logicbufferAssuming source is released reasonably quickly after the first build is released, I'm assuming that 3rd party development for Ubuntu Phone will take off pretty quick.04:09
logicbufferHoping anyway04:09
SailorMoonBut i was broke at the time04:09
SailorMoonand now its not worth buying anymore04:10
logicbufferIt'd be awesome to have nightly builds up by a bunch of people just like Cyanogenmod & AOKP etc.04:10
logicbufferYeah it's pretty much pointless to buy one now.04:10
logicbufferThe Nexus 4 is superior in every way04:10
SmallFryThe GNex?04:10
SmallFryCheaper and Samsung.04:11
SmallFryI prefer Samsung to LG, but that's me04:11
logicbufferTrue enough.04:11
SmallFryBut specs... duh spezs04:11
logicbufferA lot of people who bought the Retina Macbooks prefer Samsung to LG too, judging by the amount of complaints of display burn-in on the LG models.04:12
SmallFryHeh04:12
logicbufferThere's some burn-in on the GNex that has been with it since the first week I've had it but I'm not sure about the N4. I think it's had its fair share of issues that way too.04:12
SmallFryDid you hear about the iTheft in France?04:12
logicbufferSaw something about it but didn't click any links or read more.04:13
SmallFry1.3 million in product stolen. Which is what...2 macbooks and an iPhone?04:14
SmallFryI LoLd despite how bad it is04:14
Jef91logicbuffer: my samsung works well with the trackpad04:15
Jef91after setting somethings in the xorg settings04:15
logicbufferI'll look into that then, I don't remember seeing anything about xorg settings in any of the threads I've read but who knows04:15
Jef91logicbuffer: let me find it04:16
SmallFryXorg is nice... very nice for thing like macros etc too right?04:16
Jef91logicbuffer: -> http://forums.bodhilinux.com/index.php?/topic/7330-fix-touchpad-on-alpha-image/04:16
logicbufferDid you use the script that downloads all the tarball pieces and unpacks them to the stateful partition?04:16
logicbufferOr some other way of getting Ubuntu on?04:16
Jef91logicbuffer: I use a debian based system on my device.04:17
SmallFryCould you not pick at the script and install any ARM Linux?04:17
SmallFryAnd did you upgrade your ssd jef9104:18
logicbufferProbably could, I didn't bother to even look into it04:18
Jef91I did not SmallFry04:18
Jef91still using the stock one04:18
Jef919GB for my OS is more than enough04:18
logicbufferI thought the ssd was soldered to the motherboard?04:18
SmallFryMar04:18
SmallFryMar04:18
SmallFryBah04:18
SmallFryNay04:18
SmallFryIts an MSATA iirc04:19
logicbufferHmm04:19
SmallFryMaybe though. Idk04:19
SmallFryIfixit has a teardown most likely04:20
SmallFryI'm sick and don't want to crawl to my rig though04:20
logicbufferNewegg has a 32gb Crucial M4 mSATA drive for $55 w/ free shipping. Not sure if want...04:23
SmallFryMore than a dollar a gig. Ugh04:25
SmallFryCheck before you order it though, I could be delusional04:25
logicbufferYeah I'm not going to spring for it just yet.04:25
SmallFryHaving the flu messes with your mind, I tell ya04:26
logicbufferhhmm04:29
logicbufferJef91: how's the memory usage with bodhi? i haven't used enlightenment since the early elive days04:29
Jef91generally sub 100MB logicbuffer04:30
SmallFryGnite logicbuffer and jef91, hope to chat again.04:30
Jef91under 150MB with compositing04:30
logicbufferSmallFry: take care, i'll be here much more often now04:31
SmallFryCool:) most activity I've seen in here04:31
logicbufferJef91: if so that's incredible, this is using 1.34gb at the moment04:31
Jef91ha unity just eats memory logicbuffer04:35
logicbuffertruth04:35
logicbufferi think i'll go run that script instead and then come back here04:35
SmallFryRockbox?04:42
SmallFryI haven't seen devs from them in ages04:42
logicbufferSmallFry: So much for sleep04:50
rasterlogicbuffer: beware how you measure memory usage05:01
raster1.3gb of actual memory used05:01
rasteror that INCLUDEs caches/buffers?05:01
logicbufferraster: http://i.imgur.com/7rPKa.png d05:11
logicbufferi'm not very familiar with top but 1.3g used should mean total ram used, no?05:12
rasterlogicbuffer: ok - so its more like 500m used05:12
rasteralmost 700k is caches and another 75 buffers05:12
Jef91logicbuffer:  -> http://www.linuxatemyram.com/05:12
rasterso under 60005:12
rasterthink of it this way05:12
rastercache is where linux stored data you load from disk05:13
rasterif you opened a 200m video file05:13
rasterand plqyed it05:13
raster200m of ram will be used05:13
rastereven if the process that played the video has exited and gone05:13
rasteras the kernel will have loaded and CACHED that data into memory05:13
rasterjust in case its needed again05:13
rastereven if the app onlyuses 10mb at any time05:13
rasterand is walking thru the video stream decoding some of it into ram/buffers05:13
raster(yes - i'm ignoring the kernel fadvize calls etc. - i'm keeping it simple)05:14
logicbufferisn't caching to disk a horrible idea on ssds though?05:14
rasterif u copy 500m of photos from your sd card to your ~/Photos folder05:14
logicbufferespecially relatively large caches on disks that are already pretty small?05:14
rasterthose 500m of photos will live in cache05:14
rasterumm05:15
rastercaching is never a horrible idea05:15
rasterram is faster than an ssd05:15
raster(i know of no cases where it is not - and even though i can imagine some bizarre ones... they are truly bizarre)05:15
rasterso having daat sit in ram that is currently unused is good05:15
rasterits using ram05:15
rasterthat would otherwise go unused05:16
rasterunused ram is the tool of the devil05:16
rasterunused ram is useless ram05:16
raster(ok - i simplified again - yes. ram costs power for self-refresh and being able to turn it off and turn off self-refresh can save you some power drain. as such no linux setup "does this" (in any normal case))05:17
logicbufferi'm sorry, i was confusing it with swap05:17
logicbufferactually it says swap ~700m cached05:18
logicbufferdoes that not mean it's holding 700m of something in a file on the SSD and not in ram?05:19
rasterthats not swap05:20
rasterthats cache05:20
rasteru are using no swap05:20
rasterits misleading that tis onthe line with "swap"05:20
logicbufferyeah alright i understand now05:21
rasterso ubuntu isnt AS BAD as u are thinking05:21
rasteru're being a bit too harsh on it05:21
logicbufferso i'm truly only using about 500m but it's holding another 700ish in memory in case it needs to use it05:21
rasterwhat Jef91 os statitng is the actual ram usage05:21
rasterie memory excluding disk cache/buffers05:21
rastermeasuring memory is a "fine art"05:21
rasterina  virtual memory os setup its hard05:21
rasterone of the best measurements u can get is "free"05:22
rasterdo this:05:22
rasterfree -m05:22
Jef91Yea.05:22
Jef91Unity is normally just over 500MB at startup.05:22
Jef91So 3-5 times as much as E1705:22
raster 2:22PM ~ > free -m05:23
raster             total       used       free     shared    buffers     cached05:23
rasterMem:          2939       2228        711          0        119       185805:23
raster-/+ buffers/cache:        250       268905:23
rasterSwap:         1905         61       184405:23
rasterthe numebr that matters is that "250" number05:23
rasterthats your memory used on the os/syst4em as a whole05:23
rasterexcluding what is swapped out, what is cached or in buffers05:23
rasterthat is about the most accurate number you have to measure system meory usage05:24
logicbufferokay i see05:24
logicbuffersounds good05:24
rasterso the best way to measure gnome vs kde vs unity vs e17 for example05:24
rasteris boot a system and have them all boot to the same point05:24
rastereg a bare xserver05:25
rasterno wm or anything05:25
rasterno login manager05:25
rasternow measure "free"05:25
rasterthat "used -/+ buffers/cache" is the memory you MUST HAVE to run what u have running now05:25
rasterany memory in addition to that is luxury "caching" memory or memory for added apps or utilities on top05:26
rasterNOW u run the desktop of choice05:26
rasterunity/gnome/kde/e17/xfce/whatever05:26
rasterthen meausure again05:26
rasterfree05:26
rasterthat number will have gone up05:26
rasterthe mount it has gone up by is the "cost" of that desktop in addition to your base os05:26
rasterthasts the fairest way to measure desktops/wm's against eachother05:27
rasterand of coruse then run specific apps05:27
logicbufferseems like they could've made it slightly more intuitive in top05:27
rasteror perform specific tasks05:27
logicbufferyeah05:27
rastereg open browser, go to a fixed webpage05:27
rasteretc.05:27
rasterand then measure as u go05:27
rasterand see where that number goes05:27
rasterthat's how you are "fair" in measuring05:27
rastertop/ps are useless for a regular user in terms of telling u actual mem usage05:28
rasterthere is 1 tool i know of that makes a "good attempt" to give you a fair memory rating05:28
rasterits called "smem"05:28
rastertherss a pkg for it05:28
rasterapt-get install smem05:28
rasterits a python tool05:28
rasterif u do it as root u can get full details05:28
rastersudo smem -t05:28
rasterand it'll list processes and TRY and allocate a FAIR share of memory to them05:29
rasterit accounts for sharing of resources - eg libc, code pages etc.05:29
rasterevery process shares the same libc05:29
rasterso memory used by libc CODE is in memory only once05:29
rasteracross ALL processes u run05:29
rasterso it figures out the reference counts on these pages and divides by how many processes use them05:30
rasteretc.05:30
rasterso they are allocated their fair share05:30
rasterthe PSS column is the "fair share" amount05:30
rasterits not perfectly accurate05:30
rasterbut as close as u'll get05:30
rasteragain - measuring the os as a whole with free is probably the most fair and best way05:30
rasterso when Jef91  is saynig 100-150m05:31
rasterhe's saying the "free" number05:31
rasterminus buffers and cache05:31
rasternote05:31
rasterthat the amount of memory needed can be wildly different depending on gpu and gl driver stack05:31
logicbuffergood to know05:31
rasterits an artifact of the driver itself05:32
rasterso hsi numbers and yours may not match if u have different gpus/drivers/versions of driver or even different resolutions of screen05:32
logicbufferyeah since data is moved from ram to kernel to gpu and back and then again to framebuffer, no?05:32
rasterdepends on architecture05:33
rasterintegrated gpus have no framebuffer05:33
rasterwell no dedicated one05:33
rasterits part of main memory05:33
rasterthey dont need to move memory around05:33
rasterdiscrete gpus do05:33
rasterthey may come with 256m or 512m or 1gb or more of dedicated memory on the gfx card in addition to system memory05:33
rasteranyway. i've done my "measuring memory" rant for the month... :) hope it helps - spend some time reading up on it and experimenting and seeing05:34
rasterand then when u see the usual misinformation spread as people quote the wrong numbers... spread the word.05:35
logicbufferinteresting05:35
logicbufferlooks like the mali t604 renders graphics into memory and then passes it from there to another gpu core that handles display05:35
rasterits an integrated gpu05:35
rasterits texture data, frameubuffer etc live in system ram05:35
rasterthe gpu has a CACHE on board05:36
rasterlike the cpu05:36
rasterl1/l2/l3 etc.05:36
rasterso it'll read data form ram just like your cpu and keep it in a cache05:36
rasterif it needs the same data it pulls it from its cache, not from ram - just like your cpu.05:37
logicbufferwell this was enlightening05:41
logicbufferthanks haha05:41
rasterenlightenment is what i do05:42
raster:)05:42
rasterpun intended :)05:42
logicbuffershould've seen that coming05:44
raster;]05:45
ogra_happy new year everyone !10:22
rasterhny :)10:22
* ogra_ is wading through backlogs for the last 3 weeks and through >3000 mails 10:23
rasteroh ugh10:24
rasterholidays?10:24
ogra_yeah, gotta love them :P10:24
rasteri'm starting to be of the opinion that email is overrated10:26
rasterand all discussion/work should be done via irc10:26
rasterif u arent there - u miss it10:26
rasterbut thats cool10:26
rasteru dont end up with backlogs out the wazoo10:26
raster:)10:26
=== doko_ is now known as doko
tnelsonCan Pandaboards be PXE booted?12:11
hrwtnelson: you can boot panda from sd or usb12:15
=== yofel_ is now known as yofel
ogra_tnelson, yeas, our u-boot supports PXE since 12.0412:32
ogra_(it defaults to it if there is no configuration found)12:33
hrwbut first you have to provide uboot...12:38
ogra_right, you need an SD with u-boot or set up usbboot via OTG12:40
* ogra_ hugs infinity ... thx for that flash-kernel SRU, somehow i missed it 12:57
tnelsonAh, so, 'Das U-Boot' is to embedded devices what grub is to x86?13:15
=== Quintasan_ is now known as Quintasan
ogra_tnelson, well, its a bootloader, thats what grub and u=boot have in common :)13:17
lilstevieI wouldn't go much further than that though :p13:18
tnelsonSo, I'm looking at http://omappedia.org/wiki/Minimal-FS_SD_Configuration versus https://wiki.ubuntu.com/ARM/Server/Install?action=show&redirect=ARM%2FOMAPHeadlessInstall...13:23
tnelsonThe zcat | dd approach would leave me with one pre-sized partition, no?13:24
tnelson(I've got a 32GB SD card.)13:24
tnelsonAlthough I've got a 2GB usb stick, presumably I can dd onto that, then install onto the sd card?13:31
ogra_tnelson, nope13:59
ogra_SD needs to be the source device13:59
Jef91So I'm trying to compile to nexus 7 kernel found here -> https://launchpad.net/ubuntu/+source/linux-nexus7/3.1.10-8.19 , but towards the end of the compile the build always fails for me with this error message -> http://paste.debian.net/221410/16:59
Jef91What am I doing wrong?16:59
ogra_Jef91, how do you build it ?17:09
Jef91ogra_ untared the sources, CDed into the directory and ran:17:14
Jef91dpkg-buildpackage -b17:14
ogra_on an arm machine ?17:15
Jef91Yes ogra_17:16
ogra_did you install the build-deps ?17:16
Jef91Yes ogra_ ... If it was missing build deps dpkg-buildpackage would not have let it start compiling17:17
ogra_hmm, strange17:18
Jef91The error hints to me at a syntax error with the control file17:23
Jef91but I honestly don't know exact what that might be after looking at the file17:23
ogra_the control file is created during the build process, so its a bit weird, i would bet you have another error further above in your build17:25
ogra_(the guys in #ubuntu-kernel might know more btw)17:25
Jef91good call, thanks ogra_17:27
Jef91thanks ogra_17:27
ogra_np :)17:27
=== tdc_ is now known as tdc

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