Wednesday, 2022-03-02

T42<HengYeDev> @spiiroin it does not crash, but minimer causes kernek crash if mce start too early00:09
T42<HengYeDev> @elros34 Maybe i should just add a sleep in the systemd unit of mce? I will try the start hwcomposer early as well00:32
T42<elros34> IMHO spiiroin's patch looks better then any unreliable delay hacks (assuming it will help)00:35
T42<HengYeDev> @elros34 Wont it cause the power management of screen dimming to break?00:36
T42<elros34> I think not necessary, there is still display on/off handle in qpa-hwcomposer but I am not an expert00:37
T42<ceptoreceptor> What tablet is this? (re @HengYeDev: )01:46
HengYe[m]samsung galaxy tab s6 lite01:47
spiiroinmce pretty much needs to start when it is started now -> sleeps, reordering of service starts, etc should be avoided03:49
spiirointhose fbdev ioctls for display power that mce does are sort of legacy architecture wart...03:50
spiiroinin new devices it should go through like @elros34 says: through hwcomposer plugin03:51
spiiroincurrently what might happen is that both mce and compositor do it - in most cases it does not matter, but apparently you bumped into situation where it causes problems03:52
spiiroinif that patch does help, then I could make it into something that can be selected via (device specific) config options03:54
T42<edp_17> I've unmasked some services but when trying to start them, they say cannot be started as they are masked. I thought removing the masked link from /etc/systemd/user or system is enough and then the services can be started manually or is this required a reboot?10:54
spiiroin@edp_17, have you've tried "systemctl unmask UNIT" instead of dealing with symlinks manually?11:05
T42<edp_17> spiiroin: Nope because I wasn't avare of this. However, now I did this way but systemctl-user status UNIT still says: Loaded: masked11:07
T42<edp_17> I guess should remove the symlink from /etc/systemd/user/ 🤔11:08
T42<edp_17> Yep, I needed to manually unlink the symlink. Now it is Loaded: loaded. Although, Active: inactivve (dead)11:10
T42<elros34> systemctl-user unmask <service> should do this for you and change systemd state11:10
T42<edp_17> Well, it didn't do that. I ran this but the symlink has remained. I had to manually unlink.11:13
T42<elros34> probably because you added symlink to /etc/systemd/user but systemctl-user mask user user writable ~/.config/systemd/user/11:16
T42<elros34> use user writable*11:16
T42<edp_17> Yes, I've added the symlink into /etc/systemd/user because I wasn't aware of the systemctl-user mask command. I'll remember to using it from now on.11:18
T42<edp_17> More info on the mistrerious reboot. (This time it is on the N7000). The device starts with all those four services masked. Then I could unmask/start them one by one without causing the reboot. However, when I tap on the Phone icon, the device reboots. I think this is because the voicecall-ui-prestart.service uses sailjail.11:28
T42<HengYeDev> @spiiroin @elros34 To build mce do i use the platform sdk or the regular app-development sfdk?22:45
T42<elros34> platform sdk, just clone sources, apply patch and run build_packages.sh -b <path  to source>22:48
T42<HengYeDev> @elros34 I get dependency errors: https://gist.github.com/HengYeDev/0165931117917679dcc15a603c9b70ca22:50
T42<HengYeDev> zypper in does not get them installed as No provider found22:50
T42<elros34> what is mce*? use <path to directory with mce source>22:52
T42<elros34> in latest lines you see where to search full log22:53
T42<HengYeDev> it is the path relative to hadk (re @elros34: what is mce*? use <p...)22:55
T42<HengYeDev> i put it in the hadk dir22:56
T42<elros34> ok then, usually all sources are in hybris/mw/.22:56
T42<HengYeDev> @elros34 ok i moved it there for consistency. full log: https://gist.github.com/HengYeDev/609c1de75e8142a62ab2542b4617de8222:58
T42<elros34> not sure but I suggest to always build same version as used in your23:04
T42<elros34> current release23:05

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