IRC logs for #automotive for Monday, 2017-11-13

*** stevenvdschoot has quit IRC01:14
*** salamanderrake has quit IRC01:49
*** dhobsong has joined #automotive01:56
*** jeremiah has joined #automotive02:18
*** devnull has quit IRC02:21
*** thaytan has joined #automotive02:49
*** praneeth has quit IRC03:05
*** praneeth has joined #automotive03:05
*** mdurnev has quit IRC03:10
*** jeremiah has quit IRC03:20
*** thaytan has quit IRC03:24
*** thaytan has joined #automotive03:28
*** thaytan has quit IRC04:20
*** thaytan has joined #automotive04:29
*** mdurnev has joined #automotive05:29
*** iivanov has joined #automotive06:00
*** iivanov has quit IRC06:39
*** iivanov has joined #automotive06:39
*** mfritzsch has joined #automotive07:11
*** jobol has joined #automotive07:50
*** claneys has joined #automotive07:54
*** toscalix has joined #automotive08:19
*** rajm has joined #automotive08:28
*** leon has joined #automotive08:29
*** leon is now known as Guest8162008:29
*** Guest81620 is now known as leon-anavi08:33
leon-anavimorning08:33
*** [AD]Turbo has joined #automotive08:43
[AD]Turbohi there08:43
*** rdale has joined #automotive09:18
*** CTtpollard has joined #automotive10:00
*** dhobsong has quit IRC10:01
*** jacobo has joined #automotive10:14
*** joka has quit IRC10:16
*** joka has joined #automotive10:28
*** comfy has joined #automotive10:30
*** joka has quit IRC10:33
*** stevenvdschoot has joined #automotive10:54
*** salamanderrake has joined #automotive10:59
*** stevenvdschoot has quit IRC11:14
*** comfy has quit IRC11:49
*** joka has joined #automotive12:02
*** salamanderrake has quit IRC12:03
*** buspirate has joined #automotive12:32
*** amine_ahd has joined #automotive13:02
*** mdurnev has quit IRC13:07
*** amine_ahd has quit IRC13:19
*** amine_ahd has joined #automotive13:20
*** AlisonChaiken has quit IRC13:20
*** jeremiah has joined #automotive13:51
*** stevenvdschoot has joined #automotive14:18
furyhi guys14:42
furyhow's it hangin?14:42
CTtpollardnb fury14:43
*** chbae has joined #automotive14:51
*** mfritzsch has quit IRC15:11
jokahow do i get into automotive software15:27
jokacan i actually do something if i plug a little dandy OBD-II into my car ?15:28
CTtpollardyou can certainly interact with the data if you have something to read it15:36
*** amine_ahd has quit IRC15:47
*** fredw has joined #automotive15:53
*** amine_ahd has joined #automotive15:55
furymranostay: is it possible to build the AGL media player app/services in the XDS SDK container?16:07
furyhttps://www.irccloud.com/pastebin/3fpCE1qr/16:07
furyline 100, "implicit declaration of function ‘AFB_ERROR’"16:08
furyi did git clone https://gerrit.automotivelinux.org/gerrit/p/apps/agl-service-mediaplayer.git and then git submodule update --init --recursive cause i forgot to do recursive in the first place16:09
furyand then set up a new XDS project at the path i cloned at... pre build works fine, but build doesn't16:09
furyi am attempting to avoid having to reflash the SSD, because the board is closed up in a little box, figured i'd just rebuild just the bits and pieces and reinstall them16:11
*** chbae has quit IRC16:19
*** comfy has joined #automotive16:28
*** joka has quit IRC16:30
*** rajm has quit IRC16:47
mranostayfury:  you need to update your SDK :)16:51
*** jlrmagnus has joined #automotive16:51
mdpfury, SDKs are outdated every time we push another recipe/app update.16:52
*** toscalix has quit IRC16:53
furydoh16:55
furyyou mean this thing i've had since dab was in RC stage doesn't work anymore?! :P16:55
mdphehe16:55
mdpevery time we add another library..you need a new sdk16:56
mdpfury: try building the phone app if you want to see more errors16:56
furydoes the sdk get built while building the image for a target?16:59
furynevermind, that's a different command line17:00
mranostaybitbake agl-demo-platform-crosssdk17:04
furyi see the problem, i was looking in https://download.automotivelinux.org/AGL/snapshots/sdk not https://download.automotivelinux.org/AGL/snapshots/master/latest/intel-corei7-64/deploy/sdk/17:06
furywonder if i can build faster than i can download...17:07
*** martinkelly1 has joined #automotive17:08
*** martinkelly has quit IRC17:09
jobolfill a jira to remove  https://download.automotivelinux.org/AGL/snapshots/sdk17:10
*** SebD1 has joined #automotive17:11
*** Vamsi has joined #automotive17:14
VamsiHi I have created an agl service and have installed it as a widget application.17:15
VamsiAnd now I am writing a Qt application that uses this service. In the config.xml, in the required-api section parameter name be "auto" or "ws" (because I am using websocket to invoke the verbs)17:16
*** [AD]Turbo has quit IRC17:22
*** halfline has quit IRC17:32
furyjobol: i seem to recall it's linked to from somewhere on the docs site, and i forget where exactly17:44
furysweet, i think i broke XDS by installing a new SDK17:44
furyit now can't find any of the cross SDKs17:44
furylol17:44
jobollol?17:45
furySebD1: i did an install_sdk with the 4.99.1 SDK from https://download.automotivelinux.org/AGL/snapshots/master/latest/intel-corei7-64/deploy/sdk/ and things broke, now the xds server doesn't have any of the SDKs...previously had a 3.99.1 core i7 and armv7 in there17:45
furydid i do it wrong?17:45
*** halfline has joined #automotive17:46
SebD1Hello; did you restart xds-server after installation of 4.99.1 SDK ?17:46
jobolVamsi, will you use libqtappfw?17:47
furySebD1: yep17:47
furyvia sudo service xds-server restart17:48
SebD1Which version of xds-server do you use ?17:48
SebD1xds-server -v17:48
fury0.3.0 bc3ffe417:51
furyseems a little old17:52
SebD1FYI, SDKs should be located under $sdkRootDir to be used by xds-server. By default sdkRootDir is set to /xdt/sdk in config.json.17:53
furywow. it's empty17:53
furymakes sense that it wouldn't know where anything is then?17:54
furymaybe i should try just installing the sdk again17:54
SebD1Yes, what is the command line you used to install sdk ?17:54
furyinstall_sdk filename.sh17:55
furyit's a long filename17:55
furyhttps://www.irccloud.com/pastebin/B7bgasci/17:55
furyjust tried that now17:55
furyall that's in /xdt/sdk now is a symlink to /xdt/sdk O_o17:56
furysigh. i need a ./ in front of that, don't i?17:56
furyyuuuuuuuuup17:57
furyawful nice of it to wipe out all my other SDKs for me :D17:57
SebD1And yes 0.3.0 version is quite old, you can think to update to 0.3.2 but I'm not sure that your pb about sdk will be fixed by updating your version.17:57
SebD1You must used /opt/AGL/xds/server/xds-utils/install-agl-sdks.sh script to install SDK as documented here :17:57
SebD1http://docs.automotivelinux.org/docs/devguides/en/dev/reference/xds/part-1/3_install-sdks.html17:57
furyah17:58
furyi'm pretty sure i did that a couple months ago when i first set up the container17:59
furydon't know why i didn't remember that part17:59
*** Claudiu_ has joined #automotive17:59
furymy bad. thanks SebD1 :)17:59
SebD1u are welcome !17:59
*** amine_ahd has quit IRC18:01
furyooh, i think i royally screwed it when i fudged the first couple times18:01
furyi have no cmake now18:01
SebD1FYI, I suspect that the reason why your previous sdks were deleted line 275 :18:01
SebD1 rm -rf $tdir18:01
fury:D18:02
SebD1oops, you would say:18:02
SebD1 FYI, I suspect that the reason why your previous sdks were deleted by the line 275 of poky-agl-glibc-xxxx.sh script18:02
furyah, nevermind, i forgot to clean the old failed build. yay, i built the media player service :D18:04
Claudiu_Hello guys, I'm not sure if this is the right place to ask, but I am interested on find out what a reference board for AGL means and how can a board become a reference one for the AGL distribution. I was looking on the AGL website but could not find any useful material. Do you guys know where I should start?18:05
*** leon-anavi has quit IRC18:09
*** SebD1 has quit IRC18:11
*** fredw has quit IRC18:20
furymranostay: i built it, but it doesn't seem to generate any .wgt files for the services. the build/package folder gets what looks like would go into the widget18:21
*** pretec has joined #automotive18:23
*** stevenvdschoot has quit IRC18:24
*** stevenvdschoot has joined #automotive18:24
*** rdale has quit IRC18:29
*** Claudiu_ has quit IRC18:30
*** salamanderrake has joined #automotive18:31
*** amine_ahd has joined #automotive18:37
mranostayfury: ./conf.d/autobuild/agl/autobuild build    then package18:37
*** AlisonChaiken has joined #automotive18:40
mranostayjobol:  btw anything change with locking in the afb framework recently?18:40
mranostayaka doing a sync call from qml  within an event is hanging but only on certain music track atm18:41
*** mihai has quit IRC18:42
furydamn, just went to lunch :P I should get my gitlab CI stuff set up to be able to configure an AGL SDK build so I can build an app from my phone with one hand while drinking with the other18:43
*** jacobo has quit IRC19:02
*** mihai has joined #automotive20:01
*** jobol has quit IRC20:34
*** iivanov_ has joined #automotive20:35
*** iivanov has quit IRC20:38
*** jlrmagnus has quit IRC20:53
*** amine_ahd has quit IRC21:13
furymranostay: i think i crashed media player :D don't remember my exact steps, but i plugged in a flash drive, played a few songs, paused, unplugged the flash drive, went to my other minnowboard to see if it played the flash drive, then came back to this one, and got a segfault when i plugged back in and started trying to play...21:24
mranostaythere is a few thinks i'm looking into21:25
furyanything i can do to help?21:25
mranostayyou did build the mediaplayer application as well?21:25
furyyup21:25
furymediaplayer, service-mediaplayer, service-mediascanner21:25
mranostayseems to be a issue with album art + qml21:26
mranostayhoping i'm not hitting some limit21:26
furynot exactly sure how to verify that what i built is indeed what is running, though, cause the debug logs still refer to debug symbols stored in /usr/src/debug/af-binder/...21:26
furyand i'm not sure that i changed any of those21:26
furyplugged in a flash drive with different music, it's not crashing but also not playing sometimes when i select a song21:29
furythis one actually has some album art on it, apparently21:30
furyjust selected a coldplay song and i got a big green butterfly in the album art box :D21:30
furyi'd file that under "not a bug" but it'd be literally incorrect :P21:31
furysecond time i selected that song, no album art21:32
furynow the mediaplayer UI isn't updating, but it's selecting songs and doing things when I click in places21:33
furynothing obvious coming out in journalctl tho21:33
furylots of this:21:34
*** martinkelly1 has quit IRC21:34
furyhttps://www.irccloud.com/pastebin/y206l0xy/21:34
mranostayyeah i've seen that21:35
mranostaymaybe mdp has some thoughts on that21:35
mdpbenign21:36
JEEBthat mostly looks like something that pulse is trying to do is getting blocked21:37
mdpI'm going to be very vague here because it was months ago that I spelunked into audiomanager looked at that method call's return and noted that it was unused. unless I"m reading too fast..this is where pulseaudio replies to an audiomanager method21:37
mdpthe response is, in any case, ignored by audiomanager21:38
JEEB:D21:38
JEEBclassic21:38
mdp+121:38
furysweet21:38
furyso that's not what's causing media player to be wonky then?21:38
mranostayfury: new binding and working out some issues21:39
mdpJEEB: working, testing, documentation, return codes /error paths, are the industry best standard for software priority ;)21:39
JEEBayup :)21:39
fury:D21:40
mranostaythink a few async calls to gstreamer are failing randomly21:40
JEEBI still laugh out loud when I see f.ex. ffmpeg.c ignoring return values from functions specifically marked "DO NOT IGNORE" just end up spawning warnings during the build process21:40
JEEB"showing off the best example" indeed21:40
furywell,  if any logs would be helpful, lemme know...i'm trying to see if i can make the same steps do the same thing every time (definition of insanity!)21:41
mdpmranostay: it's just you and I that complain about the BT binding though ;)21:41
mdpwe're the only users ;)21:42
furyno, i want the bluetooth to work too :P21:42
furybluetooth is my faaaaaavorite!21:42
fury30% of the time it works every time!21:42
mdpfury, I found yet another issue today...it incorrectly reports HFP status on the discovery response21:42
mdpso nice21:42
mranostaymdp: I'm so sick of Shot Down in Flames by now for the record :)21:42
mdpmranostay: me too..too lazy to glue some new oggs..can you create a nice set of 200 test tracks?21:43
*** ric96 has quit IRC21:51
fury<-- sick of AC/DC back in black21:52
furyblasphemous21:52
furyunplug flash drive, replug, start playing -> Oct 30 14:22:50 intel-corei7-64 afbd-agl-servic[481]: g_object_set_valist: invalid unclassed object pointer for value type 'GstElement'21:52
furyskips over every song21:52
furythat's pretty neat. i'm listening at hyper speed :P21:52
furyit's bringing up some album art tho21:52
*** anahuelamo has quit IRC21:54
furysometimes on playing the next song, the sink-input gets muted and doesn't get unmuted until i pause and play21:56
furyor pick another song21:56
furysometimes on picking another song it mutes too21:56
mranostayfury: noticed that too..  you running on what board?21:56
furyminnowboard dual-e quad core21:57
furyimage burned onto transcend SSD21:57
*** anahuelamo has joined #automotive21:57
furypretty zippy :P21:57
mranostaynot sure if it is gstreamer or something in pulseaudio21:57
mdpmranostay: it's likely to be audiomanager/module-router21:59
*** jjardon has quit IRC21:59
mranostaymdp: yeah was thinking that21:59
*** Olivier[matrix] has quit IRC22:00
mdptry removing the line in /etc/pulse/default.d/module-router.pa that loads it22:00
mdpI had it auto-muting some of my sink-inputs many months ago..that's when I found the race condition that was causing a crash and the muting..22:00
mranostayah lovely22:01
mdphowever a few days ago I noticed it doing that again on telephony sink-inputs22:01
mdpso I removed it22:01
mdpunfortunately the stuff is unmaintained now22:01
mdpoh, that cured it..so check it out..22:02
*** iivanov_ has quit IRC22:02
furyahhh...my good old friend the module-router. i remember having to comment that out in default.pa a while back when bluetooth was muted by default22:02
mdpit's basically module-router/audiomanager deciding that your sink-input should not be heard22:02
mdpyou can probably write some unreadable xml rules to fix it22:02
furyis the agl advanced alsa audio acronym system what's going to replace the old module-router / audio manager?22:05
mranostaymdp: yeah and that explains the race on setting volume of the track22:06
mranostayok still need to figure out his other craziness22:06
*** Olivier[matrix] has joined #automotive22:10
furycommented out module-router, rebooted, plays fine, skipped to tracks with album art...first one loaded the album art and played...skipped to second track with album art, it did not show album art, but did play. that seems to be the one that breaks the mediaplayer app22:11
furyif i kill it and restart it while it's playing the other tracks, it seems to come up fine22:11
furybut while it's playing the second track in my list that has album art, the UI seems to lock up, and upon restart of the mediaplayer app, the playlist and metadata does not come up22:12
mranostayfury: yeah seems like my issue22:12
mranostaydeadlock in agl-service-mediaplayer i'm guessing22:12
*** jjardon has joined #automotive22:15
furyi don't see it making a peep in journalctl, is there a debug flag i can pass to it to get it to talk more?22:16
mdpSounds like your mute issue is cured/workedaround?22:18
furyworked around - i had completely forgotten about module-router. don't know that it does me any good leaving it on?22:19
furybtw - NETGEAR WNA1100 wifi dongle plugs in and is recognized just fine out of the box. yay! :)22:19
JEEB'grats22:20
*** ric96 has joined #automotive22:24
*** martinkelly has joined #automotive22:28
mranostayfury: testing my luck with a debug build.. may have some results tomorrow22:47
furydon't know if it's this dongle that i got, or the wifi router setup here, or a little of both, but ehhh...wifi performance is pretty choppy. just trying to scroll through journalctl is painful O_o22:58
furyis there a switch i can flip in AGL to say "make wifi smoother"? :P22:59
smurrayfury: I've started tinkering with an intel mpcie wifi module on turbot + silverjaw lure23:00
furyhmm23:05
furyi think it's all the scanning23:05
*** pretec has quit IRC23:06
furyyeah. if i kill settings, the performance is smoother23:06
furyshouldn't settings stop scanning if it's no longer on the wifi settings screen?23:07
furysmurray: mini-pcie seems to be the only way to get up to AC, is it that much faster in practice?23:10
smurrayfury: I've not speed-tested it yet23:11
furyme either. this is the first 30 minutes i've really played with even a wifi USB dongle :D23:12
furyaverage 3.6ms ping to the minnowboard from a mac on the same router23:13
smurraythe wifi settings app hasn't seen a lot of use, it's possible the binding is doing extra work23:13
furyno worries. as long as i don't go into settings after i boot, or if i kill it from the terminal afterwards, i should be good. i'm trying to see if i can throw together an iOS/Android remote control type thing for the AGL media player or the mixer or something like that, i'm just going to avoid pushing buttons that cause things to crash or not work as good :P23:23
*** claneys has quit IRC23:51

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