libera/#maemo-leste/ Sunday, 2025-01-05

Wizzupok, I made a python script to parse all our jbos and their configs to generate an ordered list of packages - so that we can build them in order without having to worry about deps next time00:04
WizzupI just had to inject 'mce-dev' as a dep since that's our only circular one somehow :)00:04
freemangordonVM does not boot to HD after dist-upgrade00:05
freemangordonwill look at it tomorrow00:05
Wizzuphttps://bpa.st/4LDA00:08
Wizzupthis will help a lot with trixie I think00:09
Wizzupfreemangordon: hmm00:13
Wizzuproot@devuan-armhf-dev:~# cat /etc/*release*|head -n100:14
WizzupPRETTY_NAME="Devuan GNU/Linux 5 (daedalus)"00:14
Wizzuproot@devuan-armhf-dev:~# arch00:14
Wizzuparmv7l00:14
Wizzupthe armhf vm on my aarch64 host is ready at least00:14
Wizzuphttps://github.com/maemo-leste/dependency-resolver/blob/master/parse.py00:18
mkfhello.05:47
mkfgood bye.05:49
mkf16:04:00 arno11 → mkfx: did you use proot or chroot ? or another method ?05:51
mkfdjuse's proot05:51
freemangordonWizzup: VM was out of disc space :)08:41
arno11mkf: ok me too. what kind of andro phone btw ?10:26
arno11did you already try to update to chimaera -devel ? (to get most leste features)10:27
arno11vkb was the main issue on my redmi: needed to remove hildon-input-method to avoid rotation bug and to use diejuse vkb properly.10:30
freemangordonhmm:10:31
freemangordonchannel 1 (2412 MHz), width: 40 MHz, center1: 2402 MHz10:31
freemangordonthat can;t be correct, no?10:32
freemangordoncenter frequency  should be 2412, right?10:32
freemangordonhmm, my PC reports channel 1 (2412 MHz), width: 40 MHz, center1: 2422 MHz10:34
mkfxarno11: I used native android keyboard11:17
mkfxgives us screen resize11:17
mkfxand no, couldn't update to devel, can't update cellulard (?) since we don't run an init11:18
mkfxtho it's a bit buggy.11:19
Wizzupyeah, with openrc's softlevel you can still have services running11:32
Wizzupthis is why I'd like to understand what was dobne11:32
Wizzupit's totally possible to leverage openrc still11:32
Wizzupand then some services will run, others can be blocked11:32
arno11mkfx: hmm, can't remember what i did exactly but you should upgrade to chimaera first (and install related missing pkgs but be sure to have proper sources.list without chimaera -devel and with ascii removed), reboot and dist-upgrade to -devel (with chimaera and chimaera -devel in sources.list)11:44
Wizzupdid anyone try to just do a rsync -anv to check the diff with a regular image11:45
arno11no idea but i can try soon11:45
Wizzupyou could also do the diff on after doing dist-upgrade I suppose11:46
Wizzupit'll just tell us what files are changed11:46
Wizzupthen we can see how they are changed11:46
arno11ok11:46
arno11but i think the problem is not the image itself, but rather the 2 custom bash scripts needed to run the img through termux)11:48
arno11one of the script runs init and xsession stuff by hand11:48
arno11i modified it a bit iirc11:49
Wizzupyes, but if it was more regular then openrc in soft run level could start the xsession script11:54
Wizzupif it's just the two scripts and the image is unchanged then it's much easier11:54
arno11yes indeed11:55
arno11mkfx: the key file is /leste/diejuse_scripts/launchMaemo.sh if you want to toy with it11:57
Wizzupfreemangordon: we have a small problem11:58
Wizzup>>> from debian.debian_support import Version11:58
Wizzup>>> v1=Version('1:1.3-1+m7')11:58
Wizzup>>> v2=Version('1:1.3-1+4m7')11:58
Wizzup>>> v1>v211:58
WizzupTrue11:58
Wizzup>>> v1<v211:58
WizzupFalse11:58
Wizzupwith chimaera we missed the +\dm7 and instead wrote +m711:58
Wizzupand this is now 'newer' than +4m711:59
Wizzupso I don't know if dist-upgrade will do the right thing11:59
Wizzupany ideas?12:05
freemangordonfor all packages?12:08
Wizzupyes12:09
Wizzupbeowulf was +2m712:09
Wizzupdaedalus is +4m712:09
freemangordonwell, I saw lots of packages upgraded12:09
Wizzupchimaera unfortunately is +m712:09
Wizzupyes, some I had to re-tag12:09
Wizzupdue to src fixes12:09
Wizzupre-tag meaning up the version12:09
Wizzupmaybe it's a non issue, I'll find out12:09
freemangordonI did another dist-upgrade, this time with enough free space :D12:09
freemangordonjust rebooting, lemme check if there are any remaining +m7 packages12:10
Wizzupbut worth checking for example if rtcom-eventlogger is 1.5.4+m7 or 1.5.4+4m712:10
freemangordonmhm12:10
freemangordonhmm, h-d hangs right after boot12:10
Wizzuphangs how?12:11
Wizzupwaiting for ready signal?12:11
freemangordonno, it boots to h-d12:12
freemangordonbut it just freeze12:12
Wizzupmaybe start it over ssh and see what the error is12:12
freemangordonsomething with virtualbox perhaps12:12
freemangordonno error12:12
Wizzupstrange12:12
freemangordonsomething virtualbox related12:12
Wizzupok12:13
freemangordonlemme try to rebuild gues additions12:13
mkfxarno: okay12:14
Wizzupfreemangordon: ah yes, new kernel12:15
Wizzupprobably need those12:15
Wizzup(and new x)12:15
Wizzupbtw, looks like there is no qt6-gtk2 platform theme, just qt6-gtk platform theme (which is gtk3)12:22
Wizzupbut that's not too important12:22
freemangordongoing to upgrade virtualbox :(12:25
freemangordoneven worse :(12:44
Wizzupfreemangordon: strange, and you're sure it is vbox?12:52
Wizzupit's going to take a bit of time to rebase all our upower patches it seems13:08
freemangordonno idea what's going on, but now VM does not even boot the kernel13:09
Wizzupit looks like some changes we suggested are included13:09
Wizzupfreemangordon: hm, and chimaera image still works?13:09
freemangordonyes13:09
Wizzupmaybe try again and ensure no free space issues?13:10
freemangordonyep, that was with 27G of free space13:10
freemangordonit does not even boot in rescue mode13:10
freemangordonbut yeah, lemme try again13:11
Wizzupok, when you want access to the armhf vm for mesa just let me know D:13:11
Wizzup:D13:11
freemangordonheh13:14
freemangordonI will need VM anyways13:14
Wizzupright13:18
Wizzupwhat's left now I think is upower (unlocks mce and status area applet battery) and then just tracker, but rtacker is not core13:19
Wizzupwe could just have mce and battery applet use mainline upower for a few days13:19
Wizzupkind of inclined to do that tbh13:19
sicelohehe13:20
Wizzupalmost none of the patches apply,  they all require conflict resolution :D13:21
Wizzup(upower)13:21
siceloi don't remember now how (by default) mce decides to power down due to low bat ... if it uses upower percentage, then people whose fuel gauges don't have calibration will not be able to run Leste, since it'll try to shutdown right away. would need to look at the battery-guard plugin to see how it makes that decision13:22
* sicelo not at PC right now13:23
WizzupI'm not saying we won't rebase13:23
Wizzupbut this is the last thing to be able to make images and dist upgrade ;)13:23
freemangordonapproximation done in upower is so inaccurate, that I am not user it is useful13:23
freemangordonso we'd better fix whatever needs to be fixed in mce/drivers instead of porting broken patches13:24
siceloyes @ approximation. i did mention it as well couple of days ago13:24
freemangordonso, besides that, what else do we need that is missing in upstream upower?13:25
sicelofreemangordon: the drivers are technically correct, since the uncalibrated fuel gauge is really not reporting any capacity. as for upstream upower, we only really need the approximation, nothing else13:25
Wizzuphttps://github.com/maemo-leste-upstream-forks/upower/commits/master/13:26
Wizzupsee to 15+ patches13:26
Wizzupsee the*13:26
Wizzupfor example https://github.com/maemo-leste-upstream-forks/upower/commit/ac052c5cc964edf432c00eab007bc6319fff526813:27
siceloWizzup: i can probably volunteer to work on forward-porting it. not sure if i can finish today, but can do my best (holding off on maeotp :p )13:27
freemangordonok, but lets first decide what we need ported13:27
freemangordonif there is a bug in upstream upower(as the ^^^ commit implies) isn;t it better to open a bug on their tracker, instead having own patches?13:28
freemangordonalso, I think we are better without that approximation patch13:29
freemangordonit is totally off13:29
sicelothat commit (time) is upstreamable for sure, but not *too* important either13:29
freemangordonlike, sometimes you see 50% and in a minute the battery is flat13:30
freemangordonon d4 that is13:30
sicelofreemangordon: some of that is probably not the approximation ... the approximation only kicks in when your device doesn't report capacity at all, i.e. not calibrated13:31
freemangordonright13:31
sicelosince you use your d4 regularly, i doubt you're affected by that13:31
freemangordond4 loses calibration on every reboot13:31
sicelothere's an openrc service that stores it, and rewrites it at boot. luckily that property is writeable on the d4's driver13:32
freemangordonthis is the capacity that gets overwritten13:32
freemangordonnot current charge13:32
freemangordonand that's what is calculated by that patch IIUC13:33
siceloyup, upower will be happy to see capacity. everything else is less important13:33
sicelowhich patch? approximation?13:33
freemangordonyes13:33
freemangordonit provides SOC based on voltage13:33
freemangordonthat's totally off13:33
siceloit's bad for sure, but i don't see another option, when voltage is the only reading you can trust13:34
freemangordonbut what do we need that for?13:34
siceloto show a battery on the status bar that gives user a rough idea of how much juice they have13:35
freemangordonwe don;t need to hack upower just to tell user that battery is low13:35
siceloand to also know when to initiate shutdown due to low battery.13:35
freemangordonit is not even rough idea13:35
freemangordonesp on degraded battery13:36
freemangordonwe can do similar without that patch, in battery applet for example13:36
freemangordonwe can issue low battery warning on lets say 3.4V13:36
freemangordonand wait for kernel to send "low battery" signal to start shutdowm13:37
siceloanyway, the problem only affects D4 and N900. other devices should be fine because their fuel gauges have reliable ways to determine it13:37
freemangordonyes13:37
freemangordonand I vote for dropping that patch13:38
sicelofreemangordon: yes @ "low battery" uevent ... hence my patch that's still waiting on krzk. without it, we never get that particular uevent13:38
freemangordonhmm13:38
freemangordonping him?13:38
sicelofor N900, that is :-)13:38
freemangordonah, kernel patch13:38
freemangordonbut again, this is not a problem of upower, no?13:39
siceloi thought to wait for holidays a little, then ping. anyway we have it in Leste, so not a problem for us13:39
freemangordonok13:39
siceloregarding upower, yes, it can definitely be handled elsewhere, e.g. mce. although i think uvos was also of the view that battery doesn't belong there :p13:40
Wizzup13:31 < freemangordon> d4 loses calibration on every reboot13:40
siceloanyway, whichever options is fine really. at the end of it all, what matters is (1) being able to show something to the user, and (2) not draining batteries excessively13:41
WizzupI think it gets saved in init script. no?13:41
freemangordonit is capacity that gets saved, bu we lose SOC13:41
freemangordon*but13:41
Wizzupok13:41
Wizzupso shall I continue for now with daedalus/bookworm upower?13:41
freemangordonyes13:41
siceloSOC is automatically calculalaated by the cpcap driver if capacity is there, iirc13:42
freemangordonno13:42
freemangordonunless I am missing something13:42
freemangordonbut after reboot current charge is reported as 013:42
sicelommm, anyway, upower won't mind charge = 0 as long as capacity != 0 :-)13:43
sicelolet's go with upstream upower13:43
freemangordonyes13:43
freemangordonand see what is missing13:44
freemangordonand kind of start clear, more or less13:44
WizzupI think we'll find probably a bunch but maybe it's gotten better13:44
WizzupI think we also depend on some of the properties that were added13:44
freemangordonok, but lets at least report what is missing to upstream and pester them13:44
freemangordonbecause on the next migration we'll have the same issues otherwise13:45
siceloi know for sure the power off problem on N900 (because i experience it on pmos). but then most people have USB port, so easy way out is just to connect a charger ;-)13:45
siceloit's particularly bad for me because that N900 doesn't have USB port, so always reports 013:45
freemangordonok, but shall we hack upower to support a device with HW failure?13:46
sicelo:-)13:46
freemangordonthe other option is to reinvent BME13:47
siceloluckily upstream upower are now a bit more welcoming ... compared to when i tried to work on this issue previously13:47
freemangordonnot impossible, but do we want to13:47
siceloyeah let's go with upower, and move the workarounds into mce. i also would like to see less forks of stuff (that's the convo we had with wizzup regarding upower a couple of days ago)13:49
sicelo*go with daedalus' upower13:49
freemangordonalso, I think battery cannot be moved out of mce, because of emergency calls etc handling13:50
freemangordonI *don't* want mce to shut-down device for low battery during emergency (or even normal) call13:51
Wizzup13:47 < freemangordon> the other option is to reinvent BME13:52
Wizzupprefer not to13:53
freemangordonme too13:53
Wizzupin fact I prefer upower fork to another maemo specific daemon13:53
Wizzuphildon-meta-core is now installable on vm13:53
Wizzupshall I build a core vm image?13:54
Wizzup(for daedalus)13:54
freemangordonyes, please13:55
freemangordonmaybe it will work properly here :)13:55
Wizzupok, will take a few hours13:55
freemangordonsure13:55
freemangordonWizzup: I wonder if we will be able to enable openrc parallel boot at last13:58
Wizzupon the n900 that will just cause more pain I think13:58
Wizzuphm, maybe we need tinydm13:59
Wizzupor did we not need that any more13:59
freemangordonI think we need it13:59
freemangordonhmm, lemme check the package13:59
Wizzupit's not installed on my d413:59
freemangordonautologin14:00
freemangordonno tinydm is needed14:00
Wizzupautologin I did14:00
Wizzupdo you remember the file to touch to have dsme not reboot upon failure, just in case?14:00
Wizzup/etc/no_lg_reboots14:01
freemangordonmhm14:01
freemangordonlrwxrwxrwx 1 root root 19 Mar 15  2023 /etc/no_lg_reboots -> no_lg_reboots.leste14:01
freemangordonperhaps it is provided by some package14:02
Wizzupfreemangordon: I see this in my vm: xf86EnableIO: failed to enable I/O ports 0000-03ff (Operation not permitted)14:06
WizzupI wonder if you saw the same14:06
freemangordonyou have to change vga emulation type14:06
freemangordonto VMSVGA14:06
WizzupI use qemu14:06
freemangordonah14:06
Wizzupwhere does X log to again...14:07
Wizzupsigh14:07
freemangordonI see that in virtualbox for anything else but VMSVGA14:07
Wizzup.local/share/xorg14:07
freemangordonyeah14:07
freemangordonwill have to fix that14:07
Wizzupsudo Xorg starts at least for me14:08
freemangordonhmm14:08
Wizzupthis might be some autologin thing14:08
Wizzupslash elogind14:08
freemangordonyeah14:08
freemangordonmaybe some option is missing14:08
sicelologging to .local? that's due to non-root Xorg, so is a good thing14:08
WizzupI don't know how we use autologin, I will try to debug a bit later14:08
Wizzupso will hold off on images for now14:08
freemangordonhttps://bbs.archlinux.org/viewtopic.php?id=27903114:09
WizzupI saw the same thread14:09
WizzupI don't think this is the case14:09
freemangordonseems modesetting is not probed or fails14:09
Wizzupwhen I run 'Xorg' as user it is tried I think14:09
WizzupI'll double check14:09
Wizzupha14:11
Wizzuplooks like there is no error14:11
WizzupX just stops14:11
Wizzupmaybe there is no xsession/xinit it can find14:11
freemangordonmhm14:11
freemangordondoes it have .xsession-errors?14:12
Wizzupyes14:12
freemangordondo you have xinit installed?14:12
Wizzup/etc/X11/xinit/xinitrc: 5: /etc/X11/Xsession.d/00settings: xhost: not found14:12
Wizzup/etc/X11/xinit/xinitrc: 35: /etc/profile: source: not found14:12
WizzupAF Warning: '/etc/osso-af-init/keyboard.defs' not found14:12
freemangordonxhost: not found :)14:12
WizzupConnection failure: Connection refused14:12
Wizzuppa_context_connect() failed: Connection refused14:12
WizzupXsession: unable to start X session --- no "/home/user/.xsession" file, no14:12
Wizzup"/home/user/.Xsession" file, no session managers, no window managers, and no14:12
Wizzupterminal emulators found; aborting.14:12
Wizzupok14:13
Wizzuptrying14:13
freemangordonhmm:14:13
freemangordon /etc/profile: source: not found14:13
Wizzupdash vs bash14:13
freemangordonyeah14:13
Wizzupthis might be something that will be ok in our image builder14:14
freemangordonbut why do we still have 'source'?14:14
Wizzupdebian defaults to dash14:14
Wizzuppretty sure we set it to bash14:14
WizzupI'll fix that14:14
Wizzupand no, dash never supported source14:14
Wizzupand never will14:14
Wizzupit's kind of a poor shell, but it's faster than bash so debian uses it14:14
Wizzuphm user is set to bash14:14
WizzupI would ignore the source error14:15
Wizzupok, another error, let me remove xsession errors and restrt for good measure14:15
freemangordonwait14:15
freemangordonis user member of video?14:15
Wizzupyes14:15
Wizzupthe source error was gone btw14:15
freemangordonheh14:16
Wizzuphttps://bpa.st/UE2A14:16
freemangordona package is missing14:17
freemangordonbut lemme try to find which one14:17
Wizzuphttps://bpa.st/OHHA14:18
freemangordonx11-common?14:18
freemangordoninstall x11-common14:18
Wizzupx11-common is installed14:18
freemangordonhmm14:18
Wizzupmaybe the contents of system xsession is changed14:19
freemangordonno, because afetr dist-upgrade it starts X properly14:19
freemangordonsot it is some package that's missing14:19
Wizzupok, then I am just missing something I guess14:19
freemangordonmhm14:19
Wizzupwait, see alarmd message14:21
Wizzupit is loading our session14:21
freemangordonhmm, then it somehow aborts14:21
Wizzupit just decides that no persistent program is running in X or something?14:21
freemangordonyeah14:21
Wizzuproot@devuan-daedalus:/etc/X11/Xsession.d# dpkg -S 99x11-common_start14:22
Wizzupx11-common: /etc/X11/Xsession.d/99x11-common_start14:22
Wizzupdoes that contain exec $STARTUP on chimaera for you?14:22
freemangordonsec14:22
Wizzuplooks like it14:22
freemangordonhave to boot it14:22
WizzupI checked, it's ok14:22
freemangordonXsession: unable to start X session --- no "/home/user/.xsession" file, no14:23
freemangordonhmm14:23
freemangordonwhere this comes from?14:23
WizzupI don't know14:23
Wizzup50x11-common_determine-startup:    ERRMSG="$ERRMSG no \"$USERXSESSION\" file, no \"$ALTUSERXSESSION\" file,"14:24
Wizzupbut this is the same in chimaera14:24
Wizzupit looks like no window manager is set (/usr/bin/x-window-manager does not exist)14:26
freemangordonlrwxrwxrwx 1 root root 34 Dec 13  2022 /usr/bin/x-window-manager -> /etc/alternatives/x-window-manager14:26
freemangordonyes14:26
Wizzupnot sure if this matters, but let's see14:27
freemangordon/etc/alternatives/x-window-manager -> /usr/bin/matchbox-window-manager14:27
freemangordonyes, it matters14:27
Wizzupbut does it launch this?14:27
freemangordonno, I think it just checks it14:27
Wizzupha14:27
freemangordonmatchbox-window-manager is the package14:28
Wizzupnot enough, let me check some other things14:28
Wizzupoh, matchbox-window-manager is not installed14:29
freemangordonmhm14:29
Wizzupstrange14:29
freemangordonhttps://pastebin.com/HVwVgR0s14:30
Wizzuphildon-control-panel recommends it but doesn't dep on it14:30
Wizzupmaybe this is some 'do not auto install recommends' issue14:30
Wizzupsudo apt-get install --install-suggests hildon-meta-core14:31
Wizzupwants like 100 packages14:31
freemangordonheh :)14:31
freemangordonbut why?14:32
Wizzupchange in debian14:32
WizzupI suspect14:32
Wizzupuser@devuan-daedalus:~$ apt-config dump | grep -i sugg14:35
WizzupAPT::Install-Suggests "0";14:35
Wizzupuser@devuan-daedalus:~$ apt-config dump | grep -i recomm14:35
WizzupAPT::Install-Recommends "1";14:35
Wizzuphm, this is the same on chimaera14:35
Wizzupstrange14:35
Wizzupwill figure it out, let's see if X works now first14:36
Wizzupyes14:37
WizzupI have working h-d14:37
freemangordon:)14:40
Wizzupmaybe I should make an image and see if it has the same issues14:41
freemangordonhmm, was not that an image?14:45
WizzupI started with daedaus cd14:48
Wizzupdaedalus14:48
Wizzupinstalled it, etc14:48
freemangordonWizzup: seems +4m7 versions are installed over +m7 version14:52
Wizzupgreat :)14:53
Wizzupthen just our repodiff tool is wrong, but it uses debian python module14:53
Wizzupstrange14:53
freemangordonwell, still dist-upgrading14:53
freemangordonwill confirm after it finishes14:53
freemangordonif it boots :)14:54
Wizzupmaybve check dpkg -l before it reboots14:55
freemangordoncheck what? kernel hangs :)14:56
Wizzupyou do dist upgrade14:57
Wizzupand then you don't type 'reboot'14:57
Wizzupinstead you type dpkg -l14:57
Wizzup:)14:57
freemangordonok14:57
freemangordonhow would that help?14:57
Wizzupit would tell me what I want to know before your kernel potentially hangs14:59
Wizzup:D14:59
freemangordonok14:59
Wizzuppls check with a core package that wasn't changed, like osso-xterm or something15:02
Wizzupalso keep in mind hildon-meta won't upgrade, it'll get removed, but hildon-meta-core should15:02
Wizzupor hildon-core-meta don't remember15:02
freemangordonok15:02
freemangordonoh, upower has epoch 115:03
freemangordonuser@devuan:~$ dpkg -l | grep '+m7' | wc -l15:04
freemangordon152015:04
freemangordon:D15:04
Wizzupthese could be imported or translations15:07
Wizzupcan you check with a core pkg15:07
Wizzuphildon-desktop15:07
Wizzupor osso-xterm15:07
freemangordonosso-xterm:amd64                                        0.15+m715:08
freemangordonbut, upgrade still going15:08
Wizzupok15:08
Wizzuplet's wait15:08
freemangordonhave to run for a while, bbl15:09
WizzupI will also take a break for 1-2 hours15:09
freemangordonosso-xterm:amd64                                        0.15+m715:26
freemangordonhttps://pastebin.com/qHgGrqGx15:29
freemangordonok, h-d is unresponsive after reboot15:40
freemangordonalso, reboot/shutdown etc do nothing15:40
freemangordonhmm, it hangs in Run till exit from #0  __GI___libc_write (nbytes=2, buf=0x7ffcb3fc5be3, fd=2) at ../sysdeps/unix/sysv/linux/write.c:2615:45
freemangordonhttps://pastebin.com/PB13fhv715:46
freemangordonecho hello > /dev/console hangs too15:54
Wizzupfreemangordon: did it even upgrade to new version16:18
WizzupI would bet it did not16:18
Wizzupwe have a problem with this m7 vs 4m716:18
Wizzupfreemangordon: https://wiki.debian.org/AptConfiguration16:44
Wizzupwe can fix this with a priority potentially16:44
Wizzupcan you try sudo apt-get dist-upgrade -t daedalus ?16:46
Wizzupor maybe apt -t daedalus dist-upgrade16:47
Wizzupfreemangordon: we can also rebuild everything with a different suffix16:52
Wizzupwe can change 1:2.2.196+4m7 to 1:2.2.196+maemo7-416:54
Wizzupor 1:2.2.196+maemo7.416:54
WizzupI like the +maemo solution16:59
freemangordonlemme try with apt -t daedalus dist-upgrade17:27
freemangordondoes not help17:27
freemangordonWizzup: we must use repository priority somehow17:30
freemangordonor, use metapackage17:33
freemangordonBTW, hildon-desktop is the correct version17:35
freemangordon1:2.2.196+4m717:35
freemangordonwe can't use 1:2.2.196+maemo7.4, because .N is for build number17:36
freemangordonand '-' is for debian release17:36
freemangordonWizzup: what about creating script that fixes the mess?17:39
freemangordonapt install '?version(\+m7.*)' -t daedalus17:46
freemangordonhmm, did you rebuild libgtk2.0-0 ?17:49
freemangordonWizzup: ok, added a file in /etc/apt/preferences.d and was able to upgrade18:03
Wizzupfreemangordon: I have a vm image now btw18:08
freemangordonok18:08
Wizzupwhat change did you make to apt18:08
freemangordonroot@devuan:/etc/apt/preferences.d# cat daedalus.pref18:09
freemangordonPackage: *18:09
freemangordonPin: release n=daedalus18:09
freemangordonPin-Priority: 100018:09
Wizzupwe can install that on chimaera with leste-config18:09
freemangordonmhm18:09
freemangordonand later on remove it, after dist-upgrade18:09
freemangordonnot sure how exactly18:09
Wizzupdaedalus leste-config can remove it18:10
freemangordonyeah, but we must be sure everything is upgarded first18:10
freemangordonis it normal that echo to /dev/console to hang?18:11
freemangordonhmm https://github.com/systemd/systemd/issues/2909518:13
Wizzuptesting the tiny img18:14
Wizzupbooted to h-d18:14
Wizzup:)18:14
sicelofreemangordon: brief return to the upower issue ... one argument for adding the improvements in upower (eventually upstreaming) instead of mce is - if upower reports something usable, then any other application a user may install will see some usable values. e.g. Wizzup had some gnome thing that displayed battery graph. buzz also wrote something.18:15
sicelojust mentioning ... not disagreeing with using upstream upower as is. it remains true that the problem only affects D4 and N900, and only under certain circumstances, so we definitely don't need to r18:15
siceloearchitect a lot of stuff just for these niche cases18:15
freemangordonsicelo: I am all for improving upower18:15
freemangordonas long as we not have to support a pile of patches18:15
freemangordonwe just don;t have the manpower to do it18:15
freemangordonWizzup: does it react to touches/clicks?18:16
freemangordonalso, which kernel does it boot to?18:16
Wizzupfreemangordon: yes18:16
Wizzup6.1.0-2818:16
WizzupI will send you vdi18:17
siceloi once wrote this, https://gitlab.freedesktop.org/upower/upower/-/merge_requests/188/diffs ... unfortunately the conversation didn't go very well (maybe my fault ... was my first interaction with an fdo project)18:17
freemangordonWizzup: no need18:17
freemangordonfor now at least18:17
buZzsicelo: fyi , my tool/gizmo doesnt use upower for its data, but sysfs files18:19
siceloah, good to know18:19
buZzhttps://space.nurdspace.nl/~buzz/maemo/batmon.py18:19
buZzalso my first attempt at a QT application ;) not really happy with it18:20
buZzsucks way too much cpu for a graph that doesnt update so often18:20
Wizzupfreemangordon: https://maedevu.maemo.org/images-devel/vm/daedalus-test/18:22
WizzupI never had a new dist image work first time :)18:23
freemangordonnice :)18:23
Wizzupnote that this is -tiny- image, so no language packs18:23
freemangordongetting better18:23
sicelobuZz: it's obviously polling ... that can be a problem. upower mostly listens to events (udev), and only polls if there's no activity there18:23
freemangordonso, what about my question?18:23
freemangordonWizzup: ^^^18:23
Wizzupwhat question18:23
freemangordon/dev/console18:23
freemangordonwriting to it hangs18:23
freemangordonany idea?18:23
freemangordonthat's why all daemons are frozen18:24
freemangordonh-d as well18:24
WizzupI don't know, seems strange18:24
Wizzupbut I don't know what could cause this18:24
Wizzupyou can try the vdi I sent and see if it is a virtualbox thing18:24
Wizzupthe qcow2 that I am uploading now workas18:24
Wizzupworks18:24
freemangordonlemme first finish with the upgrade18:25
buZzsicelo: but the polling is delayed by         self.timer.setInterval(10000)18:27
buZzyet, it still sucks up cpu like no tomorrow18:27
Wizzupyeah, better to use upower data for this18:27
WizzupI made a python script to read it somewhere18:27
buZzi expected the qt timers to not use cpu while waiting :)18:27
buZzWizzup: i know its possible, but that doesnt teach me what went wrong :)18:28
Wizzuphttps://maedevu.maemo.org/images-devel/vm/daedalus-test/ qcow2 image as wel18:31
Wizzupnot usefor to testing, but useful for devel without dist upgrade18:31
Wizzupuseful18:31
sicelobuZz: not the waiting ... the re-reading after timer expiry. upower mostly doesn't do it, relying on udev.18:33
buZzbut once every 10 seconds of reading textfiles shouldnt cause it to keep high cpu during those 10 secs wait, right?18:34
buZzkinda feels like its forever redrawing the graph at high fps, or something18:36
siceloupower is calling you, haha. anyway18:40
sicelothanks @ qcow2 image Wizzup . might give it a try18:40
freemangordonWizzup: so, did you rebuild gtk2 for daedalus?18:44
freemangordonWizzup: aftre doing proper dist-upgrade, it works fine18:52
freemangordonmodest crashes on start though18:52
Wizzupfreemangordon: yes, gtk was also built19:04
Wizzupfreemangordon: modest is not ported yet, tinymail does not compile19:04
Wizzupsome 'extern' keyword trickiness19:07
Wizzup(iirc)19:09
freemangordonok19:10
freemangordoncloned mesa, lets see19:10
WizzupL(19:12
Wizzup:)19:12
freemangordonWizzup: which debian release we are at? bookworm?19:17
Wizzupdaedalus is bookworm yes19:20
freemangordonhmm, does not rebase cleanly :(19:24
freemangordon"Successfully rebased and updated refs/heads/powervr/kirkstone/22.3.5."19:28
Wizzupyou rebased your work, or what?19:30
freemangordonI rebased staticrocket19:30
Wizzupon debian mesa?19:30
freemangordonyes19:30
Wizzupok, do you want to try that without any of our patches?19:31
freemangordonyes19:31
freemangordonthat's the idea19:31
freemangordonlemme first see if it rebuilds19:31
freemangordonumm.. buils19:32
freemangordonbuilds19:32
freemangordonwill push after that19:32
Wizzupok19:32
freemangordonhmm, lemme enable pvr driver19:33
Wizzup17:36 < freemangordon> we can't use 1:2.2.196+maemo7.4, because .N is for build number19:42
Wizzupwe could do 7r419:42
Wizzupor whatever19:43
freemangordoncould be, but we'd better keep current19:43
freemangordonwe have a workaround, no?19:43
Wizzupmaybe, but wanted to point out that we have a method that will not need any hacks19:43
mkfhello20:24
freemangordonmesa does not build :(21:13
freemangordonor rather - it builds but packaging fails21:13
freemangordondh_missing: warning: usr/share/mesa/wayland-drm.xml exists in debian/tmp but is not installed to anywhere21:13
freemangordondh_missing: warning: usr/share/pkgconfig/wayland-drm.pc exists in debian/tmp but is not installed to anywhere21:14
freemangordonhmm, those seem to come from sgx patches21:19
freemangordonWizzup: https://github.com/maemo-leste-upstream-forks/mesa/tree/maemo/daedalus22:07
freemangordonwhere to build for arm?22:07
Wizzuphttps://phoenix.maemo.org/view/Images/job/leste-image-virtual-daedalus/1/console22:28
Wizzupfreemangordon: in our ci?22:28
Wizzupfreemangordon: do you want to build just arm, or?22:28
freemangordonyes, I want to test it first. anyway, installing pbuilder in VM22:29
freemangordondo you have any experience with it?22:30
Wizzupmargical22:45
Wizzupin any case I do have this vm that I can give you ssh to22:46
freemangordonlemme first try to setup local env22:46
freemangordonI am almost there22:46
Wizzupok22:50

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