libera/#maemo-leste/ Tuesday, 2023-01-10

Wizzuprafael2k: looking sweet!00:09
rafael2kI just copied the binaries from Mobian... eheheeheh00:14
rafael2kit worked fine indeed00:14
Wizzup:p00:20
siceloWizzup: for N900 UDC, the missing patch is https://gitlab.com/postmarketOS/pmaports/-/blob/324fb39afab5328b796f2f9dfb23925ee7573cd2/device/community/linux-nokia-n900/0007-ARM-dts-Update-omap3-musb-to-probe-with-ti-sysc.patch09:06
siceloif you prefer to pull it from linux-omap tree, it's https://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap.git/commit/?h=musb-for-v6.2&id=02871d2d4e092b03bce04e460bc1a63d663dd77c09:07
dsc_Wizzup: on what hardware do you build maemo leste deb packages?09:48
dsc_which cpu09:56
uvos__dsc_: since he isent here: ci runs on a https://www.solid-run.com/arm-servers-networking-platforms/honeycomb-servers-workstation/#overview in think locally we all build on d4 if it is to be for arm10:30
uvos__the amd64 packages are bult on some regular ibm pc comaptable machine10:32
uvos__and an rpi4 and some Opteron A (amd arm chip) was used in the past10:34
Wizzupdsc_: honeycomb lx1 I believe10:37
Wizzupsicelo: thanks for finding that10:37
Wizzupuvos__: armhf builds are not done on a d4, they're done on the honeycomb as well10:37
uvos__Wizzup: read again "locally"10:37
uvos__:)10:38
siceloyou can ping me when it's built. i may have time to test10:38
Wizzupuvos__: right10:40
Wizzupsicelo: building atm10:41
sicelook. let me boot device then10:42
Wizzupsicelo: it will take 40 mins probably or so10:44
dsc_uvos__ & wizzup: thanks11:17
dsc_so, my software at the build stage decides what compiler flags to use based on the CPU11:18
dsc_SIMD related GCC flags for ARM are kinda important11:19
dsc_so if it is build using machine A, and deployed on machine B it may result in degraded performance :D11:19
dsc_or not run at all11:20
uvos__not great11:20
Wizzupyou could maybe assume neon for now11:20
Wizzupbut usually this uses some detection at runtime11:20
uvos__the last relevant arm cpu without neon was tegra 211:20
uvos__same generation as omap4 same specs11:21
dsc_yeah I suppose assuming neon is not so bad11:21
Wizzupright, but n900 has neon11:21
uvos__(relevant in the mobile phone space)11:21
uvos__Wizzup: i know im just saying11:21
Wizzup:)11:21
uvos__the tega 2 was used by the other motorola phones that where areound when the d4 was11:21
uvos__ie atrix 1 and xoom 111:21
Wizzupuvos__: any idea if it would be hard or crazy to make a c++/qt based module for sphone, for the tp part?11:22
uvos__no not at all11:22
uvos__sphone works with qt just fine11:22
uvos__there is even a qt module that pops up error dialogs11:22
dsc_for example: n900 is cortex a8 (-fmpu=neon), d4 is cortex a9 (-fmpu=neon-fp16)11:22
Wizzupdoes that work with gtk modules active at the same time?11:22
uvos__Wizzup: yes11:22
uvos__and sphone core bridges everything11:22
dsc_for both you could just specificy `-fmpu=neon` but it would perhaps result in degraded performance11:22
Wizzupdsc_: I would target the lowest common denominator, and perhaps later add the various paths and do runtime detection11:22
dsc_alright11:23
Wizzupuvos__: but it's all in the same process right?11:23
uvos__Wizzup: it is int eh same process11:23
uvos__it dosent interfer at all11:23
uvos__qt uses the gtk event loop11:23
Wizzupuvos__: ok, I might try to write a c++ tp module instead of a glib one, since I now already have experience with the C++ way11:23
uvos__Wizzup: you do have to recompile sphone with qt support however11:23
uvos__its disabled on ci11:23
uvos__Wizzup: thats fine11:24
uvos__i plan to replace the gtk2 modules with qt at some point anyhow11:24
uvos__(which is why sphone works the way it dose)11:24
uvos__if you want to use .ui files11:25
uvos__btww you will have to invoke the generator by hand in cmakelists11:25
WizzupI think we use cmake also for conversations11:25
Wizzupso I'll probably figure it out :)11:26
Wizzupso is qtloop a sample app?11:26
uvos__no11:27
uvos__qtloop is needed if there is any qt module you want to load11:27
Wizzupok11:27
freemangordonuvos__: actually qt uses glib loop ;)11:27
freemangordonnot gtk11:27
uvos__freemangordon: right glib11:27
uvos__on linux11:27
uvos__qtloop checks for this11:27
freemangordonRe NEON - do we want to support anything non-NEON?11:28
uvos__https://github.com/maemo-leste/sphone/blob/sphone-qt/src/modules/test.cpp11:28
freemangordonI vote 'no'11:28
uvos__Wizzup: ^^11:28
uvos__freemangordon: unless we want to support motorola tegra 2 devices, no11:28
freemangordonalso, do we want to support anything non-thumb2?11:29
uvos__freemangordon: yes11:29
freemangordonwhat?11:29
Wizzupuvos__: ty11:29
freemangordonallwinner?11:29
uvos__wasent thumb dropped in recent 32bit arm cpus?11:29
freemangordonno11:29
Wizzuppretty sure a10 can do thumb11:29
freemangordonwhy is that?11:29
uvos__it was dropped for recent arm64 ones for sure11:30
freemangordonwell, I mean arm32 anyways11:30
Wizzupit might be worth checking what the default debian arm targtes are, we might get some more neon optimisations11:33
* Wizzup bbl11:33
freemangordonWizzup: if we agree on, (and I see no reason to not), please add,somehow, -mthumb -mfpu=neon to CFLAGS/CXXFLAGS11:33
freemangordonto CI that is11:33
freemangordonIIRC, debian disabled NEON in qt for some reason11:35
freemangordonif we re-enable(for example) that would give a big performance boost in some qt applications11:35
freemangordonI am not going to explain why we would want thumb :p https://talk.maemo.org/showthread.php?t=8482911:37
uvos__sure neon i would enable11:37
uvos__thumb2 might be more neabulous in terms of beneift11:37
freemangordonread the link ^^^11:37
freemangordonuvos__: you may trust me on thumb, I spent years on it :)11:38
freemangordonand given that we anyway should clear BTB etc because of spectre/meltdown and friends...11:39
buZzfreemangordon: also GLES is disabled in debian qt , afaik11:44
Wizzuppretty sure gles works now in chimaera with maemo qpa11:45
dsc_+1 assume NEON11:45
buZzWizzup: ah, might have been debian 10 then11:45
dsc_only the super cheap CPUs dont have NEON11:45
dsc_most have it11:45
Wizzupfreemangordon: I am fine with both those options, I'll check in a bit what the default flags rae11:46
Wizzupfreemangordon: doesn't look like it includes either mthumb or mneon11:47
Wizzup( dpkg-buildflags )11:47
Wizzupwe can change /etc/dpkg/11:52
Wizzupbuildflags.conf11:52
Wizzup/etc/dpkg/buildflags.conf *11:52
Wizzupon the armhf builder11:52
Wizzupfreemangordon: let me know what you'd like to see rebuilt if/when we have these flags12:06
siceloWizzup: yes, UDC fixed. now usbnet is working12:13
sicelofor my wireless, i guess it's not working because it's (mysteriously?) named wlan1, while libicd-network-wpasupplicant appears to expect wlan0 (according to `strings`)12:34
siceloyes, fixed now, by modifying /etc/udev/rules.d/70-persistent-net.rules12:46
siceloi'm back at wlan012:47
freemangordonWizzup: qt (including webengine) for sure13:03
freemangordonmaybe gtk as well13:03
freemangordonah, yes, glib/gtk, they will benefit memory-wise because of thumb213:04
freemangordonmesa?13:04
freemangordonbut, before that, just lemme check my allwinner13:05
freemangordonI don;t want to break allwinner 32bit SoCs13:05
freemangordonseems ok, /proc/cpuinfo seems to hint thumb and neon13:07
Wizzupsicelo: right yes @ iface names13:46
Wizzupfreemangordon: ok13:46
siceloi want to troubleshoot my SIM provisioning13:47
sicelowhat starts icd2? it respawns when i kill it. dsmetool is unable to kill it, and rc-service says it's already stopped13:48
siceloor i confused the device. let me reboot. i can see it should be started and managed by dsme13:52
sicelofreemangordon: i think i need help. how to stop icd2 properly? and to start it correctly?14:04
rafael2kmy 2nd pinephone keyboard is already in the country... lets see if I'm lucky this time14:09
buZzsicelo: what worked for me to force gprs provisioning ; was deleting -all- gprs connections from gconf14:18
buZzsicelo: and then rebooting14:18
buZzsomehow something seems to prevent provisioning from happening when 'something' is already there14:18
sicelook. anyway looks like i have run out of spare time for now ... i'd like to troubleshoot this properly. i guess in the meantime i'll do as you suggest, which sucks14:19
buZzprovisioning was very difficult for me, as my provider seems to want -no- APN configured (and just willy nilly picks one on connecting)14:21
buZzon my bill specification i can see which APN it used, and there's about 3 different ones it picks :D14:21
buZzvery bizar14:21
Wizzuprafael2k: with keyboard?14:26
Wizzupfreemangordon: if you need me to test some charger patches, let me know ;)14:28
Wizzupmy car always leaves my d4 thinking that it is still charging14:28
rafael2kWizzup: the PinePhone keyboard14:29
rafael2kWizzup: just the keyboard14:30
uvos__sicelo: that can happen if your wifi interface changes mac for any reason14:51
uvos__sicelo: udev (not unreasonably) then thinks its a new adapter14:51
uvos__really icd should just not hardcode wlan0 use the "first" wifi adapter then we could ditch this saveing mac addresses for persitant names mess and use the modern persistant names based on bus location14:53
Wizzupuvos__: yes we eventually have to fix that14:53
Wizzupsicelo: so should we revert the rndis stuff soon?14:56
Wizzupas in, revert back14:56
uvos__https://www.phoronix.com/news/Linux-Disabling-RNDIS-Drivers15:04
uvos__opertune timeing?15:04
siceloi think we should use NCM, not go back to ECM15:05
siceloupdated versions of window 10 and 11 support ncm, and i've successfully tested it with mainline linux (using pmos, but the whole thing is kernel based, so will not be different for leste)15:16
Wizzupok15:16
freemangordonbuZz: please, we want to find the but15:33
freemangordon*bug15:33
freemangordoncleaning gconf entry is not really a solution15:34
freemangordonsicelo: /etc/init.d/icd2 stop15:34
sicelowill do that15:38
sicelosphone suggestions: (1) remove "Cancel" button, (2) remove "backend" button and place it in sphone options, (3) rearrange the remaining buttons so the keypad can be displayed in landscape15:39
uvos__1 no i use it all the time16:00
uvos__2. no, altho its maybe misslabled, this really is the protocoll to use to place the call, the user def needs to set this for every call16:01
uvos__3. sure, but it wont do this as i want to replace the dialogs with qt ones, patches welcome for this one however16:01
Wizzupfreemangordon: I still have a linking problem with (I think) rtcom, could you help?16:22
Wizzupconversations: symbol lookup error: /usr/lib/arm-linux-gnueabihf/rtcom-eventlogger/plugins/libchat.so: undefined symbol: rtcom_el_plugin_chat_get_group_title16:23
Wizzupthis happens on any arch btw16:24
sicelon900's portrait bug bit me a few moments ago, because i received an unexpected call, and sphone switched orientation to portrait :p16:28
sicelobtw still no clue why we have that issue with portrait there?16:28
Wizzupdoes the screen still turn black?16:30
Wizzupfreemangordon for sure knows what's up with this16:30
siceloyes, turned black.16:31
WizzupI think this is about some omap tiler stuff16:31
WizzupI thought that we fixed sphone not to do this16:31
Wizzup(force portrait)16:32
siceloafter the call ended, and i slid keyboard up, hildon reappeared (in landscape) ... but then display was shrunk. i ended up rebooting16:33
siceloWizzup: i forget - is there a way (in mce.ini perhaps?) to tell h-d to never attempt to rotate? maybe we just need a device specific rule like that for the N900, so we don't inconvenience devices that don't have rotation issues16:36
siceloah, lock applet. i should install that on my n90016:37
Wizzupfreemangordon: this works:16:37
WizzupLD_PRELOAD=/usr/lib/x86_64-linux-gnu/librtcom-el-plugin-chat.so.1.0.0 python -c 'import ctypes; ctypes.CDLL("/usr/lib/x86_64-linux-gnu/rtcom-eventlogger/plugins/libchat.so");'16:38
Wizzupsicelo: on the n900 we 'fixed' it by not loading accelerometer module16:38
Wizzupsicelo: I don't know of a better way atm16:38
Wizzupfreemangordon: so somehow libchat needs to link against librtcom-el-plugin-chat.so.1.0.0 but I am not sure how to do this in autotools16:39
uvos__my understanding was that current video -omap should just prevent rotation16:41
uvos__if it dosent lets disable the randr extension on n900's xorg16:41
uvos__no need to let the user/hildon break thair machine with broken randr16:42
dsc_Wizzup: is this linking stuff conversations related?16:43
dsc_linking error*16:43
Wizzupdsc_: no, but it does break conversations16:43
dsc_kk16:43
Wizzupmy autotools knowledge messes with me :)16:44
uvos__sicelo: rotation is allready disable in mce on n900 btw, but this just means mce wont tell hildon to rotate16:45
uvos__it can still decide to rotate on its own16:45
dsc_Wizzup: any 'not founds' in `ldd /usr/lib/arm-linux-gnueabihf/rtcom-eventlogger/plugins/libchat.so` ?16:45
freemangordonWizzup: where is the code?16:46
freemangordonIOW- what do you try to build?16:47
Wizzuphttps://github.com/maemo-leste/rtcom-eventlogger-plugins16:48
Wizzupfreemangordon: this is at runtime, not at build time16:48
freemangordonok16:48
Wizzupfreemangordon: so the confusing this is16:48
Wizzup$ pkg-config --libs rtcom-eventlogger-plugins16:48
Wizzup-lrtcom-el-plugin-call -lrtcom-el-plugin-sms -lrtcom-el-plugin-chat -lrtcom-eventlogger -lgobject-2.0 -Wl,--export-dynamic -lgmodule-2.0 -pthread -lglib-2.0 -lsqlite316:48
Wizzupand the package builds libchat.so with these flags16:48
Wizzupbut -lrtcom-el-plugin-chat is not available as far as I can see, since it's part of the same package16:49
Wizzupand this somehow messes up linking I suppose16:49
freemangordonsec16:49
Wizzupeven for building the lib it apparently tried to link this16:49
Wizzupwhich makes no sense to me16:49
Wizzupoh16:50
freemangordonmaybe add libchat.la to librtcom_el_plugin_chat_la_LIBADD16:50
WizzupI think the whole thing doesn't even exist16:50
Wizzuphmm16:51
Wizzupso librtcom-eventlogger-plugins-dev seems to provide similar libs? wtf16:52
Wizzuphm, ok, this makes sense16:52
Wizzupfreemangordon: I assume you mean add librtcom_el_plugin_chat.la to libchat_la_LIBADD ?16:54
Wizzupok, that might have done it16:55
freemangordonwhatever lib defines that symbol16:56
Wizzuphttp://dpaste.com/EN7Y4BXNQ16:56
Wizzuplet me try to build htis on d416:56
freemangordonYour IP address 95.43.220.235 has been blocked for violating the  dpaste.com Terms of Service. IP will be unblocked after not connecting  for 15 days. To file a support ticket please visit  https://dpaste.freshdesk.com/support/home16:56
freemangordon:)16:56
Wizzupwtf16:57
freemangordonno idea16:57
Wizzupbtw, somewhat unrelated, in the last month or two, is the status applet also slow to show for you?16:57
Wizzupit takes 1-2 seconds usually to show16:57
WizzupI think this was since some modem icd work16:57
Wizzup(might be wrong)16:57
freemangordonwhich status applet?16:58
Wizzupjust activating the status menu16:58
Wizzuptapping where the wifi/battery/time is16:58
Wizzupon my d4 this takes 2-3 seconds16:59
freemangordonhmm16:59
Wizzupmaybe it's some misconfig16:59
Wizzupit seems fast on my bionic16:59
freemangordonno16:59
Wizzupmy d4 is a bit off a mess since the 'disk' has gotten full over 10 times16:59
Wizzupthis tends to mess with config files16:59
freemangordonno issue here16:59
Wizzupok16:59
Wizzupprobably some local thing16:59
Wizzupbtw, I just build libpurple-slack, and of course since 2022 15 dec the login is broken :D17:01
freemangordonsorry, not following, what is the issue there?17:01
Wizzupnevermind, it was just funny17:01
Wizzupin any case  conversations starts, so we can consider the rt com plugins things resolved17:02
Wizzupty17:02
Wizzupthe libpurple slack thing was just me trying to use it with haze, but slack.com deprecated some api point it was hitting17:02
freemangordonah17:02
uvos__Wizzup: i have the same problem wih the status menu speed17:09
Wizzupok17:09
uvos__Wizzup: and yes its only on the deivces where cellular is installed17:10
uvos__so it might be related17:10
Wizzupright17:10
Wizzupwe can check what happens if libicd-network-ofono is removed17:10
uvos__eh its long enough that i can just trapp it in gdb17:11
uvos__and see where it is17:11
Wizzupfair I suppose17:11
freemangordonmy device have SIM card in it17:12
Wizzupsame, of course :)17:12
freemangordonwhat is "cellular"?17:12
uvos__same here17:12
uvos__freemangordon: the metapackage17:12
freemangordonumm... what makes you think I don;t have that?17:12
uvos__dunno, how should i know what you have installed, it was not default on beowulf17:13
uvos__issue is on beowulf here to be specific (but only primary droid and bionic have mobile and sim so no idea if its on devuan 11 too)17:14
freemangordonwell, I am on chimaera, but Wizzup too, AFAIK17:16
Wizzupyes17:16
uvos__ok so issue persists17:16
buZzfreemangordon: i totally want to find it too, that was just the only working route in the end21:55
buZzat the time*22:00

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