libera/#maemo-leste/ Saturday, 2023-01-21

Wizzupfreemangordon: there's another one with -Os and -ftree-vectorize, seems similar in size too00:50
uvos-O2 with thumb makes no sese iiuc00:54
uvossince thumb trades performance (register pressure) for code size00:54
Wizzupuvos: you mean -Os makes more sense yeah?00:55
uvossure altho imo we should be benchmarking this00:56
Wizzupsure00:56
uvosdecreased code size may only make sense on n90000:56
uvosgoogeling around also makes it look like the real code size improvements come from compileing for thumb100:59
uvosnot thumb2 (ie mixed mode)00:59
uvosas in mixed mode gcc's optimizer mostly thinks using thumb isent worth the performance cost00:59
uvoswhile in thumb1 mode it has to01:00
Wizzuphow is this set?01:00
uvosNote that there is no “thumb2” option. If the target processor is new enough, Thumb-2 will be used automatically.01:01
uvoshmm01:01
uvosso -march01:02
uvossomething01:02
uvosnot sure what01:02
uvossome thumb1 only proc i gues01:02
Wizzupsounds like we probably don't want to do that though01:03
uvosyeah01:03
Wizzupso one other problem I am trying to tackle is that gcc complains about some builds on the CI only01:04
Wizzupbecause the underlying cpu reports armv801:04
Wizzupeven though the instruction set is armv701:04
Wizzupbut I can't make it armv7 in qemu without losing KVM01:04
Wizzup(repor armv7)01:04
Wizzupso passing -march=armv7-a+neon-fp16 (or something) for armhf might solve that01:04
uvoswhy would that make gcc complain?01:04
Wizzupneon code01:05
Wizzupit detects armv8 cpu and decides that this code won't work there01:05
Wizzupeven though we want it to build for armv701:05
Wizzupit seems like at least from my search01:05
uvosok01:05
Wizzupiirc n900 doesn't have vfpv401:05
Wizzupin any case, we have an easy test bed to toy with this in -experimental for now01:06
uvosdosent armv8 have neon?01:06
Wizzupsure01:06
Wizzupbut slightly different I guess01:06
uvosnot sure why it would complain01:06
uvosok01:06
uvosyeah no idea01:06
Wizzupok, so CONFIG += plugin in qmake disables making .la files01:23
Wizzup*sigh*01:23
Wizzupuvos: is this a problem?02:04
Wizzupsphone: contacts-evolution: can currently only fill contacts of ofono calls02:04
Wizzupthat is followed by:02:04
Wizzupsphone: sphone-mce: dbus call to mce faied with GDBus.Error:org.freedesktop.DBus.Error.UnknownMethod: Method "req_vibrator_pattern_deactivate" with signature "s" on interface "com.nokia.mce.request" doesn't exist02:04
Wizzupoh, hum:02:05
Wizzupsphone: No backend for gui_dialer_show02:05
Wizzupah:02:07
Wizzupsphone: Failed to load module ui-dialer-gtk: /home/user/sphone/build/src/modules/libui-dialer-gtk.so: cannot open shared object file: No such file or directory; skipping02:07
Wizzupah it doesn't look in the gui/gtk2 path02:08
Wizzupwell I guess the dialer launched02:09
Wizzupbut my vm screen is now black02:09
Wizzup:D02:09
Wizzup(rotation)02:10
Wizzupwell I can get sphone to show when I call through tp and hang up02:19
Wizzupenough for tonight :)02:19
freemangordonuvos__: there is absolutely no difference in registry pressure ARM vs thumb208:38
freemangordonthe only thing that differs is instructions size (32 ARM vs 16 thumb2 bits) and slightly higher thumb2 decoding time08:39
freemangordonwhich is compensated by better code cache usage08:40
freemangordonas with thumb2 you have twice as much instructions per I cache line08:41
freemangordonin theory that is ofc :)08:41
freemangordonand yes, we want thumb2, not thumb108:41
freemangordonWizzup: hmm, 3986 vs 402208:43
freemangordonsomething is wrong here08:43
freemangordonwe should have ~ 30% down08:44
freemangordonand yes, we want -O2, not -Os08:44
freemangordonlemme install and compare binary sizes08:48
freemangordonWizzup: I think I know what happens - because build VM does not support thumb2, gcc has no option but to use thumb1, otherwise it won;t be able to run the tests09:02
freemangordonIt might be even ignoring -mthumb at all and the slight difference in sizes comes from -mfpu=neon09:04
freemangordonok, libglib .so has exactly the same size09:04
freemangordonhmm09:06
freemangordonthis does not make sense to me https://pastebin.com/JtAmSTLs09:06
freemangordonis it possible we are already on thumb?09:06
freemangordonomg09:07
freemangordonseems like yes, we are09:07
freemangordon  Tag_FP_arch: VFPv309:11
freemangordon  Tag_Advanced_SIMD_arch: NEONv109:11
freemangordonvs09:11
freemangordon  Tag_FP_arch: VFPv3-D1609:11
freemangordonthis is the only difference between experimental and stable in terms of readelf :(09:11
freemangordonWizzup: sorry for wasting your time, I am really surprised debian is using thumb2 by default09:14
freemangordon/lib/arm-linux-gnueabihf/libc.so.6 is even compiled with NEON09:16
freemangordonTag_Advanced_SIMD_arch: NEONv109:16
freemangordonunfortunately those low-hanging fruits were already picked-up :)09:17
freemangordonyep, everything is already thumb09:25
freemangordonand most of it is Tag_Advanced_SIMD_arch: NEONv109:27
freemangordonsicelo: will it be ok to provide you with icd ofono module with more traces for you to provide new log?09:31
freemangordonactually I will do that for -devel anyway09:48
sicelomost definitely, yes I can test09:53
freemangordonok, I need maybe 10 minutes to push to devel09:53
sicelonc09:53
freemangordonThe following NEW packages will be installed:10:40
freemangordon  elogind libpam-elogind policykit-1 policykit-1-gnome10:40
freemangordonWizzup: is that ok ^^^?10:40
freemangordonsicelo: please install libicd-network-ofono10:40
freemangordonoh, wait10:41
freemangordonare you one beowylf or chimaera?10:41
freemangordon*beowulf10:41
Wizzuphi10:42
freemangordonWizzup: is it safe to upgrade chimaera to -devel?10:43
Wizzupthere is nothing in chimaera-devel so yes10:43
Wizzupfreemangordon: so we were already on neon?10:43
freemangordonthere is10:43
Wizzuperr, I mena thumb10:43
freemangordonsee ^^^10:43
freemangordonyes, so it seems10:43
Wizzupfreemangordon: you can imo just pus to main chimaera, but fine for chimaera-devel or chimaera-testing10:44
WizzupI just push to chimaera main sine we didn't 'release' it yet10:44
freemangordonhttps://pastebin.com/j5DU5u7Z10:44
Wizzupso there's no expectation of stablity10:44
freemangordonwhere those came from then?10:44
Wizzupoh right10:44
Wizzupno I did that10:44
Wizzupyea don't upgrade to it10:44
Wizzupsorry waking up10:44
freemangordon:)10:44
freemangordonok10:44
Wizzupthis is me setting up an env for me and uvos to do the elogind porting10:44
freemangordonsicelo: so, are you on chimaera or baowulf?10:45
freemangordonWizzup: I think this is -experimental matter10:45
freemangordonbut yeah10:45
freemangordonok, will push to chimaera and beowulf-devel then10:45
Wizzupfreemangordon: so we don't need -fpu=neon either?10:45
freemangordonseems we need it10:46
Wizzupfreemangordon: btw jfyi the build vm "technically" is armv810:46
freemangordonas glib is compiled without it10:46
Wizzupwhich does not support thumb10:46
Wizzupso if your theory is that it does runtime detection, then that's wrong10:46
freemangordonbut, I doubt it makes that much of a difference10:46
freemangordonas long as we don;t use tree-vectorize10:47
Wizzupright10:47
freemangordonwhich I think is not a good idea to use anyways10:47
Wizzupthe last gtk build I set -ftree-vectorize10:47
Wizzupwell how else will it use neon?10:47
freemangordonintrinstics10:47
freemangordonlike, you may have compile-time checks10:47
Wizzupfreemangordon: do you want me to build gtk in experimental with thumb explicitly disabled?10:47
Wizzupjust to make sure your theory is correct?10:47
freemangordonyes, please do10:48
Wizzupwhat flag is that10:48
freemangordonumm...10:48
* freemangordon checks10:48
Wizzupatm I have:10:48
Wizzup                    DEB_CFLAGS_APPEND="-mfpu=neon -mthumb -Os -ftree-vectorize"10:48
Wizzup                    DEB_CXXFLAGS_APPEND="-mfpu=neon -mthumb -Os -ftree-vectorize"10:48
Wizzup                    export DEB_CFLAGS_APPEND10:48
Wizzup                    export DEB_CXXFLAGS_APPEND10:48
Wizzupwe can set that to whatever we want10:48
Wizzupas in, we can add -march= too10:49
freemangordon"-marm"10:49
Wizzupwhat does this do?10:50
Wizzupah10:50
freemangordondisables thumb10:50
Wizzupno thumb10:50
Wizzupfreemangordon: so thi?10:51
Wizzup                    DEB_CFLAGS_APPEND="-mfpu=neon -marm -O2"10:51
Wizzup                    DEB_CXXFLAGS_APPEND="-mfpu=neon -marm -O2"10:51
freemangordonyes10:51
Wizzupok10:51
freemangordonWizzup: BTW I loaded mesa big driver in IDA10:51
freemangordonand indeed ISA is thumb210:51
Wizzupok10:51
Wizzupwell, building now10:51
WizzupI do want to test if we should set -march=armv7-a10:52
freemangordonbut yeah, it costs nothing to do one more build10:52
uvoshttps://www2.cs.arizona.edu/~arvind/papers/lctes02.pdf10:52
Wizzupfreemangordon: just some power at my home ;p10:52
uvossuposedly thumb can be up to 30% smaller at 5-30% perf cost10:52
uvosand gcc emmits almost no thumb instructions anyways10:52
freemangordonnot really10:53
uvosdocument is fairly old i admit, but modern arm has no thumb anyhow10:53
uvos(ecept in 32bit mode)10:53
freemangordonlemme show you some instructions from mesa big driver .so10:53
uvosi am sure you will find some10:54
uvosthats not the point10:54
uvosthe point is it dosent use it for hot paths10:54
Wizzupwhat do you base this on, just wondering10:54
freemangordonit does10:54
uvossuposedly anyhow, havent done tests myself10:54
freemangordona random function https://pastebin.com/3UmefPLM10:55
uvossure i see10:56
freemangordonmost of the instructions are thumb10:56
freemangordonthe only ARM one I see is VPUSH10:56
Wizzupis this pvr or our mesa10:57
freemangordonpvr_dri.so10:57
freemangordonso our mesa10:57
freemangordondidn't check blobs, but it does not matter10:57
Wizzupsure10:59
Wizzupok, sounds like we do thumb for sure then10:59
freemangordonmhm11:00
freemangordonwhich is actually bad news :)11:00
Wizzupbtw, how did you confirm that debian also does thumb11:00
freemangordonlibc.6 ;)11:00
Wizzupthat might be a special case, but probably11:00
freemangordonwell, just do readelf -a on a random vanilla binary11:01
freemangordons/binary/lib11:01
Wizzupok11:01
Wizzupso what about -march=marmv7-a ?11:01
freemangordonhow would that help?11:01
Wizzupso the cpu part of /proc/cpuinfo gives away that our build vm is armv811:02
Wizzupeven though the 'model name' say it's v711:02
freemangordonif we want to help n900, then we better use cortex-a811:03
Wizzupthis is about build systems thinking we have a v8 cpu11:03
Wizzupwhen we really don't11:03
Wizzupmodel name: ARMv7 Processor rev 3 (v7l)11:03
WizzupCPU part: 0xd0811:03
Wizzupbut11:03
Wizzup0xd08 = cortex-a72 = armv8-a+crc11:03
Wizzupand I think this might also be why gcc gives some weird errors in some cases11:03
freemangordonok11:04
Wizzuphttps://phoenix.maemo.org/job/marian-lite-binaries/architecture=armhf,label=armhf/16/consoleText11:04
Wizzup/usr/lib/gcc/arm-linux-gnueabihf/10/include/arm_neon.h: In function 'int32x4_t vcvtnq_s32_f32(float32x4_t)':11:04
Wizzup/usr/lib/gcc/arm-linux-gnueabihf/10/include/arm_neon.h:1762:10: error: this builtin is not supported for this target 1762 |   return (float32x4_t)__builtin_neon_vrintnv4sf (__a);11:04
Wizzupthat in particular11:04
Wizzupanyway, that was just a guess11:04
WizzupI will need to try it to be sure11:04
freemangordonand maybe add -mtune=cortex-a811:04
Wizzupbut basically marian-lite builds fine on d411:04
Wizzupbut not on ci11:05
freemangordonI see11:05
freemangordonyeah, test it11:05
dsc_< Wizzup> this is about build systems thinking we have a v8 cpu <== build systems think this because of gcc's compiler definitions11:05
Wizzupbut those come from -march= no?11:05
dsc_unsure11:05
freemangordonyou have built-in defaults11:05
freemangordonafaik11:05
dsc_yep11:05
freemangordonso maybe we want -march=marmv7-a -mtune=cortex-a811:06
freemangordon-march=marmv7-a -mtune=cortex-a8 -mfpu=neon11:06
freemangordonthat should help n900 a bit11:07
freemangordonfor the other I doubt it matters that much for daily usage11:07
freemangordonif you dig crypto currencies maybe yes :)11:07
WizzupI think really the hope was/is that it would either help with size or make things magically faster, i.e. scrolling in gtk2 or something, if it had some fast path :p11:09
Wizzupbtw looks like the gtk is done11:10
Wizzupstill hardly a size difference.11:10
freemangordonseems -marm is ignored then11:10
dsc_Wizzup: `echo | gcc -dM -E - | grep -i arm`11:11
freemangordonumm...11:11
dsc_on armhf VM build machine that should yield `#define __ARM_ARCH 7` somewhere11:12
dsc_but I'm guessing it will say `#define __ARM_ARCH 8`11:12
freemangordonWizzup: I see no -marm passed to gcc11:12
Wizzupfreemangordon: oh!11:12
Wizzupfreemangordon: waking up part #211:12
WizzupI forgot to scp the debian_glue fil11:13
Wizzupe11:13
freemangordon:)11:13
Wizzupdsc_: on build vm : http://dpaste.com/CSVE3SQWF11:13
Wizzuplooks like it's the same on the d411:15
Wizzuplike, identical11:15
Wizzupa bit surprised perhaps that ARMEL is defined11:15
Wizzupand indeed with -mfpu=neon  we get neon enabled11:15
Wizzupfreemangordon: btw this gcc statement also helps check that indeed thumb is probably already on11:16
freemangordonmhm11:16
Wizzupor not :)11:16
Wizzupyes it does:11:16
freemangordonit is, otherwise we wouldn;t have thumb2-compiled pvr_dri.so11:16
Wizzupecho | gcc -mfpu=neon -mthumb -dM -E - | grep -i thumb11:16
Wizzupvs11:16
Wizzupecho | gcc -mfpu=neon -marm -dM -E - | grep -i thumb11:16
Wizzupsure11:16
freemangordonbut at least now we will know what -mthumb saves for us :)11:17
Wizzupfreemangordon: does n900 have vfp3 ?11:17
freemangordoncortex-a811:18
freemangordonI think yes11:18
Wizzupbut iirc not vfpv411:18
freemangordonright11:18
Wizzupmaybe -march=armv7-a+neon-fp16 is slightly better then11:19
freemangordon"The VFP coprocessor is a nonpipelined floating-point execution engine that can execute any VFPv3 data-processing instruction"11:19
freemangordonWizzup: maybe, I lack the details here11:19
freemangordonhttps://developer.arm.com/documentation/ddi0344/k/ch16s07s0111:20
freemangordonsicelo: so, please, install libicd-network-ofono from either chimaera or beowulf-devel (depending on what your device is on), gather new traces and provide that11:21
freemangordonplease, also, capture dbus-monitor (if possible bothe session and system bus) logs as well that match those icd2 logs11:22
freemangordonSuperMarioSF: you may do as well ^^^11:22
dsc_https://github.com/maemo-leste-extras/ruy/blob/732693c7056f6671ea5606fa00404e02de1c119c/cmake/armFlags.py#L1211:26
dsc_for reference :p11:26
dsc_note that list is half-arsed and does not claim to be complete :P11:26
Wizzupright, but just for everyone wondering, we don't use this anymore11:28
Wizzupno runtime detection11:28
Wizzupat least afaik11:28
dsc_yes, for Maemo Translate (and its dependencies) we just set `-mfpu=neon`11:29
dsc_but, only on arm 32bit (armv7)11:29
dsc_because AARCH64 implies NEON11:30
Wizzupright11:31
freemangordonso, to conclude and move on: do we agree on "-march=marmv7-a -mtune=cortex-a8 -mfpu=neon"?11:31
dsc_for the build machine?11:31
freemangordonyes11:31
freemangordonfor 32bits arm11:31
dsc_looks good11:31
freemangordonthat way we'll squeeze as much as possible from N90011:32
freemangordonwith close to optimal for other devices11:32
freemangordonWizzup: if you are fine with ^^^, please set-up that on chimaera (not experimental) and maybe rebuild a couple of packages11:33
dsc_im a bit surprised that only now the build machine has these specific flags for 32bit, this means compilations previously may not have been using neon optimally or whatever11:33
freemangordonwe didn't check how it is on beowulf11:33
freemangordonbut I would bet it is the same11:33
Wizzupfreemangordon: ok, I'm waiting for the gtk test with -marm to finish11:35
Wizzupjust for completion11:35
freemangordonok11:35
Wizzupdsc_: for sure it wasn't using neon before, yes11:35
Wizzupthis is probably also true for all debian pkgs11:36
freemangordonbut only 'our' builds11:36
dsc_right, the ones from devuan were built with god knows what11:36
freemangordonno, I would guess vanilla deian packages are compiled with neon11:36
freemangordon*debian11:36
Wizzupfreemangordon: then it won't work on some other devices11:37
Wizzuphttps://wiki.debian.org/ArmHardFloatPort11:37
WizzupPrograms usually take advantage of NEON thanks to hand-crafted assembly routines. GCC can automatically vectorize code and generate NEON instructions, however this tends to have limited success. It would seem sensible NOT to require NEON in a new port since some modern Armv7 ?SoCs such as Marvell Dove and NVidia Tegra2 don't implement it.11:37
Wizzupso no, probably not ;)11:37
freemangordonon chimaera it is requirement11:37
freemangordonI see why would beowul be different11:37
Wizzuphttps://wiki.debian.org/ArmHardFloatPort#GCC_floating-point_options11:38
freemangordondespite the docs aboe11:38
Wizzupfreemangordon: what makes you think that11:38
Wizzupit's not enabled by default11:39
Wizzupand dpkg-buildflags doesn't show it11:39
Wizzupso I am not sure why you'd think neon is used by defaul11:39
freemangordonreadelf -A /lib/arm-linux-gnueabihf/libc.so.611:39
freemangordonon chimaera this shows Tag_Advanced_SIMD_arch: NEONv111:40
freemangordonplease someone on beowulf, execute ^^^11:40
freemangordonand report if there is Tag_Advanced_SIMD_arch:11:40
Wizzupit's the same11:40
freemangordonok, so it uses NEON11:41
WizzupI don't know what these attributes really mean though11:41
WizzupI'm not convinced yet11:41
dsc_< Wizzup> and dpkg-buildflags doesn't show it <== buildflags of what? individual packages?11:41
Wizzup/bin/ls is not NEON for example11:41
freemangordonor at least is compiled with -fpu=neon11:41
Wizzupdsc_: dpkg-buildflags is a debian tool to show the default system wide build flags11:41
Wizzupfreemangordon: sure maybe glibc has some special paths when it detects neon at runtime11:41
Wizzupwhich is why I think glibc is not a good candidate11:42
freemangordonthis does not show the defaults of gcc being used11:42
Wizzup  Tag_THUMB_ISA_use: Thumb-211:42
Wizzup  Tag_FP_arch: VFPv3-D1611:42
dsc_whether something gets compiled with NEON or not is (often) via #ifdef's with defs provided by gcc11:42
Wizzupis /bin/bash11:42
Wizzupno mention of neon at all11:42
freemangordonok11:42
dsc_you wont see them in dpkg stuff11:42
Wizzupsame on beowulf11:42
Wizzupdsc_: yes, I know, but since it's not the default, that matters11:42
Wizzupdsc_: what I was saying is that -mfpu=neon is not in dpkg-buildflags so it's unlikely that $random pkg uses neon11:42
freemangordonmaybe all libs has detection logic11:43
Wizzupglibc being an exception11:43
Wizzupsince they have fast paths for all kinds of simd11:43
freemangordon*have11:43
dsc_thats what I'm saying, some libs just automatically start using NEON when GCC signals that it has that ability11:43
freemangordonI know for sure pixman and gtk have11:43
Wizzupdsc_: but we don't signal it(!)11:43
Wizzupcurrently11:43
Wizzupand neither does debian11:43
Wizzupper dpkg-buildflags11:43
freemangordonWizzup: and this is an issue for gkt11:43
freemangordon*gtk11:43
Wizzupfreemangordon: -marm https://maedevu.maemo.org/pkgweb/chimaera-experimental/main/binary-armhf/libgtk2.0-0.html11:44
Wizzupfreemangordon: -mthumb https://maedevu.maemo.org/pkgweb/chimaera/main/binary-armhf/libgtk2.0-0.html11:44
freemangordonyeah11:44
freemangordonInstalled-Size: 509011:44
Wizzuplooks like 20%11:44
freemangordonvs 402011:44
Wizzupyup11:44
dsc_Wizzup: what do you mean 'we dont signal it'11:44
dsc_gcc signals that its armv711:44
dsc_and some header files act on that11:44
dsc_see also `echo | gcc -dM -E - | grep -i arm`11:45
Wizzupwhat I am saying is that the current debian build system, and ours, do not signal neon support11:45
Wizzupso if somehing is compiled with neon it's because their build system does something special, e.g. compile both neon and non-neon paths and switch at runtime11:45
Wizzupwhich is probably what glibc does11:45
freemangordonwtf? where are gtk neon patches?11:46
Wizzupfreemangordon: that was the next question :D11:46
* freemangordon scratches head11:46
freemangordonon my device only :D11:48
freemangordonas a patch11:48
freemangordonok, will push to master/chimaera11:49
freemangordonthe patch needs   __ARM_ARCH_7A__11:52
Wizzupfreemangordon: heh11:55
Wizzupfreemangordon: we define that currently11:55
freemangordongood11:55
Wizzup$ echo | gcc -dM -E - | grep -i __ARM_ARCH_7A__11:55
Wizzup#define __ARM_ARCH_7A__ 111:55
Wizzupand of course:11:56
Wizzup$ echo | gcc -mfpu=neon -march=armv7-a+neon-fp16 -mtune=cortex-a8 -dM -E - | grep -i __ARM_ARCH_7A__11:56
Wizzup#define __ARM_ARCH_7A__ 111:56
freemangordonhow is neon-fp16 better?11:56
freemangordonwhat is it?11:56
dsc_probably only useful for crypto(graphy) yakshaving11:56
Wizzupgcc manual covers it11:57
freemangordonah, "half-precision floating-point"11:58
freemangordonok11:59
freemangordonmakes sense11:59
freemangordonWizzup: ok, we have a deal12:00
Wizzupok, will set it up in a bit12:00
freemangordonok, please wait until I push gtk optimizations before build12:01
Wizzupdon't worry I'm trying to solve some dumb wordpress error ;)12:02
freemangordon:)12:02
Wizzupfreemangordon: this might help with modest scrolling too12:05
Wizzup(I hope) :P12:05
freemangordonmhm12:05
freemangordonWizzup: how to make a release?12:10
freemangordonjust re-tag and force-push?12:10
freemangordonor?12:10
sicelofreemangordon: I'm still on beowulf12:10
freemangordonsicelo: ok, then install libicd-network-ofono from beowulf-devel12:11
freemangordonoh, I am stupid, it uses debian/patches12:17
sicelowill do. just a bit busy with something for a bit though12:17
freemangordonsure12:17
freemangordonWizzup: please LMK when chimaera build machine is ready12:19
freemangordonso I can rebuild gtk with https://github.com/maemo-leste/gtk/commit/ee6731e3074f408dd09f959af3f91f09a400db9a12:20
Wizzupfreemangordon: experimental first? or just standard?12:36
freemangordonstandard12:40
Wizzupok, that will need a bit more time12:54
Wizzupwill do in 30 mins or so12:54
Wizzupfreemangordon: it's running now, pls if you can monitor it in ~5 mins nad see if it looks ok12:55
Wizzupfreemangordon: I would make a new tag with new patches, but ymmv12:56
Wizzupit's running now anyway12:56
Wizzupso we want to: (1) check for right build flags (2) check if patches are in there12:56
freemangordonwe don;t need new tag as contents of /debian does not depend on it12:56
Wizzupok then12:57
Wizzupbbiab12:57
freemangordonseems like build flags are ok13:03
freemangordondone, lets see :D13:11
freemangordonI wonder how to benchmark that13:14
freemangordonat least device booted after the upgrade13:20
freemangordon*the device13:20
Wizzuphow about: modest d4 scrolls faster or comparable to n900 fremantle modest13:20
Wizzup:D13:20
Wizzupd4 modest for scrolls at like 2fps13:20
freemangordonno13:20
Wizzupfor me*13:20
freemangordonthat's weitd13:20
freemangordon*weird13:20
freemangordonit is way faster here13:20
Wizzupre: bench, there is some gtkbench right13:20
Wizzupgtkperf?13:20
freemangordonyes, but it is highly dependable on gpu rendering13:21
freemangordonbecause of h-d compositong13:21
Wizzupok13:21
freemangordonmaybe without h-d13:21
freemangordonok, lemme stop h-s and run gtkperf13:21
freemangordonplease do the same on your device13:21
freemangordon*before* upgrade13:21
freemangordongtkperf -a13:23
Wizzupkill hildon-home too?13:23
Wizzupor doesn't matter?13:23
freemangordonshould not13:23
freemangordon /usr/sbin/dsmetool -k /usr/bin/hildon-desktop13:24
Wizzupyup did already13:24
Wizzupit's running13:24
freemangordonTotal time: 72.4413:24
Wizzupkeeping screen on btw13:24
Wizzupto make sure mce doesn't tur noff one of the cpus13:24
freemangordonyeah13:24
freemangordonmhm13:24
freemangordonsame here13:24
freemangordonit seems that lines is using most of those 72s13:25
Wizzupwhat about circles13:25
Wizzupare you on new gtk already?13:25
freemangordonyes13:25
Wizzupaha.13:25
freemangordonCircles - time:  3.3913:25
Wizzupmy bench is -way- slower fwiw13:25
Wizzupbut we'll have to see after reboot13:26
freemangordonplease, do not upgrade yet13:26
Wizzupsure thing13:26
Wizzupcircles is over a minute now for sure13:26
Wizzupbut it's xorg that uses most cpu by far13:26
Wizzuphow large was your drawing area?13:27
Wizzupmine fills most of the width in landscape, and only half the height13:27
freemangordonsame here13:27
Wizzupcircles is hitting 4-5 mins now I think13:28
freemangordonplease run 1000 times pixpufs test13:28
freemangordonweird13:28
freemangordonthe above runs 14.45s13:28
freemangordonhere13:28
Wizzupnow it's getting annoying to keep the screen on :D13:29
freemangordonstop that13:29
Wizzuphm?13:29
freemangordonjust run pixpufs test13:29
freemangordon*pixbufs13:29
Wizzupok13:29
freemangordon100 times initially13:29
freemangordonthen 100013:29
Wizzuphow do I run it?13:29
freemangordonif it makes sense13:29
freemangordonfrom the ui13:29
Wizzuphuh?13:29
freemangordonjust start gtkperf and then select pixbufs13:29
Wizzupoh13:29
Wizzupok13:30
WizzupGtkDrawingArea - Pixbufs - time:  1,49 ---13:30
WizzupTotal time:  1,4913:30
Wizzup1000 is13:30
WizzupGtkPerf 0.40 - Starting testing: Sat Jan 21 13:29:45 202313:30
WizzupGtkDrawingArea - Pixbufs - time:  1,53 ---13:30
WizzupTotal time:  1,5313:30
freemangordonno way13:30
freemangordonmake sure it is really 100013:31
freemangordonyou cannot type there13:31
freemangordonyou have to increase with up arrow13:31
WizzupI typed 013:31
Wizzupbut ok13:31
Wizzuplol13:31
Wizzupyeah typing doesn't work13:31
Wizzupthat's dumb13:31
freemangordonhmm, now circles takes ages here13:31
WizzupGtkPerf 0.40 - Starting testing: Sat Jan 21 13:30:46 202313:31
WizzupGtkDrawingArea - Pixbufs - time: 13,51 ---13:31
WizzupTotal time: 13,5113:31
freemangordonweird13:31
Wizzupso I will leave device unupdated, but I have to go out for a bit soon13:32
freemangordonok, so maybe neon is slower :D13:32
freemangordonok13:32
WizzupI could also be the -mtune=13:32
freemangordonwill continue later on, I have other things to do as well13:32
Wizzupprobably not but still ;)13:32
WizzupI am not sure if we should have the mtune13:32
* Wizzup afk13:32
dsc_is the build machine updated with flags related to armv7?13:36
dsc_id like to compile my thingies13:37
freemangordonok, this is crazy, first time circles took less that 4 seconds, now it takes minuts13:37
freemangordonwhatever is slowing it down is in xorg13:45
Wizzupdsc_: yes, now it is, but I should probably hide it behind chimaera only13:58
Wizzupdsc_: that's done now, assuming I didn't make a sh mistake14:00
dsc_Wizzup: alright14:03
dsc_Wizzup: could you fire off some builds?14:11
dsc_ruy, sentencepiece, marian, kotki, maemo-translate14:11
dsc_:P14:11
Wizzupin that order?14:11
Wizzupstarted ruy14:11
dsc_sure14:11
dsc_ty14:11
Wizzupstarted sentencepiece-browsermt14:14
Wizzupdsc_: I think my debian glue change didn't work14:24
WizzupI have to rebuild14:24
norayrfolks why this maemo5 section doesn't get picked up: https://github.com/norayr/quickflickr/blob/427a98808c04aa2ef0d2d30f4cf2529688e30694/src/quickflickr.pri#L1718:52
dsc_forgot how qmake works, sorry ^^18:53
Wizzupnorayr: do you specify -spec maemo ?18:55
norayrwhat is that? how do i specify? where?18:56
norayrwhen?18:56
Wizzupqmake -spec maemo foo.pro18:56
Wizzuphttps://github.com/maemo-leste-extras/dorian/blob/master/debian/rules#L718:56
norayrlet me  see18:57
Wizzupnorayr: also it's 'maemo' not 'maemo5'18:57
Wizzuphttps://github.com/maemo-leste-extras/dorian/blob/master/dorian.pro#L13318:57
Wizzupnope sorry18:57
Wizzupit is maemo518:57
Wizzuphttps://github.com/maemo-leste-extras/dorian/blob/master/dorian.pro#L16218:57
norayrunderstand18:58
norayrqmake should have a maemo spec right?19:05
norayrwhatever dorian.pro has, it is not going to be picked up without debian/rules right?19:06
norayrah no.19:06
norayrthose are different things. rules has maemo qt something, probably, and my problem is how to make those maemo5 sections in .pro or .pri to be picked up.19:07
norayrthey aren't. i have to move let's say 'opengl' to the regular QT += section for it to be picked up.19:07
Wizzupnorayr: hence the -spec maemo19:09
Wizzupthere is the maemo spec, which defines maemo5, and then you can do QT += maemo519:10
Wizzupiirc19:10
norayryeah, i just tried using your rules file, which is for debhelper, i guess, and now i have the errors that maemo orientation functions don't work. this is good probably.19:10
norayrand probably that is why in easylist my replacement functions didn't work.19:10
Wizzupwhich functions?19:11
freemangordonWizzup: no need to pass anything to qmake19:12
freemangordonQT += maemo5 should be enough19:12
freemangordonalong with build-dep19:12
Wizzupfreemangordon: sure but -spec maemo is required to have maemo5 be defined in case you want to make maemo optional19:16
freemangordonwhat means 'optional' in this context?19:18
freemangordonBTW, shall I pick voicecall, in terms we discussed?19:19
freemangordonare you happy with it already?19:19
Wizzupfreemangordon: I'm hoping to finish a proof of concept sphone module tonight, latest tomorrow19:19
Wizzupthen it might make sense to send that in19:19
freemangordonok19:20
Wizzupfor us it won't matter at that point, of coures it's nice if they accept is19:20
norayr/usr/lib/x86_64-linux-gnu/qt5/mkspecs/maemo/qmake.conf contains QMAKE_PLATFORM += maemo519:20
freemangordonBTW, what is the case with video calls?19:20
Wizzupsomething farstream, not sure.19:20
freemangordonlike, do nemo guys already have something?19:20
Wizzupnorayr: exactly, that's why 'maemo5 {}' works19:20
Wizzupwith -spec maemo19:20
norayrbut i guess it works with your rules file, but not with default old debian/rules19:21
norayrand now i changed rules to your file, i get19:22
norayrclass QApplication’ has no member named ‘setGraphicsSystem19:22
norayrbecause there is this line: app.setGraphicsSystem("raster");19:23
norayrplus rotation functions started to not be recognized.19:23
WizzupI have no idea what this does19:23
norayrbut before it was building ok.19:23
norayrqmlloader.cpp:55:22: error: ‘WA_Maemo5PortraitOrientation’ is not a member of ‘Qt’; did you mean ‘InvertedPortraitOrientation’?19:23
norayrerror: ‘setAttribute’ was not declared in this scope19:24
norayri can replace those setAttribute calls with19:24
norayrsetProperty("X-Maemo-Orientation", 0); like lines.19:24
norayrbut not sure, if i need to include something for those to work.19:25
Wizzupno need to include anything19:25
norayrthis is setGraphicSystem: https://doc.qt.io/archives/qt-4.8/qapplication.html#setGraphicsSystem19:28
norayri guess i just can comment this line: https://forum.qt.io/topic/25263/raster-and-qt519:31
Wizzupsounds plausible19:32
norayrit starts but just shows white screen19:42
norayrdo you think i can/should change 'import Qt 4.8' with 'import QtQuick 2.3' in qml files?19:43
Wizzupsorry, I don't know how to fix qml19:47
Wizzupif you can fix it, you will also know how to fix openmediaplayer19:47
norayrgood, before it was saying 'module Qt is not installed'. now it is saying different errors.19:57
norayrqrc:/qml/qflickr/QuickFlickrMain.qml:35:5: Type MainMenu unavailable19:58
norayrit is at runtime.19:58
norayrmaybe i am not even asking, i am recording for public.19:59
Wizzupwhat module did you install to get rid of that error20:00
Wizzupand where did you see the error20:00
Wizzupuvos: I got organicmaps to build on maemo21:16
Wizzupapart from qt style issues, it looks quite nice21:34
WizzupI just downloaded an offline map, 50 MB21:34
Wizzupand it knows all the spots21:34
Wizzupuvos: when does sphone actually detect that call is active?23:33
Wizzupuvos: I deal with the answer trigger the same as ofono, but it doesn't seem to pick it up23:33
Wizzupuvos: does the call->state need to be updated in the same function call?23:33
Wizzupit's nice to be able to use conversations for sms, with telepathy-ring going through sphone23:42
Wizzup:)23:42
Wizzuphopefully tomorrow night I have something stable-ish23:42

Generated by irclog2html.py 2.17.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!