Thursday, 2017-07-27

*** tpb has joined #timvideos00:00
mithroCarlFK: did you actually log a bug for the video_mode?00:18
mithroCarlFK: where?00:18
tpbTitle: video_mode list hangs · Issue #134 · timvideos/HDMI2USB · GitHub (at
mithroThat was not the correct place to do that...00:20
mithroCarlFK: The video_mode list bug should now be fixed -
tpbTitle: firmware: Fix video_mode failing. by mithro · Pull Request #332 · timvideos/HDMI2USB-litex-firmware · GitHub (at
mithroCarlFK: New firmware should end up on prebuilt in an hour or two00:50
CarlFKneat - good thing I haven't packed yet :p01:01
CarlFK[m]whoops.. the Opsis coen02:19
CarlFK[m]whoops.. the Opsis doesn't have a usb port I can use to power the odroid02:19
*** ivodd has quit IRC02:24
*** ivodd has joined #timvideos02:24
CarlFK[m]  git describe: v0.0.3-732-gccfa97c-dirty                                                 Connecting pattern to output002:39
tumbleweedCarlFK[m]: err I thought the odroids were for atlys boards02:40
CarlFK[m]tumbleweed (IRC): I need something up there02:43
CarlFK[m]I will have a few spare laptops with a base debian install02:43
xfxfCarlFK[m]: i'm about to try your usb installer, but the instructions seem incomplete.  there's no inventory_repo and branch - i assume i should point it to your video-stack-deploy branch, but then i'm not clear on the intent to assign machine hostnames and roles and config03:04
xfxfi can guess, but i don't have time to guess03:04
CarlFKxfxf: what are the host names of the machines you are going to use?03:05
xfxfsame as LCA03:05
tumbleweedxfxf: the inventory repo was the lca17-av repo03:05
xfxfthere's like 10 machines03:05
xfxftumbleweed: but aren't there updates in carl's repo i'll want if i'm doing a new deploy using debian?03:05
xfxfor is the intent that one holds all of the roles, the other is purely 'this is machine X, it needs Y and Z from the other repo'03:06
tumbleweedyes, which will mean config changesyou have to make to the config (in the inventory repo)03:06
tumbleweedxfxf: one repo is the code, one is the config03:06
CarlFKxfxf: lets start with the main vocto machine in the main room.  is that hostname r1mix?03:06
xfxfso if i want to add new roles, i.e. for these blackmagic web presenter usb devices I have, i have to get it merged into the debconf git repo?03:06
xfxfCarlFK: it's gonna be the same as LCA03:07
tumbleweedor you can put them in the other repo, we did that for some lca things that nobody else would ever want03:07
xfxfgive me 1 hour03:07
xfxfi'll get lunch and actually document this somewhere03:07
xfxfbut yes, r1mix on the same desktop machine, two cameras, two hdmi2usb's at the front for each lecturn, etc03:07
xfxfthe only difference is the camera ingest might have the yamaha usb + hdmi2usb for a bm web presenter, as none of the video/audio delay crap is needed, the audio comes through better, etc03:08
CarlFKone machine at a time03:08
xfxfbut even that's optional given limited time03:08
xfxfs/for a/swapped for a/03:08
CarlFKr1mix - you want vocto - what about opsis and veyepar ?03:08
xfxfr1mix had a PCIe BM card03:09
xfxfwill be the same03:09
CarlFKI am not going to pretend to remember what was at lca03:09
xfxfonly if the room setup / machine config was in a repo somewhere :P03:10
CarlFKI suspect you want something like this
tpbTitle: video-stack-inventory/hosts at master · CarlFK/video-stack-inventory · GitHub (at
CarlFK[m]xfxf: forget all the details for now.  run the script, make a usb stick, boot it, see what happens03:13
xfxfwithout an inventory_repo/branch specified?03:44
CarlFK[m]there have been 2 bm driver updates in the last few weeks - if you want them, may as well start dl the huge tarbal03:48
*** rohitksingh_work has joined #timvideos03:51
xfxfok that didn't work03:53
xfxf404 when it's trying to get the debian iso03:53
xfxf[email protected]:master ✗:~/dev/video/video-stack-deploy-carlfk/scripts$ ./ /dev/sdc03:53
CarlFK[m]oh right.. it just bumped up a ver03:53
xfxflol, this is why i was hesitant doing this03:53
xfxf9.1 now i assume03:54
xfxfupdate cfg to 9.1.0, now doing something03:55
CarlFK[m]yes - iso=debian-9.1.0-amd64-netinst.iso03:57
xfxfdoes this usb installer install everything from the internet btw?04:04
xfxfbecause my internet is not very quick04:04
CarlFKthat iso is a small repo - I think it has most of it04:05
CarlFKwhen it apt-get install vcoto stuff, it will pull in a bunch of gs debs04:08
CarlFKi it is going to be a problem, I would setup squid04:08
CarlFKwell, I would setup squid either way because I am a little obsessive or something...04:08
CarlFKbut it isn't perfect smooth, so will likely annoy you.   pick your annoyance04:09
xfxfthe usb stick is made, it's now serving on port 8000, what's the purpose of the latter?04:17
CarlFK[m]preseed and late.sh04:18
CarlFK[m]hopefully the target machine can get to that04:19
xfxfprobably not, different network04:19
xfxfusb stick doesn't want to boot either04:19
CarlFK[m]sec.. let me see if I #ed out aline to speed up testing...04:21
CarlFK[m]line is ok.04:22
CarlFK[m]did it ask for sudo pw?04:22
tpbTitle: video-stack-deploy/ at master · CarlFK/video-stack-deploy · GitHub (at
CarlFK[m]zcat hd-media/boot.img.gz|sudo dcfldd of=/dev/${dev}04:22
CarlFK[m]that is the line that makes the usb stick bootable04:22
xfxfit did04:22
xfxfi'd add a 'sync' before your http server serve line btw04:24
CarlFK[m]when I plug it into my laptop it auto mounts, and df shows:04:24
xfxfi just readded it, then did 'sync', and it took about 15 secs to flush what it claimed it has already done out to the sick04:24
CarlFK[m]/dev/sdd                      952M  348M  604M  37% /media/carl/Debian Inst04:24
xfxfyes I see that, but the laptop isn't picking it up as a bootable04:25
xfxfran that command again04:25
xfxfthen 'sync'04:25
xfxfthen pulled it out04:25
xfxfnow works04:25
xfxfas per above, add 'sync' before the last command04:26
xfxfthe installer is asking me questions instead of auto doing stuff, as expected?04:26
CarlFK[m]a little04:26
CarlFK[m]non-free firmware and hostname come to mind04:27
xfxfand that's not working either, "Installation step failed" - "Scan hard drives for an installer ISO image"04:27
CarlFK[m]cp ${iso} ${iso}.SHA256SUM /media/${dev}04:27
CarlFK[m]check to see if   debian-9.1.0-amd64-netinst.iso got copied04:28
CarlFK[m]iv'e done this a few 100 times in the last few weeks.  most of the time is it solid.04:31
CarlFK[m][email protected]:/media/carl/Debian Inst$ sha256sum -c debian-9.1.0-amd64-netinst.iso.SHA256SUM04:32
CarlFK[m]debian-9.1.0-amd64-netinst.iso: OK04:33
CarlFK[m]are any of the Opsis ports better than the others?04:37
CarlFK[m]mithro: v0.0.3-732-gccfa97c-dirty built: Jul 27 2017 01:11:25  does all the things I care about and m l doesn't crash it04:39
xfxfit's doing something now, after sorting out a few headaches05:01
xfxfif this usb stick is just the debian installer with syslinux.cfg modified, and the rest comes fromm that HTTP repo, why usb stick and not tftp?05:02
xfxfnot using PXE anymore?05:02
CarlFK[m]because you wanted quick05:02
xfxfoh, right, you actually use PXE still?05:02
xfxfokay, cool05:03
xfxfthat's easy enough to do05:03
xfxfanyway, you said install this without any config, what am i expecting to see?  waiting for it to finish installing now05:03
xfxfi assume none of the roles will actually be configured on it so i won't be able to do much05:03
CarlFK[m]some sort of minimal debian05:03
xfxfmithro: i'm attempting to build + test the latest litex firmware, verifying pulling latest master, running download-env etc again is what I should be doing?05:04
xfxfCarlFK[m]: the purpose of doing this is?05:04
xfxfi want to end up with configured machines.  i can install debian by hand :P05:04
CarlFK[m]get you doing something instead of talking05:04
xfxfdude i don't have hordes of time available05:05
CarlFK[m]ok, keep talking :p05:05
tpbTitle: video-stack-inventory/hosts at master · CarlFK/video-stack-inventory · GitHub (at
CarlFK[m]make a file like that05:06
xfxfshould i be working off the old lca video-stack-inventory repo in my github, or should i be forking yours and adjusting it?05:06
CarlFK[m]I would start from scratch05:06
CarlFK[m]too many surprises when you use the old files05:07
xfxfdefine starting from scratch.  i assume it involves forking somebody's work, because creating this all by hand again is too much work05:07
CarlFK[m]like a 10. ip to get the bm drivers from05:07
xfxfis video-stack-deploy a fork of debconf's repo?05:08
xfxfwhich is different to lca's video-stack-deploy?05:08
xfxfi am confused.  i thought video-stack-deploy was the configuration, where the debconf one was where actual roles were defined05:08
xfxfbut i see roles in your repo05:08
xfxfand i thought yours was a fork of mine from months ago05:08
CarlFK[m]you were wrong05:08
xfxfwell, 'mine', not that I did any work on it, but the one in my repo i mean05:08
xfxfokay, so please explain what repo is meant to be used for what, because i'm pretty confused05:09
CarlFK[m]jsut make the files05:09
CarlFK[m]that will be quicker05:09
xfxfdebian install failed btw on the final ansible step, i assume because of missing ansible playbook05:09
xfxfi don't know what 'just make the files' means05:09
xfxfwhat specifically am i making05:09
tpbTitle: video-stack-inventory/hosts at master · CarlFK/video-stack-inventory · GitHub (at
xfxfso just that one file, nothing else?05:10
CarlFK[m]it depends on if you are ok with the defaults05:10
xfxfyou have far more files than in that repo05:10
CarlFK[m]because I am not ok with the defaults05:10
CarlFK[m]like I am using x video because gl doesn't work on my hardware/drivers/whatever05:11
xfxfthis really needs to be documented05:11
xfxfi think you're assuming i know stuff about this which I don't05:11
CarlFK[m]get documenting :p05:11
xfxfi'm going to fork your video-stack-inventory, work back through the debconf repo, and figure out what roles I want and how I will configure tem05:11
CarlFK[m]I assume you can create a file not say "too much work"05:12
xfxfi am probably going to make some wrong assumptions but I don't know how best to figure this out05:12
xfxfi'm happy to do this, but i had hoped there was some more documentation around it.  there's many forks, it's confusing, i don't know what the heck is meant to be the authoritative source05:12
CarlFK[m]that's too bad05:13
CarlFK[m]it is under development05:13
CarlFK[m]come back in a year, maybe it will be stable05:13
tumbleweedbut more likely, it'll be under further development05:14
xfxfi am okay with things being in flux, this is just awfully confusing05:14
tumbleweedxfxf: the authoritive source is debconf's ansilbe repo on github05:14
xfxfi'm going to go look at things instead of asking questions, i think that will be less frustrating05:14
xfxfthx for help so far05:14
tumbleweederr on alioth05:14
xfxftumbleweed: right, do you guys have two repo's, one for the roles, other for config?05:14
tumbleweedcarl has a thing called video-stack-deploy on github, so he can do PRs05:14
tumbleweedbut that's the same as our ansible repo05:15
xfxfright.  i renamed the LCA repo you worked on to video-stack-deploy on my github, which is why I am so confused, i thought they were the same thing05:15
xfxfIIRC the one on mine is the config, not the roles05:15
tumbleweedand yes, you can override our (mostly sensible but probably not what you want) in a separate repo05:15
tumbleweedthat's really confusing, yes05:15
xfxfsorry, mine's called av-foss-stack05:16
xfxfand carl has checked code into it 11 days ago05:16
tumbleweedI think that's your config repo05:16
tumbleweedcarl has been doing some maintainance to it, yes05:16
xfxfso there's 4 repo's that have had things checked into it recently :P05:16
xfxfright, so05:16
xfxftreat the debconf one as the main role one05:16
tumbleweedto find out what is configurable, you have to read the source, because no docs05:16
xfxfi'll have an inventory one, which *may* also have some roles which are me-specific?05:16
tumbleweedor you look at the config we had at LCA05:16
xfxfi'm fine reading ansible - have done plenty of devops stuff05:16
xfxfokay, ta, will poke05:17
xfxfunderstanding the ansible stuff isn't so much the problem, it's more understanding how things are holistically pieced together05:17
xfxfas that tends to be different for every darn thing05:17
xfxfCarlFK[m]: you've added non-LCA stuff to the repo on my github which was originally for LCA, are you using three playbooks/repo's for your installs?05:19
tumbleweedas I understand it, he was doing stuff in your repo, until he stopped doing that, and started a new one for pyohio05:19
CarlFK[m]I was for testing, then started to for pyohio, then created a new repo for just inventory05:19
xfxfokay that makes sense05:19
xfxfless confused now :P05:20
CarlFK[m]mithro: HDMI2USB-firmware-prebuilt/archive/master$ ls v0.0.3-732-gccfa97c/atlys/05:34
CarlFK[m]base  net  video05:34
CarlFK[m]no hdmi2usb05:35
CarlFK[m]xfxf (IRC): the install will error if the hostname for the new box isn't in the inventory.  but the install will complete and you can ansible it from either your dev box (laptop?) or ssh in and sudo ansible-up - does a git pull and runs ansible on the local files05:50
xfxfyour usb installer script is a little iffy on my box too (ubuntu w/ gnome), gnome tries auto mounting the USB stick after the initial image (but before copying the ISO onto it) and it fails05:56
xfxfand again the stick isn't bootable again after reimaging. wtaf05:58
xfxfnow it is.  possibly dicky usb port, nm06:06
xfxfmithro: is 'make flash' meant to be what we do now?  getting an error06:27
CarlFK[m]xfxf: if you just want to flash...
tpbTitle: Home · CarlFK/HDMI2USB-mode-switch Wiki · GitHub (at
CarlFK[m]xfxf (IRC): im off in about 10 min. back in 6 hours07:27
mithroxfxf: I have a some fixes pending for making "make flash" work on the Opsis again08:19
xfxfmithro: what should I be doing then to test a gateware/firmware I built? Use mode switch?08:23
mithroxfxf: it appears I have not pushed the changes anywhere....08:25
xfxfthats useful :P08:26
tpbTitle: Fixing flashing targets for Opsis by mithro · Pull Request #334 · timvideos/HDMI2USB-litex-firmware · GitHub (at
xfxfif you wanted me to review it, all i'm really capable of reviewing is if the Makefile/python syntax is correct :P08:45
xfxfor you suggesting i pull from the branch that PR is based off08:45
xfxfmithro: just tried 'make flash' on that branch, same error - Error: Unknown flash device (ID 0x00818181)09:00
xfxftrying gateware-load-opsis now tho09:01
mithroxfxf: Well, not giving me the full traceback is going to mean I have NFI what you are doing09:01
xfxfmithro: sure, just assumed the issue was known09:01
tpbTitle: Snippet | IRCCloud (at
xfxfmithro: ^09:03
xfxfimage-flash-opsis actually appears to be dong something tho09:04
tpbTitle: HDMI2USB-litex-firmware/ at master · timvideos/HDMI2USB-litex-firmware · GitHub (at
xfxf  git describe: v0.0.3-732-gccfa97c-dirty09:11
xfxfbelieve i'm running it09:11
xfxfflashed fine09:11
xfxfimage-flash-opsis worked09:11
xfxfmithro: i'm connecting input0 to output0+output1 (not running the encoder yet).  i'm getting some corruption on both screens randomly every ~15 secs or so09:12
xfxfas in, the picture appears to 'move' up and to the right a few pixels09:12
xfxfand i just got full screen flickering of both for about a second09:12
xfxfturned one of the outputs off, still happening09:13
xfxfnot happening in input1, at least i've observed yet.  we've noticed this before haven't we, one input on some of the boards seems dicky?09:16
mithroAgain, not really useful feedback...09:17
xfxfi'm not logging a bug, i'm asking if this is expected09:18
xfxfand/or known09:18
xfxfi shall log a bug properly w/ debug output if it comes to that09:19
*** rohitksingh_work has quit IRC09:21
xfxfmithro: i don't see any encoder stuff in 'x l' or 'help'09:23
xfxfis it possible something didn't get built properly?09:24
mithroxfxf: what does the version info say?09:24
tpbTitle: Snippet | IRCCloud (at
mithroLooks like you didn't build the hdmi2usb target09:28
xfxfPLATFORM=hdmi2usb ?09:28
xfxfor opsis?09:28
xfxfi swear i had that09:28
mithroPlatform == board09:29
mithroTarget == features09:29
xfxfwhere's this in the docs?09:31
xfxfcan't find09:31
tpbTitle: HDMI2USB-litex-firmware/ at master · timvideos/HDMI2USB-litex-firmware · GitHub (at
mithroWe don't default to the hdmi2usb target because it can take a very long to compile10:02
xfxfmithro: how many long (i.e. 6ft+) redmere cables do you have?11:01
xfxfi suspect some of mine are faulty.  i ordered a handful more yesterday but extras as spares might be useful11:01
xfxfi can wiggle one of mine right now at the laptop end and make the hdmi2usb freak out11:02
mithroNo idea11:02
xfxfi think all of the ones you bought for LCA are 3ft?11:02
xfxfthere are a ton in storage but i think they're all too small11:03
xfxfmithro: i've just discovered that 5 of my 6ft redmere cables are all faulty11:47
xfxfconfirmed by replugging in cables to 2 different opsis's.  the new ones work fine.  the older ones all mostly are either not working at all or flicker out like crazy if i move the cable11:47
xfxfi don't think these redmere thin cables are particularly meant to be used like this11:48
xfxfis there a point where we won't need these for the opsis's?11:48
xfxfthey're kinda expensive to keep buying - i've already thrown faulty ones out before11:48
*** sb0 has quit IRC12:13
xfxftumbleweed: how did you ansible update the LCA laptops?  by running something from a third party machine which pushed to them over ssh?12:20
CarlFK[m]xfxf (IRC): the install will error if the hostname for the new box isn't in the inventory.  but the install will complete and you can ansible it from either your dev box (laptop?) or ssh in and sudo ansible-up - does a git pull and runs ansible on the local files12:38
CarlFK[m]im up.12:38
CarlFK[m]mithro (IRC): what should I do when I see a failed build? (latest, Atlys)13:29
*** rohitksingh has joined #timvideos13:50
tumbleweedxfxf: mostly, yes14:40
tumbleweedor a complete re-image, if we'd made big changes (not all changes have migration paths)14:40
tumbleweedwe also put an ansible-up command on the machines for self-updating14:40
*** sb0 has joined #timvideos14:45
CarlFKtumbleweed: I am guessing you are brining all your gear for DC, but.. don't bring any on my account.14:50
CarlFKI have 3 Atlys, 1 Opsis alocated to the 4 rooms, plus 2 spare Atlys. (in addtion to the 2 broken ones14:51
CarlFK[email protected]:~/src/tv/lca/video-stack-inventory/pyohio/inventory$ git commit -am "Trist for good luck."15:15
tumbleweedCarlFK: ack15:33
*** sb0 has quit IRC16:04
*** sb0 has joined #timvideos16:12
* CarlFK[m] uploaded an image: file1501173406964.jpg (370KB) <>16:37
CarlFKcore2 duo machine... hmm, I should upgrade the pxe installer to 9.1...16:38
CarlFKwelp.. grabbed 9.1 files and now it works. yay.16:46
*** hyades has joined #timvideos16:59
*** rohitksingh has quit IRC17:10
*** rohitksingh has joined #timvideos17:12
CarlFK[m]tumbleweed (IRC): I think voctomix-outcasts package is missing a dep: GLib.Error: gst_parse_error: no element "clockoverlay" (1)17:13
CarlFK[m]where should I log that?17:13
tumbleweedarguably that's not a depedency, it's an optional feature17:13
tumbleweedbut it should at least be suggest/recommended17:13
tumbleweedCarlFK[m]: reportbug voctomix-outcasts17:13
CarlFK[m]thats so cool :)17:16
tumbleweedyou need working email on your machine, of course17:17
CarlFK[m]thats not so cool :(17:18
tumbleweedyeah, it's been an annoyance for years17:18
tumbleweedthere is a special mail server you can use17:18
tumbleweedsee /usr/share/doc/reportbug/README.Users.gz17:18
CarlFK[m]don't suppose you know the packag name i need?17:18
tumbleweedcheck this out:
tpbTitle: ubuntu-dev-tools - [no description] (at
tumbleweed(I mean, read it)17:20
tumbleweedthat ~/.reportbugrc should work17:20
CarlFK[m]no time. I am hoping to leave in 2 hours17:20
CarlFK[m]and still trying to figure out how to back fill the missing camera17:21
CarlFK[m][34025.622405] firewire_core 0000:05:01.0: created device fw1: GUID 0080458210d4a22f, S10017:39
CarlFK[m]yipee firwire!!!17:39
CarlFK[m][email protected]:~$ voctomix-ingest --host gator --video-source dv --audio-source dv17:39
CarlFK[m]omg it ... works.17:39
*** rohitksingh has quit IRC19:09
*** hyades has quit IRC20:13
* CarlFK[m] uploaded an image: file1501192773147.jpg (116KB) <>22:00
xfxfCarlFK[m]: i bet it looks terrible :P22:32
xfxfi had hung into those DVX cameras for a bit because I figured the optics were good in them and they'd probably be 'good enough' as second camera in vocto22:32
xfxfthen I got around to testing them22:32
xfxf.... i listed them on ebay a few days later22:32
xfxfCarlFK[m]: my house is currently like the insides of your truck, except spread all over the housde22:33
*** shenki has quit IRC22:41
*** bjoern_ has quit IRC22:41
*** vys_ has joined #timvideos22:42
*** tumbleweed_ has joined #timvideos22:42
*** Joelw_ has joined #timvideos22:42
*** shenki has joined #timvideos22:43
*** ChanServ sets mode: +v shenki22:43
*** Joelw has quit IRC22:43
*** tumbleweed has quit IRC22:43
*** tumbleweed_ is now known as tumbleweed22:43
*** tumbleweed has joined #timvideos22:43
*** vys has quit IRC22:43
CarlFKok, cat litter changed.. time to hit the road to PyOhio!23:02
*** CarlFK has quit IRC23:02

Generated by 2.13.1 by Marius Gedminas - find it at!