libera/#maemo-leste/ Wednesday, 2021-07-07

stanu162MB used on maemo-leste right now, 12 terminals open.  Wish my other systems were so frugal.03:58
stanuis the hdmi1 using some plain framebuffer driver? seems pokey04:05
freemangordonWizzup: We shall ask jusa for "module restore" as well (why it is needed and shall we bring it in leste as well)07:40
dreamerhttps://hilbricht.net/software_criteria.html08:13
freemangordonhttps://github.com/maemo-leste/osso-abook/commit/af9577f9746df3eb3040a510fcfa3ac46287fd2f08:43
freemangordonhttps://github.com/maemo-leste/osso-abook/commit/62d066a6ec64e535097dd31912d59774e91ed72a08:43
freemangordon:)08:43
parazyd<308:44
parazydfreemangordon: If you also look at compiling osso-addressbook, you'll see some missing functions from osso-abook08:46
parazydThis is where I stopped further work08:46
freemangordonparazyd: no need to look, I know they are missing08:46
freemangordonbut thish should not stop you, I am nin it08:46
freemangordon*on it08:46
parazydI made TODOs in actions.c08:47
parazydok08:47
freemangordonsoon or later they will appear08:47
parazydThanks08:47
freemangordonwe need to do our meeting though08:47
parazydYes08:47
freemangordonmaybe tomorrow evening?08:48
parazydI'm available08:48
parazydoh wait, that's thursday08:48
parazydI'm busy between 7:30 pm to 10pm08:48
parazydCEST08:48
freemangordonhmm, maybe on Saturday then08:50
parazydThat should be doable08:52
bencohץ*!08:55
bencohwoops08:55
stanucalendar also has some white background text entry fields now09:49
Wizzupfreemangordon: great @ commits11:16
freemangordonmore comming :)11:17
freemangordon*coming11:17
Wizzup:D11:17
bencoh:)11:20
Wizzupbtw, it looks like spiriion is not here (mer ngfd and mce guy?), he was here before, maybe we should ask him if he wants to join again11:21
Wizzuphe might have more direct contact with some mer folks too, wrt audio or telepathty11:21
Wizzuptelepathy*11:21
bencohsounds like a good idea11:29
lelbencoh opened an issue: https://github.com/maemo-leste-extras/bugtracker/issues/22 ([REQ] wifi-switcher)11:34
Wizzupfreemangordon: re: module restore, let's see if he answers first13:01
stanuhttps://www.patrick-breyer.de/en/chatcontrol-european-parliament-approves-mass-surveillance-of-private-communications/13:42
bencohwtf13:50
Wizzupworth noting these protections do not exist in the us at all13:54
Wizzupand we'll see if it actually passes and also the legal challenges brought forward already13:54
lelparazyd created a repository: https://github.com/maemo-leste-extras/wifi-switcher14:46
parazydbencoh: Nice, seems it worked :)15:20
bencoh:)15:20
lelbencoh closed an issue: https://github.com/maemo-leste-extras/bugtracker/issues/22 ([REQ] wifi-switcher)15:21
Wizzupthere is ##leste-ci but it can be spammyu15:23
Wizzupspammy*15:24
stanu_http://0x0.st/-fd5.webp  doom3 on droid4 :P15:37
buZzstanr: at what fps?18:56
stanrbout 0.5 in opening scene18:57
buZzlol18:57
stanrthat's not at all the appropriate port18:57
stanrthere's an iphone one, one for 3DO etc18:57
buZzdoom3 for 3DO?18:58
stanrit was just neet to see it render without errors18:58
stanryes18:58
uvosno18:58
buZzO_o18:58
uvosno way18:58
jkeplerHello, I'm trying to install maemo-leste on my N900. I've got a working freemantle install, so I'm following the instruction on the wiki (https://leste.maemo.org/Nokia_N900). However, after step 1. Install "U-Boot with kernel 2.6.28-omap1", the application installer says, "!!!U-Boot with kernel 2.6.28-omap1 breaks the 3rd party package policy."18:58
buZz3DO is what, 1991?18:58
uvosthe 3do can bearly do 3d18:58
uvosthere was a (bad doom port for the 3do)18:58
buZzjkepler: yes thats correct, we break nokia's 3rd party policy :)18:58
Wizzupjkepler: how are you installing it?18:58
stanrhttps://github.com/Olde-Skuul/doom3do18:59
jkeplerIn details, it says its missing "kernel modules (=2.6.28-20103103+0m5)18:59
uvosthe d4 should be capaable of doom 318:59
uvosmaybe try on android for referance18:59
uvosthe pvr setup on leste underperforms drasticly18:59
buZzstanr: thats doom118:59
jkeplerSo, how do I tell my N900 to ignore Nokia obviously now outdated policy?19:00
stanroh right19:00
uvoseven doom 1 on the 3do is an achivement19:00
buZzthey couldnt even render doom through doom's engine :P19:00
stanr:)19:01
buZzhad to rewrite big parts, from what i see19:01
uvosyeah well the 3do has no cpu you have to use the support chips19:01
uvosanyhow off topic19:01
uvoslets not get into this here19:01
stanruvos do you know any scummvm GUI theme with double-sized fonts?19:01
stanrwe could surely one for maemo-leste scummvm19:02
uvosno19:02
bencohjkepler: what if you install power-kernel first?19:02
buZzwait, doesnt scummvm have 'double pixels' by itself already?19:02
stanrnot gui19:02
bencoh(I don't quite remember in which order that should be done, but iirc I never had any real issue installing uboot)19:02
buZzpixel-doubling, only for games?19:03
buZzsad19:03
jkeplerThanks bencoh, I'm gonna read through http://wiki.maemo.org/Kernel_Power and hopefully start things moving forward.19:05
uvosjkepler: what are you trying to achive?19:07
Wizzupuvos: install u-boot on fremantle so that he can boot leste on sd card I would guess19:07
jkepleruvos, I'm trying to follow https://leste.maemo.org/Nokia_N900 to install leste alongside my existing freemantle, but got an error that step 1. violates 3rd party policies.19:08
uvosso extract the kernel and append the on pc?19:08
uvosinstead of installing via fremantle? (im no expert on this subject)19:08
uvos*append the kernel on pc19:08
sixwheeledbeastWhat version of fremantle do you have at the moment?19:09
Wizzupuvos: I think we want our instructions to encompass instructions for users to install it on fremantle19:10
Wizzupalso while keeping fremantle intact19:10
Wizzupso we might need to expand the instructions to install power kernel first, if that is what is required19:10
uvosWizzup: sure but if it dosent work atm the route that goes by just taking the freemantle zimage and appening that to uboot on pc works fine19:11
uvosi did that recently19:11
uvosif appended kernel_2.6.28-20103103 is fine with you i can give you the image19:11
uvos@jkepler19:11
sixwheeledbeastinstalling from a base system of stable/testing/thumb and then kp/non-kp I expect to have different results.19:12
sixwheeledbeastI suppose wiki expects cssu testing?19:12
Wizzupuvos: well if one doesn't care to keep fremantle working it becomes a different story sure19:12
uvosWizzup: ?? i did keep freemantle working19:12
uvosyou can just append the kernel from the kernel .deb for fremantle, if you choose the right .deb everything will work fine19:13
uvosonce you flash the resulting uboot image via 0xffff19:13
jkeplerHow do I find out which version of cssu I'm running?19:13
uvosuname -a would be sufficant for your purposes19:14
uvos(to find out what kernel to append)19:14
Wizzupuvos: ok, it just sounds more involved and risky than fixing our wiki instructions is what I mean19:15
jkeplerSo Wizzup, if I understand correctly, 0. install the power-kernel from the freemantle application manager, then follow steps 1 - 3 to install maemo leste alongside my cssu, yes?19:16
WizzupI think so, there is a dedicated u-boot thread on the forum somewhere, I've also had this trouble in the past but I do not remember what it was exactly19:17
WizzupI think you need to install the power kernel and then pick the right u-boot entry from HAM (if you see multiple)19:17
sicelouvos: the 3d underperfomance is a Leste issue or powervr+mainline?19:21
sicelojkepler: CSSU version is stated in Settings > About Community SSU19:22
siceloas for your issue, install the modules it is asking for - should be safe to do it from `apt-get install` in XTerminal19:23
jkeplerah, I didn't realize that I could overrule the app manager with the terminal - I use apt all the time on my Debian stable installation.19:25
siceloyou can, and most of the time it's safe. However, of course you want to read all warnings and act accordingly19:26
sicelodo check your CSSU version for sure, especially to know if you have thumb, for which you'll need to be just a bit more careful with setting up your u-boot scripts if you intend to use them19:27
uvossicelo: ddk1.14 + wayland performs better maybe not quite android par19:29
bencohsicelo: iirc thumb is unusable with srtock kernel19:30
uvossicelo: its mostly ddk1.9 + xorg that underperforms vastly19:30
uvossicelo: for some really wierd reason ddk1.14 plain drm also underperforms vs wayland19:31
uvosno idea why19:31
uvos*ddk1.1719:32
bencohhas anyone tried suspend on droid4 with powervr?19:33
uvosdident work last time i tryed but not sure if its pvrs fault19:34
bencoh(I know it worked decently without, at least back 1~2y ago)19:34
sicelobencoh: yeah, hence the need to know before one sets up automatic boot. the boot script must specify the thumb kernel in that case19:34
bencohuvos: oh :(19:34
WizzupI think I did suspend and it went ok, but X segfaulted on wakeup19:35
Wizzupiirc19:35
bencohshit19:35
bencohback then I used to do it all the time with X open, and it didn't crash19:35
sicelowayland on ddk1.17 works quite alright indeed - phosh runs well enough ... not perfectly19:35
bencohWizzup: I think someone already tried disabling it but I'm unsure ... I wonder if disabling the hdmi regulator (currently always-on) would help with power19:37
Wizzupbencoh: no 3d in use and no powervr specific ddx perhaps19:37
Wizzupbencoh: good point, not sure about the hdmi regulator19:37
mighty17[m]<sicelo "wayland on ddk1.17 works quite a"> Does it crash a lot on d4?19:38
mighty17[m]Plus patch wlroots19:38
bencohWizzup: for my working suspend test? yeah, that was an old custom ddx, with no 3d/powervr19:38
Wizzupbencoh: that's probably it tbh19:38
bencoh(suspend just happened to work iirc, I didn't do anything for that)19:39
bencohI'm starting to think it might be the only way to achieve better battery life on droid4 :(19:39
uvosbencoh: hmm not sure why you would want to suspend a mapphone19:40
uvosbencoh: since battery life is pretty good idle allreadt19:40
uvosy19:40
bencoh(we currently get at most two days idling with everything disabled)19:40
bencohuvos: err .... n900/fremantle idles at ~10mW with modem on19:41
uvossure so dose android19:41
uvosit dosent suspend19:41
uvosand uses like 15mW19:41
bencohandroid on droid4 idles at 15mW?!19:41
uvosjust improve kernel support :)19:41
Wizzupbencoh: I think OFF mode would be key here19:41
uvosyeah19:41
bencohoh and, android uses suspend19:42
Wizzupuvos: is that with modem on?19:42
uvos(with no modem to be fair)19:42
uvosbencoh: no19:42
uvosbencoh: not on d419:42
uvosit dose not suspend19:42
uvosever19:42
uvosit uses off mode19:42
bencohhmm19:42
uvosWizzup: with modem its more19:42
bencoh(I didn't get great battery life on lineage/droid4 either btw, so I'm a bit puzzled anyway)19:42
uvoslinageos has many wakeups19:43
bencohWizzup: I thought droid4 already hits OFF mode?19:43
uvosno19:43
uvosit hits RET19:43
bencohah19:43
bencohI see19:43
uvosomap4 lacks support for off in mainline kernel19:43
bencohalright then19:43
sicelommm19:43
bencohhmm, was that the part where kernel complains about a missing something in firmware to enter OFF mode?19:44
siceloomap3 has support for what? OFF? RET? or both?19:44
uvosboth19:44
uvosbencoh: all the drivers need support to reload the registers after off19:44
uvosbencoh: there might be other stuff missing to19:44
uvosbencoh: tmlind likely knows more details19:45
stanrd4 is tolerant of any extended battery you wire up, even in android19:45
buZzbencoh: is twodays idle 'not great battery life' ?19:45
uvosbuZz: well no19:45
uvosbuZz: compeard to motorola stock android that really bad19:45
buZzah ok, i didnt try that19:45
bencohuvos: that wouldn't be the most difficult part, considering I had pm_suspend working (without pvr)19:45
bencohbuZz: it drops pretty quickly to less than a day overall once you start using it a bit19:47
sicelomighty17[m]: it did crash, but i think yours is more crash happy - i could use phosh reasonably ok on the droid4.19:47
buZzbencoh: yeah i know19:48
buZzimho thats still pretty ok19:48
buZzbut well, longer would be very welcome obv :)19:48
bencohthat's more than enough for a dev phone and playong around yeah :)19:50
bencohit's great already, but ... still :)19:50
uvosthe real problem is that it uses way to much power while using the device (imo)19:51
uvosthis is related to pvr19:51
bencoh(tbf 8Mm amazed at the progress that was done there)19:51
uvosthe cpu ends up doing a lot of rendering work and has to copy the frame around19:51
uvosso while scrollin in android the cpu remains idle on leste its hammerd 100%19:51
uvosalso android is way more agressvie with gateing sgx while the display is on19:52
uvosit will gate sgx between frames19:52
mighty17[m]<sicelo "mighty17: it did crash, but i th"> i mean many apps dont work :P19:53
siceloor i'm more patient ;-)19:55
mighty17[m]oh damn i have been replying sorry irc20:04
mighty17[m]i mean many apps dont work :P > well idk whom to blame pmos or sgx20:05
stanrspexking of sgx, what are you seeing with glmark2-es20:13
stanr./glmark2-es2  --fullscreen20:14
bencohuvos: is redrawing rate capped, or does it get as high as possible?20:14
stanrthough for visible results you need to dsmetool -k hildon and run it without20:16
uvosits capped to 60 but it dosent matter it never acchives this with a gles2 client20:16
bencohhildon compositing counts as gles client?20:18
uvosno - sorta20:18
bencoh(I have scrolling in mind)20:18
uvoshildon gets a special path20:18
uvosthe xclients that are not the compositor get hammerd20:18
mighty17[m]./glmark2-es2  --fullscreen oh rightt i forgot about this20:19
uvosbecause the dri2 buffer flip path is broken20:19
uvos(it causes high cpu use - very likely the cpu i copying the frame)20:19
uvos*is20:19
stanrwell we get strange results with a lot of fullscreen gles220:20
stanrlike it's getting the wrong resolution20:20
stanrbut it's faster than windowed/composited20:21
mighty17[m]gimme a sec, i hv diff powervr device20:21
stanri get glmark2 score 34 on hdmi20:21
stanrmost tests top out at 42-43 fps though which is odddly consistent20:22
jkeplerDuh! Just realized that this N900 (I have two) is the one I *didn't* upgrade to CSSU. Gotta do that first, then power-kernel, then U-Boot with kernel 2.6.28-omap1, so I can use Freemantle CSSU and Maemo Leste. Thanks for the help!20:23
uvosjkepler: you can just use my image then thats with stock freemantle kernel20:24
uvosor apppend yourself20:24
uvosno need for cssu20:24
Wizzupjkepler: great, maybe cssu should be mentioned as requirement on the wiki if not already20:24
uvos(unless you want it ofc)20:24
buZzi thought CSSU was already mentioned on it?20:24
jkepler@buZz I though so too, but I remembered incorrectly, confusing this n900 with my other one. I recently moved and this one was in storage, so its been a while since I'd picked it up.20:25
buZz:) glad you found the issue then20:26
uvoshttp://uvos.xyz/maserati/u-boot-2013.04-2-with-freemantle-kern.bin20:26
buZzcssu isnt mentioned on the wiki!20:26
buZzjkepler: if you want, you could be making your first addition to maemo leste today!20:26
buZz:D20:26
buZzlol20:27
buZzi scared them off, didnt i20:27
buZzwb20:27
jkeplerSo if I get maemo leste installed with CSSU that's something others haven't done? Or is it more that its not yet been documented?20:28
uvosits been done20:29
uvosits just poorly documented maybe20:29
buZzi think whoever wrote the documentation didnt consider that n900 might -not- be using CSSU ;)20:30
buZzgeebus20:30
uvosbuZz: maybe he just hates you20:30
uvos:P20:30
buZzunderstandable20:30
buZzmust have spoken to my gf20:30
uvos:D20:30
stanrmodifying a scummvm theme removes it from the themes list. i can't even.20:32
buZz:D20:33
siceloCSSU is not a requirement. Even stock/vanilla can handle u-boot just fine20:37
jkepler@buZz do you have some reasons you prefer running Freemantle without CSSU? I used CSSU on my other N900 for  years, so I don't recall if plain freemantle has any advantages, particularly in 2021.20:38
sicelothere's no good reason to20:39
sicelobut, if you flash the standard image, you have non-CSSU, and if you're itching to play with u-boot right away ... there's a reason20:40
jkeplerI want to start using maemo leste to the extent that I can, as I really like the idea of the project. My main phone rune LineageOS (without any Google services), but I'd much prefer having a mainline GNU/linux kernel and standard tools on a command line with a pocket-sized physical keyboard.20:42
stanrit very fun to have the same base OS on phone as rest of my devices20:43
bencohWizzup: I doubt CSSU is a hard requirement22:04
stanr'i'll just quick make a large font SCUMMVM theme', he said...22:07
bencohhaha22:08
bencohis there a way to disable HAM automatic repository update?22:10
siceloyes, at least there was in Fremantle22:11
sicelowell not disable - more like, defer : https://wiki.maemo.org/Customizing_Maemo#Disabling_Auto_Updates_Check22:12
bencohah, this might be enough, thank22:13
bencoh+s22:13
bencohwe'll see if it works on leste22:15
Wizzupshould work22:22
Wizzupbencoh: I disabled wifi with the switcher but I am still able to connect to wifi it seems?23:56

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