*** bbranch has quit IRC | 00:10 | |
*** fernandod has quit IRC | 01:42 | |
*** fernandod has joined #automotive | 01:42 | |
*** Luming has quit IRC | 02:26 | |
*** Luming has joined #automotive | 02:26 | |
*** fernandod has quit IRC | 03:42 | |
*** fernandod has joined #automotive | 03:42 | |
*** Luming has quit IRC | 04:22 | |
*** AlisonChaiken has joined #automotive | 05:54 | |
*** mpaolino has joined #automotive | 06:31 | |
*** jacobo has joined #automotive | 07:32 | |
*** Luming has joined #automotive | 07:32 | |
*** CTtpollard has joined #automotive | 07:46 | |
*** toscalix__ has joined #automotive | 08:04 | |
*** apinheiro has joined #automotive | 09:00 | |
*** wschaller has joined #automotive | 09:06 | |
*** wschaller has quit IRC | 09:21 | |
*** wschaller has joined #automotive | 09:24 | |
*** CTtpollard has quit IRC | 09:51 | |
*** wschaller has quit IRC | 09:56 | |
*** wschaller has joined #automotive | 09:59 | |
*** CTtpollard has joined #automotive | 10:37 | |
CTtpollard | hello | 10:43 |
---|---|---|
rjek | Hello. | 10:46 |
*** mpaolino has quit IRC | 10:47 | |
*** apinheiro has quit IRC | 11:34 | |
*** wschaller has quit IRC | 11:59 | |
*** mpaolino has joined #automotive | 12:10 | |
*** wschaller has joined #automotive | 12:11 | |
*** jacobo has quit IRC | 12:35 | |
CTtpollard | has anyone managed to get wayland_debug to work in the weston.service? | 12:48 |
*** fredcadete has joined #automotive | 13:29 | |
CTtpollard | hello fredcadete | 13:31 |
fredcadete | hello | 13:31 |
fredcadete | good afternoon all | 13:31 |
CTtpollard | I'm currently investigating https://bugs.genivi.org/show_bug.cgi?id=349#c22 | 13:32 |
CTtpollard | I'm trying to get weston.service to log to journalctl with the wayland debug variable but have not been successful so far | 13:33 |
fredcadete | no success with the log or with setting the variable? | 13:34 |
fredcadete | weston prints some stuff by default, you should be able to see that in journalctl even without enabling WAYLAND_DEBUG | 13:34 |
CTtpollard | yeh, its last print is for the unix log in from root | 13:35 |
CTtpollard | I've tried adding Environment=WAYLAND_DEBUG=1 to the systemd unit for weston under service | 13:35 |
fredcadete | that looks like the way to do it | 13:36 |
fredcadete | are you running journalctl as user or root? | 13:37 |
CTtpollard | I thought I would have to sent stderr to a log file, but apparently jorunalctl syslog should handle it | 13:37 |
CTtpollard | root | 13:37 |
fredcadete | waaaaait | 13:38 |
fredcadete | let me have a look here | 13:38 |
fredcadete | where are the GDP sources these days? | 13:39 |
fredcadete | I am having a vague memory of a vague suspicion, that when you use weston-launch it cleans the environment before exec'ing the child process (including WAYLAND_DEBUG=1) | 13:40 |
fredcadete | I don't remember if the GDP is using weston-launch or not | 13:40 |
fredcadete | but the easiest way to confirm it is to cat /proc/`pidof weston`/env | 13:40 |
fredcadete | let me know how it goes | 13:41 |
CTtpollard | meta-genivi-demo specifically is here http://git.projects.genivi.org/?p=meta-genivi-demo.git;a=summary | 13:41 |
fredcadete | yep, weston-launch | 13:41 |
fredcadete | there you go | 13:42 |
fredcadete | http://cgit.freedesktop.org/wayland/weston/tree/src/weston-launch.c#n581 | 13:42 |
fredcadete | it does not propagate WAYLAND_DEBUG | 13:42 |
CTtpollard | gaah! thanks for spotting that | 13:43 |
fredcadete | I have it in my backlog to propose it upstream | 13:43 |
fredcadete | but my backlog is /dev/null | 13:43 |
fredcadete | sorry about that | 13:43 |
CTtpollard | I tried simply starting weston manually with the debug flag, but stopping the weston service starts a drm issue with the kernel | 13:45 |
CTtpollard | or killing weston pid directly | 13:47 |
fredcadete | a few months ago I was able to do systemctl restart weston (but we were not using weston-launch then) | 13:47 |
fredcadete | when gdb'ing weston I did have those drm issues | 13:48 |
*** apinheiro has joined #automotive | 13:52 | |
CTtpollard | hmm, I'm not sure how to go about it if weston-launch resets the env :/ | 14:06 |
*** jacobo has joined #automotive | 14:08 | |
CTtpollard | yeh restart kills it | 14:09 |
fredcadete | you want to see weston traces and weston-launch is removing the control that enables those traces | 14:10 |
fredcadete | the least invasive change would be to patch weston-launch to propagate WAYLAND_DEBUG | 14:10 |
fredcadete | or patch wayland to always enable server-side logs | 14:11 |
fredcadete | going into launching weston manually is a more invasive change; because you have to fix the drm issues when you stop, AND you will also have issues with opening the drm device being non-root | 14:12 |
fredcadete | oh oh wait | 14:12 |
fredcadete | if you really want to hack: | 14:12 |
fredcadete | 1. disable weston.service | 14:12 |
fredcadete | 2. go into a root shell | 14:13 |
fredcadete | 3. login xuser | 14:13 |
fredcadete | 4. su -c weston | 14:13 |
fredcadete | moral of the story: there are plenty of options and they are all somewhat ugly | 14:13 |
CTtpollard | I'm just looking to see the logs so I can grasp the transmissions over the protocol, it's not that important to me that debug needs to work for the platform I don't think | 14:20 |
CTtpollard | fredcadete: thanks for the suggestions :) | 14:20 |
CTtpollard | fredcadete: do you think it would be sensible to add a debug flag to weston launch? | 14:29 |
fredcadete | yes | 14:33 |
*** AlisonChaiken has quit IRC | 14:39 | |
*** jlrmagnus has joined #automotive | 14:46 | |
*** wschaller has quit IRC | 14:55 | |
*** wschaller has joined #automotive | 14:59 | |
CTtpollard | hmm, disabling the weston service doesn't seem to be stopping it launching after reboot | 15:23 |
CTtpollard | gah | 15:32 |
fredcadete | systemctl list-dependencies? | 15:34 |
*** jlrmagnus has quit IRC | 15:39 | |
*** toscalix__ is now known as toscalix | 15:41 | |
CTtpollard | fredcadete: sorry for the delay that just garbaged my screen session | 15:47 |
CTtpollard | I have it listing for weston | 15:50 |
fredcadete | systemctl list-dependencies is how I would try to guess why systemd launched weston | 15:50 |
CTtpollard | with the reverse flag maybe? | 15:56 |
fredcadete | you can see it either way | 15:57 |
fredcadete | just see who is the parent of weston | 15:57 |
CTtpollard | no parents I don't think | 15:58 |
fredcadete | if it's none then it was probably launched directly by someone | 15:58 |
fredcadete | this is starting to be a matrioska of bugs | 15:58 |
CTtpollard | it's in the first stage of children after default.targe | 15:59 |
CTtpollard | :D | 15:59 |
fredcadete | then it's launched by default.target | 15:59 |
fredcadete | is that on the user session or the system session? | 15:59 |
fredcadete | did you get any output when you disabled weston | 15:59 |
CTtpollard | fredcadete: nope | 16:00 |
CTtpollard | no prints | 16:00 |
fredcadete | if the disable/enable command does have effect, it prints a line saying it's removing a symlink or adding one | 16:01 |
CTtpollard | ok if I enable, and then disable it shows the add and removal of the symlink | 16:02 |
fredcadete | that's not the issue then | 16:03 |
*** jlrmagnus has joined #automotive | 16:10 | |
CTtpollard | fredcadete: well I've definitely got more things to look at for tomorrow on it, mainly working with weston launch, thanks :) | 16:19 |
* CTtpollard drives home | 16:19 | |
*** wschaller has quit IRC | 17:03 | |
*** apinheiro has quit IRC | 17:07 | |
*** jacobo has quit IRC | 17:09 | |
*** mpaolino has quit IRC | 17:51 | |
*** toscalix has quit IRC | 17:53 | |
*** alex_h has quit IRC | 18:41 | |
*** alex_h has joined #automotive | 18:42 | |
*** jlrmagnus has quit IRC | 20:41 | |
*** jlrmagnus has joined #automotive | 20:58 | |
*** jlrmagnus has quit IRC | 21:29 | |
*** jlrmagnus has joined #automotive | 21:46 | |
*** bbranch has joined #automotive | 22:26 | |
*** bbranch has left #automotive | 22:26 |
Generated by irclog2html.py 2.14.0 by Marius Gedminas - find it at mg.pov.lt!