*** tpb has joined #timvideos | 00:00 | |
*** SamSagaZ_ has joined #timvideos | 00:41 | |
*** SamSagaZ_ has quit IRC | 01:22 | |
*** SamSagaZ_ has joined #timvideos | 01:34 | |
xfxf | CarlFK: are you aware the ansible stuff is broken? malformed yaml etc | 02:32 |
---|---|---|
xfxf | when have you last deployed a new machine using it? | 02:32 |
CarlFK | xfxf: what malformed yaml ? | 02:33 |
xfxf | I don't know because it's changed the videoteam password and I can't log in anymore. What is it? | 02:34 |
CarlFK | try RedPill | 02:35 |
xfxf | are you documenting these changes anywhere? | 02:36 |
CarlFK | yes | 02:36 |
xfxf | where? | 02:36 |
CarlFK | what docs are you reading? | 02:36 |
xfxf | every time I try using this I'm getting frustrated | 02:36 |
xfxf | I'm not, I'm just trying to apply both ansivle playbooks from both repo's | 02:36 |
CarlFK | https://github.com/CarlFK/video-stack-deploy/blob/usbstick/scripts/mk_usb_installer.sh | 02:37 |
tpb | Title: video-stack-deploy/mk_usb_installer.sh at usbstick · CarlFK/video-stack-deploy · GitHub (at github.com) | 02:37 |
xfxf | roles/shortcut/tasks/main.yml is malformed, url line has wrong spacing | 02:37 |
xfxf | shotcut* | 02:37 |
xfxf | oh a branch | 02:38 |
xfxf | that script isn't going to work for me, no network server | 02:38 |
CarlFK | what do you mean by server ? | 02:40 |
CarlFK | or never mind that question yet... did you do # Do this: # 1. sudo apt install git pmount dcfldd | 02:41 |
*** sb0 has joined #timvideos | 02:47 | |
xfxf | https://www.irccloud.com/pastebin/CUtMdBgj/ | 02:58 |
tpb | Title: Snippet | IRCCloud (at www.irccloud.com) | 02:58 |
xfxf | CarlFK: know why above occurred? | 02:58 |
CarlFK | xfxf: I hate to say it, but I am guessing you didn't follow the instructions | 02:59 |
xfxf | i'm not following where these instructions are. the comments in the usb stick script don't seem to apply? | 03:00 |
xfxf | i'm not making a usb stick | 03:00 |
xfxf | i'm trying to deploy onto an existing ubuntu install | 03:00 |
CarlFK | # 2. git clone this repo # 3. adjust ansible inventory file, commit and push back to public rep | 03:02 |
CarlFK | repo | 03:02 |
CarlFK | oh right, you can't push to my repo | 03:03 |
xfxf | i can do whatever so i'll make a USB stick installer if it'll work | 03:04 |
xfxf | what do i need to adjust? | 03:04 |
xfxf | i'm happy to use an existing hostname | 03:04 |
xfxf | this is just a standalone laptop, i don't have my PXE installer thing here, don't want to use that or have the script try to pull things off a local HTTP server or whatever | 03:04 |
CarlFK | why not? | 03:04 |
xfxf | why not what? | 03:05 |
CarlFK | don't want to use that or have the script try to pull things off a local HTTP server or whatever | 03:05 |
CarlFK | er... | 03:05 |
xfxf | i am happy to use the usb stick installer. currently running it with a usb stick shoved into the computer | 03:05 |
xfxf | i am currently about 4000km away from my AV server | 03:06 |
xfxf | this is a standalone laptop i want to provision for an event tomorrow | 03:06 |
CarlFK | are you running on your mac os? | 03:06 |
xfxf | sorry make that 2600km away. different country tho :P | 03:06 |
xfxf | no, on said ubuntu installation i was trying to run the stuff on | 03:06 |
xfxf | i'll just make a usb installer and reinstall onto it | 03:07 |
CarlFK | what OS will you use to makethe usb installer ? | 03:07 |
xfxf | ubuntu LTS | 03:07 |
xfxf | oh hey, this is using debian stretch? | 03:07 |
xfxf | i thought you were using ubuntu? | 03:07 |
CarlFK | k, the secript will bring up the one line pyton http server | 03:08 |
xfxf | (i'm looking at what the usb installer is downloading) | 03:08 |
xfxf | but it's the same machine i'm about to install onto | 03:08 |
CarlFK | you need a 2nd machine to host files | 03:08 |
xfxf | why the swap from ubuntu to debian? all of the LCA machines were ubuntu LTS | 03:08 |
CarlFK | DebConf | 03:08 |
CarlFK | I've done Ubuntu too, but ... read the script to see what it's a little harder | 03:09 |
xfxf | if debian works as well/better, whatever, just a lot has changed since our LCA installs | 03:10 |
xfxf | will your scripts fully deploy a machine to do everything including streaming and veyepar encoding? | 03:10 |
CarlFK | yes, if you slow down | 03:10 |
CarlFK | "your scripts" isn't a thing | 03:10 |
CarlFK | and I haven't touched streaming, so can't really say about that | 03:11 |
xfxf | mm, i need streaming | 03:14 |
xfxf | does it still deploy the same systemd scripts we used at LCA? | 03:14 |
xfxf | as long as what we used gets deployed, i can fix | 03:14 |
CarlFK | I don't think there was a single box at LCA that does all the things you want | 03:19 |
CarlFK | so you have to figure out what you do and don't want. | 03:20 |
xfxf | there most certainly was - the vocto mix machines do everything i need | 03:34 |
CarlFK | I don't think they had a full veyepar install | 03:35 |
xfxf | that part doesn't bother me too much | 03:36 |
*** SamSagaZ_ has quit IRC | 03:38 | |
CarlFK | what is the hostname of your box? | 03:43 |
*** hyadez has quit IRC | 04:12 | |
*** hyadez has joined #timvideos | 04:13 | |
*** sb0 has quit IRC | 04:32 | |
xfxf | CarlFK: i disabled a couple of the debian-centric (i.e. apt) roles and it actually deployed onto an existing ubuntu install fine, so \o/ | 09:42 |
jea | what good timing. now I know where the scripts are to setup a machine | 12:06 |
jea | thanks :) | 12:08 |
CarlFK | if you want stuff to go smooth, you should get involved now | 12:33 |
jea | yes, that is a good idea | 12:36 |
jea | CarlFK: do you have any recommendations on machines to use for vocto? | 12:36 |
CarlFK | jea - I use 2nd gen i3s | 12:36 |
jea | oh really? that is a lot less than I expected! | 12:37 |
CarlFK | but that wasn't enough when I needed to consume a 1080i feed from the venue, so I have a box of i5 chips to do upgrades | 12:38 |
jea | do you think intel nucs would be adequate? | 12:39 |
CarlFK | running my test pattern sources (which use the cpu for generating the pattern) source, mixer, gui, sink = 80% of 4 cores | 12:39 |
CarlFK | I don't see why not | 12:39 |
jea | based on that usage level, i suspect they should be alright | 12:41 |
CarlFK | some of my i3s have 2 gig of ram. that works too, but also just barely. but 4 gig is fine | 12:41 |
jea | do you still use opsis/atlys for camera feeds -> computer like we did at lca, or something else? | 12:41 |
jea | ok, that is good to know | 12:42 |
CarlFK | no - bm pci card | 12:42 |
jea | ah | 12:42 |
jea | right | 12:42 |
jea | i've never used one of htem | 12:43 |
jea | *them | 12:43 |
CarlFK | oh wait.. I use them for the camera. hdmi2usb on both Opsis and Atlys for presenter capture | 12:45 |
jea | yep | 12:45 |
CarlFK | expect a similar experience: plug the card in, boot, lspci, yes it is there. now try to figure out what apps and parameters will work with it | 12:45 |
CarlFK | obviously you need to run gst-inspect and look at the "mode" section and plug the correct value into ... um.... | 12:52 |
CarlFK | https://github.com/xfxf/av-foss-stack/blob/master/inventory/host_vars/r1mix.yml#L13 | 12:52 |
tpb | Title: av-foss-stack/r1mix.yml at master · xfxf/av-foss-stack · GitHub (at github.com) | 12:52 |
CarlFK | not there ... | 12:52 |
CarlFK | xfxf: what are you using for camera capture? | 12:53 |
CarlFK | I use them because audio capture | 12:57 |
jea | so you do camera and audio into the bm card? | 12:57 |
CarlFK | yes | 12:58 |
CarlFK | https://github.com/CarlFK/video-stack-deploy/blob/pxe-toucheup/roles/voctomix/files/systemd/videoteam-capture-blackmagic-hdmi-audio%40.service#L8 | 12:58 |
tpb | Title: video-stack-deploy/[email protected] at pxe-toucheup · CarlFK/video-stack-deploy · GitHub (at github.com) | 12:58 |
CarlFK | ExecStart=/usr/bin/voctomix-ingest -v --video-source blackmagic --video-attribs 'device-number=%I connection=2' --audio-source blackmagic --audio-attribs 'device-number=%I connection=1' --port 1000%I | 12:58 |
*** springermac has quit IRC | 12:59 | |
jea | ok | 12:59 |
*** springermac has joined #timvideos | 12:59 | |
CarlFK | I thought we needed to set mode=17 or something. maybe the default of "auto" works | 13:00 |
CarlFK | how is your git squishy skills? | 13:01 |
jea | um, alright i think | 13:02 |
CarlFK | https://github.com/CarlFK/video-stack-deploy/pull/3/commits CarlFK wants to merge 40 commits into master from pxe-toucheup | 13:02 |
tpb | Title: Pxe toucheup by CarlFK · Pull Request #3 · CarlFK/video-stack-deploy · GitHub (at github.com) | 13:02 |
CarlFK | tumbleweed wants fewer commits to review | 13:02 |
CarlFK | I have no idea how to go about that | 13:02 |
CarlFK | I am lucky to commit to the right branch | 13:03 |
CarlFK | are you up for spending an hour or so helping me consolidate my commits? | 13:03 |
jea | would you like to merge them all together, or groups of them? | 13:03 |
CarlFK | I am guessing groups. | 13:04 |
CarlFK | looking back, I should have branched more when I ran into issues I needed to fix to make my current fixes work | 13:05 |
jea | groups should be possible | 13:05 |
jea | maybe, but you often don't know that before you start doing it | 13:05 |
CarlFK | commit messages: don't instal python again, fix missing space typo | 13:07 |
CarlFK | hmm | 13:07 |
CarlFK | i thought I could pick out some obvious commits to squash, but...:p | 13:07 |
CarlFK | maybe find multiple changes to the same line. I am sure that exists too | 13:08 |
CarlFK | one problem with our ... flow... the preseed/late_command does: git clone ansible stuff; do ansible stuff | 13:09 |
CarlFK | https://github.com/CarlFK/video-stack-deploy/blob/usbstick/scripts/late_command.sh#L41 | 13:10 |
tpb | Title: video-stack-deploy/late_command.sh at usbstick · CarlFK/video-stack-deploy · GitHub (at github.com) | 13:10 |
CarlFK | so to test I edit on my laptop, commit, push, test | 13:11 |
CarlFK | so untested stuff gets commited | 13:11 |
CarlFK | which is why there are so many commits that fix other commits | 13:13 |
jea | so I think what you will want to do is an interactive rebase from the start of that branch | 13:23 |
jea | then go through the list and change some of the picks to squash, where appropriate | 13:23 |
jea | the nice thing is that you will be given the list of all the commits with `pick` next to them, and you can basically just change that to `squash` | 13:24 |
CarlFK | those words don't surprise me. no idea how to do it | 13:24 |
jea | ok | 13:25 |
jea | git checkout pxe-toucheup | 13:25 |
CarlFK | sec.. give me 15 min to go get some food | 13:25 |
CarlFK | back | 13:35 |
jea | I'll put the stuff here now anyway, because I'm close to falling asleep sorry | 13:35 |
jea | perfect | 13:35 |
jea | after doing the branch checkout, you want to do the rebase. do it from the first commit in the branch, I think | 13:36 |
jea | so: | 13:36 |
jea | git rebase -i c8d9f28 | 13:36 |
jea | that will open up a text editor with all of your commits, and you can then start changing `pick` to `squash` where appropriate | 13:37 |
jea | i recommend https://help.github.com/articles/using-git-rebase-on-the-command-line/ and https://www.atlassian.com/git/tutorials/rewriting-history#git-rebase-i as guides | 13:38 |
tpb | Title: Using Git rebase on the command line - User Documentation (at help.github.com) | 13:39 |
CarlFK | where appropriate is what I need help wiht | 13:39 |
jea | I think I'd put ffb55e6, c013150 and bc1b42d together | 13:42 |
jea | I'm struggling to work out which things should go together | 13:44 |
jea | and that is even with using sourcetree and seeing all of the changes in each commit during a rebase | 13:45 |
jea | this is nice https://www.atlassian.com/blog/sourcetree/interactive-rebase-sourcetree | 13:45 |
tpb | Title: Interactive rebase in SourceTree - Atlassian Blog (at www.atlassian.com) | 13:45 |
jea | but it needs windows/macos unforuntely | 13:45 |
*** rohitksingh has joined #timvideos | 14:08 | |
CarlFK | jea: thanks for trying. I feel a little better knowing it isn't easy | 14:24 |
*** CarlFK has quit IRC | 15:01 | |
*** sb0 has joined #timvideos | 15:22 | |
*** CarlFK has joined #timvideos | 15:32 | |
*** ChanServ sets mode: +v CarlFK | 15:32 | |
*** SamSagaZ_ has joined #timvideos | 15:43 | |
*** CarlFK has quit IRC | 15:45 | |
*** SamSagaZ_ has quit IRC | 16:24 | |
*** CarlFK has joined #timvideos | 16:58 | |
*** ChanServ sets mode: +v CarlFK | 16:58 | |
*** rohitksingh has quit IRC | 17:53 | |
*** SamSagaZ_ has joined #timvideos | 17:55 | |
paddatrapper | mithro: Weekly progress report done and ready for you | 18:22 |
*** SamSagaZ_ has quit IRC | 18:41 | |
*** SamSagaZ_ has joined #timvideos | 19:07 | |
*** SamSagaZ_ has quit IRC | 21:55 | |
*** SamSagaZ_ has joined #timvideos | 22:01 | |
*** SamSagaZ_ has quit IRC | 22:39 | |
*** SamSagaZ_ has joined #timvideos | 23:48 |
Generated by irclog2html.py 2.13.1 by Marius Gedminas - find it at mg.pov.lt!