libera/#maemo-leste/ Sunday, 2023-03-12

Wizzupok, I think the pinephone image build is fixed13:54
Wizzuplet's see if this one completes13:54
Wizzuphttps://phoenix.maemo.org/view/Images/job/leste-image-pinephone/138/consoleText arg, now uboot needs some python16:28
arno11Wizzup: i found a workaround to decrease power consumption from 120-150mA to 55mA idle with GUI and just one bash command and without pm scripts18:36
buZzwhats the command ? :P18:36
arno11sudo modprobe -r "omap3_isp" "ehci_omap" "omap_hdq" "hci_nokia"18:37
buZzwont that kill the modem?18:37
arno11nope18:37
arno11on N900 it doesn't affect anything18:40
arno11excepting powering off and i don't understand why18:40
freemangordonomap_hdq? that should not affect omap3, afaik18:43
freemangordonarno11: are you sure removing omap_hdq affects idle consumption?18:44
* freemangordon opens TRM18:44
arno11iirc only 2mA and don't understand why18:45
buZzmaybe its loaded out of place, and keeps looping to look for the hardware?18:46
arno11links between modules are really unpredictable18:48
freemangordonваит, И ам вронг18:48
freemangordonoops18:48
freemangordonwait, I am wrong18:48
freemangordonthere is hdq/1 wire on omap3 it seems18:49
arno11yes18:49
freemangordonarno11: could your try something else?18:49
arno11yes sure18:49
freemangordonoptions wire search_count=1 max_slave_count=118:50
freemangordonarno11: https://github.com/maemo-leste/leste-config/blob/master/leste-config-mapphone/etc/modprobe.d/wire.conf.leste18:51
freemangordonwe had issues on d4 with wire searching for devices avery few seconds18:52
freemangordonthe above fixed high hdq idle usage on d418:52
freemangordonarno11: I guess you know what to do with the above, right?18:53
arno11yes i think18:55
freemangordonarno11: if the helps, maybe create a pr for https://github.com/maemo-leste/leste-config/tree/master/leste-config-n900/etc/modprobe.d18:55
Wizzuparno11: great, is that in RET?18:55
arno11Wizzup: unfortunatly not18:56
Wizzuprafael2ks, if you can, maybe test 20230312-chimaera18:56
WizzupI fixed the image builder18:56
Wizzup(back in a bit, have guests)18:56
freemangordonWizzup: hi! did I remember correctly that there is some special elogind X in -experimental? what is special about it?18:56
freemangordon*do I18:56
WizzupI think I need to build it for experimental18:57
Wizzupit was in -devel but I pruned it from there18:57
Wizzup(the xorg-server repo still has a maemo/chimaera-devel branch though)18:58
Wizzupfreemangordon: I don't know exactly what it does, but basically, our current build is special, because I *disabled* elogind support18:58
freemangordonah18:58
WizzupI don't know exactly what it does when disabled, but it's whatever we had before18:58
Wizzupso for -devel (but we should do experimental) I re-enabled it18:59
Wizzupif you want I can issue a build for it18:59
freemangordonok, but why it was disabled in the first place?18:59
Wizzupdepends on elogind :)18:59
freemangordonah18:59
freemangordonok, could you build for -devel?18:59
Wizzup-experimental ok too?18:59
freemangordonenable and build that is18:59
freemangordonwhy -eperimental?18:59
Wizzupbecause it might break installs19:00
WizzupI removed it from -devel for this purpose earlier, when testing your other fixes19:00
freemangordonok, but that's what -devel is for, no?19:00
Wizzupwe've used -devel for testing sw, -experimental for breaking boot-loop type changes19:00
freemangordonwe agreed on -testing, iirc19:00
Wizzupright19:00
Wizzupprobably -experimental does not exist19:00
WizzupI can build for -devel if you want19:00
freemangordonyes, please do19:01
WizzupI have guests so have to hurry :P19:01
Wizzupok19:01
freemangordonheh19:01
Wizzuprunning19:01
Wizzupchimaera images should all build now, btw19:01
WizzupI will dist-upgrade the 32 bit builder too, but later today19:01
arno11freemangordon: i'll try the modprobe option later this evening and let you know19:06
freemangordonthanks19:11
freemangordonuvos: in your elogind changes, what is the process that keeps the session alive?19:29
freemangordonoh19:36
freemangordonhttps://github.com/maemo-leste/hildon-session/blob/master/hildon-session/usr/bin/hildon-session#L4819:36
freemangordonuser@devuan:~$ loginctl19:57
freemangordonSESSION  UID USER SEAT  TTY19:57
freemangordon      1 1000 user seat019:57
freemangordon      2 1000 user       pts/019:57
freemangordon2 sessions listed.19:57
freemangordon:)19:57
freemangordonuvos: the only issue is that vt1 (the one with X running) is but on background, so I have to chvt, will need help on that one19:59
freemangordons/but/put19:59
freemangordonhmm, actually it is vt0220:24
arno11freemangordon: it works ! now 52mA with hdq running with option21:04
freemangordon:)21:05
arno11giving near 26h idle with n900 :)21:05
freemangordoncare to make a pr?21:05
arno11i would like to test other things before21:05
freemangordonok21:06
arno11with hci_nokia and omap_dsp21:06
freemangordonstill, these are independent, PR for hdq only would make sense21:07
freemangordonbut as you wish21:08
siceloarno11: yes you definitely don't need hci_nokia ... bt is currently completely broken on N900.21:08
arno11yes it make sense21:08
arno11sicelo: yes definitly21:08
arno11disabling it return segmentation fault21:09
sicelothat's weird ...21:09
arno11but it burns 20mA !21:09
arno11yes really weird21:09
siceloit doesn't work, but shouldn't segfault. at least i've never seen that, and i've played with it extensively (because i want to get it working eventually)21:10
arno11and even broken ah ok21:10
arno11it stays anyway linked with so much modules21:10
sicelothe hdq stuff - it should not even be getting loaded in the first place ...21:16
siceloi think there's bq27xxx-hdq module in Leste. that should be removed from config21:16
arno11yes bq27-hdq is present21:19
freemangordonwait, there could be devices that use it21:20
arno11and it isn't linked to other module21:20
freemangordonwe have n900 config to disable unused modules21:20
sicelounfortunately you no longer have n900 config :-)21:21
freemangordonmhm21:21
freemangordonwell, why 'unfortunately'?21:21
siceloor fortunately then :p21:21
freemangordonright :p21:22
siceloi'm just saying - there's no longer an n900 config in leste. there's an omap config21:22
Wizzupback21:22
Wizzupfreemangordon: did you get the x server?21:22
Wizzuparno11: that's really great21:22
freemangordonWizzup: yes21:23
freemangordonand I am almost there, but cannot understand why startx starts X and then xorg exits in 3 seconds21:23
Wizzupshould you use startx still?21:23
freemangordonwell21:24
freemangordonif I want /etc/X11/Xsession to be executed, yes, seems easier21:24
freemangordonWizzup: autologin user startx -keeptty /usr/bin/xterm21:24
freemangordonthis is supposed to start xterm, right?21:25
Wizzupok21:25
Wizzupprobably yes21:25
freemangordonit starts it, but it exits in a second21:25
freemangordonwell, not xterm21:25
freemangordonxterm does not get started21:25
freemangordonand there is no error message whatsoever21:25
freemangordon"Server terminated successfully (0)"21:26
freemangordonany hint where to look?21:27
freemangordonoh, got it :)21:34
Wizzupwhat  was it?21:42
freemangordon-keeptty option to xorg was missing21:42
freemangordonnow hildon-desktop starts21:43
freemangordonbut some of the servisec does not21:43
Wizzupok21:43
Wizzupnice progress21:43
freemangordonuser@devuan:~$ loginctl session-status 121:53
freemangordon1 - user (1000)21:53
freemangordon           Since: Sun 2023-03-12 20:51:31 UTC; 1min 23s ago21:53
freemangordon          Leader: 2337 (autologin)21:53
freemangordon            Seat: seat0; vc121:53
freemangordon         Display: :021:53
freemangordon         Service: autologin; type x11; class user21:53
freemangordon           State: active21:53
freemangordon:)21:53
Wizzupsweet21:57
freemangordonyep21:57
freemangordonWizzup: is there any issue if we pull xinit?21:57
freemangordonoh, and Xorg runs as user ;)21:58
Wizzupfreemangordon: don't see why @ xinit22:13
Wizzup(as in, no problem)22:13
freemangordonok22:13
Wizzupshould autologin go to maemo-leste-upstream-forks?22:13
freemangordonmmm, why upstream?22:14
freemangordonI put it in https://github.com/maemo-leste/autologin22:14
freemangordonbut if you say...22:14
freemangordonlets move it22:14
freemangordonshall I move it?22:15
freemangordon(not that I know how)22:15
freemangordon:)22:15
WizzupI mean, is it our project or a fork22:16
freemangordonhmm, we already have autologin ther it seems22:17
freemangordonit is a fork22:17
freemangordonheh22:17
freemangordonhttps://github.com/maemo-leste-upstream-forks/autologin22:17
freemangordon:)22:17
freemangordondo we already have that in -devel?22:18
freemangordonseems yes22:18
Wizzupfreemangordon: back23:00
Wizzupfreemangordon: right yeah I packaged that already23:00
freemangordonbuilding new maemo-system-services that should start xorg/session as user23:01
Wizzupgreat23:04
freemangordonupgrading my d4, will let you know if it still boot :)23:05
freemangordonnope :(23:09
freemangordonsomething is different23:09
freemangordonXorg start fails with some weird error23:10
freemangordon"invalid argument -logfile with elevated privileges"23:10
freemangordonthis does not happen in the VM :(23:10
Wizzupfreemangordon: did you get new xorg too?23:15
Wizzupah, logfile is not accepted?23:15
freemangordonyes, this is the new xorg23:16
freemangordonmaybe I forgot something. investigating what's going on23:16
freemangordonremoving -llogfile paramater makes it boot23:27
Wizzuphm23:28
Wizzupwhere does it log to then23:28
freemangordonin /var/log :)23:30
Wizzupok, I think that is better than /tmp honestly23:30
freemangordonbut it seems there is no acceleration23:30
freemangordonhmm, weird23:31
freemangordonno error, but no accel either23:32
freemangordonmaybe kernel issue, lets reboot23:32
Wizzupmaybe privs on /dev/dri or something silly23:34
freemangordonmhm23:34
freemangordonbut not sure how to verify23:35
Wizzupmaybe check unix groups and privs of runnig process and of /dev/dri23:35
freemangordonmhm23:36
freemangordonWizzup: user is member of video group23:36
freemangordon"GL_RENDERER: PowerVR SGX 540"23:37
Wizzuphm, maybe config file is not read?23:37
Wizzupor does it work not23:38
freemangordonwhich config file?23:38
WizzupXorg23:38
freemangordonsorry, don;t get that23:39
freemangordon99-omap.conf.leste?23:39
Wizzupright, sorry, not sure what's up here23:39
freemangordonanyway, will reboot with debug enabled23:39
freemangordonthe fuck? restarting hildon-desktop fixes that23:47

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