IRC logs for #automotive for Tuesday, 2016-08-16

*** toscalix has quit IRC00:03
*** toscalix has joined #automotive00:03
*** murphy_ has quit IRC00:56
*** toscalix has quit IRC02:06
*** fury has quit IRC02:22
*** AlisonChaiken has quit IRC02:22
*** fury has joined #automotive02:27
*** Olivier[matrix] has quit IRC05:43
*** Olivier[matrix] has joined #automotive05:59
*** gunnarx has quit IRC06:09
*** ashwasimha_ has joined #automotive06:39
dl9pfmorning06:58
*** rajm has joined #automotive07:09
*** gunnarx has joined #automotive07:10
CTtpollardgunnarx: why is quilt involved in the build? quilt is the default patch tool for bitbake and is built as a native package07:24
gunnarxok, I thought patch was default07:25
gunnarxdriving me nuts the build error on that pipeline, so strange...07:25
gunnarxI built the same (as far as I know) manually with a shell login on the same machine and it worked.  In the pipeline, no.07:26
CTtpollardyou can override it obviously, unsure if you can set it globally via local.conf07:26
gunnarxNo, I just want it to work.  I thought it was a newly added dependency but I suppose not07:27
gunnarxI even tried on two agents - by the way the new agent machine Nick created is coming  - just wanted to test it.07:27
CTtpollardthe biggest issue I'm having atm is due changes in poky leading to taskhash mismatches in various classes07:28
gunnarxand since the tests are failing.07:28
gunnarxWhat do you think, should I just put the new agent back online, and we'll see how it goes?07:29
gunnarxAlso, is the CT agent available - could I try forcing the failing pipeline there, just to check if it's alright.07:29
CTtpollardmight be worth a shot, is the failing template an sstate shared pipeline?07:30
gunnarxIDK but I feel like I've tried wiping all the caches and stuff07:30
gunnarxand no, I removed sharing from the recipe actually, let me confirm07:31
gunnarxno sharing set up in the recipe07:31
*** kooltux_ has quit IRC07:32
gunnarxI'm thinking it's some installed program missing on both these agents, but since it fails on quilt and if quilt is nothing new, I can't see the logic in that07:32
gunnarxIf it doesn't disturb you let me bring the new agent fully online, so that's available for general builds instead, and then I'll borrow the CT agent for a few hours.07:33
CTtpollardyeh quilt-native is definitely a core package, and it uses patch as the patchtool07:34
gunnarxIn other words, assign the new agent the resource named yocto_build07:34
CTtpollardsure07:35
gunnarxDo you need ct_test resource there also, or not?07:35
CTtpollardpersonally no, might want to check with pedroalvarez when he gets to the office though07:35
gunnarxOK, grepping the config, no ct_test is not required by any pipeline, AFAICT07:36
gunnarxSo to confirm with you CTtpollard does the genivi-dev-platform-sdk image definition build both a rootfs and sdk.  No need for me to first build genivi-dev-platform, and then the sdk part?07:39
dl9pfgunnarx: you can enforce a patch tool ... just had that case lately07:41
gunnarxdl9pf, yes I know there are ways.  Thing is that I only thought we had recently introduced a build error in quilt, but there is no recent change that should cause that to happen.07:42
gunnarxSo I think we'll try debugging the build issue only first.07:42
dl9pfgunnarx: perfect heisenbug ;)07:43
gunnarxBasically I think we have established that I should not try to remove quilt :)07:43
gunnarxYeah no kidding.  The build tries to do  "make 2 <something"  -->  Error no target named 2.  wth is happening?07:44
CTtpollardgunnarx: I've only done the basics following the instructions on the wiki, but looking at the image file I feel you should be able to directly build the sdk image07:44
gunnarxwhere is the 2 coming from!?07:44
dl9pfgunnarx: maybe from a "-j2" missing the "-j" ??07:44
gunnarxI've been grepping and a theory   make $VARIABLE 2>/dev/null  and $VARIABLE is empty?  But I didn't find it.07:45
gunnarxHmm, I think you may be on to something dl9pf07:45
gunnarxan easy mistake to make07:45
dl9pfhmm07:45
dl9pfwell I just had my shot of coffee  o^o07:46
dl9pfgunnarx: the variable is actually PATCHTOOL  with possible values of quilt, git,  patch07:48
dl9pfhad a case where this worked magic07:48
gunnarxthanks, yeah we have it set to git in one place to support a binary patch, ugh07:48
dl9pfhehe07:49
CTtpollardstill might be worth setting it as default, and letting recipes that explicitly require git override it07:50
gunnarxdl9pf:  Get this, some idiot had set PARALLEL_MAKE = "2" instead of "-j2" !07:50
radiofreeYou shouldn't really need to set -j07:51
gunnarxoh, ok, maybe that's not the problem then07:51
radiofreeWell, you might, I'm just saying it's daft if you have to07:51
radiofreeA tool that introduces a convenience function that doesn't make it any more convenient?07:52
CTtpollardyou do need to set -j $ in with bitbake07:52
CTtpollardso "-j 2"07:52
gunnarxdl9pf wins hero of the day award07:52
radiofreeSurely it should auto detect that?07:53
dl9pfgunnarx: hehe :) ... glad to help07:53
gunnarxI'm going for coffee... and just as a warning, no one better ask who the idiot was ;)07:53
radiofreeThe idiot can't hide with git blame07:54
gunnarxyeah if it's one thing I'm good at, it's rewriting git history, hee07:54
dl9pfhehe07:54
*** sanjeev has joined #automotive07:57
*** gunnarx has quit IRC08:02
*** gunnarx has joined #automotive08:04
*** gunnarx has joined #automotive08:04
*** jonathanmaw has joined #automotive08:15
*** leon-anavi has joined #automotive08:27
leon-anavihi08:28
dl9pfhi leon-anavi08:28
leon-anavihi dl9pf08:31
CTtpollardleon-anavi: fancy trying the the master raspi image with your official touchscreen? :)09:03
*** sahid has joined #automotive09:04
leon-anaviCTtpollard, no right now but yes in general it will be cool to try it out.09:08
leon-anaviI hope that I will have some spare time for this task later this week.09:08
CTtpollardsweet09:09
leon-anavidl9pf, why I can assign the JIRA issue in AGL that I have just created (SPEC-240) to me? Is there a bug with JIRA or am I doing something wrong?09:09
dl9pf??09:23
*** rdale has quit IRC09:23
dl9pfyou can't assign ?09:24
leon-anavithanks for the hint. I used wrong email :) my mistake09:27
leon-anavidl9pf, should I also update the reference to meta-rust in default_blowfish_2.0.1.xml and point it to branch krogoth of meta-rust?09:57
CTtpollardmeta-rust has a krogoth branch?09:59
leon-anavinow it has :)10:01
CTtpollardat the jmesmon upstream?10:02
leon-anavino, I forked meta-rust in Konsulko GitHub repositories, tested it with release Blowfish of AGL and now I will push changes to AGL Gerrit.10:02
CTtpollardcool10:03
leon-anaviI am just wondering whether I should update the xml of release Blowfish 2.0.1 :) dl9pf please advise me.10:03
dl9pfleon-anavi: what do you mean ?10:39
dl9pfno, we won't change an xml thats 'released. we'll do a 2.0.210:39
dl9pfprobably in the 1-2 week timeframe10:39
leon-anaviok10:42
sahidhi, so i'm trying to build AGL but i have an error related to the task poky/meta/recipes-devtools/pkgconfig/pkgconfig_git.bb10:42
dl9pfsahid: please pastebin the full log10:43
dl9pfleon-anavi: so submit your changes/updated revs to the blowfish branch10:43
sahidlooks like to be related to http://pastebin.com/sYYEyCnK10:43
sahiddl9pf: ok'im going to past the full log10:43
dl9pfsahid: see https://bugs.freedesktop.org/show_bug.cgi?id=9532610:44
dl9pfplease file a bug at  jira.automotivelinux.org noting the above10:45
sahiddl9pf: looks like to be exactly my case, i'm using gcc 6.1.110:46
sahiddl9pf: ok i will do that, thanks10:46
dl9pfyep, likely hasn't been tried with the YP release we use underneath. Please file a bug, we might be able to add a .bbappends for your case.10:47
CTtpollardgcc >=6.1 can be quite problematic with yocto10:47
CTtpollardI'd advise against using it where possible10:47
sahidyes i'm thinking about to downgrade but firstly I wanted to be sure with you that the error is well related to my version of gcc10:51
leon-anavidl9pf, there is something awkward. It appears that my email in Gerrit is leon@anavi.org and my patches signed off as leon.anavi@konsulko.com are rejected when I try to push them.10:57
leon-anaviI never had similar issues before and I used the same credentials.10:57
leon-anaviI had to register my professional email through "Contact Information" in Gerrit and now I can submit changes again.10:59
leon-anavidl9pf, I submitted for a review change requests 6371 and 637311:02
CTtpollardgunnarx: I really don't know what would be the best course of action for the pipelines in terms of supporting master in the current workflow11:02
gunnarxwhat are you thinking of?  co-dependent pull requests?11:03
gunnarxor too many builds being triggered?11:03
CTtpollardI mean, trying to perform CI on a non stable (in terms of target support) branch11:03
gunnarxoh11:03
gunnarxwell don't make it non-stable then ;)11:04
CTtpollardnot my call unfortunately11:04
gunnarxWe knew this was coming, I mean.  The basic idea was to keep all targets in sync,11:05
CTtpollardrolling via master instead of next/pre-release branches is a PITA for CI11:05
gunnarxSo currently we have  Renesas failing right?  An unexpected non-support for something in IVI 11?11:06
gunnarxSo Steve set up IVI 10 for it?11:06
CTtpollardthe easiest IMO is to pause all pipeline that point at master until the target is officially support11:06
CTtpollarded11:06
gunnarxsure, that works fine in my opinion11:06
gunnarxlogical conclusion if the project has currently "paused" the support for that platform11:07
CTtpollardor, we can force them to build with init.sh (-f) which will lead to a lot of red, but could also be useful11:07
CTtpollardok11:09
gunnarxAh right, didn't think about that init is actually in a way blocking them too.  Anyhow, it's a discussion for next project meeting I suppose.11:10
gunnarxRegarding your most recent commit, looks like you are going faster than meta-ivi.  Looks like meta-ivi ought to do this update also right?11:12
CTtpollardgunnarx: meta-ivi could probably do some validation on it, but afaik the refs of poky/oe listed in meta-ivi are simply there from being current at time of testing11:13
CTtpollarduntil we have CI for submodule tracking, then there's always going to be some stabbing in the dark here11:15
gunnarxyes, but the maintainers should work to stay up to date.  we're in beta for meta-ivi 11 now anyhow for another month or so.  There's time to update and test.11:15
CTtpollardyeh it's not critical, I'm just finding bitbake more of a pain than usual in the current krogoth ref11:16
CTtpollardI also hoped by pushing it that others could test it, some issue are hard to recreate locally11:17
*** kiks has joined #automotive11:17
CTtpollardI know for instance do_populate_sdk is broken currently for me in poky, due to an issue that has propagated into many classes / layers from krogoth11:18
gunnarxnoooo11:19
CTtpollardwe've updated meta-raspberrypi to include their image class fix for it, so the core target images are stable11:19
gunnarxdon't break the sdk right now please, if you can :)11:19
gunnarxFYI, hoping to have time to put together all the pieces (that already exist) to automate SDK VM properly11:21
CTtpollardgunnarx: http://forums.openpli.org/topic/41447-how-to-get-rid-of-taskhash-mismatch/ is an example of the issue11:21
CTtpollardwhich is particularly fun when unpacking pre krogoth tasks from sstate11:21
gunnarxlooks like a big mess.  so the solution, or is there one?11:22
CTtpollard[vardepsexclude] = "DATETIME" in the offending classes seems to do the trick, or disabling the core routine altogether11:23
CTtpollarde.g https://patchwork.openembedded.org/patch/120347/11:24
gunnarxI'm not sure I get it.  So a fully clean build will reset everything to being OK, or not?11:24
CTtpollardon a fully clean sdk build, no shared sstate, I get the mismatch on populate_sdk on our current poky ref11:25
gunnarxand I guess the question is why the hell that happens, right?11:25
CTtpollarddo_populate_sdk[vardepexclude] = "DATETIME" into the populate base bbclass seemed to remedy it for me11:26
gunnarxRight.  But the core of this is that bitbake state cache complains if the same build leads to a different result, such as a datestamp changing?   or that bitbake is totally buggy all of a sudden.11:27
CTtpollardIt doesn't like the taskhash of the certain functions changing, which is problematic when many set timedate variables11:30
CTtpollardfor the checksum11:31
CTtpollardI had a good thread about it, but it's currently avoiding me11:32
CTtpollardhttps://lists.yoctoproject.org/pipermail/poky/2016-April/010486.html - is patched in our poky version, still same error11:37
gunnarxwhy are they messing with this... and breaking it11:37
CTtpollardthe solution I've been told to try and apply is to whitelist all instances of it, or remove if un-needed11:39
gunnarxOh yocto... don't you love it11:40
CTtpollardafaict bitbake does a prehash, and then hashes again when it actually starts a task. so all tasks that add time/date to the checksum or don't inherit a class that excludes it are affected11:40
gunnarxbut it used to be fine?   bottom line is someone broke it11:41
CTtpollardyep11:44
* gunnarx thinks something was planted by Baserock proponents...11:45
*** kiks has quit IRC11:50
*** kiks has joined #automotive11:50
dl9pfeg-ciat meeting starts12:02
*** kiks is now known as iloveprestrump12:03
*** iloveprestrump is now known as DonaldTrump12:10
*** DonaldTrump is now known as kiks12:13
*** jeremiah has joined #automotive12:39
paulsherwoodgunnarx: are you trolling? :)12:44
gunnarxalways12:45
*** jeremiah has quit IRC12:59
*** jeremiah has joined #automotive13:16
*** fury has quit IRC13:37
*** fury has joined #automotive13:41
CTtpollardradiofree: I enabled the kernel modules you listed and I've built weston with backend set to drm, should I be trying '-vga virtio' with kvm?14:17
radiofreeCTtpollard: did you enable bochs as well?14:19
radiofreeunless you've rebuilt mesa as well, virtio won't work yet14:19
* radiofree seems to have deleted all of his man pages somehow14:19
CTtpollardradiofree: yep, &  DRM_CIRRUS_QEMU14:20
CTtpollardI can force a mesa rebuild if needs be14:20
radiofreeCTtpollard: try -vga std first14:21
CTtpollardcurrently getting unknown vga type: virtio from kvm14:21
CTtpollardok14:21
radiofreeboot, then do "dmesg | grep drm -A5"14:21
CTtpollardradiofree: http://paste.baserock.org/natisopetu14:22
radiofreeactually just grep drm will do14:22
radiofreehmm14:22
radiofreelsmod14:22
radiofreelsmod | grep bochs14:22
CTtpollardnada14:22
radiofreeanything in /sys/class/drm ?14:22
radiofreecheck /proc/config.gz to make sure it was actually enabled14:23
CTtpollarddrm 1.1.0 2006081014:23
CTtpollardok14:23
radiofreevim (if you have it) will happily open that file14:23
radiofreezgrep BOCHS /proc/config.gz as well i guess14:24
CTtpollardyeh, looks like it's not set14:24
CTtpollardhmm14:24
CTtpollardwill kick it again14:25
radiofreei've not idea how you add kernel configuration options in yocto, but if you're just appending CONFIG_FOO to the config file then it might not work, since make fooconfig isn't smart enough to figure out the dependencies automatically14:26
* radiofree tends to do make $config && scripts/config -m CONFIG_FOO && make oldconfig14:26
radiofreedo you have things like CONFIG_DRM=y in that qemu config?14:27
radiofree(zgrep CONFIG_DRM /proc/config.gz)14:27
CTtpollardyeh, I think it may have unpacked without parsing the changes I'd made to the deconfig, recompiling now14:28
CTtpollardalso TIL zgrep, I usually zcat | grep14:28
rjekalso zless14:29
CTtpollardradiofree: http://paste.baserock.org/eniwodavak14:35
radiofreeok, start weston14:36
radiofreewith --backend=drm-backend.so14:36
radiofree(if that's not the default)14:36
CTtpollardjournalctl is claiming it loaded fbdev14:37
radiofreekill and try with --backend=drm-backend.so14:38
radiofreeif you're using weston-launch then the syntax is `weston-launch - --backend=drm-backend.so` (i think)14:38
radiofreenote the extra `- `14:38
CTtpollardradiofree: can I pass it in weston.ini?14:44
radiofreeyes14:45
radiofree[core]\nbackend=drm-backend.so14:45
radiofreeif bochs works then virtio will work (if you have /usr/lib/dri/virtio_gpu_dri.so... though if you haven't go that test -vga virtio and see what it falls back to)14:46
CTtpollardhttp://paste.baserock.org/onawewopuj14:49
CTtpollardthat's with -vga std14:49
*** caiortp has joined #automotive14:49
radiofreedo you not build mesa with the swrast driver?14:50
radiofreels /usr/lib/dri/*14:50
CTtpollardlists swrast http://paste.baserock.org/towogotevu14:51
radiofreeyou need the kms one though14:52
radiofreei *think* it's a gallium driver14:53
radiofree--with-galliumx-drivers=swrast,virgl14:53
radiofrees/galliumx/gallium14:53
radiofreein mesa14:53
radiofreehold on i'll check14:54
radiofreedon't want you rebuilding everything that depends on mesa for nothing...14:54
CTtpollardcurrent recipe http://git.yoctoproject.org/cgit/cgit.cgi/poky/tree/meta/recipes-graphics/mesa/mesa.inc?h=krogoth14:54
CTtpollardDRIDRIVERS_append_x86-6414:55
* radiofree 's eyes bleed14:55
CTtpollardheh14:56
rjekThere's something perverse about wrapping Python in braces14:56
CTtpollardI think I'll want PACKAGECONFIG_append = " gallium gallium-llvm" , maybe14:58
radiofreeyes you'll want to build the driver with llvm15:00
radiofreethere's no virgl there, so you'll need to do whatever you need to do to build that as well15:00
radiofree--with-galliumx-drivers=swrast,virgl15:01
radiofreedam15:01
radiofree--with-gallium-drivers=swrast,virgl15:01
radiofreeyep, that's the badger15:01
CTtpollardbaking15:07
radiofreethis will probably take some time15:12
radiofreeconsidering qt will depend on mesa15:12
CTtpollardyep, and llvm takes an age to compile15:13
radiofreeyou weren't already using llvm?15:14
CTtpollardit's compiling llvm, that's all I know15:15
CTtpollardit required 3.3, so maybe that's different to what was already in use15:15
CTtpollardand then rust has it's own llvm dependency, etc15:17
*** jeremiah has quit IRC15:18
radiofreewhat's the performance of the hmi like under qemu atm?15:19
radiofreewould imagine it's like a sloth through treacle if you weren't using llvmpipe15:20
CTtpollardpretty bad recently, the transition animation is dog15:20
radiofreewell this should improve things massively15:20
CTtpollardit seemed to take a hit a few releases back, don't know due to what change15:21
CTtpollardah, 'gdp9', which was weston 1.9 & mesa 10.6.315:23
CTtpollardalong with a ton of other changes which might have affected it I suppose15:23
radiofreeperformance should have improved if you upgraded weston and mesa :)15:28
CTtpollardyeh, I don't know what the regression was, but it was definitely visible15:29
CTtpollardqtwayland, ivi extension etc etc15:29
radiofreedid you change how mesa was built?15:35
CTtpollardpoky may have, from our side we don't really change any config for mesa for the qemu target leaving it to default15:38
CTtpollardfor raspberrypi we set gallium, and specify the vc4 drm driver15:39
*** jeremiah has joined #automotive15:48
radiofreeCTtpollard: that's essentially what you need to do for the qemu image15:54
radiofreewithout vc4 obviously15:54
*** rajm has quit IRC15:59
*** gunnarx has quit IRC15:59
*** khem has quit IRC16:12
*** sahid has quit IRC16:13
*** AlisonChaiken has joined #automotive16:13
*** khem has joined #automotive16:18
*** fury has quit IRC16:48
*** fury has joined #automotive16:53
*** praneeth has quit IRC16:55
*** praneeth has joined #automotive16:55
*** chbae has joined #automotive16:56
*** leon-anavi has quit IRC17:00
*** chbae has quit IRC17:01
*** ashwasimha_ has quit IRC17:02
*** jonathanmaw has quit IRC17:03
*** nisha has quit IRC17:33
*** nisha has joined #automotive17:43
*** jlrmagnus has joined #automotive17:54
*** jlrmagnus_ has joined #automotive18:09
*** jlrmagnus has quit IRC18:10
*** jeremiah has quit IRC18:58
*** joone has quit IRC19:32
*** joone has joined #automotive19:33
*** jeremiah has joined #automotive19:51
*** jlrmagnus_ has quit IRC20:11
*** jlrmagnus_ has joined #automotive20:25
*** jeremiah has quit IRC20:47
*** jlrmagnus_ has quit IRC20:53
*** caiortp has quit IRC21:02
*** jlrmagnus has joined #automotive21:06
*** jeremiah has joined #automotive21:14
*** jlrmagnus has quit IRC21:14
*** jlrmagnus has joined #automotive21:26
*** jlrmagnus has quit IRC21:33
*** caiortp has joined #automotive21:37
*** caiortp has quit IRC21:46
*** jlrmagnus has joined #automotive21:49
*** jeremiah has quit IRC21:52
*** kooltux has joined #automotive21:52
*** caiortp has joined #automotive22:00
*** jlrmagnus has quit IRC22:50
*** kiks has quit IRC22:55
*** toscalix has joined #automotive22:56
*** jlrmagnus has joined #automotive23:01
*** toscalix_ has joined #automotive23:03
*** toscalix_ has quit IRC23:04
*** toscalix_ has joined #automotive23:05
*** toscalix_ has quit IRC23:07
*** toscalix has quit IRC23:07
*** toscalix_ has joined #automotive23:07
*** toscalix has joined #automotive23:12
*** toscalix_ has quit IRC23:15
*** mborzecki has quit IRC23:17
*** mborzecki has joined #automotive23:31
*** AlisonChaiken has quit IRC23:45
*** jlrmagnus has quit IRC23:54

Generated by irclog2html.py 2.14.0 by Marius Gedminas - find it at mg.pov.lt!