/srv/irclogs.ubuntu.com/2010/01/04/#ubuntu-arm.txt

=== kedars_ is now known as kedars
=== asac_ is now known as asac
loolssvb: Oddly, switching with another pixman and the problem goes away07:21
loolcwillu_at_work told me that squeeze/sid/emdebian libpixman doesn't have the issue but lucid pixman (same source, different toolchain) does07:21
loolI'm pretty sure he used the same kernel in all tests since we dont provide kernels for beagleboard on ubuntu07:22
loolbizkut-offline: This is seriously annoying; you don't even answer when we ask you to stop your verbose away07:23
armin76lool: :D07:59
ssvblool: don't know, maybe recompiling pixman (and xserver?) with a different toolchain just hides the bug08:00
ssvblool: but I know for sure that such problem existed with problematic kernels and it resulted in a similar looking artefacts on screen08:00
loolOk08:01
loolHmm right, I didn't think of rebuilding xserver, and it might be a bug in the kernel only triggered in specific conditions08:02
ssvblool: what version of kernel are you using by the way?08:02
loolIn Ubuntu we track 2.6.32 for the next release, but we don't provide beagleboard kernels; he was running a .32 IIRC08:03
lool11:14 < cwillu_at_work> Linux overo 2.6.32.1-x1.0 #1 PREEMPT Thu Dec 17  02:23:37 UTC 2009 armv7l GNU/Linux08:03
loolI'm not sure from which branch08:03
loolI suppose -omap, but then it could be any tree derived from that08:03
ssvbI see, there is a small testcase which can be easily used to verify whether the kernel has this problem or not, I'll try to find it08:06
loolGreat08:06
=== bizkut-offline is now known as bizkut
ssvblool: here is a testcase for kernel bug: http://siarhei.siamashka.name/files/20100104/test-sighandler-vfp-corruption-bug.c09:35
ssvblool: looks like the fix did not get upstream yet (just tested it with the latest linux-omap kernel), makes sense to send some ping messages09:36
loolcwillu_at_work: ^09:39
loolssvb: thanks!09:39
* armin76 kicks NCommander 09:53
ssvblool: also just verified that these old patches still apply cleanly and fix the problem09:53
* NCommander is beaten by armin76 09:54
* armin76 steals NCommander's dove boards09:54
NCommanderarmin76, :-P09:55
NCommanderarmin76, http://www.engadget.com/2010/01/04/freescale-reveals-7-inch-smartbook-reference-design-hopes-to-se/ - just buy one of these09:55
armin76NCommander: i prefer your boards *g*09:55
armin76NCommander: gimme Z0!09:56
NCommanderarmin76, I never had a Z009:57
armin76NCommander: get me one!09:57
* NCommander thinks armin76 didn't get any ARM hardware for the holidays09:57
* cwillu_at_work is pinged09:57
* cwillu_at_work pokes lool 09:57
armin76NCommander: there's an dove arm buildd that hasn't build something since october, gimme!09:58
NCommanderarmin76, ?09:58
armin76NCommander: give it to me if it isn't doing anything :P09:59
* cwillu_at_work has finished reading the scrollback10:00
* cwillu_at_work runs ssvb's test-sighandler-vfp-corruption-bug.c10:02
cwillu_at_workcwillu@overo:~$ ./a.out10:02
cwillu_at_workerror: x=1090022160 y=1090022161 d=9434.23210010:02
cwillu_at_workAborted10:02
ssvbcwillu_at_work: it's a bit messy, but demonstrates that the signal handler can corrupt floating point registers from the main thread, normally this test should run infinitely without any problems10:03
cwillu_at_workya, that run lasted all of 20 seconds10:04
ssvbcwillu_at_work: for pixman it means that the signal handler responsible for input handling may corrupt NEON registers and as these are used for processing pixel data, it results in image artefacts which look as horizontal stripes10:05
cwillu_at_workhmm10:06
cwillu_at_workonly horizontal stripes?10:06
cwillu_at_workI only get 45degree stripes10:06
cwillu_at_workthis is upstreams 2.6.32.2 from git, with some patches applied10:07
cwillu_at_workalthough experienced this under 2.6.32.1, only started playing with libpixman after I switched to that series, so I don't know about earlier kernels10:08
ssvbcwillu_at_work: well, any kind of bad things may happen in general, also including xserver crashes on some occasions, so the bug is better to be fixed10:08
cwillu_at_workdo I only need that one patch, or do I also need patch 1/2?10:09
ssvbthey depend on each other, so both need to be applied10:09
cwillu_at_workokay10:09
cwillu_at_workre: input handling, that explains why it was so much worse when dragging a scroll bar than when using the mouse wheel10:12
cwillu_at_workssvb, this is only mildly related, but would you know what is required to gain any benefit from the neon routines in pixman?  Is a new cairo build also required?10:19
cwillu_at_work(compiling a new kernel, will ping when it completes and I've tested it)10:20
ssvbcwillu_at_work: just neon optimized pixman is enough, cairo upgrade is not required10:23
ssvbcwillu_at_work: also pixman version 0.17.2 has more neon optimized functions and they are faster, git master has even more stuff10:23
cwillu_at_workyep, I was compiling git master10:24
cwillu_at_workamong others... :p10:24
cwillu_at_workshould it be a dramatic improvement?10:24
cwillu_at_workI'm mainly concerned with scrolling a firefox window at 1280x1024, and I haven't noticed a whole lot of difference10:25
ssvbcwillu_at_work: what is the desktop color depth?10:25
cwillu_at_workWhich makes me inclined to think that firefox is either ignoring my efforts, or that I'm optimizing something that's only 1% of the problem anyway10:25
suihkulokkissvb: re: pixman and neon, is reading /proc/self/auxv really the best way to find out if the cpu supports neon?10:25
ssvbsuihkulokki: not sure about this, but it seems to work10:26
suihkulokkiyes, but it is a slight problem when run under qemu linux-user where that file is x86 auxv of qemu10:28
cwillu_at_workssvb, I've tried 16 and 2410:30
loolsuihkulokki: You can override glibc's hwcaps perspective though10:30
cwillu_at_worksorry, missed the question while I was typing :p10:30
ssvbsuihkulokki: I see, but ARM CPUs unfortunately do not support any way to identify cpu type from userspace for the 'security reasons'10:30
loolWont help with pixman but can help with shared libs10:30
loolsuihkulokki: Perhaps qemu should provide an emulated /proc in some way though10:31
loolThings like cpuinfo will be bogus as well10:31
ssvbcwillu_at_work: firefox browser does all the rendering in 32bpp and converts the results to the desktop color format as the last step10:32
suihkulokkilool: yeah, Qemu providing virtual /proc to apps running inside qemu would be the correct fix10:32
ssvbcwillu_at_work: 32bpp is slow because memory bandwidth is limiting performance for most operations10:33
cwillu_at_workssvb, I was under the impression that 24 and 32bit were the same memory layout, and hence I didn't mention that I also tried 32 explicitly :p10:33
cwillu_at_workssvb, but should I expect to not see any improvement with the neon routines?10:34
cwillu_at_work<cwillu_at_work> my kingdom for a firefox that uses 16bpp internally :(10:35
cwillu_at_work^^ is that basically the answer?10:36
cwillu_at_workand if that's the case, would there ever be any chance of ubuntu's armel firefox getting patched?10:37
ssvbcwillu_at_work: profiling scrolling in firefox 3.6 beta 5 looks more or less like this for me: http://pastebin.com/m669d1f7f10:42
ssvbcwillu_at_work: looks like it is already 16bpp friendly10:43
cwillu_at_workssvb, as of 3.6?10:43
ssvbcwillu_at_work: don't know, I just remember that this was not the case for firefox 3.0 and I had a simple patch for it10:44
cwillu_at_workI'm on 3.5 right now, I'll install 3.6 and see if that improves things10:44
cwillu_at_workssvb, or do I just need to adjust my expectations?10:45
cwillu_at_worki.e., is it fluid for you?10:45
ssvbcwillu_at_work: but still arora browser is much faster than firefox for scrolling10:45
cwillu_at_workI'm fairly reliant on a streamable xmlhttprequest in the browser, which is something of a gecko only thing10:46
ograsuihkulokki, shouldnt that be possible through containers ?10:47
ssvbcwillu_at_work: disregard the previous oprofile report, appears that for scrolling distribution of cpu time between graphics output and browser engine overhead heavily depends on how fast you are scrolling the page11:00
cwillu_at_workrm /tmp/ssvb/hard_data11:01
ssvbcwillu_at_work: this is a comparison of firefox vs. arara for scrolling with arrow down key pressed, firefox: http://pastebin.com/m6f334785 arora: http://pastebin.com/m9f98ed211:02
ssvbcwillu_at_work: arora feels much faster and it also spends almost half of the time in pixman, which firefox has a lot of other overhead11:02
ssvbs/which/while11:03
cwillu_at_workkernel just finished building, installing and retesting11:04
ssvbcwillu_at_work: basically these profile reports show that arora benefits from pixman optimizations a lot more and the effect is much more easily visible11:04
ssvbcwillu_at_work: great, let me know about the results11:05
cwillu_at_workjust rebooting now (wanted to update some other stuff at the same time, nothing like mixing experiments to save time :p)11:17
cwillu_at_workfor no particularly good reason, I've still got it booting into a 32bit framebuffer; if I understand you correctly, there's still a benefit to using 16, correct?11:19
cwillu_at_work(running the test now)11:19
cwillu_at_workhasn't stopped yet11:21
cwillu_at_workunsurprisingly, scrolling is slow as hell while its running :p11:21
ssvbcwillu_at_work: 32bit framebuffer is slower because there is more data to process, also display refresh steals some of the memory bandwidth11:22
ssvbcwillu_at_work: what is your screen resolution?11:22
cwillu_at_workssvb, 1280x1024 :p11:22
ssvbcwillu_at_work: ok, same here11:22
cwillu_at_workthe sigalarm testcase looks good, hasn't crashed yet11:23
cwillu_at_workssvb, with an otherwise idle cpu, is firefox smooth on your hardware?11:23
cwillu_at_workI get about 3 frames per second11:23
cwillu_at_workduring full-screen scrolling11:23
ssvbcwillu_at_work: it is *much* better for me, probably at least 10 frames per second11:23
ssvbcwillu_at_work: but it is subjective impression, I did not run tests with camera11:24
cwillu_at_workssvb, 10 frames is just short of fluid, but still acceptable11:24
cwillu_at_workssvb, would be able to compare against ff-3.5 would you?11:25
ssvbcwillu_at_work: it would take time to build ff-3.511:26
cwillu_at_workno apt-get? :p11:26
cwillu_at_workrebooting under 16bpp11:26
ssvbbrb11:28
cwillu_at_work<313:33
ssvbcwillu_at_work: any news?13:41
cwillu_at_workperformance seems to be respectable for a smaller scrolling region, I think I need to do some a/b tests to prove that they're actually better though13:42
cwillu_at_workthe glitching is definitely fixed by that patch, I've got it sent to my upstream, who grumbled about Russel being up to his usual self such that they were never applied13:43
cwillu_at_workoh, hi rcn-ee, you joined :)13:44
rcn-eehey cwillu_at_work, so did the patches help with pixman? i haven't been able to test them myself..13:46
cwillu_at_workrcn-ee, yes, I actually sent them after I had verified that they worked this time :)13:46
=== bjf-afk is now known as bjf
* bizkut is away (i am away now)16:33
=== bizkut is now known as bizkut-offline
* armin76 rofls16:34
armin76ah, too bad lool is not here :D16:35
=== bizkut-offline is now known as bizkut
asacogra: you said you had a fix for apex?18:48
asachttp://launchpadlibrarian.net/36670366/buildlog_ubuntu-lucid-armel.libgd2_2.0.36~rc1~dfsg-3.1ubuntu1_FAILEDTOBUILD.txt.gz18:49
asachttp://launchpadlibrarian.net/36947837/buildlog_ubuntu-lucid-armel.libgphoto2_2.4.7-0ubuntu1_FAILEDTOBUILD.txt.gz18:49
asacNCommander: you have buildd powers?18:50
asace.g. can you give back with good prio?18:50
asaclast build failure might be just fixed?18:50
asachmm libtool still ftbfs18:51
* asac kicks off a build18:51
NCommanderasac, yeah, I can do that19:00
NCommanderasac, which package needs a nudge19:00
armin76NCommander: nageia is the buildd that doesn't do anything :)19:04
asacNCommander: nevermind. thought libtool wasnt retried19:09
asacNCommander: dove images broken/not booting? or just test builds?19:11
NCommanderasac, the issue was that I didn't notice that we haven't had an alternate build in almost a month. cjwatson looking at antimony to see what went wrong19:11
ograasac, http://paste.ubuntu.com/351393/19:12
ogra(it doesnt respect CFLAGS)19:12
ograbut that only fixes the initial build failure, at the end it fails with a cast error in link.cc19:12
ograwell, "link.cc:236: error: invalid conversion from 'const char*' to 'char*'"19:14
ograanyway, off again19:14
asacogra: what context?19:15
ograapex19:15
ograyou asked for my apex fix19:16
asacogra: kk19:16
asaci can check19:16
asacogra: if still there ... why -marm? is that a workaround or the right fix?19:17
ograapex is a bootloader for armv519:18
asacoh ;)19:18
ograand doesnt have any thumb support19:18
asacyeah19:18
asacmakes sense19:18
asacogra: why is it in main?19:18
ograit is used for the nslu219:18
ograthat was our first supported armel arch before wer had any HW19:18
asacguess we dont support it anymore?19:19
asace.g. we should unseed/demote it ;)19:19
ograit can happily go to universe, but i feel bad if i demote it in that state19:19
asacsure19:19
asacshould be fixed19:19
ograyeah ... would feel like dumping trash on the MOTU19:19
asacogra: do you know if its seeded or why it didnt get demoted in karmic?19:19
asacwe want to fix all universe armel only failures too ;)19:19
asacjust that we start in main as its on top of that webpage ;)19:20
ograit didnt ftbfs and nobody had it on the radar19:20
ograprobably my fault since i cared for it in jaunty and didnt look after it later19:20
asacogra: well. but afaik it shows up in component-mismatches unless its pulled in thorugh some mechanism19:21
asacjust wnat to understand what is that ;)19:21
asacbut no hurry19:21
ograi think its just seeded in supported19:22
ograthat makes it not show up on the mistmatches page19:22
asacdyfet: checked chrome?19:28
asackk19:28
dyfetasac: not extensivily but it works19:29
dyfetasac: and feels fast(er)...19:30
dyfetor did you mean chromeos rather than chromium browser?19:30
asacnope19:30
asacour packages19:30
asacgood19:31
armin76thanks to me *g*19:31
dyfetasac: since it imports, I dumped my mozilla directory onto the box and let it try to import my bookmarks and passwords, it did not seem to import my passwords entirely though...19:36
asacdyfet: entirely? but parts?19:38
dyfetyes19:38
asacdyfet: any pattern what got imported and what not?19:38
asacmaybe compare what you see in show passwords in ffox and chromium19:39
dyfetI am not sure, but they were all form based, and it happened to be one site it only filled the email/login id, not the password field19:39
dyfetbut again I did not go through very many sites with it yet19:39
asacok. if in doubt i would start comparing the show passwords dialog in preferences of firefox/chrome19:41
asacmaybe its a bug about detecting password/input fields19:41
asacor something19:41
dyfetasac: it feels like there is more in my firefox saved passwords...in fact, there is some I can already confirm are missing19:43
asacJamieBennett: there still?19:43
JamieBennettasac: yes19:43
asacJamieBennett: someone claimed that n.b.l-efl isnt localized ... e.g. like the applications and categories etc.19:43
dyfetasac: never mind, I found the ones I thought were missing :)19:43
asacgood :)19:44
asacJamieBennett: can you confirm that thats the case in our lucid build?19:44
JamieBennettasac: ummm, not sure, not something I've looked into but I can check19:44
asacthat would be great19:44
asacJamieBennett: how do one best try the launcher? does it just show up as a session variant in gdm?19:45
JamieBennettWhen I installed it I just ran it from the command line19:45
JamieBennettasac: It seems that it is localized, most strings come from the .desktop. lfelipe has tested and can confirm along with k-s19:48
asacJamieBennett: ok. is sound recorder localized?19:50
asaclike in chinese?19:51
JamieBennettno idea ;)19:51
JamieBennettI use neither :D19:51
asacJamieBennett: so you say you confirmed it by starting in a different language?19:52
asac(on your own?)19:52
JamieBennettasac: I confirmed it by asking the developer, I can play around with the local install I have if you need that but lfelipe says he can provide up-to-date screenshots for anything we need19:53
JamieBennettk-s also confirmed19:53
asacconfirmed by running or by thinking ?19:56
asaci am find if they say they run lucid packages and all is there19:56
asacits just that we got a report about this ;)19:56
asacs/find/fine/19:56
asacso developers saying "it should work" ... might not be right approach ;)19:57
cwillu_at_workI find your lack of faith disturbing19:59
asacfaith?20:00
cwillu_at_work"it should work"20:00
cwillu_at_worktherefore:  it should work.20:00
cwillu_at_work(I'm done now :p)20:01
asacyes. but if there is a complain about it not working, its ok to double check :)20:01
JamieBennettI don't have a lucid desktop install at the moment, I'll set one up (its on the todo list for today anyway)20:08
asacJamieBennett: no need to if you dont have the infrastructure to check. just thought you had all in place20:10
JamieBennettasac: not in a Lucid environment yet, something I will fix tonight20:10
asachehe20:11
asaci should upgrade too20:11
asace.g. ~end of jan20:34
* bizkut is away (i am away now)20:41
=== bizkut is now known as bizkut-offline
asacbad away messages ;)20:41
asacdyfet: so did you check the moblin media player?20:41
armin76haha20:41
armin76where's lool!20:42
armin76!seen lool20:42
ubot4I have no seen command20:42
asacarmin76: he left this channel20:42
armin76bah, useless bot20:42
armin76well, he just dissapeared in a net split :)20:42
asacyes.... so he left the channel20:42
asacbecause whereever i am is the main channel :-P20:42
asacarmin76: so did you finally manage to get something usable wrt chromium?20:43
armin76asac: nah, segfault when building v820:43
armin76i'll try building on my armv7 board, but i'm busy building other stuff20:44
armin76thats what happens when you only have one board :)20:44
armin76could be that either something is broken or that doesn't build on armv5te20:45
armin76asac: build it on jaunty :)20:45
NCommanderasac, I thought we had a working chromium on ARM ...20:49
asacNCommander: we have ... armin76 doesnt20:51
armin76:D20:51
armin76NCommander: he's using an ugly patch though!20:53
NCommanderarmin76, ?20:53
armin76NCommander: asac is using an ugly patch to make it work :)20:54
armin76s/work/build20:54
asachey. i have the right one ... just need to check20:55
mturquettecould someone point me to the apt repositories for the dove and babbage boards?20:59
* armin76 points to asac and NCommander 21:00
armin76NCommander: btw meet mturquette, he wants ubuntu rocking on omap21:01
NCommandermturquette, its just the normal ports repo for bost21:01
asacmturquette: http://ports.ubuntu.com/ubuntu-ports/21:02
asacdeb http://ports.ubuntu.com/ubuntu-ports/ lucid main restricted21:02
asacdeb-src http://archive.ubuntu.com/ubuntu lucid main restricted21:02
asacetc21:02
mturquetteah, makes sense.  thanks NCommander / asac.21:03
armin76mturquette: yw :)21:04
=== bizkut-miau is now known as bizkut-redhat

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