libera/#maemo-leste/ Sunday, 2025-03-23

sicelomaybe upower folk won't like the direct exporting of the capacity_level string, and prefer some kind of enum. anyway, i'll clean this up tomorrow, and open an MR for their review00:04
Wizzupcool :)00:32
Wizzuphttps://docs.gitea.com/usage/repo-mirror#setting-up-a-push-mirror-from-gitea-to-github01:35
Wizzupso we can also mirror to github from gitea :)01:35
Wizzupbtw, I also added some experimental 'log in with github' thing, but I might change how some of it works or what can be done with this01:35
freemangordonsicelo: does that mean I don;t have to do anything with upower?08:15
freemangordonarno11: yes, will have a look08:19
freemangordonbut first lemme see what I can do with priorities08:19
arno11ok cool08:25
mkflima works \o/08:51
freemangordon:)08:51
mkfokay i'll go for mainline now09:08
mkfdo mainline needs any patch other than realtek one?09:08
freemangordonno, but see what I pasted09:09
freemangordonlike, if you want BT...09:09
freemangordonetc09:10
mkfapplied those. do maemo have an ui for bluetooth btw?09:10
freemangordonno (still)09:10
mkfi've used blueman but not sure if that worked09:10
mkfalright. :)09:10
mkfcan we bring sunxi builds back?09:13
freemangordonsure09:14
freemangordonwe juts need a proper kernel tree09:14
freemangordonand one that volunteers to maintain it :p09:14
mkfwell i'm willing to, at least for devices i have (a a23 and a a33)09:15
mkf*a13 and a2309:15
freemangordoncool, I can test on A3309:16
freemangordonWizzup: ^^^%09:16
mkfsome of elements of this image i'm using apperently are for n90009:16
freemangordonwell, it should not be that different09:16
freemangordonbut still, better have a dedicated image09:17
mkflike it tells me i need to insert an sim card. i like to if i could. :)09:17
freemangordonumm... when?09:17
mkfin the tray?09:17
mkfnear battery09:18
freemangordonwell, that won;t change09:18
mkfit also loads bunch of n900 stuff during boot09:18
mkfwhich fail09:18
freemangordonwe install telephony stack no mater the device09:18
freemangordonno, it tells you there is no sim card :p09:18
freemangordonup to you if you want to inster one :D09:18
freemangordon*insert09:19
* freemangordon needs another coffee09:19
mkfi suppose i can think of no sim icon as leste logo for this tablet :P09:19
mkfis the telephony stack being installed on devices with no telephony is a policy or technical?09:20
freemangordonI would say policy09:20
freemangordonnothing stops you from attaching usb modem09:20
freemangordonand it will simply work09:20
freemangordonso yes, you *can* insert a SIM card09:21
mkfhm, ok.09:21
mkfcan we at least put an option to hide it later on?09:22
freemangordonwhat would be the trigger to hide?09:22
mkfsome option down into settings09:22
freemangordonlike, I am not against, but it should be consistent09:23
freemangordonas it can;t be separate, that should be part of phone settings I presume09:23
freemangordonand that's not trivial09:23
freemangordonbut yeah, why not09:23
mkffair enough09:24
freemangordonI'll let you know when I am done with connui-cell (when phone setting reside), feel free to make a patch09:24
freemangordonand PR09:24
freemangordons/when/where09:24
mkfthanks.09:25
sicelomkf: the device doesn't have a  modem at all?09:56
freemangordonno09:57
freemangordonthis is allwinner tablet09:57
sicelowe can automatically hide the icon if ofono did not find a modem. we do same for no battery, ensuring.g10:04
siceloe.g. vm10:04
freemangordonno, that's not correct10:05
freemangordonremember d4 modem dropping off usb10:05
siceloI think that's exactly where this would be useful. currently, we still have misleading icon after modem drops. with this change, icon would disappear, so you know something is amiss10:13
freemangordonhmm10:14
freemangordonok, will think about it when I am back on connui-cell10:15
sicelore: upower, I'll continue working on it. I'm mostly unavailable this week, so if timeframe becomes a concern, I would share my work so far so you can continue with it10:31
freemangordonok10:32
freemangordonnot that I have spare time, but yeah10:32
freemangordonthanks10:32
freemangordonWizzup: so, we either do https://github.com/maemo-leste/maemo-system-services/blob/master/debian/maemo-system-services.xorg.init#L17 or I implement similar script that does inotifywait on proc and sets nicenes based on some rules11:21
freemangordonI prefer the latter11:21
freemangordonbecause I don;t really want to add sudoers file to each user daemon that needs lower nice level11:23
freemangordonneither I like the idea to allow user to change niceness < 011:23
freemangordonplease comment why are you against having another daemon (besides obvious - one more thing to maintain)11:24
freemangordonWizzup: see what AI generated for that purpose (didn't test, but final script should be similar if not the same) https://paste.debian.net/1364730/11:33
freemangordonI can write that in C in an hour if having resident script is a concern11:34
mkfis there a better on screen keyboard?11:40
mkfdefault one is really not suitable for usage on the terminal11:40
freemangordonwhich terminal? osso-xterm?11:41
freemangordonwhat's wrong with it?11:41
mkfyou can type stuff alright, but you can't use direction keys, combos (ctrl-d) or delete stuff that are already written11:42
mkfyes, osso-xterm11:42
freemangordonalso, if you have lots of console stuff, you'd better connect through ssh11:43
freemangordonhmm, you can typ ctrl-d11:43
freemangordonpress ctrl button on bottom11:43
mkfyou can use combos, but i assume the way osso-xterm works is menant for n900 and not really for touch only devices11:43
freemangordonright11:43
freemangordonbut you'd better connect usb kbd11:43
mkfi do that, but i wonder if there is a touch way :)11:44
freemangordonnot atm11:44
freemangordoninky has some magic kbd, but we don't have maintainer for it11:44
freemangordonso it is not in the repos11:44
mkfcan i install it?11:44
mkfah.11:44
freemangordonno idea11:44
mkfthank you.11:44
Wizzupmorn11:53
freemangordonWizzup: AI did it even faster :) https://paste.debian.net/1364733/11:54
Wizzupmkf: would like a sunxi maintainer very much, I have a bunch of olinuxino lime2 (a2) devices and olinuxino a6411:54
mkfWizzup: i have a13, a23 and a h618/h61611:55
freemangordonPP is same, more or less, no?11:55
freemangordonso you can adopt it as well :)11:55
mkfi suppose, but i can't find one to test it. :)11:56
Wizzupfreemangordon: not too happy with 'while true' though, but ok @ renice11:56
Wizzupfreemangordon: yes, one more thing to maintain is what I don't like about daemon11:56
Wizzupand things that have to monitor the system state, and change it every now and then11:56
WizzupI really prefer things to be explicit11:57
freemangordonWizzup: are you talking about bash script or C code11:57
freemangordonsee C code11:57
freemangordonwhat do you mean "explicit"11:57
Wizzupin the sense that it's clear from the X script that it runs at a certain nice level11:57
Wizzupnot having to grep the whole code base to find the one daemon that changes the value later11:57
freemangordonI understand11:58
Wizzupand this daemon will add wakeups for every process we ever start11:58
Wizzupsurely that's not the way to go11:58
freemangordonwell, I don;t think this is really an issue (wakeups) as this is what happens in fremantle11:59
WizzupI suspect netlink can let you monitor proc events11:59
Wizzupthis is just ai generated garbage imo11:59
freemangordonwhy it is better than inotify?11:59
Wizzupbecause netlink was designed for this12:00
Wizzupare you sure that inotify works on proc?12:00
freemangordonit works on sys, why not on proc?12:00
freemangordonlemme try it12:00
Wizzuphttps://fabiensanglard.net/st/process-events.txt12:00
Wizzupinotif doesn't work on everything12:00
freemangordonI know12:00
freemangordonbut ok, disregard the implementation12:01
freemangordonI am talking about th eprinciple12:01
freemangordonkeep in mind we have to renice things lige gst-renededr, system-ui etc12:01
freemangordon*like12:01
freemangordonalso, dbus-daemon runs with nice -5 on fremantle12:01
freemangordonhow shale we do that on leste?12:02
freemangordonargh12:02
freemangordon*shall12:02
Wizzupfind where dbus-daemon is started and add 'nice -5' in front of it would be my preferences12:03
Wizzupor set it in the init script that starts it12:03
freemangordoninit script comes with dbus12:03
freemangordonso we shall fork it12:03
Wizzupin openrc you can set init script variables using /etc/conf.d/12:03
Wizzupdon't we start dbus from our init script btw?12:04
freemangordonno12:04
freemangordonsystem bus is started from its own script12:04
freemangordonand user is started by xorg or something12:04
freemangordonIIRC12:05
Wizzupwhat is /etc/sysconfig for btw12:05
Wizzuphm, looks like /etc/conf.d is better12:05
freemangordonno idea12:06
freemangordonwhat is it for?12:06
freemangordonalso, how do we assign niceness on processes started by xsession?12:06
freemangordonwith sudoer?12:06
Wizzuplet me search for a bit, I am sure there are other ways to do this than reinventing the wheel12:08
freemangordonok12:08
freemangordonWizzup: also, while searching, think about processes started by maemo-launcher12:09
Wizzupsuch as?12:10
freemangordon/usr/bin/hildon-home12:11
Wizzuphttps://github.com/nefelim4ag/Ananicy12:12
Wizzuphttps://gitlab.com/ananicy-cpp/ananicy-cpp12:12
freemangordon@exe in /proc points to /usr/bin/maemo-launcher12:12
Wizzupposts I find online are suggesting that cgroups are -the- way to do this nowadays, though12:12
Wizzupdo we know we still need the nice changes?12:12
freemangordonyes, we do12:13
freemangordonchanging cgroups does not affect niceness12:13
Wizzupbut the scheduler does12:13
freemangordonsorry, can;t parse12:14
freemangordonthey chagne scheduler?12:14
Wizzup       cpu (since Linux 2.6.24; CONFIG_CGROUP_SCHED)12:14
Wizzup              Cgroups can be guaranteed a minimum number of "CPU shares"12:14
Wizzup              when a system is busy.  This does not limit a cgroup's CPU12:14
Wizzup              usage if the CPUs are not busy.  For further information,12:14
Wizzup              see Documentation/scheduler/sched-design-CFS.rst (or12:14
freemangordonis that what you mean12:14
Wizzup              Documentation/scheduler/sched-design-CFS.txt in Linux 5.212:14
Wizzup              and earlier).12:14
freemangordonyes, but this is *within* process group12:14
freemangordonnot system wide, IIUC12:14
Wizzuplet me check12:14
freemangordonalso, I don;t want a minimum number of cpu shares, I want *all* the shares when systemui or mce (for example) needs them12:15
freemangordonwe will use cgroups, that's for sure12:15
freemangordonbut it is orthogonal to niceness12:16
Wizzuplooks like you can make a realtime cgroup12:16
freemangordononly one?12:16
Wizzuphttps://www.kernel.org/doc/html/v5.6/scheduler/sched-rt-group.html12:16
WizzupThis uses the cgroup virtual file system and “<cgroup>/cpu.rt_runtime_us” to control the CPU time reserved for each control group.12:17
Wizzupbut, this will -reserve- cpu and not allow any other process to use it12:17
Wizzupmaybe not ideal12:17
freemangordonmaybe? :)12:17
Wizzupin any case, from what I can see/tell...12:18
freemangordonagain, how do we deal with maemo-launcher pids?12:18
Wizzupananicy-cpp does what you want12:18
freemangordonyeah, and it pulls averything and the kitches sink, iiuc. and it is not in debian12:18
Wizzupand it uses netlink12:18
freemangordonok12:18
Wizzupand bpf12:18
mkfyay kitchen sink12:19
WizzupI mean if it uses 40MB of ram then yeah let's not use it12:19
freemangordonbut if we are to use code that's not in debian, I would prefer this to be our code12:19
Wizzupbut this seems to be what people using when searching for 'nice daemon'12:19
Wizzupit literally does everything you want btw :)12:20
Wizzupcgroups, oom score, niceness12:20
freemangordonthis does not affect niceness12:20
freemangordonsorry12:20
freemangordonwrong paste12:20
freemangordonwell, better take ohm from fremantle12:20
Wizzuphow is that better?12:21
freemangordonbecause it was doen with mobile in mind12:21
freemangordonand already cove maemo usecases12:21
freemangordonlike maemo-launcher :)12:21
freemangordonlemme check that anynice12:21
Wizzupdoes it support cgroup v2?12:22
Wizzupor will be have to reinvent12:22
Wizzupwill we*12:22
freemangordonno idea12:22
Wizzupplease check it out, I think it seems to do what we want12:22
freemangordonok, on it12:22
Wizzupand it already has a config spec and everything12:22
freemangordonoh12:23
freemangordonit is "Ananicy rewritten in C++ for much lower CPU and memory usage."12:23
Wizzupyes12:23
Wizzup>I mostly used Ananicy on older computers to improve interactivity. However, having Ananicy use megabytes of RAM and a decent amount of CPU time troubled me. Thus I decided to rewrite it in C++, using an event based approach. RAM usage is much lower (only a few thousands of bytes !), and CPU usage is almost always zero thanks to its event-based implementation.12:23
inky> inky has some magic kbd, but we don't have maintainer for it12:24
inkyi will package it.12:24
mkfyay12:24
inkyand write a wiki page12:24
freemangordoninky: and who will support the code?12:24
Wizzupmkf: in daedalus there is vkb for qt5 and gtk2/gtk3 btw12:24
inkymkf do you need one now?12:24
freemangordonWizzup: he does not like HIM vkb :)12:24
inkyit is a very small codebase, i can, and the author is my friend.12:25
Wizzupfreemangordon: btw I think we'd want to not build with ebpf support12:25
freemangordonno idea what it is12:25
mkfinky: if that works better than him in osso-xterm sure, that'd be awesome12:25
freemangordonanyway, lemme pull/build and see12:25
inkymkf just ping me and i'll guide u with the waay of building the kbd and mapping it to one of the hardware keys to hide it and show it.12:27
mkfawesome, when?12:28
freemangordonWizzup: https://paste.debian.net/1364738/12:29
freemangordonI hate packages pulling source code from random repos12:29
inkythese are screenshots https://norayr.am/weblog/2024/06/27/23926270/ (was excited when i first built it and stanted usitf, i see to life without it)12:29
inkyget this repo https://repo.coolbug.org/bw/coolkbd and i'll come back in five minutes.12:30
mkflooks ok.12:30
mkfhopefully it'll fit in my screen.12:30
mkffreemangordon: should i change the governers btw? i recall n900 had problems with it in leste (being laggy on ondemand)12:31
freemangordonafaik ondemand should be ok12:32
mkfand do audio buttons appear to be reverse for you in your q8?12:32
freemangordoncould be, but didn't noticed12:33
freemangordonWizzup: and of course it is infected:12:34
freemangordon/home/user/git/ananicy-cpp/src/platform/systemd/service.cpp:3:10: fatal error: systemd/sd-daemon.h: No such file or directory12:34
mkfcan you please check later on?12:35
mkfidk if thats because of maemo or because of something in dtb12:35
Wizzupfreemangordon: you can disable systemd support12:36
Wizzupand I can make an openrc init script np12:36
freemangordonlemme try12:36
Wizzupfreemangordon: and yeah it's annoying that it pulls code, but at least it is versioned and statically linked12:36
Wizzupbbiab12:38
freemangordonWizzup: can't we use auditd or stap that are already in the repos?12:38
inkymkf i am back and i am near keyboard.12:49
inkyyou got the repo, cd maemo, and run build.sh12:50
inkyyou most probably want to use so called 'docked' version. once you build it, you'll see three versions: docked, bottom and top kbds.12:51
inkyyou also want to have .xbindkeysrc, this is mine for bionic: https://bpa.st/QGJA12:53
inkyand you want to have xbindkeys package.12:54
inkyand this is the sw.sh script referenced in .xbindkeysrc:  https://bpa.st/L7WA12:54
inkywhen you press power button on bionic, it shows the keyboard, then kills it.12:55
inkyand this is .xbindkeysrc one i made for pinephone, very simple one: https://bpa.st/I5TQ12:57
inky(file for bionic maps to its power button, file for pinephone: to its. you have to decide on the key and find its keycode by using xev program, also i see bionic's file has unnecessary for you  things, key shortcuts to switch monitors, i use it on lapdock sometimes)12:58
inkyanyway, first build it, you'll see you can run ./coolkbd.dock12:59
inkyand enjoy. even without fancy stuff i just described.12:59
freemangordonWizzup: hmm, this thing seems to do polling, see check_freq13:04
freemangordonor no, I am not sure https://gitlab.com/ananicy-cpp/ananicy-cpp/-/blob/master/src/main.cpp#L26313:05
freemangordonyep, it does wake-up every check_freq seconds13:09
freemangordondefault is 6013:10
freemangordonWizzup: anyway, this is not going to work on devuan/openrc without patching13:17
freemangordonit does not even parse   /proc/self/mounts properly13:22
freemangordonWizzup: so, shall I fix that https://gitlab.com/ananicy-cpp/ananicy-cpp/-/blob/master/src/platform/linux/cgroups.cpp#L237 ?13:29
freemangordonthis mistakenly uses 1st token (device) to detect cgroups type, instead of 3rd (fs type)13:30
Wizzupfreemangordon: re: auditd, yes, we should start using it also when we get apparmor profiles13:30
Wizzupit uses netlink but does polling? that'd be insane13:30
Wizzup60 seconds wake up is ok13:30
Wizzupfreemangordon: what is the problem on openrc/devuan btw?13:31
freemangordonwell, I don;t get it why it does n seconds wait, but that' not a biggie, we can set to hight enough value13:32
freemangordonhowever, see ^^^ link13:32
freemangordonbecause of that issye, it does not detect cgroups2 on devuan13:32
freemangordon*issue13:32
Wizzupit seems to do some full scan every now and then in your link, maybe we can just disable that too13:32
freemangordonit seems it does it only if some other option is set13:33
Wizzupre: cgroups, shouldn't the proc mount path be init independenent?13:33
freemangordonit is13:33
freemangordonbut parser is buggy13:33
Wizzupso it doesn't understand openrc cgroup paths, is that it?13:33
Wizzupok13:33
freemangordonit is not the path13:33
Wizzupwell, upstream is active, so we can also file some reports with them13:33
freemangordonit does not use fs type, but device instead13:33
Wizzupdid you get a sense of the memory usage?13:33
freemangordonwhich is 'non' in our case :)13:34
freemangordonno, lemme check13:34
Wizzupand btw, if you can find something that's already in debian that does the same I am all for it13:34
Wizzupbut I couldn't find anything like that13:34
freemangordonI was not able too13:36
freemangordonthat was the first thing to do - look if we already have something13:36
freemangordonthe closest is auditd13:36
freemangordonso RES on VM is 628013:37
Wizzupauditd is quite different though13:37
freemangordonyeah13:37
Wizzupand I don't think we can set niceness with auditd, it's about auditing13:37
Wizzupbut you mean linjux audit subsystem?13:37
Wizzuplinux*13:37
freemangordonwell, it seems it might be able to execute code on system call13:38
freemangordonbut anyway, this is not what it was created for13:38
Wizzupyeah13:38
freemangordonso, are we ok with 6MB on 64bits?13:38
Wizzupnetlink os bpf is the way here13:38
WizzupI think so, is none of that shared?13:38
freemangordon473613:39
freemangordonthat's SHR13:39
freemangordonwell, not that lightweight, given that we have ~200 processes13:39
freemangordonbut thats a debug build, lemme check release13:40
WizzupI think it's pretty good for what it does13:40
Wizzupright13:40
mkfi wonder if why a shell script that runs after processes isn't a good idea13:41
freemangordonWizzup: same13:41
freemangordonfor release that is13:41
Wizzupjust a sh instance uses 3-4MB ram13:42
freemangordon:nod:13:42
mkfash or bash?13:42
Wizzupdash I think, bash is more13:42
freemangordonwell, I can write a C code that does the same13:42
Wizzupfreemangordon: I think this is acceptable, given that it should also solve our cgroups problems13:43
freemangordonwill take 100k I guess13:43
WizzupI doubt that13:43
Wizzupglibc alone will probably take more :)13:43
Wizzupdid you measure the actual ram increase in say htop - was that also 3-4M?13:43
freemangordonWizzup: ok, so shall I start patching that and sending PRs?13:43
Wizzupfrom my pov, yes, but you looked at it longer than I did, so it's also up to you13:43
freemangordonyeah, whole 5 minutes longer :p13:44
Wizzupbut this seems like it will get us 99% of the way there pretty quickly and it's packages on arch, gentoo, nix, etc13:44
Wizzuppackaged*13:44
freemangordonright13:44
WizzupI didn't look at the cgroups stuff that it does, but presumably it'll be ok?13:44
freemangordonwill ask sicelo do become debian maintainer of it :)13:44
freemangordonhow would I know? (cgroups)13:44
Wizzuphm, it seems to want cgroups v1 from the readme13:44
freemangordonit doesn;t evern identify them properly here13:45
freemangordonnto, it says it supports v2, but partially13:45
freemangordonanyway, lemme fir it  first13:45
freemangordon*fix13:45
Wizzuphttps://gitlab.com/ananicy-cpp/ananicy-cpp/-/merge_requests/2713:46
Wizzupok13:46
Wizzuphere's an openrc issue https://gitlab.com/ananicy-cpp/ananicy-cpp/-/issues/7813:46
freemangordonI've already fixed it13:56
freemangordonbut now, I still think we have maemo-launcher issue13:56
freemangordonlemme check if it will work13:56
freemangordonit does13:59
freemangordonWizzup: however, I think we have issue there13:59
freemangordonit uses basename as key in rules file14:00
freemangordonlemme see what will happen if I create a script with the same name and start it14:00
Wizzupor just try to apply it to say osso-xterm ?14:00
freemangordonI already did to hildon-status-menu14:01
freemangordonand it reniced both processes14:01
Wizzupcool14:02
freemangordonyeah, ok14:03
freemangordonWizzup: yeah, running another binary with the same name, resulted in ananicy identify it as the original one :)14:07
freemangordonthat's not very secure14:07
Wizzupit can folow the exe symlink in proc14:08
freemangordonsure, but then it will hit maemo-launcher :)14:08
Wizzuphow about absolute paths?14:09
freemangordonhmm, seems it supports regexes14:09
freemangordonlemme explore that14:09
mkfinky: installed it14:13
mkfit's a bit small in this device, and i'm afraid i dont have a way to pop it up14:14
inkyits easy14:14
mkfthis just has volume and power bottom14:14
inkyi increased the size14:14
inkyi should've gave u my sources14:14
inkyi would map to power14:14
inkyand ignore that power also brings upper menu14:14
inkyi do like that on pinephone and on bionic14:15
inkywhat's your device?14:15
inkylet me find where was the size14:15
mkfq8 tablet14:15
inkyi think in my last sources i use 50% of screen14:15
inkywow, i dont know what is it, you were able to install/port leste  on it yourself?14:16
inkyso i did14:19
inkyin coolkbd/maemo/config14:19
inkyconfig.h.dock14:19
inky#define HEIGHT_SCALE 0.4514:20
inkythere u can define fonts and also14:20
inkyMIN_HEIGHT14:21
inkyMIN_WIDTH14:21
freemangordonWizzup: currently, it supports only "name" match, which is "basename()"14:21
inkyKEY_BORDER14:21
freemangordonlemme see how hoard it to patch the full patch14:21
freemangordon*path14:21
inkymkf, please try and rebuild. (:14:22
inkyalso you can configure which layouts do u need and rebuild by using only those u need14:22
inkydid you run build in maemo version ? in maemo directory?14:23
Wizzupfreemangordon: ok, ty14:24
mkfok let me see14:30
mkfinky, yeah. with help of freemangordon, wizzup and sicelo. :D14:32
mkfalbeit previously a port was done for a device very simliar.14:32
inkygood!14:36
arno11freemangordon: i saw your mce and Xorg renice commits, cool. Xorg, mce and H-D have the biggest impact on leste n900. renice on other processes (like in fremantle) are quite useless atm15:21
arno11and H-D renice is possible from the H-D fake job init script. i tried, it works15:22
arno11so i mean, with just another commit for H-D, things work fine and it seems enough imo15:25
arno11*enough for good perfs15:28
Wizzupwould anyone mind logging in to git.maemo.org using sign in with github and tell me what happens15:37
arno11yep15:40
WizzupI guess it probably offers to make an account, and does that work?15:40
WizzupI might have to allow external registration first15:40
Wizzupmy hope/plan/idea is to allow users to report bugs with their github accounts, and 'we' can link github accounts to gitea, but most folks would get a gitea account15:41
donihalimWizzup: https://0x0.st/8jT8.png15:42
Wizzupthx15:42
arno11same for me15:42
Wizzupmaybe I should make the oath2 app not be owned by my user15:42
Wizzupbut rather by maemo leste organisation, if possible15:43
Wizzupcan one of you authorize being able to read the email and see what happens?15:43
WizzupI went through the same workflow but I linked it to my account15:47
WizzupI suspect you might not get through the registration yet15:47
arno11sorry, can't paste a png but it asks for creating a new account or using an existing one15:48
arno11ok15:48
arno11i can't create a new account indeed15:49
arno11registration is disabled15:49
Wizzupok, let me open it for external15:50
Wizzupone sec15:50
Wizzupthanks for thehewlp15:50
arno11np15:50
Wizzupdoes it work now?15:51
arno11argh 505 internal server error15:51
Wizzupok15:52
Wizzupmight be because I restarted it mid-way, one sec15:52
arno11yep15:52
arno11it works again but still not able to register a new account15:54
Wizzupok, can you try once more? I just enabled general sign up now15:54
arno11ok15:54
arno11yeah seems to work now15:55
Wizzupdid you have to fill in some additional password to make an account, or just a username/email?15:56
mkfwhat governer is the best suited for leste? linux 5.8 had performance but 6.12 has shedutil15:57
arno11no additional password, just email/username15:57
mkfi wonder if should change that15:57
Wizzuparno11: cool, did you also make the account?15:57
Wizzuphttps://git.maemo.org/merlijn/test-bugtracker can you file an issue here or something?15:58
arno11let me try15:58
Wizzupmkf: we use whatever the default is15:58
mkfok15:58
WizzupI think ondemand15:59
Wizzupisn't schedutil one that allows userspace to schedule or something?15:59
Wizzup(didn't look it up)15:59
Wizzuparno11: looks like that worked16:00
arno11yeah :)16:00
Wizzupit also shows you as the second user on the gitea16:00
Wizzupcool16:00
Wizzupand just to confirm once more, you didn't have to set up some local password right?16:00
Wizzupsome online resource said that this was a bug in gitea, but it seems to no longer be the case16:01
arno11no local password, just github credentials16:01
Wizzupcool16:01
WizzupI'd like to disable local registration and only keep oauth2 unless we manually make accs, but I am not sure how doable that will be16:02
arno11no idea16:02
Wizzuphttps://github.com/go-gitea/gitea/pull/391016:03
Wizzupah16:03
Wizzuplet me try16:03
mkfWizzup: userspace is that one, shed uses scheduler to guess16:03
Wizzuparno11: ok, cool, I think this is it16:03
arno11cool16:03
Wizzupthis allows github users to register with oauth2, and regular registration is disabled16:03
mkfwhat if someone doesnt have github16:04
Wizzupyeah..hm16:04
Wizzupargh :)16:04
WizzupI just don't want to deal with spam accounts16:04
Wizzupmy plan was to make accounts on demand, but make it easy for github users to file issues16:04
Wizzupmost of us here could just get a gitea account16:04
freemangordonWizzup: hmm, I don;t think that ananicy will do the job for cgroups, if we use it, in its current shape, it will move processes out of elogind cgroup16:05
freemangordonwhich is the criteria if a process belongs to s session16:06
Wizzupwhere would we want the processes to go to16:06
Wizzupdo we want them in the elogind cgroup?16:06
freemangordonthey are alredy there16:06
freemangordon*already16:06
Wizzupright, but how would we make additional cgroups?16:06
freemangordonmkdir16:06
WizzupI mean what would we do different than ananicy16:07
freemangordonsorry, I don;t follow16:07
Wizzupcan a process be in multiple cgroups16:08
freemangordonnot sure16:08
Wizzupif not, how do we work around the problem with processing having to be in the elogind cgroup16:08
Wizzupcan we stack cgroups?16:08
freemangordonI think if it is a subdir of elogind session dir, it still counts16:08
freemangordonlemme check16:08
freemangordonhmm, ok, it seems process can be in multiple cgroups16:09
freemangordonlemme ask goggle/AI what is that supposed to mean16:09
mkffreemangordon: given our kernel is mostly patch free, i wonder if we can use a config from "known-good" setup for mobile/desktop rather than building one by hand?16:09
mkfidk if i should configure kernel by hand or there is a better way to do that :)16:10
freemangordonno good known config will enable drivers from staging :)16:10
freemangordonbut yeah, if you find one...16:10
Wizzupideally we'd have a single 32 bit arm kernel16:11
Wizzupso if the patches can go into our omap kernel...16:11
freemangordonWizzup: according to AI, a process can be in a different cgroup, as long as each cgroup manages different resource16:12
freemangordonseems to be ok for our use case16:12
Wizzupyeah, assuming elogind doesn't manage any16:12
freemangordonmhm16:12
Wizzupok, not the oauth2 uses the maemo-leste github orga16:25
Wizzupnow the*16:25
mkffreemangordon: ok, i'm now in mainline linux17:07
mkfapplied your patch, icd still can't connect17:07
mkfhowever with wpa_cli i can connect, sometimes.17:08
freemangordonmkf: weird17:39
freemangordonok, why the hell gitlabhp blocked my account?!?17:40
mkfany idea where to look to debug this issue?17:41
freemangordonno, sorry17:41
Wizzupfreemangordon: which gitlab service17:42
freemangordongitlabhq17:42
Wizzupstrange17:42
freemangordonWizzup: from https://gitlab.com/ananicy-cpp/ananicy-cpp17:43
freemangordonI twanted to sign-in to fork17:43
Wizzupno idea, any reason provided17:44
freemangordonno17:44
freemangordontried to login with my github account17:44
freemangordonmaybe I have created a real account there, can't remember17:44
freemangordontried to reset the password, no email17:45
freemangordon"422: Sign-in using GitHub auth failed "17:46
Wizzup:/17:46
freemangordonok, what now?17:48
freemangordonlike, I made some fixes17:48
freemangordonwhen try to register, they say both username and email are already used17:52
freemangordonbut they don;t send password recovery link17:52
freemangordonwtf?17:52
Wizzup:/17:54
mkfwifi seems to work without the patches. odd.18:23
freemangordonyeah18:23
freemangordoncould be FW dependent18:24
freemangordonWizzup: I registered another account, and made PRs18:50
freemangordonnow, what we do for leste?18:51
freemangordonwould you package that https://gitlab.com/freemangordon1/ananicy-cpp ?18:52
arno11Wizzup: btw, i found a bug with calls: if sound is activated in profile, it breaks sound in call. otherwise no trouble in silent mode. probably something buggy with ringtone. (shm bytes, remixing, ucm2 are ok). will open an issue19:02
arno11*on daedalus19:03
Wizzupfreemangordon: yes I can package it19:35
freemangordonplease do19:36
freemangordonor rather19:36
freemangordonwait to see how my PRs will get treated19:36
freemangordonif upstream is unresponsive, or does not care, I would prefer to not use this code19:36
Wizzupok19:39
Wizzupfreemangordon: they might not want to take non-backwards compat changes19:40
Wizzupor at least some way to toggle between then19:40
Wizzupthem19:40
freemangordonboth patches are backward-compat :)19:41
Wizzupgreat :)19:41
mkfcan i have a gittea account?20:33
Wizzupyeah once the setup is done/migrated I'll start doing that20:37
Wizzupright now it's still just a demo setup20:38
Wizzupwe haven't migrated anything yet from github, I might also just open the reg up completely20:38
Wizzupfor now we're still using github20:38
mkfok20:40
Wizzupmkf: if you have a use for it now, I can give you one too, it's just just not useful yet at this point, I'm going to remove/delete all the repos that are on there currently before we switch20:44
arno11Wizzup: again @renice, the 2 fmg's commits for mce and xorg + H-D renice give good perfs. you should try. not sure it is useful for you, devs, to spend time on cgroup ATM. but ofc that's just my POV.20:56
WizzupI think fmg already built the packages20:57
arno11ah ok, so worth a try ofc20:58
mkfidk a git repo would be nice. :)20:58
mkfi was going to upload kernel somewhere20:58
mkfand device trees20:59
arno11Wizzup: btw HW accel seems not working on n900: xorg returns 'GLX: Initialized DRISWRAST GL provider for screen 0'21:01
arno11that's maybe why Qt5 is buggy without raster21:02
siceloWizzup: you will also need to watch out for AI/LLM scrapers. seems many forges are struggling with that these days. some have implements some strict login measures as a result21:03
Wizzupsicelo: yeah we get that a lot with archive.org too21:06
freemangordonarno11: GLX is GL, not GLES21:07
dsc_compiling chromium, my pc starting to make strange noises...21:16
dsc_freemangordon: since you do kernel stuff, do you have a super computer, or no21:17
dsc_how many cores?21:17
arno11freemangordon: oh yeah. so you mean that's just some generic stuff failing on boot. ok so the problem is eslsewhere21:19
arno11*elsewhere21:20
Wizzupdsc_: kernels compile way faster than chromium21:25
Wizzuplike 10x or something :)21:25
dsc_:P21:26
arno11freemangordon: indeed, es2_info seems to return proper output21:30

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