libera/#maemo-leste/ Saturday, 2025-01-04

mkfxneat. got leste running on android.06:34
mkfxis it fesiable to have a "android" port or it's against goals of leste? (native and mainline only?)06:37
freemangordonmkfx: we are fine, the issue is that such port has maybe 30% of the functionality12:04
Wizzupmkfx: please document the process13:06
Wizzupand make it replicable13:06
arno11mkfx: did you use proot or chroot ? or another method ?13:34
arno11btw under proot, i see let's say 85-90% of things working. even mobile data works through the dummy network13:35
siceloWizzup: let me try today (re:maeotp icon) :-)13:40
sicelobut the name ... i like it as is, https://github.com/maemo-leste/bugtracker/issues/73613:41
Wizzupsure @ name13:44
dsc_I didnt test QML @ vkb, ill try14:43
dsc_ugh :P15:17
Wizzuphm?15:17
Wizzuparno11: it would be really nice to get documentation on how to make a proot image15:17
Wizzupso that we can make it in CI15:17
arno11Wizzup: agree, but idk what exactly diejuse modified in the original old pi3 ascii img15:22
dsc_Wizzup: some complications with the QML stuff because hildon steals focus15:24
dsc_ill fix it..15:24
Wizzupfreemangordon: I ported the tp-haze python scripts to py315:27
Wizzupshould we try to send that upstream?15:27
WizzupI don't know if they work btw, would be worth checking on chimaera whether the results are the same15:28
siceloarno11: didn't diejeuse document it somewhat?15:30
arno11sicelo: somewhat yes, but not the part about img modifications15:31
arno11but it was a very old img15:32
arno11maybe it works better with a recent one, with few modifs in the starting script under termux15:33
arno11i really don't know. i've been able to dist-upgrade to chimaera -devel so i didn't try anything else15:34
arno11(i mean i didn t try the process with another img)15:36
Wizzupfreemangordon: maybe I am confused and looking at the wrong tp haze branch, I thought you already build a newer one with more patches15:36
Wizzupfreemangordon: ah, yes, indeed, I used the wrong branch15:36
Wizzupok, that was a wasted time :D15:37
Wizzuptoo bad master wasn't in sync15:37
arno11Wizzup: i still need 1-2 weeks for maemo-gpt and then i'll have a look @proot stuff15:46
Wizzupfreemangordon: pulling in sfos patch for tp-ring python2 code to port it to py315:51
Wizzupwe should rebase on sfos later, but they have deps on their own internal daemons in it now15:52
dsc_I need to modify HIM to make it work with QML, even then the fix is hacky15:53
Wizzupdsc_: got some details?15:53
dsc_keyboard raises, steals focus from Qt app, keyboard goes away, focus re-enters, which triggers the keyboard again15:54
dsc_this does not happen with regular widgets because they do not call showInputPanel() a second time15:54
dsc_proposed solution is to add a command to HIM "keyboard close" so I can throttle it15:55
dsc_another possible solution is not to steal focus15:55
dsc_https://github.com/community-ssu/qt-x11-maemo/blob/b3282763fc0a95b7f6eddc7b8caf7406003975ac/src/gui/inputmethod/qhildoninputcontext_x11.cpp#L492-L49515:56
dsc_this work-around is not possible, because Qt5 has a new api15:56
dsc_the new api = showInputPanel()15:56
Wizzupok, let's not add a new command to h-i-m just yet and see what we can do here15:57
Wizzupdoes h-i-m explicitly steal focus, or does it just get focus?15:57
dsc_most likely it just gets focus15:58
dsc_from it being a new x11 thing15:58
dsc_and tbh maybe thats fine15:58
dsc_but I'm not sure how to prevent the loop from happening15:59
kivainteresting old phone: https://www.gsmdome.com/fujitsu-windows-7symbian-phone-loox-f-07c-fully-detailed-here16:02
kivaalthough link says "fully detailed" the page does not have even fully specification..it has full phone it...but boots first with Intel Atom..so it might have possibility replace boot code.16:04
kivasadly quite expensive in second hand markets, so I dont have money for test boot to linux.16:07
kivaanyway it should be easy examine can it make to Maemo Leste device, because it can boot to Win7.16:31
Wizzupfreemangordon: I've got a few more pkgs to go but then I think the main blockers for daedalus will be mesa/sgx and tracker16:32
Wizzupthere's also some tinymail complication issue but I will try to solve that, same for osso-calculator-engine16:32
sicelokiva: if you have the device and are able to get linux booting, then yes, sounds doable16:36
kivasicelo, too expensive for me, but if somebody have money, there is one with dock: https://www.ebay.com/itm/38775683136416:45
WizzupI would image the battery life will be bad16:46
Wizzupimagine16:46
sicelokiva: maybe we need to forget about that device then (at least for the time being) :-)16:49
kivabattery life bad indeed...in win7 use it is 2 hours...but old intel atom can drop CPU speed very slow on the fly to wait phone calls and wake up when call coming.16:52
kivasicelo, yes that is true..it is not first thing to do, but if somebody finds it for cheap for tests,it would be good to test.16:54
siceloWizzup: freemangordon: i'm confused by the N900 camera's dmesg, which reports "could not get clock."16:59
freemangordonmaybe DTS is wrong/missing17:00
sicelodriver looks like https://elixir.bootlin.com/linux/v6.13-rc3/source/drivers/media/i2c/et8ek8/et8ek8_driver.c#L1436  ... so we only ask for some default clock, not the one specified in dts ("extclk")17:00
freemangordonWizzup: what's with mesa?17:00
sicelonow the curious thing is ... this part of driver has been this way since day 1, and same for DTS17:00
freemangordonsicelo: perhaps back then there was a fallback if named clock does not exist17:01
sicelono idea how this ever worked. also looks like return value for `devm_clk_get` has also been stable over the years when given NULL as id17:01
freemangordonsorry, when default clock does not exist17:01
siceloanyway, i will test the driver with explicit "extclk" instead of null and see17:02
Wizzupfreemangordon: ah, I thought we wanted newer mesa17:09
Wizzupfreemangordon: do you want me to import chimaera mesa and sgx for now17:09
Wizzups/import/build/17:09
Wizzupwell, our chimaera17:09
freemangordonsec17:11
freemangordonwhat about this https://gitlab.freedesktop.org/StaticRocket/mesa?17:11
freemangordonwhat is mesa version in daedalus?17:12
WizzupI think that's why I was asking for your help :D17:12
Wizzuphttps://packages.debian.org/source/bookworm/mesa17:12
Wizzup22.3.617:12
WizzupI don't have a good idea of what mesa patches we have, what amber or not menas for us, etc17:13
Wizzupand I don't know about this repo either17:13
freemangordonthis is the official TI repo for sgx mesa17:13
freemangordonbasicalli it has the same as what I did back then for 'our' mesa17:13
Wizzuplast commit 1 year ago, or do we want other branch17:13
freemangordon23.2.1?17:14
freemangordonI guess we can uplift 22.3.5 to 22.3.617:14
Wizzupwould be better if we can stay on 22.3.x, then we don't need special libdrm etc17:15
freemangordonok, lets do it then17:15
freemangordonI will rebase 22.3.5 to 22.3.617:15
freemangordonor, maybe can just have sgx patches in /debian17:15
freemangordonhmm?17:16
WizzupI prefer not to use debian/patches17:16
freemangordonok17:16
freemangordondo you have link to debian mesa?17:16
Wizzupdo we also want newer sgx-ddk-um?17:16
freemangordonyes, sure, but not immediately17:16
Wizzuphttps://salsa.debian.org/xorg-team/lib/mesa17:16
Wizzup(this is linked from the https://packages.debian.org/source/bookworm/mesa page)17:16
freemangordonok17:17
Wizzuphttps://salsa.debian.org/xorg-team/lib/mesa/-/tree/debian-bookworm?ref_type=heads17:17
freemangordonlets see if that allwinner with its 4 cores can do fatser :)17:17
Wizzupprobably not great17:18
freemangordonyeah17:18
WizzupI can maybe set something up17:18
Wizzupbtw, we also need to enable gles v1, etc17:18
Wizzupthere's a lot of patches we carry, also just to debian/17:18
Wizzuphttps://github.com/maemo-leste-upstream-forks/mesa/commits/maemo/chimaera/17:18
freemangordonyeah17:19
WizzupI wonder if the kirkstone branch is for us17:20
Wizzupmaybe it's not17:20
freemangordonI think it is17:21
Wizzupok17:21
Wizzupalso note that they dropped __DRIimageExtension to 7 from 8, we set it to 8 from 1417:22
freemangordoncould be17:22
Wizzup(yes) :D17:22
freemangordonwill see if there are issues, will fix thema st they arise17:22
Wizzuphttps://gitlab.freedesktop.org/StaticRocket/mesa/-/commit/c9f0919367589b38f5682183846de9d60eec082d17:22
WizzupI think if you take this branch and rebase for the minor one in debian we will already have the commit, then we just need to pick our changes17:23
freemangordonmhm, something like that17:23
freemangordonbut, I need a machine to build on17:23
freemangordondo we already have VM images?17:23
Wizzupfor daedalus? no17:24
freemangordondist-upgrade?17:24
WizzupI don't know if this will build on amd64 either17:24
freemangordonwhy not?17:24
Wizzupmaybe I should try dist-upgrade first and let you know, there might be a few repos missing17:24
Wizzupmaybe it will, don't know if it needs sgx specific libs/headers17:24
freemangordonno, it does dload/dlsym17:24
Wizzupok17:25
freemangordonIIRC17:25
Wizzupwell, you can certainly snapshot and then try dist upgrade17:25
freemangordonok, lemme clone my chimaera17:25
freemangordonmhm17:25
WizzupI didn't do this yet but think we're close17:25
Wizzupfor updates/status see https://github.com/maemo-leste/bugtracker/issues/75117:27
freemangordonmafw-tracker will take some time17:28
Wizzupright, it's not essential atm17:28
freemangordonhmm, I wonder what we can do for hildon python bindings17:29
freemangordondo we need gtk3 hildon?17:29
Wizzupright now we will just have nothing with python/gtk217:30
Wizzupbut yes, later on we need to deal with this17:30
freemangordonno applets?17:30
Wizzupwell there's actually very very little that uses gtk2 python17:30
Wizzupthere's the binary clock applet17:30
Wizzupand there's syncevolution-frontend17:30
Wizzupthat's it I think17:31
Wizzupso yes, eventually we'd want gtk3 hildon, but we can live without it even until trixie17:31
Wizzupthe main upcoming issue will be gconf2 no longer existing in trixie, so we need to go to gsettings17:31
Wizzupbut for bookwork (daedalus), we're ok17:31
Wizzupbookworm*17:31
freemangordonok17:31
Wizzupeven for chimaera I had to put in a lot of effort to get some py2 stuff going, and I'm happy not to even try again17:31
freemangordon:)17:32
freemangordonlets see if I will be able to cross-compile mesa17:32
WizzupI can set up a vm for you on our honeycomb build machine17:32
freemangordonhmm, wait, I am on ubuntu 2017:32
freemangordonor 2217:32
freemangordonyeah 2017:33
freemangordonI should not need VM, no?17:33
Wizzupmerlijn@honeycomb:~$ ls devuan-vm-aarch64-plain/17:33
Wizzupdevuan.qcow2  efi  mini.iso17:33
WizzupI can set that up if you want17:33
freemangordon21.2.6-0ubuntu0.1~20.04.217:33
freemangordonthat's what my native OS is on17:34
freemangordonhmm old17:34
WizzupI am setting you up with a vm17:34
freemangordonlemme first see if I can do with local VM17:34
freemangordonunless you have very fast internet17:34
Wizzup1gbit/s17:34
freemangordonhmm...17:34
freemangordonstill, lemme try local first17:35
freemangordonas I will need it anyways17:35
freemangordonI am using nfs mount from PC->VM for access to source files17:36
freemangordonand my inet is nto that fast as yours (perhaps 75MBs)17:37
Wizzupok, in any case I set up the dev vm17:39
freemangordonsure17:40
Wizzupas in, I did it already17:40
WizzupI'll dist upgrade it17:40
freemangordonWizzup: hmm, why dist-upgrade wants to remove qt applications?17:48
freemangordonhttps://pastebin.com/HSmQy06P17:50
Wizzup let me check17:52
Wizzupfreemangordon: don't know, I think you can just let it remove them for now and it will get pulled in again later17:52
WizzupI will try a dist upgrade once I've done a few more repos17:53
freemangordonyep, that's what I did17:54
WizzupI am dist-upgrading the dev vm to daedalus now btw18:00
Wizzup(armhf vm)18:00
freemangordonme too (amd64)18:22
freemangordonWizzup: I ran out of time today, will continue tomorrow18:23
Wizzupok18:24
Wizzuplet me know if you need a armhf vm18:24
freemangordonsure18:24
arno11Wizzup: btw for daedalus, indeed pa-modules-nemo/cmtspeech-n9xx are not needed19:16
Wizzupyeah19:17
Wizzup:)19:17

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