/srv/irclogs.ubuntu.com/2011/02/28/#ubuntu-arm.txt

KurlonAny chance I could boot an ubuntu arm userland with an Android kernel?01:11
KurlonOr are they too butchered?01:11
=== Amaranth_ is now known as Amaranth
rsalvetiKurlon: you can, not that will work 100% fine, but most of the times you can enable later what's missing02:47
rsalvetiI think the ac100 kernel is still the android one02:47
rsalvetiand people are using it mostly with ubuntu02:47
=== asac_ is now known as asac
lilsteviethe one I use with the tab is still an android butchered kern04:40
lilsteviebut too much is broke04:40
lilstevieand I have to start rolling back some of the android patches04:40
lilsteviewhich is proving rather troublesome04:41
rsalvetiit all depends on the quality of the changes04:50
rsalvetiif it's not breaking stuff at least, you can still use a config compatible with ubuntu04:51
rsalvetiwith the needed modules and stuff04:51
=== robbiew1 is now known as robbiew
=== panda is now known as Guest23706
=== GrueMaster_ is now known as GrueMaster
=== ogra_ is now known as ogra
ograhrm09:49
ograno images :(09:50
ograbug 72111809:50
ubot2Launchpad bug 721118 in unity "Unity FTBFS on armel due to Nux" [High,Fix committed] https://launchpad.net/bugs/72111809:50
XorA_morning10:04
ericb2hello10:46
ericb2I'm using the natty version on BeagleBoard xM and it's slow10:46
ericb2is the proc frequency 600 MHz only ?10:46
ericb2second, looks like there is no 3D acceleration. Is there something possible, or ..10:47
ericb2thanks in advance :)10:47
ograi think there is some cmdline option you can set to make it operate on full speed10:52
ericb2ogra: I believed cpufreq-selector could help, but the frequency management is not handled (if I searched correctly)10:53
ograand the sgx drivers should be in multiverse somewhere10:53
ericb2ogra: ah, thanks. was the name missing me10:54
ericb2sgx10:54
XorA_I think you do mpurate=<number> to get itr faster11:03
ericb2XorA_: at boot time ?11:03
XorA_ericb2: yes11:03
ericb2XorA_: ok. and what number are possibles ?11:03
ericb2numbers11:04
ograi think it takes MHz values11:04
ograso 1000 should get you a GHz11:04
ericb2ok, I'll try 800 then11:04
XorA_800 certainly safe if thats the right arg, Im working from memory11:04
* XorA_ only got an XM yesterday11:04
* ogra imagines 1000 should work too, buut 800 is surely safer11:05
ericb2ok. anyway, we'll see11:05
ericb2is there a key to hit at boot ?11:05
XorA_I think koen was running XM happilly at 1.2Ghz11:06
ograno, you edit /boot/boot.script and run sudo flash-kernel11:06
ograon the running system11:06
ograthat will change your boot args11:06
ericb2ogra: thanks11:07
* XorA_ shall Natty his XM tonight11:08
ograheh11:08
ograi think we shopuld probably set mpurate at image buildtime11:09
janimoogra, ping11:09
ograthe prob is that these images also run on B and C series beagles and we cant really determine if we are on a XM11:09
ograjanimo, yo11:10
XorA_the cpufreq patches should be mainstream now, and they know what type of omap you have11:10
ograjanimo, in bug 724615 there is a "fix committed" set, could you please link the branch in the future ? (desktop team asked)11:10
ubot2Launchpad bug 724615 in unity "unity FTBFS on armel" [High,Fix committed] https://launchpad.net/bugs/72461511:10
XorA_but last I saw there were some bugs in cpufreq framework preventing going to full speed as it assume unique voltages for each frequency11:11
ograthat way its easier to find what the patch was :)11:11
ericb2XorA_ I got an xM rev 1 if I'm not wrong11:11
XorA_dont know which rev I got11:12
ograno sticker ?11:12
XorA_ogra: its at home, my eyesight not that good11:13
ogratrain it !11:13
XorA_someone sold it to me cheap over the weekend11:13
* XorA_ never persuaded TI to part with any :-D11:13
ericb2shit I tried to install libgl1-sgx-omap3 libgles2-sgx-omap3 and  it fails.11:15
ericb2the reason is  : FATAL:  module omaplfb not found11:15
ograyou need the powervr package first i think11:16
ograpowervr-omap3-dkms11:16
* ericb2 tries11:16
ericb2it is already installed11:17
ericb2Building ...11:18
ograis it done compiling already ?11:18
ograaha11:18
ericb2Error! Bad return status for module build on kernel: 2.6.38-1-omap (armel)11:18
ericb2I'll consult the make.log11:18
ograis that your own kernel ?11:19
ericb2ogra: no it isn't11:19
ericb2error : unknown fiels 'ioctl' specified in initializer11:19
ograhmm, strange11:19
ericb2s/fiels/field/11:19
ograthere might be a ppa where rsalveti provides an update package, wait until he is around11:20
ericb2in build/services4/3rdparty/bufferclass_ti/bc_cat.c11:20
ograthough i'm not sure he rolled a new one for omap3 ... i know there is one for omap4 somewhere11:20
janimoogra, there was no branch I committed to trunk11:21
janimothere's a ton of ubnity email since I am on the team, so I would not be surprised commit messages to be overlooked11:21
ograjanimo, then make a branch first and link it or attach a patch or some such11:21
ograits just very hard to find out about the fix if nothing is linked11:22
ograyou can even just copy the link to the revision into a comment11:22
janimook, I was hoping that bzr commit would do something as I inlucde dLP :#XXX in the commit msg11:23
ograhmm11:23
janimois this on ayatana or u-desktop?11:23
ograi think it should ... i rarely cimmit to upstream branches directly though, i usually link merge branches11:23
ograthe discussion was on u-desktop11:24
ericb2ogra: is it possible to compile by hand ?12:24
ogralook up the dkms docs, i think you can trigger it by hand12:24
ericb2ogra: I'm currently in /var/lib/dkms/pwervr-omap3/3.01.00.07/build/services4/3rdparty/bufferclass_ti, but make leads me to undefined $KERNEL_DIR12:25
* ericb2 looks12:25
ograhmm, really looks like you dont use the official kernel12:26
ericb2ogra: no idea : Im running the Ubuntu image I found the link on the Ubuntu wiki12:26
ericb2ogra: this is natty, could be related ?12:26
ogralinux-image-2.6.38-5-omap12:27
ograthats the version you should have installed12:27
ericb2ogra:  uname  -a tells : Linux beagle 2.6.38-1-omap12:27
ericb2ogra:  uname  -a tells : Linux beagle 2.6.38-1-omap #28-Ubuntu12:28
ograthat sounds outdated12:28
ericb2indeed, apt-cache tells me about 2.6.38-512:29
ericb2shit .. no network12:31
ericb2is /etc/init.d/networking restart wrong  ?12:32
ograthat only restarts low-level bits iirc12:32
ogranetwork manager cares for the higher level bits12:32
ericb2ogra: and I need to got X.org running for that ?12:33
ograyou can also set it up in /etc/network/interfaces instead12:33
ograthen NM will use the config from there without X12:34
ericb2I added two lines in /etc/network interfaces :   allow-hotplug usb0  and   iface usb0  inet dhcp12:41
ericb2and ifup usb0 fails12:41
ograand auto usb0 ?12:41
ograyou shouldnt need allow-hotplug12:41
ogracat /proc/net/dev|grep usb ?12:41
* ericb2 removed allow-hotplug an retries ...12:43
ericb2ogra: got :  usb0: 64009 677 .... and so on12:45
ogralooks fine12:45
ericb2ok, works now. Suddenly ...12:45
ograits magic :)12:46
ericb2ogra: ufff ... loosk like I'm in debug mode ... got  zillions of [ xxxx.xxxxxx]  smsc95xx 1-2.1:1.0: usb0: kevent 2 may have been dropped12:47
* ericb2 installing kernel 2.6.38-5 12:48
ericb2(omap version)12:49
* ericb2 hopes to be able to work a bit today 12:53
rsalvetimorning13:03
ericb2rsalveti: hi13:05
ericb2rsalveti: got a problem installing powervr on omap313:05
ericb2rsalveti: X.org is gone ...13:05
ericb2rsalveti: + the build fails13:06
rsalvetiericb2: could be that sgx is broken with latest updates13:06
rsalvetiericb2: can you open a bug against it?13:06
rsalvetiwill take a look then13:06
ericb2rsalveti: where ?13:06
ericb2rsalveti: do you have a link I meant13:06
rsalvetimaybe by updating the package or by fixing the current code13:06
rsalvetiericb2: just open a bug agains the sgx package for omap313:07
rsalvetiputting your dkms logs13:07
rsalvetiericb2: there's a workaround to avoid the smsc95xx messages13:07
rsalvetilet me get the link13:07
rsalvetiXorA: ogra: and for omap I'd like to merge the patch that sets the mhz higher for most beagle boards13:08
rsalvetialso on my todo, was waiting more discussion and see if it'd go for 3913:09
rsalvetithan I can easily backport for our current 3813:09
gholldoes anyone know how long i can expect to wait for the image writing to complete? I'm following instructions here for a beagle board install, https://wiki.ubuntu.com/ARM/OMAPMaverickInstall13:10
rsalvetiericb2: for smsc messages: Add to /etc/sysctl.conf: vm.min_free_kbytes = 819213:11
ericb2rsalveti: ok, I'll do once I'll have installed kernel-sources for 2.6.38-513:12
rsalvetiericb2: thanks13:12
ericb2btw, mpurate=800 seems to work well. mpurate=1000 does nothing, and looks like 600 MHz is the fallback13:14
* ericb2 doing everything on a simple 16GB micro SD card 13:15
ograk13:15
ericb2would be fantastic to find 32 or even 64GB a day, using such "size"  :)13:16
ericb21cm square hard disk is a bit of fun13:16
XorA_crap just reminded me I dont have any high speed microSDs13:16
ericb2rsalveti: done. ( /etc/sysctl.conf ..etc)13:34
ericb2rsalveti: https://bugs.launchpad.net/ubuntu/+source/powervr-omap3/+bug/72654113:46
ubot2Launchpad bug 726541 in powervr-omap3 "powervp installation broken on aremel (kernel 2.6.38-5)" [Undecided,New]13:46
rsalvetiericb2: cool, thanks13:48
ericb2rsalveti: I added one comment13:49
ericb2rsalveti: wiating, what can I do to repair my X.org (currently broken)13:50
ericb2?13:50
ericb2s/wiating/waiting/13:50
rsalvetiericb2: what happened to your x.org?13:50
ericb2something like "module omaplfb not found" or something close13:51
ericb2rsalveti: happened when I tried to install powervr13:51
ericb2and apt-cache search omaplfb    ... is empty :/13:52
rsalvetithat's because this module is loaded during the sgx initscript13:52
rsalvetibut it shouldn't affect your xorg13:53
rsalvetias the omap 3 driver doesn't properly support the xorg13:53
ericb2rsalveti: where is the config file located ? Maybe I can reconfigure X.org ?13:53
=== zul_ is now known as zul
rsalvetiericb2: there's no xorg conf by default13:55
ericb2rsalveti: sorry, how does it work then ?13:55
rsalvetiericb2: at /usr/share/X11/xorg.conf.d are the basic confs, but not something that sets your video driver13:55
rsalvetiyou can still create your own config, but not needed13:56
rsalvetias you're basically using xorg with framebuffer13:56
ericb2rsalveti: ok, and how can I figure out what happens ? The only info I got is  :  ddxSigGiveUp : Closing log13:57
ericb2in /var/log/Xorg.0.log13:57
rsalvetiericb2: can you post your x.org log for me?13:57
ericb2rsalveti: yes, sure. Let me try to launch it manually13:59
ericb2(EE} HID 04f3:013: failed to initialize for relative axes.14:00
ericb2could the mpurate=800 be the reason ?14:01
ericb2and servce gdm restart does notthing ... tested on CTRL + ALT + F6 -> F1014:06
rsalvetiif xorg is failing, then gdm restart will not work14:08
ericb2rsalveti: I know. Was to obtain a track, somewhere to search14:08
ericb2rsalveti: the only track I got, is when I installed the libegl1-sgx-omap3 lib, a lot of libs have been uninstalled14:18
ericb2rsalveti: bingo14:19
ericb2rsalveti: broken dependencies14:19
rsalvetiit's normal to remove some mesa libraries and dependencies, as the sgx one will replace them14:20
rsalvetibut it could be that something was remove accidentally14:20
rsalveti*removed14:20
rsalvetiI'm setting up my beagleboard to test the package again14:21
rsalvetiand try to fix it14:21
ericb2rsalveti: you mean everyting removed +  omaplfb module should replace everything ?14:21
* ericb2 will redo .. not clear 14:21
rsalvetino, the sgx packages should replace the libegl/libgles from mesa14:21
rsalvetiand when the mesa packages are removed, some others are also removed, as not used anymore14:21
ericb2rsalveti: ok, but sgx package won't work without the module ?14:22
rsalvetiericb2: nops14:22
ericb2rsalveti: ah .. sorry looks I'm plain wrong14:22
rsalvetibut your xorg should still work14:22
ericb2rsalveti: it's not the case14:23
lagrsalveti: Did you manage to give that rootfs a stab?14:30
rsalvetilag: argh, sorry, it took so long to download that I completely forgot14:31
rsalvetilet me dig it here14:31
lag:)14:32
lagnp14:32
rsalvetilag: did you try this rootfs with kernel upstream?15:18
rsalvetior how are you planning to use it?15:18
lagrsalveti: I have various kernels I can try to use it with15:19
lagrsalveti: The main one is on git.linaro.org15:19
rsalvetilag: so what exactly you want me to test with it?15:19
lagrsalveti: I'm guessing you don't have HW though15:19
lagAnything?15:19
rsalvetijust to try it with beagle?15:19
rsalvetiok15:19
lagrsalveti: I think it's just a generic kernel15:20
lagSure15:20
XorA_hey prpplague15:39
prpplagueXorA_: hey bud15:39
XorA_prpplague: what happens if I plug a zippy into beagle XM?15:40
prpplagueXorA: it goes *poof*15:41
* prpplague jokes with XorA 15:41
XorA_:-(15:41
prpplagueXorA: zippy and zippy2 have been tested with xm with no issues15:41
XorA_prpplague: sweet, even bigger rootfs with LVM then :-D15:42
=== dmart_ is now known as dmart
rsalvetilag: image is working fine17:54
rsalvetilag: with our 38 for omap17:54
rsalvetilinaro image but still "Welcome to Ubuntu Natty" :-)17:54
lagrsalveti: It's the Linaro image of Ubuntu18:17
ograheh18:17
ogra"the linaro image of ubuntu"18:18
ograsounds like "the duke of earl"18:18
janimorsalveti, do TI plan a .38 upload now that it seems to be close to good enough?18:21
ograTI ... upload ... ?18:22
ograjanimo, cooloney does our kernel, whenever he is ready we should get a package18:23
ogragiven that there are only a few hours until freeze i wouldnt expect it before alpha3 though18:23
janimoogra, ah great. Well, green light for upload, pull request whatever :)18:23
janimoit's a soft freeze :)18:24
armin76ogra talking bad about TI *g*18:24
ograk, i'll try to ping him tomorrow morning18:24
janimoand it does not go into images so should not destabilize A318:24
ograwe wont have parallel kernel packages for omap418:24
janimoah, so it's a straigh update18:25
ograso it has to be good enough to replace the existing one18:25
janimook, then18:25
ograright18:25
ograkernel team refused to maintain two packages18:25
janimomakes perfect sense18:25
ograspecially since we would get naming probs18:25
ograand cross-grading would become a pain18:25
janimoogra, what were the takeaways from the emdebian meeting?18:26
janimoanything new to us?18:26
rsalvetijanimo: ogra: new .38 upload should be done when cooloney work on it18:26
rsalvetibut, still not tested18:26
ograrsalveti, right18:26
rsalvetithe pull request is done from TI side already18:26
ograi think janimo just said it was good for him above18:27
janimook18:27
ograyup, i saw the mail18:27
ograthe sound stuff doesnt look convincing though18:27
ograbut we have time to fix that this time (i hope)18:27
rsalvetiyeah18:27
rsalvetiI believe we'll go a3 with the kernel we have in hands18:27
rsalvetithis new on a ppa and after a3 we can do the switch18:28
ograyeah18:28
rsalvetias the soft freeze for a3 is today18:28
rsalvetiwasn't expecting that18:28
ografreeze is at 23:00 UTC18:28
armin76where is that .38 kernel coming from?18:28
rsalvetiyeah18:28
rsalvetiarmin76: from TI18:28
ograits always on mondy evening/tuesday morning18:28
rsalvetiarmin76: but basically the same one linaro currently delivers18:28
rsalvetiogra: yeah, was expecting it to be tomorrow, but fine :-)18:28
rsalvetinothing urgent18:29
ograwell, looks like unity didnt make it yet18:29
armin76rsalveti: link for it?18:29
rsalvetiarmin76: getting for you18:29
ograso that looks like a delay18:29
armin76thanks18:29
ogra(for the freeze)18:29
rsalvetiogra: what you mean? we may need some bugfixing18:29
rsalvetibut that's fine if we can do that tomorrow18:29
ograrsalveti, i know ...18:29
rsalvetiI believe18:29
ograwe wont have images tomorrow18:29
rsalvetiogra: didn't you say you fixed it?18:30
ograunity will be uploaded tomorrow morning only18:30
rsalveti:-)18:30
janimofinally KDE packages are out of the FTBFS queue, now the chart looks familiar again18:30
ograno,. janimo fixed it18:30
janimoalthough I wish Libo built on arm for a change18:30
ograbut the fix was sitting idle in upstreams bzr for three days18:30
rsalvetioh, will still be pushed...18:30
ograit will be pushed18:30
rsalvetiargh18:30
ograbut the desktop team just announced they wont make it before tomorrow morning18:30
ograwhich means we will have no images tomorrow morning18:31
rsalvetiyeah18:31
ograwith luck we'll have them in the evening18:31
janimomaybe I should have made a package upload as well. Dunno, I was trying not to mess with too many bzr branches at once18:31
rsalvetiyeah18:31
rsalvetiI thought you also did a package upload18:31
janimono18:31
ograjanimo, given treh experience we now have with nux and unity slowness, i would actually recommed package fixes in the future18:31
janimoI saw they upload quite frequently18:31
janimoso I leave it to them18:32
rsalvetiit's taking too much time for the fixes to be in the archive18:32
ogranux took ages18:32
rsalvetiyeah18:32
ograbecause they kept back a new upstream relese until FF18:32
janimotrue, but I did not know how long it takes them. I will consider package uploads from now on though18:32
rsalvetiseems they don't care much about arm18:32
ogragiven the silly casting errors that cause our build failures i would agree with that :)18:33
rsalvetiif it's breaking our images, then a package upload would be better I guess18:33
janimorsalveti, I can't blame them. The flood of bugmails I am getting since on the unity team has * a lot* of crash reports18:33
janimothey ned to make that stabl eon x86 before caring for arm18:33
rsalveticrash or ftbfs?18:33
janimocrashes18:33
rsalveticrash is fine :P18:33
ograyeah18:33
janimoI still canoot run unity on my two x86 laptops I test on18:33
rsalvetiftbfs blocks images18:33
janimojust goes away18:33
ograftbfs is blocking18:33
janimoogra, rsalveti I know, what I am saying they are swamped by bugfix work so probably let us handle arm and only do it when explicitly pinged18:34
ograi'm really curious if unity-2d will run at all18:34
ograjanimo, right, do package fixes and additionally dup a merge request in place for next upstream18:34
rsalvetiarmin76: https://github.com/sebjan/linux-2.6/tree/int-2.6.38-rc6-iv318:35
ogra*dump18:35
rsalvetiyeah18:35
rsalvetiotherwise we're not making a318:35
* armin76 wonders why is it hidden18:40
armin76rsalveti: thanks18:40
rsalvetiarmin76: it's not hidden, heavy dev18:41
rsalvetiarmin76: if you follow linaro tree you'll probably get the same patch set18:41
Nekoarm guys!18:41
NekoI have a quandry18:41
NekoI want to install from ubuntu-standard a full gnome desktop18:41
Nekobut ubuntu-desktop requires unity18:42
Nekoand jockey-gtk18:42
sebjanrsalveti: actually, if you talk about my tag, it does not contain the Linaro patches, only TI ones on top of mainline kernel18:42
Nekobut unity depends on compiz18:42
Nekoand jockey-gtk depends on nvidia-common18:42
Neko*what* is going on?18:42
Neko(btw unity-2d doesn't provides: unity either)18:42
rsalvetisebjan: true, I mean, if he gets the andy linaro tree he'll get everything18:42
sebjanrsalveti: correct18:43
rsalvetias he's also merging your tree18:43
ogra Neko unity is the default ubuntu-desktop in natty18:43
rsalvetiNeko: we're fixing this18:43
ograNeko, and unity-2d doesnt provide unity since it uses bits and pieces of unity18:43
ogra-2d needs unity installed18:44
GrueMasterNeko.  Packages are being rebuilt frm massive uploads last week.  Expect a little turbulence in the pool, it should settle by the end of the week.18:44
Nekoright and I tried that but unity depends on compiz-abisomething18:44
ograjockey is fixed since half a day18:44
Nekoah okay so I am just in the middle of an update?18:44
Nekophew..18:44
rsalvetiyeah18:44
GrueMasterYes.18:44
ograthe rest will be fixed tomorrow or so18:44
Nekookay I am satisfied then18:44
rsalvetiNeko: we still don't have images18:44
rsalvetisince feb 16th18:44
ogradepending how fast the desktop team works18:44
rsalvetiwe expect this to be fixed this week18:44
Nekowill there be a way to install a maverick-ish gnome desktop without unity?18:45
ograwe're waiting too18:45
ogranot when using ubuntu-desktop18:45
Nekobut there's no new meta package to be back to the old behavior?18:45
janimoogra, I am not sure u-2d need unity installed18:46
NekoI dunno. I like the IDEA of unity, just not the way it soaks up all the screen space with it's little menu bar18:46
janimowhat pieces it uses from it?18:46
ograjanimo, the dash, icons etc18:46
janimoI don't see those in the depends18:46
ograand iirc it build deps on libunity18:47
janimoI think there is some common C++ helper indeed18:47
ograwhich should add it to debs through shlibs18:47
janimobut not unity (the apps ) itself18:47
ograthe point is that you can install all bits and pieces independently18:47
ograi.e. i used the panel on a normal gnome desktop for a while here ;(18:47
ograerr18:48
ogra;)18:48
ograthe unity package should probably have more recommends though18:48
ograerr18:48
ograunity-2d indeed18:48
ograGrueMaster, if you have some spare cycles today it would be nice to know if unity-2d still runs ... nowing that in advance before we have images would be helpful18:51
GrueMasterI'm already downloading the updates now.18:52
* ogra hugs GrueMaster 18:52
NekoI'm kind of impressed with how fast natty is just as a running system... I hacked in gnome and ambience theme and the backdrops and it's like lightning18:55
Nekounity seems to run okay it's just I had to spend 2 hours getting it to even install18:56
Nekobut I understand, we had this problem during Maverick... trying to do work during the day before and the day after an alpha release = eek :D18:56
GrueMasterNeko, when booting, you can select classic desktop when logging in.  not sure if there are plans for a meta package.18:58
Nekoit's no problem18:58
Nekoit just scared me that I couldn't install ubuntu-desktop because it depends on unity and unity didn't work18:59
Nekowhich means no desktop ata ll18:59
Nekoat all18:59
NekoI'll try it again mid-March and it will hopefully Just Work (tm) :)18:59
ograyou should try on thu.18:59
Nekorelease day? I doubt I will have good luck then :D19:00
ogra??19:00
Nekowe usually have frightening problems with bandwdith to the ubuntu servers19:00
ograthis thursday19:00
NekoAlpha 3 release date is Thursday19:00
ograyes19:00
Nekohundreds of geeks downloading new ISOs, pulling packages for their alpha 2 systems...19:00
ograthat shouldnt affext ports.ubuntu.com though19:00
Nekoin theory :D19:01
GrueMasterNeko: I have my own mirror of ports so I don't get hit by bandwidth issues.19:02
NekoI use approx so I have a good buffer but it doesn't help when 90% of stuff got rebuilt19:03
GrueMastermy mirror updates every 4 hours.  real slow for the first few weeks after UDS, but good overall.19:03
=== zyga is now known as zyga-afk
=== bdrung_ is now known as bdrung
ericb2janimo: ping ?19:32
janimoericb2, hello19:36
ericb2janimo: hi. Are you Jani Monoses ?19:37
janimoericb2, yes19:37
ericb2janimo: maybe you'll be interested : I implemente the interlock part in arm assembler for armv7 +  in OOo4Kids19:37
janimoericb2, regarding the recent bug I filed?19:38
ericb2janimo: in sal/osl/unx/interlck.c19:38
ericb2janimo: I'm not aware19:38
janimoI was under the impression we need to move away from asm19:38
janimoI sent a patch to libo to use gcc atomic builtins for that19:38
ericb2janimo: it woarks really wel on OOo4Kids19:39
janimoI think gcc does a good job for atomic ops nowadays19:39
janimoand imo the less ifdefs and assembly code the better :)19:39
ericb2janimo: looks like I did the same19:39
janimoericb2, is that of fork of OO?19:39
ericb2janimo:  http://eric.bachard.free.fr/patches/OOo4Kids/linux_arm/arm_DEV300_m93.diff19:39
ericb2janimo: yes, OOo4Kids (and OOoLight ) is a fork of OOo19:40
ericb2janimo: only the atomic part might interest you19:40
janimoah I see, so you created the original arm optimization patch for OO?19:40
janimothat is currently in natty19:40
ericb2janimo: I wrote this patch, but I don't know what other people dd with it :)19:40
ericb2janimo: on my BeagleBoard, the change is really visible19:41
ericb2janimo: and faster19:41
ericb2janimo: so far, no crash yet, but maybe the patch needs to be tested intensively19:41
janimoericb2, it is a coincidence then, as I only filed a bug related to this against ubuntu libo today19:42
janimoI bet it is faster, the alternative used pthread mutexes19:43
ericb2janimo: yes. Some people like rene cry because I don't care armv6 or prior19:43
janimostill I think you'd get the same improvement and much cleaner code - no configure foo and no inline asm, using only the bits you used for arm <7 in your code19:43
ericb2janimo: what is the problem19:43
ericb2janimo: I tested both, and the inline asm is faster19:44
janimoericb2, well you care for that too, by letting gcc do the right thing there19:44
ericb2janimo: since I added other fixes19:44
janimoI did not perf test but looking at the code generated by gcc I see the same sequence of instructions so I was hopiong the performance is more or less the same19:44
ericb2janimo: and the build is fine on Debian, on Ubuntu and on OE distributions (e.g. the one sakoman provides)19:44
janimoone fix needed is meory barriers19:45
janimoon beagle there is no need19:45
janimobut on SMP systems like the panda not using dmb can lead to bugs I guess19:45
janimoericb2, https://bugs.launchpad.net/ubuntu/+source/libreoffice/+bug/72652919:46
ubot2Launchpad bug 726529 in libreoffice "use arm assembly bits only for gcc < 4.6 on ARM > 6" [Undecided,In progress]19:46
ericb2janimo: you're probably right. I filed the code thinking people could be interested, and nobody can imagine all cases19:46
ericb2janimo: so any improvement is good to hear19:46
janimoericb2, I think they were interested as long as your patch is part of the current LibO and former OO builds in Ubuntu19:47
* ericb2 discovering the patch is part of current Libo 19:47
janimoLibO in Ubuntu19:47
janimoit is a patch Ubuntu carries19:47
ericb2janimo: I know19:47
janimobut it was commited to LibO as well today19:47
janimoas it makes sense for older gcc build19:47
ericb2janimo: I was not aware. I don't follow Libo19:48
ericb2janimo: when Libo was decided, I was even not invited. Now, they can die19:48
janimoit was mentioned in the bugs filed.19:48
ericb2janimo: no problem19:48
janimoericb2, I am not sure it was invitation based. I do not know the details19:48
janimoI am sure they have a better future than OO, it is a shame you parted ways19:49
ericb2janimo: well, I think I contribute since a long while to OOo, and not inform me was a choice. No problem for me anyway19:49
janimothey are responsive, I doubt you'll get your ARM patches in OO19:49
=== ogra is now known as Guest25882
janimoericb2, I am not sure every contributor was made aware of the fork before the announcement19:49
janimoif so it must have been an oversight in your case19:50
ericb2janimo: it was thought : use it if you consider it usefull. If not well that's no problem19:50
=== Guest25882 is now known as ogra_
ericb2janimo: no, I was very close to people organising everything, and not inform me was a choice19:50
janimoI only got involved (slightly) since the fork and they come across as the most friendly project I have seen in a while19:50
janimoericb2, sorry to hear that. HAve you asked them afterwads, did they clarify anything?19:51
janimoericb2, is this ARM patch originally authored by you?19:51
ericb2janimo: I wrote it, yes19:51
ericb2janimo: but I didn't follow the story19:51
ericb2janimo: precisely, I wrote the one I provided you the link http://eric.bachard.free.fr/patches/OOo4Kids/linux_arm/arm_DEV300_m93.diff19:52
janimohmm, sadly there is no attribution on the patch in Ubuntu19:52
janimothe one in ubuntu looks very similar19:52
ericb2janimo: as you can see, I backported it to OOo, making it more simpler for other forks,  people19:52
ericb2janimo: who commited it ?19:52
ericb2janimo: http://cia.vc/stats/project/OOo4Kids19:53
ericb2janimo: revision r115219:53
janimotoday it was Bjoern, the UBuntu Libo maintainer. It was part of the ubuntu tree for a long time so he probably did not know whom to attribute19:53
ericb2janimo: svn diff -cr1152 svn://svn.adullact.net/svnroot/ooo4kids1/trunk19:54
janimowhat other changes does OO4kids have in general?19:54
ericb2janimo: no Java, OOo - 40%19:54
ericb2janimo: no Basic, just Python works19:54
janimothis 1152 commit is a few weeks old, is the patch older?19:54
ericb2janimo: and new UI, working with students19:54
ericb2janimo: the commit is the first time I published my code. After, I backported to DEV300_m93, and I uploaded the patch I shown you19:56
ericb2janimo: other patch, is attached to OOo issue zilla19:56
ericb2janimo: let me retrieve the link19:56
janimoericb2, ok, for some reason I was under the impression the patch in Ubuntu is older, but I do not follow Ubuntu OO, it was just a coincidence I spotted this yesteday19:56
ericb2janimo: http://www.openoffice.org/issues/show_bug.cgi?id=11701719:56
ubot2ericb2: Error: Could not parse XML returned by OpenOffice.org: timed out (http://openoffice.org/issues/xml.cgi?id=117017)19:57
ericb2janimo: I really wrote it19:57
ericb2janimo: I learned everything, and spent several nights to that19:57
ericb2janimo: and I ignored there was one similar patch on Ubuntu repo19:58
ericb2janimo: do you have the link ?19:58
* ericb2 curious19:58
janimochecking19:59
janimothis went into LibO today http://cgit.freedesktop.org/libreoffice/ure/commit/?id=83f2c071758ae7d74669d992e272e50057b895ed19:59
janimoI am not sure there's a plain Ubuntu patch except in a tgz somewhere20:00
ericb2janimo: the patch I attached to IZ and I commited is dated 19 february. I'm pretty sure I completed it one day before. This leads to 18 february. Here is the story I know20:02
ericb2janimo: what happens with gcc >= 4.6 ?20:02
janimoericb2, it generated good enough code that it does not need to be manually written20:04
janimoI mean for the _sync_XXX stuff20:04
ericb2janimo: __sync_add_and_fecth, ___sync_sub_and_fetch and al ?20:04
janimoyes20:05
ericb2janimo: I see20:05
janimothat was part of your patch as well right?20:05
ericb2janimo: yes. Ben ( a guy building on qemu + Debian arm ), had an issue with that. Was my fault20:05
ericb2janimo: and I discoverd the stuff20:05
ericb2janimo: more precisely, he had an undefined  __sync_add_and_fetch_4  or something20:06
ericb2janimo: and after some grep's I discovered the thing, and had the idea to learn arm asm :)20:06
ericb2janimo: some years ago, I worked on m68k asm , and a bit on x86 asm too20:07
ericb2so was not much surprised20:07
ericb2janimo:  as I mentionned in the log, Simon Guinot, helped me (he explained me the change after armv520:08
ericb2)20:08
ericb2janimo: e.g. swap  vs  ldrex strex20:09
janimoright20:09
ericb2janimo: I'm about to propose a subject for GSoC, about performance issues on arm20:10
janimoericb2, hmm so that arm patch went into debian via Rene?I see it in the debian pkg changelog20:10
ericb2janimo: OOo4Kids is an elephant, and we can improve a lot20:10
ericb2janimo: probably20:10
janimoericb2, I know OO is an elephant but I think much better gains could be had by doing higher level optimizations20:10
ericb2janimo: rene was crying a lot after me20:10
janimobefore going low level20:10
ericb2janimo: he didn't read correctly the issue and he was red :)20:10
janimolike doing much less disk IO20:10
ericb2janimo: yes20:11
janimoand pruning code and duplication and 20 year iolkd cruft20:11
ericb2janimo: and remove lot of useless stuff20:11
ericb2janimo: and more if affinity ^^20:11
janimoat this point I think the code needs cleanup much more that asm level magic that only a ahdnful of devs understand well20:11
ericb2just time is missing me : I got a real life, a real job, a family, doing a lot of sport :)20:12
ericb2janimo: I'm in OOo code since 2004, and I worked a lot on the native Mac OS X port20:12
ericb2janimo: including the MAc Intel one (we had to dive into the bridge too)20:12
doko_ericb2: this is what Sweetshark did commit. http://libreoffice.pastebin.com/etTyZc5R   GCC-4.6 inlines the _sync_* primitives20:13
ericb2doko_: probably20:13
ericb2doko_: as I told, I didnt follow what happened since I donated the patch20:13
ericb2doko_: that's true I'd have appreciated to see my name mentionned somewhere though ...20:22
doko_ericb2: I didn't see any name within the patch, nor do I know where it was submitted ...20:23
ericb2doko_: it was originaly submitted to OOo IZ, to simplify the backports for all forks and so on.20:24
ericb2doko_: imagine it was submitted to LO, it would never have been reversed to OOo. So to respect everybody, the most simple was to attach it to OOo IZ20:25
doko_ericb2: please tell Sweetshark on #ubuntu-desktop20:25
=== ogra_ is now known as ogra
desrtogra: word up20:48
ograhohoho20:48
desrtdo you have any idea if we'll be getting alternate toolchains for arm?20:49
desrtparticularly: non-eabi and softfloat variants?20:49
ograalternate ? like LLVM ?20:49
ograah20:49
desrtnot really important for the compiler and binutils as much as for the libgcc...20:49
ogranot in natty20:49
desrtthis stuff is important for building u-boot :)20:49
ograwe will get a hardfloat port in natty+1 which will run in parallel with the current one20:50
ograwhat for are you building u-boot ?20:50
desrtthe kobo20:50
desrti love this device20:50
desrtit's cheap and hell and quite awesome20:50
ericb2ogra: is hard float reliable ?20:50
ogranice20:50
desrtit has a somewhat hacked up firmware installed20:51
ograericb2, according to markos_ who does the port in debian currently, it is, yeah20:51
desrtthey released the code as a bunch of tarballs against old linux/redboot releases20:51
desrtand the patches are quite awful20:51
ograwhat architecture is that ?20:51
desrti've managed to get u-boot going on it and also have some patches against the kernel to make that work20:51
ericb2ogra: starting which proc ?20:51
ericb2ogra: for omap3 one told me it was not really. But maybe more recent is safe20:52
ograangstrom is fully built in hardfloat mode afaik20:52
ograsince quite a while20:52
ericb2ogra: interesting20:52
markos_ericb2, it depends on what you mean by reliable, usually packages just work, but there are a few who need special attention :)20:55
markos_these are just a few though20:55
markos_debian has reached 87% and we're hoping we can reach 95% soon20:56
ericb2markos_: what can bring hardfloat exactly ?20:56
markos_er, a hardfloat abi?20:56
ericb2markos_: yes, I know, but in the real life:  is it that faster ?20:57
* desrt thought that the change to eabi brought hardfloat with it20:57
ericb2markos_: just a question, because I didn't test yet20:57
markos_it depends on what apps you depend on20:57
markos_most apps benefit 5-30% depending on their use of fp20:57
markos_some don't benefit at all, while apps heavy on fp might be 200% faster (like a raytracer, like pov, yes it was actually 200% faster)20:58
ericb2markos_: the one I have in mind is OOo4Kids (an OOo fork)20:58
ericb2markos_: I'm working on performances issues, and am interested by everything who cold help in this domain20:59
markos_no idea how much better -if at all- OOo would be, though from my experience, anything that renders fonts is faster, ~20-25%21:00
markos_but ymmv with OOo21:00
ericb2markos_: so it is interesting21:01
markos_yes it is, that's what I've been trying to tell people all along :)21:01
ericb2markos_: do yo have a link, where I could read the flags being used, the cases .. and so on ?21:03
ograyou need the whole distro being built for hardfloat21:04
ograthe binaries wont run on a softfloat distro21:04
markos_ericb2, working on getting armhf d-i these days21:04
ericb2ogra: isn't there a flag allowing both ?21:04
ericb2markos_: great :)21:05
markos_ogra, well he coud use a chroot21:05
ograthey are binary incompatible21:05
ograyeah. you could use a chroot21:05
ograor a vm21:05
ericb2markos_: I'm not a specialist (arm is a jungle), but extremely curious and interested21:05
ograboth would work21:05
markos_ericb2, give me a few weeks, I've commited some armhf stuff to d-i, but there remain a few irritating points still to fix21:06
markos_anyway gotta go, have to tell a bedtime story :)21:06
ericb2markos_: I will. thanks :)21:06
ograubuntu will have it with the next release21:06
ericb2markos_: see you later21:06
ograand slowly migrating 100% to it21:06
ericb2ogra: in fact, I'd like to provide an adapted version of OOo4Kids (or OOoLight)  for Ubuntu users21:07
ograso watch this place ;)21:07
ericb2ogra: so I'll add what is mandatory, and stick your needs21:07
ograif you could get it running with debian hf, you will also get it running in trhe upcoming ubuntu port21:08
ericb2ogra: currently, I got OOo4Kids building and working on natty21:08
ericb2ogra:  but I used soft fp21:08
ograright, thats fine for natty21:09
ericb2ogra: ok21:09
ogran+1 will have both21:09
ograsoft and hard21:09
ericb2ogra: the only thing I'll need is a new micro SD card: and I'll install any experimental version on it21:09
Sweetsharkericb2: ping?21:52
=== Daviey_ is now known as Daviey

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