*** mdurnev has joined #automotive | 00:06 | |
khilman | anyone familiar with audiomanager: should we expect it to work on QEMU? c.f. https://jira.automotivelinux.org/browse/SPEC-761 | 00:19 |
---|---|---|
khilman | kernel has an audio driver, but audiomanager is not happy. | 00:19 |
mranostay | khilman: mdp has some magic setup for it iirc | 00:20 |
* khilman awaits the magic | 00:21 | |
mranostay | khilman: yeah well it is 8:30p in Ohio-land :) | 00:24 |
*** AlisonChaiken has quit IRC | 01:11 | |
*** jlrmagnus has quit IRC | 01:23 | |
*** mdurnev has quit IRC | 01:55 | |
*** jeremiah has quit IRC | 03:38 | |
*** mdurnev has joined #automotive | 03:58 | |
*** AlisonChaiken has joined #automotive | 04:52 | |
*** jobol has joined #automotive | 06:18 | |
*** caiortp has quit IRC | 06:31 | |
*** msisov has joined #automotive | 06:40 | |
*** claneys has joined #automotive | 07:01 | |
*** rajm has joined #automotive | 07:11 | |
*** [AD]Turbo has joined #automotive | 07:38 | |
[AD]Turbo | hi there | 07:39 |
*** fredw has joined #automotive | 07:44 | |
*** leon-anavi has joined #automotive | 07:45 | |
jobol | hi all, are beggar still awaken? | 07:46 |
jobol | no ? owlet then? | 07:46 |
leon-anavi | hi | 07:54 |
leon-anavi | jobol, how are you? | 07:54 |
jobol | hi leon-anavi I'm scrapping with BTLE so tired | 07:55 |
jobol | and you how is it hangin? | 07:56 |
leon-anavi | good :) | 08:08 |
*** rdale has joined #automotive | 08:14 | |
*** jacobo has joined #automotive | 08:31 | |
*** toscalix_ has joined #automotive | 08:37 | |
*** claneys has quit IRC | 08:46 | |
*** fredw has quit IRC | 08:47 | |
*** toscalix_ is now known as toscalix | 08:49 | |
*** rdale has quit IRC | 09:00 | |
*** claneys has joined #automotive | 09:01 | |
*** bruce has joined #automotive | 09:13 | |
*** bruce is now known as Guest37140 | 09:13 | |
*** toscalix has quit IRC | 09:26 | |
*** toscalix has joined #automotive | 09:27 | |
*** kooltux_ has joined #automotive | 09:42 | |
*** philrob has joined #automotive | 09:51 | |
*** toscalix has quit IRC | 10:57 | |
*** toscalix has joined #automotive | 12:26 | |
*** toscalix_ has joined #automotive | 12:28 | |
*** toscalix has quit IRC | 12:30 | |
*** philrob has quit IRC | 12:38 | |
*** arfoll_ is now known as arfoll | 12:45 | |
mdp | khilman, you caught me at the pub last night...I know it's early for you now but here's how I boot qemu images with audio and BT support (audiomanager is running): https://www.irccloud.com/pastebin/2qYPYUeO/ | 12:49 |
mdp | khilman: keep in mind that I know you have a bit different use case going with CI in that I believe you use runqemu. I've documented the above (but haven't sent a PR yet to docs-agl) for the end-user use cases of using a host distro qemu to boot our qemu image. | 12:51 |
mdp | khilman: in any case, the same options should work in your build's qemuboot.conf | 12:51 |
dl9pf | mdp: thanks for qemu cmdline ... -usbdevice host:$USB_BT .... that will be a challenge ... / | 12:53 |
dl9pf | is BT a requirement for audiomanager to start up ? | 12:53 |
mdp | no, that's just something local for my work..I actually don't document that in the docs update. | 12:54 |
dl9pf | we will likely use use QEMU_AUDIO_DRV=none in CI | 12:54 |
dl9pf | please add most of it to docs-agl . Valuable info. | 12:55 |
*** dunderroffe has joined #automotive | 12:56 | |
mdp | I'm touching up some vbox and vmware stuff now before a PR | 12:56 |
mdp | yeah, I know it's long overdue ;) | 12:56 |
dl9pf | cool | 12:56 |
mdp | dl9pf: oh, and it assumes presence of a vmdk.xz for the "exact steps"..so... | 12:57 |
dl9pf | yes ... yes | 12:57 |
mdp | I am saddened to have my system polluted with the vmware gunk now :( had to downgrade to gcc 5 and so on to work around its madness. | 12:58 |
*** toscalix_ has quit IRC | 13:02 | |
dl9pf | only have vbox here ... but with kernel close to mainline it is alway a mess. no matter what of these you use. | 13:04 |
mdp | yeah, I only grabbed vmware because I know it's a use case for many AGL users | 13:09 |
mdp | I don't want to hear that a patch of mine broke it again ;) | 13:09 |
mdp | dl9pf: https://github.com/konsulko/docs-agl/blob/WIP/qemu/docs/getting-started/machines/qemu.md is the WIP qemu docs | 13:11 |
dl9pf | looks good ... nitpick: add cd tmp/deploy/images/qemux86-64/ before xz -d .... (just for 'exactsteps') | 13:14 |
dl9pf | or add note ... "Image in folder tmp/deploy/... ) ... | 13:14 |
* dl9pf runs | 13:14 | |
fury | Hi guys | 13:15 |
fury | How's it hangin? | 13:15 |
dl9pf | good and you fury: ? | 13:15 |
fury | Hangin in there :D not gonna be quite as late to work as I was the last couple days, woo | 13:16 |
mdp | yeah, I didn't do that because they may be downloading the image from our release site and following the build instructions. but in this case, since I'm describing the build I will add that..good point. | 13:16 |
mdp | I really want to ultimately separate this notion of build...and deploy..so people can find it | 13:16 |
mdp | and make the docs consistent across platforms ;) | 13:17 |
dl9pf | yes, you're right ... build is one phase ... could be replaced by download ... running it is the same for both ... | 13:18 |
mdp | baby steps..we can reorg on another iteration | 13:28 |
*** mdurnev has quit IRC | 13:28 | |
*** araujo has joined #automotive | 13:52 | |
*** jeremiah has joined #automotive | 14:10 | |
*** toscalix has joined #automotive | 14:17 | |
*** AlisonChaiken has quit IRC | 14:29 | |
*** kooltux` has quit IRC | 14:29 | |
*** kooltux_ has quit IRC | 14:30 | |
*** kooltux_ has joined #automotive | 14:30 | |
*** kooltux_ has quit IRC | 14:30 | |
*** kooltux` has joined #automotive | 14:31 | |
*** kooltux_ has joined #automotive | 14:31 | |
*** kooltux` has quit IRC | 14:31 | |
*** kooltux_ has quit IRC | 14:31 | |
*** kooltux` has joined #automotive | 14:32 | |
*** kooltux` has joined #automotive | 14:32 | |
*** jlrmagnus has joined #automotive | 14:52 | |
*** toscalix has quit IRC | 14:53 | |
*** zeenix has joined #automotive | 14:56 | |
*** john3voltas has joined #automotive | 15:04 | |
*** toscalix has joined #automotive | 15:12 | |
dl9pf | claneys: ping | 15:15 |
*** D9 has quit IRC | 15:18 | |
claneys | dl9pf, | 15:20 |
claneys | i'm here | 15:20 |
*** jobol has quit IRC | 15:20 | |
dl9pf | hi ! sent you a pm | 15:20 |
*** [AD]Turbo has quit IRC | 15:25 | |
*** zeenix has quit IRC | 15:26 | |
*** claneys has quit IRC | 15:33 | |
*** rajm has quit IRC | 15:45 | |
*** john3voltas has quit IRC | 15:46 | |
*** toscalix has quit IRC | 15:56 | |
*** ronan_ has quit IRC | 16:04 | |
mdp | ugh, vmware broke my zoom client. death by binary blobs. | 16:04 |
* mdp blames AGL ;) | 16:05 | |
mranostay | mdp: how is that even possible? | 16:05 |
mdp | nfc, somewhere in my downgrade to gcc5 and whatever dependencies to make vmware's binary blob module builds happy | 16:05 |
mdp | at least vbox actually has a competent linux client team. | 16:06 |
dl9pf | mdp: does your skript run with QEMU_AUDIO_DRV=none , too ? | 16:07 |
dl9pf | e.g. boot-up (just no audio pass-through) ? | 16:07 |
mdp | dl9pf: will check in a sec...on a short call | 16:08 |
dl9pf | mdp: basically we try to have the sound device internally (emulated) but nothing on the outside and audiomanager still happy (tm) | 16:11 |
*** toscalix has joined #automotive | 16:11 | |
khilman | If there is noone in the CI lab to hear the sound, does the sound actually exist? ;) | 16:13 |
dl9pf | we could use wav output and mail that to mdp's phone :P | 16:15 |
*** Guest37140 has quit IRC | 16:16 | |
mdp | hehe | 16:21 |
mdp | dl9pf: I would insist that we tunnel the pcm over ssh or something similarly !sane. | 16:22 |
mdp | dl9pf: mail me a .mkv of the display output too | 16:26 |
dl9pf | mdp: yes, lol | 16:31 |
*** toscalix has quit IRC | 16:31 | |
*** kooltux_ has joined #automotive | 16:33 | |
mdp | dl9pf: buy some more disk space ;) | 16:33 |
*** zeenix has joined #automotive | 16:36 | |
dl9pf | mdp: does audiomanager require SINK and SOURCE to be present ? | 16:36 |
mdp | yeah, I think that may be your problem | 16:37 |
dl9pf | we seem to have trouble with QEMU_AUDIO_DRV=none + audiomanager not starting up ... | 16:37 |
* mdp is still on a (boring) call | 16:37 | |
*** jacobo has quit IRC | 16:38 | |
mranostay | mdp: you aren't suppose to say that outloud :) | 16:39 |
khilman | for anyone who may be bored: here's a boot log with QEMU_AUDIO_DRV=none and a (repeatedly) unhappy audiomanager.service: http://lava.baylibre.com:10080/scheduler/job/55#bottom | 16:41 |
*** zmc has quit IRC | 16:47 | |
fury | netgate's saying they had the problem on the dual-ethernet version of the quad core minnowboard too :X wonder if this is a problem on ALL minnowboards | 17:01 |
fury | memtest86 reveals it within 5-10 mins or so (parallel mode), otherwise it's random from minutes to hours when using AGL or whatever | 17:01 |
*** jlrmagnus has quit IRC | 17:02 | |
*** leon-anavi has quit IRC | 17:03 | |
dl9pf | fury: oh ... need to test mine | 17:04 |
mranostay | fury: seems someone dropped the ball on EMI testing | 17:12 |
*** jlrmagnus has joined #automotive | 17:16 | |
mdp | the prpplague minnowboards work fine ;) | 17:23 |
*** jlrmagnus has quit IRC | 17:27 | |
*** zeenix has quit IRC | 17:27 | |
mdp | khilman: I just ran with -soundhw hda and QEMU_AUDIO_DRV=none and audiomanager is running...well, 3 day old master image. | 17:38 |
khilman | mdp: I just discovered that using KVM like you're doing makes it work | 17:39 |
dl9pf | mdp: != kvm and it fails to start quite a few times | 17:39 |
dl9pf | smells like a bug in the .service dependencies | 17:39 |
dl9pf | or /dev/foo not ready | 17:39 |
dl9pf | for slow machines | 17:40 |
dl9pf | could be another heisenbug like 544 ;) | 17:40 |
mdp | khilman: gotcha | 17:40 |
mdp | at least HomeScreen complains loudly if you forget all the magic sse options to qemu | 17:41 |
smurray | yep | 17:41 |
khilman | mdp: for kicks, try without -enable-kvm and "-cpu Nehalem,check=false" | 17:41 |
mdp | ok | 17:42 |
*** jlrmagnus has joined #automotive | 17:43 | |
khilman | or, keep your same -cpu=X but just drop -enable-kvm. Just doing that, I see audiomanager repeatedly fail and retry to start | 17:44 |
mdp | khilman: glacial speed now of course, but I see the audiomanager/systemd restart dance | 17:44 |
*** araujo has quit IRC | 17:44 | |
khilman | yeah, so smells like a boot speed issue, maybe a race due to systemd deps missing or whatever. | 17:45 |
mdp | I suspect this is not the first or last of the race conditions..there are many | 17:45 |
mdp | and I just switched back to my cpu options and confirmed as you suggested. fun | 17:46 |
mdp | assign a bug to smurray, he loves debugging systemd race conditions | 17:46 |
mdp | ;) | 17:46 |
mdp | khilman: we've had ongoing issues with homescreen/windowmanager as well | 17:47 |
khilman | should be more fun when we try this on QEMU ARM. :) | 17:47 |
mdp | hehe | 17:47 |
*** kooltux_ has quit IRC | 17:50 | |
mdp | khilman: similar to this we had a group of developers exclusively using netboot that made the HS/WM race rare if ever happen..but it was triggered quite frequently on any system rooted off of mmc/sd. | 17:50 |
dl9pf | we should add 'slow i/o' then to the mix | 17:52 |
*** martinkelly has joined #automotive | 17:52 | |
dl9pf | -drive if=virtio,file=diskimage.ext4,throttling.bps-write=52428800,throttling.iops-total=6000 play with | 17:53 |
*** jobol has joined #automotive | 17:59 | |
*** jlrmagnus has quit IRC | 17:59 | |
*** jobol has quit IRC | 18:06 | |
*** kooltux_ has joined #automotive | 18:07 | |
mdp | ahh, yeah, cute | 18:20 |
* mdp learns a new trick today. :) | 18:21 | |
* khilman creates a bug but cowardly refuses to assign it to avoid makiing enemies https://jira.automotivelinux.org/browse/SPEC-767 | 18:29 | |
mranostay | khilman: too late JIRA autoassigned to Nobuhiko Tanibata :) | 18:30 |
khilman | Then we blame JIRA (like normal) instead of me. ;) | 18:30 |
mdp | +1 | 18:32 |
mranostay | khilman: although best to make enemies that aren't with driving distance :P | 18:32 |
JEEB | :D | 18:32 |
mdp | if I get blamed I'm throwing you all under the bus | 18:32 |
mdp | khilman: I may take a look at it actually since I've been in the depths of AM recently for something...need to get something else off my plate today first. | 18:34 |
khilman | nice | 18:39 |
*** msisov has quit IRC | 19:01 | |
mdp | darn, dl9pf actually acted on that statement. | 19:02 |
*** ZenEntropy has joined #automotive | 19:20 | |
ZenEntropy | Hi there, I'm looking at some guidance to build and run AGL demo platform for QEMU on a MacOS system, haven't found much materials on Jira/wiki. Can someone help me out with the procedure? or point me to an existing exhaustive doc? | 19:22 |
*** john3voltas has joined #automotive | 19:27 | |
mdp | ZenEntropy: OSX is a bit of a rare platform for the AGL community so we don't have docs for that. The other issue you'll likely run into is that less developers maintain that for qemu. But if you build qemu for OSX and can add some docs for that case to our existing instructions for qemu on Linux..that would be welcomed. | 19:39 |
ZenEntropy | mdp: Thanks, I know OSX is not too "popular" in th eAGL community ;) If I can succeed I would probably make some notes. Could find how to build AGL for QEMU but could not find instructions to setup and run QEMU on Linux, is there any somewhere? | 19:44 |
dl9pf | ZenEntropy: this commandline from mdp: might help: qemu-system-x86_64 -enable-kvm -m 2048 \ | 19:45 |
dl9pf | -hda agl-demo-platform-qemux86-64.vmdk \ | 19:45 |
dl9pf | -cpu kvm64 -cpu qemu64,+ssse3,+sse4.1,+sse4.2,+popcnt \ | 19:45 |
dl9pf | -vga std -show-cursor \ | 19:45 |
dl9pf | -device virtio-rng-pci \ | 19:45 |
dl9pf | -serial mon:stdio -serial null \ | 19:45 |
dl9pf | -soundhw hda \ | 19:45 |
dl9pf | -net nic,vlan=0 \ | 19:45 |
dl9pf | -net user,hostfwd=tcp::2222-:22 | 19:45 |
mdp | ZenEntropy: full context here: https://github.com/automotive-grade-linux/docs-agl/pull/68 | 19:46 |
mdp | note that you'll have to modify accordingly for lack of kvm on osx..no idea if qemu for osx is mature enough to use the virtualization apis on osx. | 19:47 |
mdp | ZenEntropy: the short answer is "patches welcome" :) | 19:48 |
mdp | ZenEntropy: also note that these docs depend on a merge of the vmdk.xz patches that are under review. | 19:49 |
mdp | for now, you can boot the .ext4, but I wrote the stuff to just consistently use the same image across different VMs to be less confusing. | 19:50 |
dl9pf | ZenEntropy: Alain ? | 19:57 |
ZenEntropy | Sorry, network issues, I'm in a Starbucks in California ;) | 19:59 |
mdp | ZenEntropy: starting docs in that link above. | 20:01 |
ZenEntropy | mdp: reading the doc right now | 20:04 |
ZenEntropy | mdp: thanks | 20:04 |
mdp | np, I just finished it up..I'm sure it can be improved a bit more..I do want to document the sdk target etc...but works for me. | 20:06 |
ZenEntropy | mdp: it's already helpful, perhaps I should go the Virtualbox, might be more evolved on OSX than QEMU... | 20:10 |
mdp | yeah, I would recommend it..you'll have to add AGL_EXTRA_IMAGE_FSTYPES := "vmdk" to your local.conf to get it to spit out a vmdk. that won't be necessary soon as we'll generate a vmdk.xz by default. | 20:13 |
mdp | or vdi if you like | 20:14 |
ZenEntropy | mdp: OK thanks again, gotta digest this and try it out | 20:15 |
mdp | ZenEntropy: my gut feeling is you'll be disappointed in QEMU on OSX. | 20:16 |
mdp | np | 20:16 |
*** praneeth has quit IRC | 20:16 | |
*** praneeth has joined #automotive | 20:17 | |
ZenEntropy | mdp: Kinda have a hunch I will ;) | 20:18 |
*** jlrmagnus has joined #automotive | 20:34 | |
*** john3voltas has quit IRC | 21:00 | |
*** AlisonChaiken has joined #automotive | 21:27 | |
ZenEntropy | Having trouble with OpenSSH server, trying to enable it through systemd and get error, seems like some config files are missing, any hints? thx | 21:45 |
mdp | dl9pf: well, whatever is generating the docs page sure messes up the markdown code blocks. it's proper syntax as evidenced with all the md parsers I preview with as well as pandoc's generated html...but not on docs.automotivelinux.org. I'll have to tweak some more for that generator. | 21:55 |
mdp | some of the code blocks, that is. | 21:56 |
*** ZenEntropy has quit IRC | 22:03 | |
*** ToxicGumbo-work1 has quit IRC | 22:06 | |
*** ToxicGumbo-work has joined #automotive | 22:07 | |
fury | hmm. i just happened to find a jacinto 6 evm board laying around O_o | 22:08 |
fury | odd thing to just happen upon in my office | 22:08 |
fury | but agl master -m dra7xx-evm doesn't seem to be building at the moment | 22:08 |
mdp | fury, be aware depending on what i/o stack you have on it..you may need to adjust the display overlays for the display you have..docs on ti wiki | 22:09 |
fury | i was planning on rolling hdmi and usb like usual | 22:09 |
fury | didn't opt for any of the optional addon boards | 22:09 |
mdp | fury: it's vendor maintained..but should at least build given that it's in CI | 22:09 |
mdp | fury, yeah, the turnkey config is set for a specific setup that ti, j-s, and I have locally | 22:10 |
fury | ah ok | 22:10 |
mdp | beer:30 | 22:11 |
* mdp goes *poof* | 22:11 | |
fury | have a good one :D | 22:11 |
mranostay | 9 | 22:27 |
mranostay | gah :) | 22:27 |
fury | 7 | 22:27 |
mranostay | fury: how dare you take my number! | 22:33 |
*** kooltux_ has quit IRC | 22:52 | |
fury | because 7 8 9! | 22:55 |
*** kooltux_ has joined #automotive | 23:07 | |
*** kooltux_ has quit IRC | 23:24 |
Generated by irclog2html.py 2.14.0 by Marius Gedminas - find it at mg.pov.lt!