libera/#maemo-leste/ Tuesday, 2024-07-30

uvoskiva: i was refering to leste devs there, but thats great, the pp deserves more testing exposure00:14
uvossicelo: its not a rotation matrix for mapphones either, but then again that driver supports a bunch of chips, maybe some have the axis readings flipped vs others00:15
uvossicelo: im not sure if that consitutes a bug or not00:16
uvossicelo: actually im not sure that your matrix isent a rotation matrix, i gues andreas did the math, essentally this means that you cant solve the system of equations for values of alpha beta and gamma so that the matrix given equates to the general 3d roation matrix00:19
uvosheres the general 3d rotation matrix https://wikimedia.org/api/rest_v1/media/math/render/svg/234c5831df9d48e5dc4a1cc130475d3426a64ce1 im a bit to tired right now to solve that for its unkowns00:20
KREYRENReferencing https://github.com/NixOS/nixpkgs/issues/328952#issuecomment-2255739446 -> Are there any plans to update the GTK toolkit in maemo-leste? The NixOS's security team is not very happy about it's dependency on gtk209:35
uvos__KREYREN: i mean yeah we are sortof moving towards qt but geting rid of gtk2 wont happen soon or really ever09:37
uvos__conisdering the amount of work09:37
uvos__also if the maemo ui is ported to qt its very possible this would leave the n900 behind09:37
KREYRENuvos__, is there any tracking for this so that i can be referenced in the issue?09:37
uvos__KREYREN: no09:38
KREYRENhmm O.o09:38
uvos__given this would make it more resource intensive and the n900 is at its limit as is09:38
uvos__KREYREN: its not a current target09:38
uvos__only a this would be nice at some point09:38
uvos__we dont have the resources to do it atm09:38
KREYRENuvos__, what should be the approach for N900 UI beyond WMs then? gnome-mobile adjusted for N900's formfactor?09:40
sicelowe're moving to hildon to qt? i thought we'd be moving it to GTK3 (at least that's what's on Github)09:40
KREYRENsicelo, link plz09:40
uvos__sicelo: its not really decided09:41
uvos__but all the work on new stuff has been qt09:41
uvos__i think he means this https://github.com/maemo-leste/bugtracker/issues/26109:42
siceloKREYREN: i *dont* think N900 is holding back any progress ... if, someday, N900 really can't be supported, I don't see why it can't be dropped. There's no nostalgia involved.09:42
uvos__but this bug is about running gtk3 applications on otherwise gtk2 maemo-leste09:42
uvos__yes currently the n900 is not holding back progress at all09:42
uvos__since we dont have the resources for a big change anyhow09:43
KREYRENuvos__, what kind of resources? Just human?09:43
uvos__yes09:44
siceloKREYREN: no surprise @ stance on GTK2 ... it's the same problem in other distros. FYI, hildon has been in Debian proper, and postmarketOS09:44
uvos__esp given that hildon needs patched gtk2 which breaks non-hildon apps09:44
uvos__gtk2 is a problem yes09:44
uvos__we might be better off hard forking it into htk or something at some point09:44
uvos__so it can co-exist09:45
KREYRENuvos__, the gtk2 breaking other apps is not a problem on NixOS dependencies are packed with the binaries through symlinks and PATH management09:45
uvos__KREYREN: sure but it is for other distros09:45
KREYRENyea09:45
KREYRENuvos__, htk is probably a good approach for nixos security team to be happy.. they afaik just don't like unmaintained packages that is bitrotting09:46
uvos__not sure this will fool them09:46
uvos__but sure :P09:46
KREYRENi don't want to fool them, rather getting htk the support it needs to be secure in a more manageable way09:47
uvos__well our gtk2 dosent get mutch changes either09:47
KREYRENkinda like packages that are in LTS with security support and super rare to get new features09:47
uvos__is what i am saying09:47
KREYRENuvos__, Like if maemo-leste would be to fix any security vulnerabilities that show up in that thing then that would make it acceptable i think09:48
KREYRENor like using gtk2 directly for that as there are still lot of apps that depend on it09:48
KREYRENe.g. gimp afaik09:48
uvos__gimp for just a couple more months09:49
uvos__but yes09:49
uvos__gimp3 is finially allmost ready now for real09:49
uvos__:P09:49
KREYRENi feel like i heard that sentence way too many times in the last 4 years :D09:49
uvos__i belive this time09:50
KREYRENStill a lot of software tht depends on gtk2 afaik to justify receiving security updates to make distro's security teams happy imho09:52
uvos__gimp and sphone are the only 2 applications depending on gtk2 on my desktop arch linux system09:54
uvos__so idk09:54
KREYRENhttps://github.com/search?q=repo%3ANixOS%2Fnixpkgs+gtk2&type=code10:01
KREYRENnot much but seem to share the same issue to maemo that they can't be easily ported10:02
WizzupKREYREN: we are not moving everything to qt, we're both gtk and qt in maemo11:15
KREYRENWizzup, noted thanks11:15
Wizzupwhether we will move to gtk3 or not will depend on how well gtk3 works/runs and how much more ram it uses, amongst other things11:15
Wizzupwe already did a big gtk3 port but the theming was still lacking so we have not migrated other11:16
Wizzups/other/over/11:16
Wizzup09:40 < sicelo> we're moving to hildon to qt? i thought we'd be moving it to GTK3 (at least that's what's on Github)11:16
Wizzupwe're not11:17
WizzupI don't know why this (going qt only) keeps getting brought up11:17
WizzupKREYREN: personally I don't think gtk2 is going away anytime soon, I think it's stll in debian testing as well, so doesn't seem like it'll go away that quickly11:17
uvos__i bring up that defacto all stuff we write is qt atm thats all11:19
uvos__Wizzup: gtk2 is for sure leaving in the near future pretty mutch every distro has drop gtk2 on the agenda, atho its usually stalled by some packages for now11:22
uvos__https://archlinux.org/todo/gtk-2-eol/ arch for instance11:22
uvos__as allways debian will be last11:23
uvos__so it will take a while still11:23
Wizzupthere is no question if but when, and for now when hasn't happened for a long time11:23
uvos__but yeah11:23
Wizzupit's definitely going to be in trixie https://packages.debian.org/source/trixie/gtk+2.011:26
Wizzupso that will carry us 3-4 years forward at least11:26
Wizzupand then the question is if it will go after that11:26
uvos__proubly forking it is better than the current situation anyhow11:26
Wizzupso yeah, don't worry about gtk2 now for maemo, we have other things to work on11:26
WizzupI don't think we're going to take over any gtk2 security maintenance though, so don't count on that :)11:27
sicelo:-)11:34
arno11Wizzup: boot issue is back :( seems memory is not the issue (just get lucky yesterday)13:22
dsc_arno11: is there a document somewhere with your issue?13:24
dsc_like github issue13:24
arno11not atm13:24
Wizzupis is about conversations using more ram on startup?13:25
arno11i mean, even with conversations and mafw removed on boot, same issue this morning13:26
arno11*screen freeze after H-D completely loaded13:26
arno11i've been able to boot on a custom uImage with higher freq (on boot) and lower voltage btw13:28
arno11maybe cpufreq / power usage are involved (?)13:29
arno11still nothing relevant in logs, time to serial lol13:29
WizzupI suspect OOM still13:30
arno11ok13:30
arno11but seems after H-D13:31
arno11*i mean something loaded after13:33
arno11there are no troubles before, even able to navigate a bit before the freeze13:35
Wizzupyeah, it is possible and in this case serial will definitely surcace the issue13:40
Wizzupsurface*13:41
Wizzupbut to me it feels like getting stuck with little to no ram13:41
arno11ok13:42
arno11(i still see zram0 activated btw in dmesg)13:43
Wizzuparno11: hm, is /etc/init.d/zram present?13:49
WizzupI have the file but it doesn't start on boot13:50
arno11yes i have the file too13:51
Wizzupif you type 'sudo rc-update', does it show there in the overview?13:51
Wizzupif it doesn't show  then it won't run13:51
WizzupIf you just see 'zram: Added device zram0' I don't think it is harmful13:52
arno11ok13:52
Wizzupbut if it is something like 'Adding ... swap on /dev/zram0 ...' then it is being activated13:52
Wizzupat least that is my understanding13:52
Wizzupbut you can blacklist the zram module if you want13:52
Wizzupactually it doesn't seem to be a module13:52
arno11ok13:54
arno11seems it's ok13:55
WizzupI can put my n900 on serial today or tomorrow to see if it is some kernel issue13:55
Wizzupit would perhaps make sense to see when swap is added13:55
Wizzupif it is added late in the process, we can fix it by making it run earlier13:56
WizzupI can only envision this going OOM because there is no swap yet, agreed?13:56
Wizzup(and otherwise it is not oom)13:56
Wizzupbtw, I agree n900 is quite usable now, I do still need to try your transitions :)13:57
Wizzuplots of stuff going on irl13:58
arno11yep agreed for swap13:58
arno11huge diff with custom transitions :)13:59
arno11remember that you have to remove 250 freq on each boot btw14:00
arno11otherwise it is a way slower14:00
Wizzuphm14:01
WizzupI think I manually set it to 250, not 50014:01
Wizzupmaybe I should try 500 only14:01
arno11500 is far better14:02
Wizzupyeah I can see now14:02
arno11it means you have no troubles on boot btw ?14:02
WizzupI do, some times14:03
arno11ah ok14:03
inkymy all d4 batteries died. :/14:20
Wizzuphow did they die?14:21
inkywell... one after another.14:21
inkythey all were bad i think. each was working normally for about several months.14:21
inkyi got a batch, but they didn't look good in the first place.14:22
inkywell this last one works for about 1 hour.14:22
inkybut it makes the phone unusable.14:22
inkywill try to search something cheap on ebay again.14:22
Wizzupbut the phone doesn't power up anymore, or?14:23
inkyno no it does. just it works for an hour.14:23
Wizzupyikes, yeah, ok14:24
inkyi will finish some freelance and ask for a couple of more repos/jenkins.14:24
inkyso razr batteries won't work on droid?14:24
Wizzupinky: sweet sounds good @ repos14:25
inkyeb-20? because i see eb-20 for $11.9014:25
Wizzupinky: for any battery questions please ask uvos or someone who actually knows these things14:25
inkyyeah... i think there are no d4 batteries on ebay right now.14:26
Wizzupeb41?14:26
inkywill wait for him. he said something about soldering but i am afraid to solder on batteries.14:26
Wizzupaliexpress probably has a bunch but they are not great14:26
inkyi'll see, thank you!14:26
Wizzupyeah my last soldering session on a battery ended up in a minor fire14:26
Wizzup:D14:26
dsc_lol14:31
arno11lol14:35
uvos__if disablein lowg n900 cpufreq states help14:40
uvos__maybe we should consider pulling the interactive cpufreq gov.14:40
uvos__i gues someone has tried schedutil allready?14:46
WizzupI don't think the low states help with the freeze14:47
uvos__should not no14:47
uvos__on boot it should be busy enough to be fulll speed anyhow14:47
uvos__but i mean if it helps after14:48
uvos__might be worth investigateing tuning the gov. vs disableing states14:48
arno11i already tried lot of stuff with cpufreq last year: tuning gov has almost no impact vs disab. states15:01
uvos__arno11: what did you try gov wise?15:02
inkyi got battery from aliexpress, thank you.15:03
arno11uvos: long story lol15:03
arno11what's your plan with gov btw ?15:04
uvos__arno11: well maybe find a up to date port of the interactive gov15:08
uvos__and merge that15:08
uvos__arno11: i presume you tried schedutil?15:08
uvos__interactive helped some on the droid 1 back in the day15:08
uvos__and since that has the same hw as n900....15:08
arno11ok i see15:17
arno11nope for schedutil atm15:20
uvos__trying schedutil first makes sense i think15:21
uvos__since its part of mianline and like interactive it can predict when to ramp up, instead of reacting15:21
arno11yep15:23
arno11Wizzup: uvos: i'm running Leste with lower cpu voltages atm (from fremantle cssu ideal profile) and it works very well (from 0.975v @500 to 1.2v @805)18:08
arno11interesting imo18:08
arno11not related with boot or cpufreq issues ofc but default voltages seem very high compared to last stuff from cssu18:20
uvosarno11: the voltages in mainline where put there by ti, so thats all they really guarantee. While its probable most chips can do better we cant really reduce the voltages just because they work on some/ our devices20:17
uvossame thing as overclocking really20:17
arno11um, well, ok but i'm not talking about random values i got from a random guy on the web, i'm talking about stuff from cssu, tested by numerous guys (like me) during 14 years now. i doubt TI did the same.20:43
uvos__arno11: you may have tested units longer but ti certenly tested more units, that is to say they tested every single one during binning21:05
uvos__im not opposed to aving options21:06
uvos__but imo during first boot by default everything shal be ran strictly in spec21:06

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