#mer log for Thursday, 2018-02-01

*** KaiRo_Mozilla <KaiRo_Mozilla!~robert@80-121-57-45.adsl.highway.telekom.at> has quit IRC (Remote host closed the connection)00:02
*** chriadam_ <chriadam_!~cadams@pa49-197-10-240.pa.qld.optusnet.com.au> has joined #mer00:46
*** Son_Goku <Son_Goku!~King_InuY@fedora/ngompa> has quit IRC (Quit: My MacBook has gone to sleep. ZZZzzz…)00:54
*** psachin <psachin!~iclcoolst@103.51.235.155> has joined #mer00:59
*** nerdboy <nerdboy!~sarnold@gentoo/developer/nerdboy> has quit IRC (Ping timeout: 265 seconds)01:54
*** Son_Goku <Son_Goku!~King_InuY@fedora/ngompa> has joined #mer01:54
*** nerdboy <nerdboy!~sarnold@gatekeeper.gentoogeek.org> has joined #mer02:11
*** nerdboy <nerdboy!~sarnold@gatekeeper.gentoogeek.org> has quit IRC (Changing host)02:11
*** nerdboy <nerdboy!~sarnold@gentoo/developer/nerdboy> has joined #mer02:11
*** pseudodev <pseudodev!uid205973@gateway/web/irccloud.com/x-lkcokmrkpgtgdhuq> has joined #mer03:25
*** Son_Goku <Son_Goku!~King_InuY@fedora/ngompa> has quit IRC (Quit: My MacBook has gone to sleep. ZZZzzz…)04:07
*** chriadam__ <chriadam__!~cadams@pa49-197-10-240.pa.qld.optusnet.com.au> has joined #mer04:46
*** chriadam_ <chriadam_!~cadams@pa49-197-10-240.pa.qld.optusnet.com.au> has quit IRC (Ping timeout: 248 seconds)04:48
*** frinring_ <frinring_!~frinring@78.50.142.87> has joined #mer04:49
*** frinring_ <frinring_!~frinring@78.50.142.87> has quit IRC (Changing host)04:49
*** frinring_ <frinring_!~frinring@unaffiliated/frinring> has joined #mer04:49
*** frinring <frinring!~frinring@unaffiliated/frinring> has quit IRC (Disconnected by services)04:49
*** chriadam_ <chriadam_!~cadams@pa49-197-199-241.pa.qld.optusnet.com.au> has joined #mer04:59
*** chriadam__ <chriadam__!~cadams@pa49-197-10-240.pa.qld.optusnet.com.au> has quit IRC (Ping timeout: 248 seconds)05:01
*** chriadam__ <chriadam__!~cadams@pa49-197-199-241.pa.qld.optusnet.com.au> has joined #mer05:02
*** chriadam_ <chriadam_!~cadams@pa49-197-199-241.pa.qld.optusnet.com.au> has quit IRC (Ping timeout: 268 seconds)05:04
*** merlin1991 <merlin1991!~merlin@Maemo/community/cssu/merlin1991> has quit IRC (Remote host closed the connection)05:25
*** kelvan <kelvan!~quassel@mail.merlin1991.at> has quit IRC (Remote host closed the connection)05:25
*** merlin1991 <merlin1991!~merlin@Maemo/community/cssu/merlin1991> has joined #mer05:26
*** kelvan <kelvan!~quassel@mail.merlin1991.at> has joined #mer05:26
*** spiiroin <spiiroin!~spiiroin@213-216-252-53.bb.dnainternet.fi> has quit IRC (Ping timeout: 256 seconds)05:26
*** ml_ <ml_!~no@c-73-192-180-203.hsd1.ca.comcast.net> has joined #mer05:27
*** wmarone|tmp <wmarone|tmp!~no@c-73-192-180-203.hsd1.ca.comcast.net> has quit IRC (Read error: Connection reset by peer)05:27
*** chriadam_ <chriadam_!~cadams@pa49-197-199-241.pa.qld.optusnet.com.au> has joined #mer05:37
*** chriadam__ <chriadam__!~cadams@pa49-197-199-241.pa.qld.optusnet.com.au> has quit IRC (Ping timeout: 240 seconds)05:39
*** wmarone <wmarone!~no@c-73-192-180-203.hsd1.ca.comcast.net> has joined #mer05:59
*** ml_ <ml_!~no@c-73-192-180-203.hsd1.ca.comcast.net> has quit IRC (Read error: Connection reset by peer)05:59
*** chriadam__ <chriadam__!~cadams@pa49-197-199-241.pa.qld.optusnet.com.au> has joined #mer06:00
*** chriadam_ <chriadam_!~cadams@pa49-197-199-241.pa.qld.optusnet.com.au> has quit IRC (Ping timeout: 260 seconds)06:02
*** tbr <tbr!dm8tbr@mail.bfst.de> has quit IRC (Ping timeout: 246 seconds)06:03
*** spiiroin <spiiroin!~spiiroin@2001:998:2a:dead:e430:295c:b699:b0bb> has joined #mer06:09
*** tbr <tbr!dm8tbr@mail.bfst.de> has joined #mer06:33
*** leviathanch <leviathanch!~quassel@pcd334071.netvigator.com> has joined #mer06:36
*** karry <karry!~karry@193.165.137.202> has quit IRC (Ping timeout: 265 seconds)07:04
*** chriadam_ <chriadam_!~cadams@pa49-197-199-241.pa.qld.optusnet.com.au> has joined #mer07:13
*** chriadam__ <chriadam__!~cadams@pa49-197-199-241.pa.qld.optusnet.com.au> has quit IRC (Ping timeout: 256 seconds)07:15
*** jpetrell <jpetrell!~jpetrell@194.157.27.2> has joined #mer07:30
*** karry <karry!~karry@2001:67c:284:32:65b9:ba33:c342:1966> has joined #mer07:53
*** pseudodev <pseudodev!uid205973@gateway/web/irccloud.com/x-lkcokmrkpgtgdhuq> has quit IRC (Quit: Connection closed for inactivity)08:04
*** Nokius_ is now known as Nokius08:16
*** cxl000 <cxl000!~cxl000@180-150-93-44.NBN.mel.aussiebb.net> has joined #mer08:35
*** eduardas_m <eduardas_m!~eduardas@213.197.143.19> has joined #mer08:43
*** KaIRC <KaIRC!~robert@194-96-180-109.adsl.highway.telekom.at> has joined #mer09:07
*** morphis <morphis!~morphis@pD9ED7260.dip0.t-ipconnect.de> has joined #mer09:13
*** morphis <morphis!~morphis@pD9ED7260.dip0.t-ipconnect.de> has quit IRC (Remote host closed the connection)09:15
*** notmart <notmart!~diau@kde/mart> has joined #mer09:25
*** Son_Goku <Son_Goku!~King_InuY@fedora/ngompa> has joined #mer09:35
*** morphis <morphis!~morphis@pD9ED7260.dip0.t-ipconnect.de> has joined #mer09:37
*** leviathanch <leviathanch!~quassel@pcd334071.netvigator.com> has quit IRC (Remote host closed the connection)10:02
*** chriadam_ <chriadam_!~cadams@pa49-197-199-241.pa.qld.optusnet.com.au> has quit IRC (Ping timeout: 260 seconds)10:34
*** jakereye <jakereye!jakeri@lakka.kapsi.fi> has joined #mer11:10
*** jakeri <jakeri!jakeri@lakka.kapsi.fi> has quit IRC (Ping timeout: 276 seconds)11:11
*** useretail <useretail!useretail@gateway/shell/elitebnc/x-kgnzfrasigkrpxlj> has quit IRC (Ping timeout: 276 seconds)11:11
*** inz <inz!inz@irc.inz.fi> has quit IRC (Ping timeout: 276 seconds)11:11
*** useretail <useretail!useretail@gateway/shell/elitebnc/x-rlopkwzpbxemrzsb> has joined #mer11:11
*** inz <inz!inz@irc.inz.fi> has joined #mer11:11
spiiroineduardas_m: only suspend-to-ram is used; from sfos pov it is all driven by policy that is: suspend unless blocked from doing so (due to display being on / having active cpu-keepalive clients)11:18
*** zbenjamin <zbenjamin!~quassel@libqxt/developer/zbenjamin> has quit IRC (Ping timeout: 264 seconds)11:18
spiiroineduardas_m: well, the act-dead mode has also: auto-power-off unless charging or alarms in the next couple of minutes11:18
*** zbenjamin <zbenjamin!~quassel@mail.aggromania.de> has joined #mer11:19
*** zbenjamin <zbenjamin!~quassel@mail.aggromania.de> has quit IRC (Changing host)11:19
*** zbenjamin <zbenjamin!~quassel@libqxt/developer/zbenjamin> has joined #mer11:19
*** leviathanch <leviathanch!~quassel@pcd334071.netvigator.com> has joined #mer11:40
eduardas_mspiiroin: thank you, that is useful information... still, it is unclear to me how a Qt GUI application is supposed to properly initiate a suspend-to-ram, for example11:43
eduardas_mspiiroin: is everything done via systemd or is there some other daemon/component?11:43
eduardas_mspiiroin: also, I am not aware of how one distinguishes an active cpu-keepalive client from other running processes11:44
eduardas_mspiiroin: I am asking this because I am in the process of developing a handheld embedded Linux device using Yocto project/Open Embedded tools and wish to take inspiration from mer project and  Sailfish OS on how to accomplish proper power management11:48
spiiroineduardas_m: we basically want to suspend all the time i.e. applications can't initiate suspend - but they might need to block suspend (background processing while display is off kind of situations)11:53
*** frinring_ is now known as frinring11:53
spiiroineduardas_m: the policy is implemented in mce service. "cpu-keepalive" is basically dbus interface that applications can use to signal "I have things to do, do not suspend yet"11:55
spiiroineduardas_m: from app programming pov nemo-keepalive library might be interesting place to take a peek https://git.merproject.org/mer-core/nemo-keepalive11:56
spiiroineduardas_m: = convenience wrappers for libiphb (used for scheduling wakeups from suspend) and the keepalive stuff provided by mce via dbus11:57
eduardas_mspiiroin: mce is a mer-specific daemon, I suppose? also, I do not seem to find any mer core-specific documentation... is only Sailfish OS documentation available?11:57
spiiroineduardas_m: yes, mce is at https://git.merproject.org/mer-core/mce/ - but this stuff is not really documented (it all happened via gradual evolution from maemo/meego display state policy -> take android style auto suspend with wakelocks into account too)12:00
eduardas_mspiiroin: is there at least a basic document on mer core architecture itself? i.e. components and their interoperation12:04
eduardas_mspiiroin: is it enough to just port mce, libphb and nemo-keepalive to my platform to implement mer-like suspend behaviour?12:08
eduardas_mI wonder just how bolted-together this stuff is... would I be better off with just taking inspiration from this code and re-implementing the basic idea?12:09
spiiroineduardas_m: iphb is actually served by plugin run by dsme service, and suspend policy depends on availability of composer service which basically is either lipstick or act dead charging ui, etc12:13
spiirointhis topic just is something that is affecting/affected by lots of parts of mer/sfos, but12:16
spiiroincutting corners & deactivating logic: mce is enough for suspend / resume due to hw triggers; dsme/iphb would add ability to wakeup from suspend via sw12:17
spiiroinsince it still revolves around display state, either having a compositor (even a fake on) might be easier than trying to disable stuff12:19
spiiroinatm compositor in sfos is basically either lipstick or act-dead-charging-ui, and such thing is needed to negotiate orderly display power up/down - which needs to happen before autosuspend can be enabled12:20
eduardas_mspiiroin: this aspect is slightly different for me since I only have one Qt application using the eglfs backend, i.e. running without compositor12:20
spiiroineduardas_m: from mce pov it is more about having party with whom to synchronize display power up/down rather than how display rendering is actually done12:22
spiiroini.e. basically it just needs to implement compositor dbus interface that serves setUpdatesEnabled(bool) method calls12:23
spiiroinand take that in to account so that no rendering happens while updates are not enabled, rendering is ceased before replying disable method calls, and assuming rendering is disabled on startup12:24
spiiroin(some devices get kernel crashes if draw ops are made while autosuspend is enabled)12:25
*** zhxt_ <zhxt_!~zhxt@223.72.90.213> has joined #mer12:42
eduardas_mspiiroin: Thank you. Those are really valuable insights. Still, i'd like to ask a few last questions today: what is the best way to learn about inner workings of mer core? As far as I understand there is no mer core documentation website. Am I correct?13:15
*** psachin <psachin!~iclcoolst@103.51.235.155> has quit IRC (Ping timeout: 268 seconds)13:29
*** Son_Goku <Son_Goku!~King_InuY@fedora/ngompa> has quit IRC (Quit: My MacBook has gone to sleep. ZZZzzz…)13:34
*** leviathanch <leviathanch!~quassel@pcd334071.netvigator.com> has quit IRC (Remote host closed the connection)13:42
*** leviathanch <leviathanch!~quassel@pcd334071.netvigator.com> has joined #mer13:43
spiiroineduardas_m: for the most part any docs you find about mer based stuff like sailfishos, asteroidos, glacier, ... are applicable to some degree. for example https://www.slideshare.net/FlorentRevest/asteroidos-architecture-of-a-foss-smartwatch-platform or https://sailfishos.org/wiki/SailfishOS13:46
*** notmart <notmart!~diau@kde/mart> has quit IRC (Remote host closed the connection)13:47
*** notmart <notmart!~diau@kde/mart> has joined #mer13:56
*** Son_Goku <Son_Goku!~King_InuY@fedora/ngompa> has joined #mer14:08
eduardas_mspiiroin: that is useful to know. thank you14:09
*** jfred[m] <jfred[m]!jonterracr@gateway/shell/matrix.org/x-fgjpdixsxdhmklle> has quit IRC (Ping timeout: 248 seconds)14:12
*** jfred[m] <jfred[m]!jonterracr@gateway/shell/matrix.org/x-odsvpgdjnvizylme> has joined #mer14:13
*** Son_Goku <Son_Goku!~King_InuY@fedora/ngompa> has quit IRC (Quit: My MacBook has gone to sleep. ZZZzzz…)14:14
*** spiiroin <spiiroin!~spiiroin@2001:998:2a:dead:e430:295c:b699:b0bb> has quit IRC (Ping timeout: 276 seconds)14:16
*** notmart <notmart!~diau@kde/mart> has quit IRC (Remote host closed the connection)15:28
*** jpetrell <jpetrell!~jpetrell@194.157.27.2> has quit IRC (Remote host closed the connection)15:34
*** spiiroin <spiiroin!~spiiroin@213-216-252-53.bb.dnainternet.fi> has joined #mer15:36
*** morphis_ <morphis_!~morphis@pD9ED6F52.dip0.t-ipconnect.de> has joined #mer15:51
*** morphis <morphis!~morphis@pD9ED7260.dip0.t-ipconnect.de> has quit IRC (Ping timeout: 260 seconds)15:55
*** notmart <notmart!~diau@kde/mart> has joined #mer16:05
*** Son_Goku <Son_Goku!~King_InuY@fedora/ngompa> has joined #mer16:05
*** eduardas_m <eduardas_m!~eduardas@213.197.143.19> has quit IRC (Quit: Konversation terminated!)16:22
*** Son_Goku <Son_Goku!~King_InuY@fedora/ngompa> has quit IRC (Quit: My MacBook has gone to sleep. ZZZzzz…)16:37
*** louisdk <louisdk!~louisdk@5.103.138.205> has joined #mer16:37
*** leviathanch <leviathanch!~quassel@pcd334071.netvigator.com> has quit IRC (Ping timeout: 268 seconds)16:49
*** leviathanch <leviathanch!~quassel@pcd334071.netvigator.com> has joined #mer16:49
*** psachin <psachin!~iclcoolst@103.51.235.20> has joined #mer17:30
*** psachin <psachin!~iclcoolst@103.51.235.20> has quit IRC (Ping timeout: 240 seconds)17:52
*** notmart <notmart!~diau@kde/mart> has quit IRC (Quit: notmart terminated!)18:19
*** gmoro_ <gmoro_!~gmoro@31.169.96.62> has joined #mer18:32
*** gmoro <gmoro!~gmoro@31.169.96.62> has quit IRC (Ping timeout: 248 seconds)18:34
*** louisdk <louisdk!~louisdk@5.103.138.205> has quit IRC (Ping timeout: 240 seconds)18:58
*** louisdk <louisdk!~louisdk@5.103.138.205> has joined #mer19:17
*** cxl000 <cxl000!~cxl000@180-150-93-44.NBN.mel.aussiebb.net> has quit IRC (Ping timeout: 256 seconds)19:34
*** cxl000 <cxl000!~cxl000@120.157.60.83> has joined #mer20:05
*** louisdk <louisdk!~louisdk@5.103.138.205> has quit IRC (Ping timeout: 240 seconds)20:05
*** Son_Goku <Son_Goku!~King_InuY@fedora/ngompa> has joined #mer20:11
*** Son_Goku <Son_Goku!~King_InuY@fedora/ngompa> has quit IRC (Client Quit)20:13
*** f15h <f15h!~thomas@h-192-162.A462.priv.bahnhof.se> has joined #mer20:27
*** leviathanch <leviathanch!~quassel@pcd334071.netvigator.com> has quit IRC (Ping timeout: 276 seconds)20:37
*** Nokius_ <Nokius_!~Nokius@p5DDB6268.dip0.t-ipconnect.de> has joined #mer20:42
*** leviathanch <leviathanch!~quassel@pcd334071.netvigator.com> has joined #mer20:44
*** Nokius <Nokius!~Nokius@p5DDB53A5.dip0.t-ipconnect.de> has quit IRC (Ping timeout: 240 seconds)20:45
*** leviathanch <leviathanch!~quassel@pcd334071.netvigator.com> has quit IRC (Remote host closed the connection)20:46
*** leviathanch <leviathanch!~quassel@pcd334071.netvigator.com> has joined #mer20:47
*** jonwil <jonwil!~jonwil@27-33-80-219.tpgi.com.au> has joined #mer21:07
*** karry <karry!~karry@2001:67c:284:32:65b9:ba33:c342:1966> has quit IRC (Ping timeout: 265 seconds)21:23
*** karry <karry!~karry@91.213.143.252> has joined #mer21:23
*** cxl000 <cxl000!~cxl000@120.157.60.83> has quit IRC (Ping timeout: 256 seconds)21:34
*** f15h <f15h!~thomas@h-192-162.A462.priv.bahnhof.se> has quit IRC (Quit: Konversation terminated!)21:52
*** pocek <pocek!pock@159-205-35-92.adsl.inetia.pl> has quit IRC (Ping timeout: 268 seconds)21:55
*** nh1402 <nh1402!~Thunderbi@95.148.89.3> has joined #mer22:05
*** leviathanch <leviathanch!~quassel@pcd334071.netvigator.com> has quit IRC (Remote host closed the connection)22:05
*** nh1402 <nh1402!~Thunderbi@95.148.89.3> has quit IRC (Quit: nh1402)22:28
*** drcode <drcode!~drcode@5.28.154.115> has quit IRC (Quit: ZNC 1.6.5 - http://znc.in)22:36
*** KaIRC <KaIRC!~robert@194-96-180-109.adsl.highway.telekom.at> has quit IRC (Remote host closed the connection)23:06
*** Son_Goku <Son_Goku!~King_InuY@fedora/ngompa> has joined #mer23:25
*** drcode <drcode!~drcode@5.28.154.115> has joined #mer23:50

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