<uvos> while in thumb1 mode it has to
<Wizzup> how is this set?
<uvos> Note that there is no “thumb2” option. If the target processor is new enough, Thumb-2 will be used automatically.
<uvos> hmm
<uvos> so -march
<uvos> something
<uvos> not sure what
<uvos> some thumb1 only proc i gues
<Wizzup> sounds like we probably don't want to do that though
<uvos> yeah
<Wizzup> so one other problem I am trying to tackle is that gcc complains about some builds on the CI only
<Wizzup> because the underlying cpu reports armv8
<Wizzup> even though the instruction set is armv7
<Wizzup> but I can't make it armv7 in qemu without losing KVM
<Wizzup> (repor armv7)
<Wizzup> so passing -march=armv7-a+neon-fp16 (or something) for armhf might solve that
<uvos> why would that make gcc complain?
<Wizzup> neon code
<Wizzup> it detects armv8 cpu and decides that this code won't work there
<Wizzup> even though we want it to build for armv7
<Wizzup> it seems like at least from my search
<uvos> ok
<Wizzup> iirc n900 doesn't have vfpv4
<Wizzup> in any case, we have an easy test bed to toy with this in -experimental for now
<uvos> dosent armv8 have neon?
<Wizzup> sure
<Wizzup> but slightly different I guess
<uvos> not sure why it would complain
<uvos> ok
<uvos> yeah no idea
<Wizzup> ok, so CONFIG += plugin in qmake disables making .la files
<Wizzup> *sigh*
<Wizzup> uvos: is this a problem?
<Wizzup> sphone: contacts-evolution: can currently only fill contacts of ofono calls
<Wizzup> that is followed by:
<Wizzup> sphone: 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 exist
<Wizzup> oh, hum:
<Wizzup> sphone: No backend for gui_dialer_show
<Wizzup> ah:
<Wizzup> sphone: 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; skipping
<Wizzup> ah it doesn't look in the gui/gtk2 path
<Wizzup> well I guess the dialer launched
<Wizzup> but my vm screen is now black
<Wizzup> :D
<Wizzup> (rotation)
pere has quit [Ping timeout: 260 seconds]
<Wizzup> well I can get sphone to show when I call through tp and hang up
<Wizzup> enough for tonight :)
uvos has quit [Ping timeout: 260 seconds]
Daanct12 has joined #maemo-leste
xmn has quit [Ping timeout: 265 seconds]
xmn has joined #maemo-leste
elastic_dog has quit [Ping timeout: 260 seconds]
elastic_dog has joined #maemo-leste
Daanct12 has quit [Remote host closed the connection]
elastic_dog has quit [Ping timeout: 252 seconds]
elastic_dog has joined #maemo-leste
Daanct12 has joined #maemo-leste
Daaanct12 has joined #maemo-leste
Daanct12 has quit [Ping timeout: 272 seconds]
joerg has quit [Ping timeout: 256 seconds]
joerg has joined #maemo-leste
rafael2k has joined #maemo-leste
rafael2k has quit [Read error: Connection reset by peer]
rafael2k has joined #maemo-leste
Daaanct12 has quit [Ping timeout: 260 seconds]
Daanct12 has joined #maemo-leste
Daanct12 has quit [Ping timeout: 260 seconds]
Daanct12 has joined #maemo-leste
Daanct12 has quit [Ping timeout: 260 seconds]
Daanct12 has joined #maemo-leste
pere has joined #maemo-leste
<freemangordon> uvos__: there is absolutely no difference in registry pressure ARM vs thumb2
<freemangordon> the only thing that differs is instructions size (32 ARM vs 16 thumb2 bits) and slightly higher thumb2 decoding time
<freemangordon> which is compensated by better code cache usage
<freemangordon> as with thumb2 you have twice as much instructions per I cache line
<freemangordon> in theory that is ofc :)
<freemangordon> and yes, we want thumb2, not thumb1
<freemangordon> Wizzup: hmm, 3986 vs 4022
<freemangordon> something is wrong here
<freemangordon> we should have ~ 30% down
<freemangordon> and yes, we want -O2, not -Os
Daanct12 has quit [Remote host closed the connection]
<freemangordon> lemme install and compare binary sizes
uvos has joined #maemo-leste
<freemangordon> Wizzup: 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 tests
<freemangordon> It might be even ignoring -mthumb at all and the slight difference in sizes comes from -mfpu=neon
<freemangordon> ok, libglib .so has exactly the same size
<freemangordon> hmm
<freemangordon> this does not make sense to me https://pastebin.com/JtAmSTLs
<freemangordon> is it possible we are already on thumb?
<freemangordon> omg
<freemangordon> seems like yes, we are
<freemangordon> Tag_FP_arch: VFPv3
<freemangordon> Tag_Advanced_SIMD_arch: NEONv1
<freemangordon> Tag_FP_arch: VFPv3-D16
<freemangordon> vs
<freemangordon> this is the only difference between experimental and stable in terms of readelf :(
<freemangordon> Wizzup: sorry for wasting your time, I am really surprised debian is using thumb2 by default
<freemangordon> /lib/arm-linux-gnueabihf/libc.so.6 is even compiled with NEON
<freemangordon> Tag_Advanced_SIMD_arch: NEONv1
<freemangordon> unfortunately those low-hanging fruits were already picked-up :)
<freemangordon> yep, everything is already thumb
<freemangordon> and most of it is Tag_Advanced_SIMD_arch: NEONv1
<freemangordon> sicelo: will it be ok to provide you with icd ofono module with more traces for you to provide new log?
rafael2k has quit [Ping timeout: 265 seconds]
<freemangordon> actually I will do that for -devel anyway
<sicelo> most definitely, yes I can test
<freemangordon> ok, I need maybe 10 minutes to push to devel
<sicelo> nc
Twig has joined #maemo-leste
alex1216 has joined #maemo-leste
xmn has quit [Ping timeout: 256 seconds]
<freemangordon> The following NEW packages will be installed:
<freemangordon> elogind libpam-elogind policykit-1 policykit-1-gnome
<freemangordon> Wizzup: is that ok ^^^?
<freemangordon> sicelo: please install libicd-network-ofono
<freemangordon> oh, wait
<freemangordon> are you one beowylf or chimaera?
<freemangordon> *beowulf
<Wizzup> hi
<freemangordon> Wizzup: is it safe to upgrade chimaera to -devel?
<Wizzup> there is nothing in chimaera-devel so yes
<Wizzup> freemangordon: so we were already on neon?
<freemangordon> there is
<Wizzup> err, I mena thumb
<freemangordon> see ^^^
<freemangordon> yes, so it seems
<Wizzup> freemangordon: you can imo just pus to main chimaera, but fine for chimaera-devel or chimaera-testing
<Wizzup> I just push to chimaera main sine we didn't 'release' it yet
<Wizzup> so there's no expectation of stablity
<freemangordon> where those came from then?
<Wizzup> oh right
<Wizzup> no I did that
<Wizzup> yea don't upgrade to it
<Wizzup> sorry waking up
<freemangordon> :)
<freemangordon> ok
<Wizzup> this is me setting up an env for me and uvos to do the elogind porting
<freemangordon> sicelo: so, are you on chimaera or baowulf?
<freemangordon> Wizzup: I think this is -experimental matter
<freemangordon> but yeah
<freemangordon> ok, will push to chimaera and beowulf-devel then
<Wizzup> freemangordon: so we don't need -fpu=neon either?
<freemangordon> seems we need it
<Wizzup> freemangordon: btw jfyi the build vm "technically" is armv8
<freemangordon> as glib is compiled without it
<Wizzup> which does not support thumb
<Wizzup> so if your theory is that it does runtime detection, then that's wrong
<freemangordon> but, I doubt it makes that much of a difference
<freemangordon> as long as we don;t use tree-vectorize
<Wizzup> right
<freemangordon> which I think is not a good idea to use anyways
<Wizzup> the last gtk build I set -ftree-vectorize
<Wizzup> well how else will it use neon?
<freemangordon> intrinstics
<freemangordon> like, you may have compile-time checks
<Wizzup> freemangordon: do you want me to build gtk in experimental with thumb explicitly disabled?
<Wizzup> just to make sure your theory is correct?
<freemangordon> yes, please do
<Wizzup> what flag is that
<freemangordon> umm...
* freemangordon checks
<Wizzup> atm I have:
<Wizzup> DEB_CFLAGS_APPEND="-mfpu=neon -mthumb -Os -ftree-vectorize"
<Wizzup> DEB_CXXFLAGS_APPEND="-mfpu=neon -mthumb -Os -ftree-vectorize"
<Wizzup> export DEB_CFLAGS_APPEND
<Wizzup> export DEB_CXXFLAGS_APPEND
<Wizzup> we can set that to whatever we want
<Wizzup> as in, we can add -march= too
<freemangordon> "-marm"
<Wizzup> what does this do?
<Wizzup> ah
<freemangordon> disables thumb
<Wizzup> no thumb
<Wizzup> freemangordon: so thi?
<Wizzup> DEB_CFLAGS_APPEND="-mfpu=neon -marm -O2"
<Wizzup> DEB_CXXFLAGS_APPEND="-mfpu=neon -marm -O2"
<freemangordon> yes
<Wizzup> ok
<freemangordon> Wizzup: BTW I loaded mesa big driver in IDA
<freemangordon> and indeed ISA is thumb2
<Wizzup> ok
<Wizzup> well, building now
<Wizzup> I do want to test if we should set -march=armv7-a
<freemangordon> but yeah, it costs nothing to do one more build
<Wizzup> freemangordon: just some power at my home ;p
<uvos> suposedly thumb can be up to 30% smaller at 5-30% perf cost
<uvos> and gcc emmits almost no thumb instructions anyways
<freemangordon> not really
<uvos> document is fairly old i admit, but modern arm has no thumb anyhow
<uvos> (ecept in 32bit mode)
<freemangordon> lemme show you some instructions from mesa big driver .so
<uvos> i am sure you will find some
<uvos> thats not the point
<uvos> the point is it dosent use it for hot paths
<Wizzup> what do you base this on, just wondering
<freemangordon> it does
<uvos> suposedly anyhow, havent done tests myself
<freemangordon> a random function https://pastebin.com/3UmefPLM
<uvos> sure i see
<freemangordon> most of the instructions are thumb
<freemangordon> the only ARM one I see is VPUSH
<Wizzup> is this pvr or our mesa
<freemangordon> pvr_dri.so
<freemangordon> so our mesa
<freemangordon> didn't check blobs, but it does not matter
<Wizzup> sure
<Wizzup> ok, sounds like we do thumb for sure then
<freemangordon> mhm
<freemangordon> which is actually bad news :)
<Wizzup> btw, how did you confirm that debian also does thumb
<freemangordon> libc.6 ;)
<Wizzup> that might be a special case, but probably
<freemangordon> well, just do readelf -a on a random vanilla binary
<freemangordon> s/binary/lib
<Wizzup> ok
<Wizzup> so what about -march=marmv7-a ?
<freemangordon> how would that help?
<Wizzup> so the cpu part of /proc/cpuinfo gives away that our build vm is armv8
<Wizzup> even though the 'model name' say it's v7
<freemangordon> if we want to help n900, then we better use cortex-a8
<Wizzup> this is about build systems thinking we have a v8 cpu
<Wizzup> when we really don't
<Wizzup> model name: ARMv7 Processor rev 3 (v7l)
<Wizzup> CPU part: 0xd08
<Wizzup> but
<Wizzup> 0xd08 = cortex-a72 = armv8-a+crc
<Wizzup> and I think this might also be why gcc gives some weird errors in some cases
<freemangordon> ok
akossh has joined #maemo-leste
<Wizzup> /usr/lib/gcc/arm-linux-gnueabihf/10/include/arm_neon.h: In function 'int32x4_t vcvtnq_s32_f32(float32x4_t)':
<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);
<Wizzup> that in particular
<Wizzup> anyway, that was just a guess
<Wizzup> I will need to try it to be sure
<freemangordon> and maybe add -mtune=cortex-a8
<Wizzup> but basically marian-lite builds fine on d4
<Wizzup> but not on ci
<freemangordon> I see
<freemangordon> yeah, test it
<dsc_> < Wizzup> this is about build systems thinking we have a v8 cpu <== build systems think this because of gcc's compiler definitions
<Wizzup> but those come from -march= no?
<dsc_> unsure
<freemangordon> you have built-in defaults
<freemangordon> afaik
<dsc_> yep
rafael2k has joined #maemo-leste
<freemangordon> so maybe we want -march=marmv7-a -mtune=cortex-a8
<freemangordon> -march=marmv7-a -mtune=cortex-a8 -mfpu=neon
<freemangordon> that should help n900 a bit
<freemangordon> for the other I doubt it matters that much for daily usage
<freemangordon> if you dig crypto currencies maybe yes :)
<Wizzup> I 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 :p
<Wizzup> btw looks like the gtk is done
<Wizzup> still hardly a size difference.
<freemangordon> seems -marm is ignored then
<dsc_> Wizzup: `echo | gcc -dM -E - | grep -i arm`
<freemangordon> umm...
<dsc_> on armhf VM build machine that should yield `#define __ARM_ARCH 7` somewhere
<dsc_> but I'm guessing it will say `#define __ARM_ARCH 8`
<freemangordon> Wizzup: I see no -marm passed to gcc
<Wizzup> freemangordon: oh!
<Wizzup> freemangordon: waking up part #2
<Wizzup> I forgot to scp the debian_glue fil
<Wizzup> e
<freemangordon> :)
<Wizzup> dsc_: on build vm : http://dpaste.com/CSVE3SQWF
<Wizzup> looks like it's the same on the d4
<Wizzup> like, identical
<Wizzup> a bit surprised perhaps that ARMEL is defined
<Wizzup> and indeed with -mfpu=neon we get neon enabled
<Wizzup> freemangordon: btw this gcc statement also helps check that indeed thumb is probably already on
<freemangordon> mhm
<Wizzup> or not :)
<Wizzup> yes it does:
<freemangordon> it is, otherwise we wouldn;t have thumb2-compiled pvr_dri.so
<Wizzup> echo | gcc -mfpu=neon -mthumb -dM -E - | grep -i thumb
<Wizzup> vs
<Wizzup> echo | gcc -mfpu=neon -marm -dM -E - | grep -i thumb
<Wizzup> sure
<freemangordon> but at least now we will know what -mthumb saves for us :)
uvos has quit [Read error: Connection reset by peer]
<Wizzup> freemangordon: does n900 have vfp3 ?
<freemangordon> cortex-a8
<freemangordon> I think yes
<Wizzup> but iirc not vfpv4
<freemangordon> right
<Wizzup> maybe -march=armv7-a+neon-fp16 is slightly better then
<freemangordon> "The VFP coprocessor is a nonpipelined floating-point execution engine that can execute any VFPv3 data-processing instruction"
<freemangordon> Wizzup: maybe, I lack the details here
<freemangordon> sicelo: so, please, install libicd-network-ofono from either chimaera or beowulf-devel (depending on what your device is on), gather new traces and provide that
<freemangordon> please, also, capture dbus-monitor (if possible bothe session and system bus) logs as well that match those icd2 logs
<freemangordon> SuperMarioSF: you may do as well ^^^
<dsc_> for reference :p
<dsc_> note that list is half-arsed and does not claim to be complete :P
<Wizzup> right, but just for everyone wondering, we don't use this anymore
<Wizzup> no runtime detection
<Wizzup> at least afaik
<dsc_> yes, for Maemo Translate (and its dependencies) we just set `-mfpu=neon`
<dsc_> but, only on arm 32bit (armv7)
<dsc_> because AARCH64 implies NEON
<Wizzup> right
<freemangordon> so, to conclude and move on: do we agree on "-march=marmv7-a -mtune=cortex-a8 -mfpu=neon"?
<dsc_> for the build machine?
<freemangordon> yes
<freemangordon> for 32bits arm
<dsc_> looks good
<freemangordon> that way we'll squeeze as much as possible from N900
<freemangordon> with close to optimal for other devices
<freemangordon> Wizzup: if you are fine with ^^^, please set-up that on chimaera (not experimental) and maybe rebuild a couple of packages
<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 whatever
<freemangordon> we didn't check how it is on beowulf
<freemangordon> but I would bet it is the same
<Wizzup> freemangordon: ok, I'm waiting for the gtk test with -marm to finish
<Wizzup> just for completion
<freemangordon> ok
<Wizzup> dsc_: for sure it wasn't using neon before, yes
alex1216 has quit [Ping timeout: 265 seconds]
<Wizzup> this is probably also true for all debian pkgs
<freemangordon> but only 'our' builds
<dsc_> right, the ones from devuan were built with god knows what
<freemangordon> no, I would guess vanilla deian packages are compiled with neon
<freemangordon> *debian
<Wizzup> freemangordon: then it won't work on some other devices
<Wizzup> Programs 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.
<Wizzup> so no, probably not ;)
<freemangordon> on chimaera it is requirement
<freemangordon> I see why would beowul be different
<freemangordon> despite the docs aboe
<Wizzup> freemangordon: what makes you think that
<Wizzup> it's not enabled by default
<Wizzup> and dpkg-buildflags doesn't show it
<Wizzup> so I am not sure why you'd think neon is used by defaul
<freemangordon> readelf -A /lib/arm-linux-gnueabihf/libc.so.6
<freemangordon> on chimaera this shows Tag_Advanced_SIMD_arch: NEONv1
<freemangordon> please someone on beowulf, execute ^^^
<freemangordon> and report if there is Tag_Advanced_SIMD_arch:
<Wizzup> it's the same
<freemangordon> ok, so it uses NEON
<Wizzup> I don't know what these attributes really mean though
<Wizzup> I'm not convinced yet
<dsc_> < Wizzup> and dpkg-buildflags doesn't show it <== buildflags of what? individual packages?
<Wizzup> /bin/ls is not NEON for example
<freemangordon> or at least is compiled with -fpu=neon
<Wizzup> dsc_: dpkg-buildflags is a debian tool to show the default system wide build flags
<Wizzup> freemangordon: sure maybe glibc has some special paths when it detects neon at runtime
<Wizzup> which is why I think glibc is not a good candidate
<freemangordon> this does not show the defaults of gcc being used
<Wizzup> Tag_THUMB_ISA_use: Thumb-2
<Wizzup> Tag_FP_arch: VFPv3-D16
<dsc_> whether something gets compiled with NEON or not is (often) via #ifdef's with defs provided by gcc
<Wizzup> is /bin/bash
<Wizzup> no mention of neon at all
<freemangordon> ok
<dsc_> you wont see them in dpkg stuff
<Wizzup> same on beowulf
<Wizzup> dsc_: yes, I know, but since it's not the default, that matters
<Wizzup> dsc_: what I was saying is that -mfpu=neon is not in dpkg-buildflags so it's unlikely that $random pkg uses neon
<freemangordon> maybe all libs has detection logic
<Wizzup> glibc being an exception
<Wizzup> since they have fast paths for all kinds of simd
<freemangordon> *have
<dsc_> thats what I'm saying, some libs just automatically start using NEON when GCC signals that it has that ability
<freemangordon> I know for sure pixman and gtk have
<Wizzup> dsc_: but we don't signal it(!)
<Wizzup> currently
<Wizzup> and neither does debian
<Wizzup> per dpkg-buildflags
<freemangordon> Wizzup: and this is an issue for gkt
<freemangordon> *gtk
<freemangordon> yeah
<freemangordon> Installed-Size: 5090
<Wizzup> looks like 20%
<freemangordon> vs 4020
<Wizzup> yup
<dsc_> Wizzup: what do you mean 'we dont signal it'
<dsc_> gcc signals that its armv7
<dsc_> and some header files act on that
<dsc_> see also `echo | gcc -dM -E - | grep -i arm`
<Wizzup> what I am saying is that the current debian build system, and ours, do not signal neon support
<Wizzup> so 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 runtime
<Wizzup> which is probably what glibc does
<freemangordon> wtf? where are gtk neon patches?
<Wizzup> freemangordon: that was the next question :D
* freemangordon scratches head
<freemangordon> on my device only :D
<freemangordon> as a patch
<freemangordon> ok, will push to master/chimaera
<freemangordon> the patch needs __ARM_ARCH_7A__
<Wizzup> freemangordon: heh
<Wizzup> freemangordon: we define that currently
<freemangordon> good
<Wizzup> $ echo | gcc -dM -E - | grep -i __ARM_ARCH_7A__
<Wizzup> #define __ARM_ARCH_7A__ 1
<Wizzup> and of course:
<Wizzup> $ echo | gcc -mfpu=neon -march=armv7-a+neon-fp16 -mtune=cortex-a8 -dM -E - | grep -i __ARM_ARCH_7A__
<Wizzup> #define __ARM_ARCH_7A__ 1
<freemangordon> how is neon-fp16 better?
<freemangordon> what is it?
<dsc_> probably only useful for crypto(graphy) yakshaving
<Wizzup> gcc manual covers it
<freemangordon> ah, "half-precision floating-point"
<freemangordon> ok
<freemangordon> makes sense
<freemangordon> Wizzup: ok, we have a deal
<Wizzup> ok, will set it up in a bit
rafael2k has quit [Ping timeout: 252 seconds]
<freemangordon> ok, please wait until I push gtk optimizations before build
<Wizzup> don't worry I'm trying to solve some dumb wordpress error ;)
<freemangordon> :)
<Wizzup> freemangordon: this might help with modest scrolling too
<Wizzup> (I hope) :P
<freemangordon> mhm
<freemangordon> Wizzup: how to make a release?
<freemangordon> just re-tag and force-push?
<freemangordon> or?
<sicelo> freemangordon: I'm still on beowulf
<freemangordon> sicelo: ok, then install libicd-network-ofono from beowulf-devel
<freemangordon> oh, I am stupid, it uses debian/patches
<sicelo> will do. just a bit busy with something for a bit though
<freemangordon> sure
alex1216 has joined #maemo-leste
<freemangordon> Wizzup: please LMK when chimaera build machine is ready
<Wizzup> freemangordon: experimental first? or just standard?
<freemangordon> standard
<Wizzup> ok, that will need a bit more time
<Wizzup> will do in 30 mins or so
<Wizzup> freemangordon: it's running now, pls if you can monitor it in ~5 mins nad see if it looks ok
<Wizzup> freemangordon: I would make a new tag with new patches, but ymmv
<Wizzup> it's running now anyway
<Wizzup> so we want to: (1) check for right build flags (2) check if patches are in there
<freemangordon> we don;t need new tag as contents of /debian does not depend on it
<Wizzup> ok then
<Wizzup> bbiab
<freemangordon> seems like build flags are ok
<freemangordon> done, lets see :D
<freemangordon> I wonder how to benchmark that
<freemangordon> at least device booted after the upgrade
<freemangordon> *the device
<Wizzup> how about: modest d4 scrolls faster or comparable to n900 fremantle modest
<Wizzup> :D
<Wizzup> d4 modest for scrolls at like 2fps
<freemangordon> no
<Wizzup> for me*
<freemangordon> that's weitd
<freemangordon> *weird
<freemangordon> it is way faster here
<Wizzup> re: bench, there is some gtkbench right
<Wizzup> gtkperf?
<freemangordon> yes, but it is highly dependable on gpu rendering
<freemangordon> because of h-d compositong
<Wizzup> ok
<freemangordon> maybe without h-d
<freemangordon> ok, lemme stop h-s and run gtkperf
<freemangordon> please do the same on your device
<freemangordon> *before* upgrade
<freemangordon> gtkperf -a
<Wizzup> kill hildon-home too?
<Wizzup> or doesn't matter?
<freemangordon> should not
<freemangordon> /usr/sbin/dsmetool -k /usr/bin/hildon-desktop
<Wizzup> yup did already
<Wizzup> it's running
<freemangordon> Total time: 72.44
<Wizzup> keeping screen on btw
<Wizzup> to make sure mce doesn't tur noff one of the cpus
<freemangordon> yeah
<freemangordon> mhm
<freemangordon> same here
<freemangordon> it seems that lines is using most of those 72s
<Wizzup> what about circles
<Wizzup> are you on new gtk already?
<freemangordon> yes
<Wizzup> aha.
<freemangordon> Circles - time: 3.39
<Wizzup> my bench is -way- slower fwiw
<Wizzup> but we'll have to see after reboot
<freemangordon> please, do not upgrade yet
<Wizzup> sure thing
<Wizzup> circles is over a minute now for sure
<Wizzup> but it's xorg that uses most cpu by far
<Wizzup> how large was your drawing area?
<Wizzup> mine fills most of the width in landscape, and only half the height
<freemangordon> same here
<Wizzup> circles is hitting 4-5 mins now I think
<freemangordon> please run 1000 times pixpufs test
<freemangordon> weird
<freemangordon> the above runs 14.45s
<freemangordon> here
<Wizzup> now it's getting annoying to keep the screen on :D
<freemangordon> stop that
<Wizzup> hm?
<freemangordon> just run pixpufs test
<freemangordon> *pixbufs
<Wizzup> ok
<freemangordon> 100 times initially
<freemangordon> then 1000
<Wizzup> how do I run it?
<freemangordon> if it makes sense
<freemangordon> from the ui
<Wizzup> huh?
<freemangordon> just start gtkperf and then select pixbufs
<Wizzup> oh
<Wizzup> ok
<Wizzup> GtkDrawingArea - Pixbufs - time: 1,49 ---
<Wizzup> Total time: 1,49
<Wizzup> 1000 is
<Wizzup> GtkPerf 0.40 - Starting testing: Sat Jan 21 13:29:45 2023
<Wizzup> GtkDrawingArea - Pixbufs - time: 1,53 ---
<Wizzup> Total time: 1,53
<freemangordon> no way
<freemangordon> make sure it is really 1000
<freemangordon> you cannot type there
<freemangordon> you have to increase with up arrow
<Wizzup> I typed 0
<Wizzup> but ok
<Wizzup> lol
<Wizzup> yeah typing doesn't work
<Wizzup> that's dumb
<freemangordon> hmm, now circles takes ages here
<Wizzup> GtkPerf 0.40 - Starting testing: Sat Jan 21 13:30:46 2023
<Wizzup> GtkDrawingArea - Pixbufs - time: 13,51 ---
<Wizzup> Total time: 13,51
<freemangordon> weird
<Wizzup> so I will leave device unupdated, but I have to go out for a bit soon
<freemangordon> ok, so maybe neon is slower :D
<freemangordon> ok
<Wizzup> I could also be the -mtune=
<freemangordon> will continue later on, I have other things to do as well
<Wizzup> probably not but still ;)
<Wizzup> I am not sure if we should have the mtune
* Wizzup afk
<dsc_> is the build machine updated with flags related to armv7?
<dsc_> id like to compile my thingies
<freemangordon> ok, this is crazy, first time circles took less that 4 seconds, now it takes minuts
<freemangordon> whatever is slowing it down is in xorg
k1r1t0 has quit [Remote host closed the connection]
k1r1t0_N900 has joined #maemo-leste
<Wizzup> dsc_: yes, now it is, but I should probably hide it behind chimaera only
<Wizzup> dsc_: that's done now, assuming I didn't make a sh mistake
<dsc_> Wizzup: alright
<dsc_> Wizzup: could you fire off some builds?
<dsc_> ruy, sentencepiece, marian, kotki, maemo-translate
<dsc_> :P
<Wizzup> in that order?
<Wizzup> started ruy
<dsc_> sure
<dsc_> ty
<Wizzup> started sentencepiece-browsermt
<Wizzup> dsc_: I think my debian glue change didn't work
<Wizzup> I have to rebuild
rafael2k has joined #maemo-leste
Twig has quit [Remote host closed the connection]
uvos__ has quit [Ping timeout: 252 seconds]
alex1216 has quit [Ping timeout: 256 seconds]
Twig has joined #maemo-leste
alex1216 has joined #maemo-leste
uvos has joined #maemo-leste
uvos has quit [Read error: Connection reset by peer]
<dsc_> forgot how qmake works, sorry ^^
<Wizzup> norayr: do you specify -spec maemo ?
<norayr> what is that? how do i specify? where?
<norayr> when?
<Wizzup> qmake -spec maemo foo.pro
<norayr> let me see
<Wizzup> norayr: also it's 'maemo' not 'maemo5'
<Wizzup> nope sorry
<Wizzup> it is maemo5
<norayr> understand
<norayr> qmake should have a maemo spec right?
<norayr> whatever dorian.pro has, it is not going to be picked up without debian/rules right?
<norayr> ah no.
<norayr> those 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.
<norayr> they aren't. i have to move let's say 'opengl' to the regular QT += section for it to be picked up.
<Wizzup> norayr: hence the -spec maemo
<Wizzup> there is the maemo spec, which defines maemo5, and then you can do QT += maemo5
<Wizzup> iirc
<norayr> yeah, 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.
<norayr> and probably that is why in easylist my replacement functions didn't work.
<Wizzup> which functions?
<freemangordon> Wizzup: no need to pass anything to qmake
<freemangordon> QT += maemo5 should be enough
<freemangordon> along with build-dep
Twiggy has joined #maemo-leste
Twig has quit [Ping timeout: 265 seconds]
<Wizzup> freemangordon: sure but -spec maemo is required to have maemo5 be defined in case you want to make maemo optional
Twiggy has quit [Ping timeout: 256 seconds]
<freemangordon> what means 'optional' in this context?
<freemangordon> BTW, shall I pick voicecall, in terms we discussed?
<freemangordon> are you happy with it already?
<Wizzup> freemangordon: I'm hoping to finish a proof of concept sphone module tonight, latest tomorrow
<Wizzup> then it might make sense to send that in
<freemangordon> ok
<Wizzup> for us it won't matter at that point, of coures it's nice if they accept is
<norayr> /usr/lib/x86_64-linux-gnu/qt5/mkspecs/maemo/qmake.conf contains QMAKE_PLATFORM += maemo5
<freemangordon> BTW, what is the case with video calls?
<Wizzup> something farstream, not sure.
<freemangordon> like, do nemo guys already have something?
<Wizzup> norayr: exactly, that's why 'maemo5 {}' works
<Wizzup> with -spec maemo
<norayr> but i guess it works with your rules file, but not with default old debian/rules
<norayr> and now i changed rules to your file, i get
k1r1t0_N900 has left #maemo-leste [#maemo-leste]
<norayr> class QApplication’ has no member named ‘setGraphicsSystem
k1r1t0_N900 has joined #maemo-leste
<norayr> because there is this line: app.setGraphicsSystem("raster");
<norayr> plus rotation functions started to not be recognized.
<Wizzup> I have no idea what this does
<norayr> but before it was building ok.
<norayr> qmlloader.cpp:55:22: error: ‘WA_Maemo5PortraitOrientation’ is not a member of ‘Qt’; did you mean ‘InvertedPortraitOrientation’?
<norayr> error: ‘setAttribute’ was not declared in this scope
<norayr> i can replace those setAttribute calls with
<norayr> setProperty("X-Maemo-Orientation", 0); like lines.
<norayr> but not sure, if i need to include something for those to work.
<Wizzup> no need to include anything
xmn has joined #maemo-leste
dsc_ is now known as dsc
dsc is now known as dsc_
lel has quit [Remote host closed the connection]
lel has joined #maemo-leste
<norayr> i guess i just can comment this line: https://forum.qt.io/topic/25263/raster-and-qt5
Twiggy has joined #maemo-leste
<Wizzup> sounds plausible
<norayr> it starts but just shows white screen
<norayr> do you think i can/should change 'import Qt 4.8' with 'import QtQuick 2.3' in qml files?
<Wizzup> sorry, I don't know how to fix qml
<Wizzup> if you can fix it, you will also know how to fix openmediaplayer
<norayr> good, before it was saying 'module Qt is not installed'. now it is saying different errors.
<norayr> qrc:/qml/qflickr/QuickFlickrMain.qml:35:5: Type MainMenu unavailable
<norayr> it is at runtime.
<norayr> maybe i am not even asking, i am recording for public.
<Wizzup> what module did you install to get rid of that error
<Wizzup> and where did you see the error
arno11 has joined #maemo-leste
<Wizzup> uvos: I got organicmaps to build on maemo
arno11 has left #maemo-leste [#maemo-leste]
<Wizzup> apart from qt style issues, it looks quite nice
<Wizzup> I just downloaded an offline map, 50 MB
<Wizzup> and it knows all the spots
mp107 has joined #maemo-leste
Twiggy has quit [Ping timeout: 265 seconds]
Twiggy has joined #maemo-leste
rafael2k_ has joined #maemo-leste
rafael2k has quit [Ping timeout: 252 seconds]
hexagonwin has quit [Remote host closed the connection]
rafael2k_ has quit [Ping timeout: 260 seconds]
<Wizzup> uvos: when does sphone actually detect that call is active?
<Wizzup> uvos: I deal with the answer trigger the same as ofono, but it doesn't seem to pick it up
<Wizzup> uvos: does the call->state need to be updated in the same function call?
<Wizzup> it's nice to be able to use conversations for sms, with telepathy-ring going through sphone
<Wizzup> :)
<Wizzup> hopefully tomorrow night I have something stable-ish
alex1216 has quit [Ping timeout: 246 seconds]
akossh has quit [Quit: Leaving.]
rafael2k_ has joined #maemo-leste
Twiggy has quit [Remote host closed the connection]
uvos has joined #maemo-leste
<uvos> as the bachend you own the call object
<uvos> after adding the call via the call new pipe, if the call object cahnges in any way you must inform the rest of sphone via the state changed pipe
<uvos> your also not supposed to just uncoditionally act on every call that comes down some pipe
<uvos> only the ones targeted at a backend id you hold
<uvos> the call test module is a easyer place to look at
<uvos> since its mutch simpler
<uvos> also remeber that any nummber of calls can be active at a time in sphone, and that they can be from different backends too
<uvos> and dont use qDebug or any function other than the sphone_module_log macro
<uvos> oh and you own the data
<uvos> execute_datapipe never ever transfers owership
<uvos> data is allways owend by the caller
<uvos> and you should not need extern "C" around sphone headers anymore
<uvos> all headers should have this anyhow
rafael2k_ has quit [Ping timeout: 256 seconds]