*** tpb has joined #timvideos | 00:00 | |
TD-Linux | I got hdmi in/out with a custom modeline sorta working, but haven't been able to get any uvc capture to work yet. is there a firmware version with known working pattern capture? | 00:06 |
---|---|---|
CarlFK | yes, sec.. | 00:06 |
CarlFK | v0.0.4-340-g3fb4e7c https://docs.google.com/spreadsheets/d/14BENNLHrGddCI5ZVyB87Tmwt3fnEcA19S776xIYSpVo/edit#gid=0 | 00:07 |
tpb | Title: HDMI2USB Firmware Versions - Google Sheets (at docs.google.com) | 00:07 |
CarlFK | you know about not getting uvc if you are connected to tty? | 00:08 |
TD-Linux | ... no I didn't | 00:17 |
TD-Linux | I'll disconnect from the tty and try 340 | 00:17 |
TD-Linux | uvc is such a bad protocol :( | 00:18 |
mithro | TD-Linux: A lot of it is our fault at the moment, we need to improve the UVC code... | 00:21 |
TD-Linux | the whole having to list all resolutions in the descriptor is pretty obnoxious though | 00:23 |
TD-Linux | how does input video resolution locking work? is it affected by the selected video mode at all? | 00:29 |
mithro | TD-Linux: No | 00:29 |
mithro | TD-Linux: You should see the pixel clock frequency first | 00:29 |
mithro | TD-Linux: Then see the resolution | 00:29 |
TD-Linux | yeah I always see it detect pixel clock | 00:29 |
TD-Linux | but it's struggling to get the resolution for some of my weirder modes | 00:30 |
mithro | TD-Linux: You can kick the PLL's by doing a "input0 on" | 00:30 |
mithro | TD-Linux: There is a range the PLLs can lock too... | 00:30 |
TD-Linux | ok. maybe I need to adjust that. | 00:30 |
TD-Linux | e.g. 640x480@60 works but 640x400@70 doesn't | 00:30 |
mithro | TD-Linux: What hardware? | 00:31 |
TD-Linux | opsis | 00:31 |
TD-Linux | (both of those modes have the same pixel clock) | 00:31 |
mithro | 640x400 is kind of a weird mode... what is generating that? | 00:32 |
TD-Linux | the BIOS screen of a computer. it's a "classic" vga mode | 00:33 |
TD-Linux | I didn't really expect it to work without some tweaks | 00:34 |
TD-Linux | I'm having a bit of difficulty finding the pll locking code, I assume it's all in gateware? | 00:36 |
mithro | TD-Linux: It's mostly in the firmware | 00:37 |
mithro | TD-Linux: pll_config_for_clock(m->pixel_clock); | 00:37 |
TD-Linux | oh that makes it easier | 00:37 |
mithro | https://github.com/timvideos/litex-buildenv/blob/master/firmware/processor.c#L658 | 00:37 |
tpb | Title: litex-buildenv/processor.c at master · timvideos/litex-buildenv · GitHub (at github.com) | 00:37 |
mithro | TD-Linux: Looks like it's in the `pll.c` file at https://github.com/timvideos/litex-buildenv/blob/e260e6e0fbc8dc3136d7e85acb0134debd924da5/firmware/pll.c ? | 00:38 |
tpb | Title: litex-buildenv/pll.c at e260e6e0fbc8dc3136d7e85acb0134debd924da5 · timvideos/litex-buildenv · GitHub (at github.com) | 00:38 |
TD-Linux | where does hdmi_in0_resdetection_hres_read() come from? | 00:39 |
mithro | TD-Linux: are you @tdaede on GitHub? | 00:40 |
TD-Linux | mithro, yes | 00:40 |
TD-Linux | (oh I did figure out the modeline syntax) | 00:42 |
mithro | TD-Linux: Autogenerated CSR it seems... | 00:42 |
TD-Linux | I think the PLL is actually working correctly, but whatever comes out of that is incorrect | 00:42 |
TD-Linux | (actually the vres one seems more problematic) | 00:42 |
mithro | TD-Linux: Did you find the parsing code? | 00:43 |
TD-Linux | no I just realized I shouldn't include the name of the mode | 00:43 |
mithro | TD-Linux: Replied with were to find the parsing code... | 00:44 |
TD-Linux | I'll see if I can do my own build of the firmware (I don't have a spartan6 capable ISE installed atm) | 00:45 |
mithro | TD-Linux: The part you probably want to look into is https://github.com/enjoy-digital/litevideo/blob/master/litevideo/input/analysis.py | 00:47 |
tpb | Title: litevideo/analysis.py at master · enjoy-digital/litevideo · GitHub (at github.com) | 00:47 |
TD-Linux | thanks. that looks pretty simple | 00:49 |
*** CarlFK has quit IRC | 01:03 | |
*** CarlFK has joined #timvideos | 02:40 | |
*** ChanServ sets mode: +v CarlFK | 02:40 | |
*** sc00bz1 is now known as Sc00bz | 04:08 | |
*** rohitksingh_work has joined #timvideos | 05:07 | |
*** rohitksingh_wor1 has joined #timvideos | 05:37 | |
*** rohitksingh_work has quit IRC | 05:38 | |
*** rohitksingh_wor1 has quit IRC | 06:54 | |
*** rohitksingh_work has joined #timvideos | 07:03 | |
*** swalladge has quit IRC | 07:24 | |
*** swalladge has joined #timvideos | 07:52 | |
*** kbeckmann has joined #timvideos | 08:04 | |
*** m4ssi has joined #timvideos | 08:16 | |
*** CarlFK has quit IRC | 09:54 | |
*** CarlFK has joined #timvideos | 10:20 | |
*** ChanServ sets mode: +v CarlFK | 10:20 | |
*** futarisIRCcloud has quit IRC | 10:37 | |
*** tumblingweed has quit IRC | 11:27 | |
*** tumblingweed has joined #timvideos | 11:28 | |
*** mauz555 has joined #timvideos | 14:03 | |
*** rohitksingh_work has quit IRC | 14:07 | |
*** rohitksingh has joined #timvideos | 14:42 | |
*** mauz555 has quit IRC | 14:55 | |
*** waldo323 has quit IRC | 15:30 | |
*** waldo323 has joined #timvideos | 15:34 | |
*** rohitksingh has quit IRC | 16:14 | |
*** m4ssi has quit IRC | 16:29 | |
*** rohitksingh has joined #timvideos | 16:53 | |
*** mauz555 has joined #timvideos | 17:10 | |
*** mauz555 has quit IRC | 17:57 | |
*** rohitksingh has quit IRC | 18:59 | |
*** rohitksingh has joined #timvideos | 19:28 | |
*** rohitksingh has quit IRC | 20:19 | |
*** rohitksingh has joined #timvideos | 20:22 | |
*** TimGremalm has quit IRC | 20:23 | |
*** techman83 has quit IRC | 20:23 | |
*** TimGremalm has joined #timvideos | 20:23 | |
*** techman83 has joined #timvideos | 20:26 | |
*** ChanServ sets mode: +v techman83 | 20:26 | |
*** mauz555 has joined #timvideos | 20:27 | |
*** rohitksingh has quit IRC | 21:14 | |
*** MTecknology has joined #timvideos | 21:16 | |
MTecknology | that should be "may be", in the topic | 21:16 |
*** ChanServ sets mode: +o CarlFK | 21:18 | |
*** CarlFK changes topic to "it may be hours until someone sees your question. This channel is logged: https://logs.timvideos.us/%23timvideos/latest.log.html Mailing lists: https://groups.google.com/group/timvideos" | 21:18 | |
*** ChanServ sets mode: -o CarlFK | 21:18 | |
CarlFK | thanks. gsoc is 'out' this year, so .. that. | 21:18 |
CarlFK | anyway - I'm working on a tutorial to answer the question "How do I setup a box to record conference talks?" | 21:18 |
MTecknology | "set up" ;) | 21:19 |
CarlFK | lol | 21:19 |
CarlFK | yes, that. | 21:19 |
CarlFK | which is: install debian, install voctomix, configure it. done! | 21:19 |
CarlFK | except the "configure" part is really: edit ansible yml files... make sure you ahve ssh keys setup.. bla bla stuff we have automated | 21:20 |
MTecknology | lol... that should also be "set up" (I couldn't refuse) | 21:20 |
CarlFK | if the question is "how do you (me, carl) set up a box... the answer is: "I have a PXE server... bla bla bla infrastructure..." and they run away | 21:21 |
MTecknology | So it's an easy process, but the config is a bit challenging? | 21:21 |
CarlFK | the devil is in the details. | 21:21 |
CarlFK | it's easy to setup something, but there are lots of options. like What time zone are you in? do you want to live stream, to you want an IRC client setup to auto join the #conf-room channel... | 21:22 |
CarlFK | which is overwhelming to "im new, what do I do first?" | 21:23 |
CarlFK | so I'm working on: make usb stick, boot, wait 20 min, now you have something. | 21:23 |
CarlFK | usb stick has debian installer, which will take a preseed file - it could be on the usb stick, but it is 'better' if it is hosted somewhere | 21:24 |
CarlFK | final goal is hosted on a local PXE server | 21:24 |
CarlFK | but for a tutorial, I just want it somewhere easy to get to | 21:24 |
CarlFK | and enough local LAN's dont do ddns or whatever which makes it 'hard' for boxA to wget http://BoxB/d-i/preseed file | 21:25 |
CarlFK | but most lans will let you do wget http://somewhere.outthere.net/d-i/preseed file | 21:26 |
CarlFK | https://salsa.debian.org/carlfk-guest/ansible/raw/usb-reorg1/roles/tftp-server/files/d-i/stretch/preseed.cfg | 21:26 |
CarlFK | but... the debian installer (di) can take that URL, but it is 'better' to just pass it a hostname and let it construct it: | 21:27 |
CarlFK | APPEND --- debconf/priority=high auto=true hostname?=voctotest domain?= url=veyepar.nextdayvideo.com ... | 21:27 |
CarlFK | di will wget http://veyepar.nextdayvideo.com/d-i/stretch/preseed.cfg | 21:28 |
CarlFK | end of that file chains another .cfg, which chains a shell script which has a line: | 21:28 |
CarlFK | https://salsa.debian.org/carlfk-guest/ansible/blob/master/roles/tftp-server/files/scripts/late_command.sh#L12 | 21:31 |
tpb | Title: roles/tftp-server/files/scripts/late_command.sh · master · Carl Karsten / ansible · GitLab (at salsa.debian.org) | 21:31 |
CarlFK | wget http://$server/scripts/late_command.cfg -O /tmp/late_command.cfg | 21:31 |
CarlFK | $server comes from url=... which is why we need just a hostname, not the full URL | 21:31 |
CarlFK | the end. | 21:31 |
CarlFK | if you want to give it a run, I'd be delighted: https://github.com/CarlFK/veyepar/wiki/System-Stack#what-to-do | 21:33 |
tpb | Title: System Stack · CarlFK/veyepar Wiki · GitHub (at github.com) | 21:33 |
CarlFK | someone did it last night, but I had 2 locations and there was a bit of debugging and patching on the fly | 21:34 |
CarlFK | so it's not quite ready to submit a MR to upstream | 21:34 |
MTecknology | dhcp-based dns entries are kind of a bad thing to rely on in the first place | 21:42 |
MTecknology | "hw-detect/load_firmware" might be a bad thing to set, because someone might have some "special" network hardware. I've found that to be the norm rather than the exception for boxes designed to run esxi. (I don't use esxi outside of work) | 21:45 |
MTecknology | I'm not seeing where late_command.sh comes from, but I suspect it's downloading/installing ansible, then downloading and running a bunch of scripts. Personally, I wouldn't trust something like that in my network. | 21:48 |
CarlFK | late_command.sh comes from.... | 21:48 |
MTecknology | scripts -> ansible is just kludgy script execution | 21:48 |
CarlFK | d-i preseed/late_command string cd /target/tmp && wget http://$url/scripts/late_command.sh && chmod u+x late_command.sh && in-target /tmp/late_command.sh $url | 21:49 |
CarlFK | https://salsa.debian.org/carlfk-guest/ansible/blob/master/roles/tftp-server/files/d-i/stretch/preseed.cfg#L254 | 21:49 |
tpb | Title: roles/tftp-server/files/d-i/stretch/preseed.cfg · master · Carl Karsten / ansible · GitLab (at salsa.debian.org) | 21:49 |
MTecknology | yes.. that's the line I was referring to | 21:49 |
CarlFK | what about scripts -> ansible ? | 21:49 |
CarlFK | wget http://$url/scripts - url comes from APPEND --- debconf/priority=high auto=true hostname?=voctotest domain?= url=veyepar.nextdayvideo.com ... | 21:50 |
MTecknology | ref: "downloading and running a bunch of scripts." | 21:50 |
MTecknology | so.. download an arbitrary file from an arbitrary location, and assume that it's reviewed, securely hosted/transmitted, and safe? | 21:50 |
MTecknology | You sound like a golang dev!! ;) | 21:51 |
CarlFK | lol | 21:51 |
MTecknology | I wasted waaay too much of my life trying to get gitea into debian... :( | 21:52 |
CarlFK | it is mostly all text (except the installer blobs) , from a debian.org machine, so I would trust it enough | 21:52 |
MTecknology | veyepar.nextdayvideo.com is a debian.org machine? | 21:53 |
CarlFK | no - that's for my prof of concept | 21:53 |
MTecknology | even hosted on debian.{org,net}, I still would be extremely wary of that sort of process. | 21:54 |
CarlFK | the plan is https://video.debian.net | 21:54 |
tpb | Title: Index of /pub/debian-meetings (at video.debian.net) | 21:54 |
MTecknology | random, but.. | 21:55 |
* MTecknology .debian.net | 21:55 | |
CarlFK | it is wiping your drive and installing the OS, so it isn't like you need to worry it will dig into your secret files | 21:55 |
MTecknology | ehm........ | 21:56 |
CarlFK | and that is how we setup production boxes | 21:56 |
MTecknology | as someone that's done forensics, that's still a concern (the lowest on the list, but still there) | 21:56 |
CarlFK | I can appreciate that, but not sure what to do about it | 21:56 |
MTecknology | The bigger concern is having it crawl around and report devices found on a network, or other phone-home stuff | 21:57 |
MTecknology | (it's why my plex box is locked away in it's own private vlan) | 21:57 |
CarlFK | if the "how do I?" person has the know-how to understand that, they can use https://github.com/CarlFK/voctomix-outcasts#getting-started--demo | 21:57 |
tpb | Title: GitHub - CarlFK/voctomix-outcasts: Support clients for Voctomix (at github.com) | 21:58 |
CarlFK | but that starts with "Install the dependencies listed (somewhere else)... | 21:58 |
MTecknology | Setting a known user/password is one of those scary things, especially with phone-home and web-accessible stuff | 21:58 |
CarlFK | and assumes they are running some flavor of debian | 21:59 |
CarlFK | we tried to keep the password out of the demo - I think it may have slipped in when someone upgraded the demo files to use in production | 21:59 |
CarlFK | "we run it on a secure LAN, so who cares if everyone knows the password?" sigh. | 22:00 |
MTecknology | The users you're describing aren't typically smart enough to understand the difference between production and development. | 22:01 |
MTecknology | I would at least recommend considering breaking this apart from a 1) plug this in, and have your system wiped to our pristine state and break it into 1) here's an easy way to install (with the user bit removed, and left as a prompt) and then 2) here's how to get the software installed/configured/running super-duper easily. | 22:01 |
CarlFK | we (about 4 or 5 people with no management) sway around all of those ideas | 22:02 |
MTecknology | Let me be your management and demand things... I'll be sure to make some of them lofty things that can't/shouldn't ever be met. ;) | 22:03 |
CarlFK | swell. :p | 22:03 |
CarlFK | I did just get an offer to point video-setup.debian.net at my server. not sure how I feel about thiat. | 22:04 |
MTecknology | debian.net always points at privately owned systems | 22:04 |
MTecknology | You can have a tiny vps that just runs an nginx instance that redirects requests to debian's gitlab or github or wherever else. | 22:06 |
MTecknology | (also, you could do it in the GCP free tier if you're not already using that capacity) | 22:09 |
CarlFK | GCP? | 22:09 |
MTecknology | google cloud platform | 22:09 |
CarlFK | how is that related to app-engine? | 22:10 |
MTecknology | I don't recall mentioning appengine | 22:10 |
CarlFK | you didn't - wondering what the difference is | 22:10 |
MTecknology | difference between what and what? | 22:11 |
CarlFK | ive only attended talks about appengine - not sure I have ever used it | 22:11 |
CarlFK | appengine and GCP | 22:11 |
MTecknology | appengine is a service provided on GCP | 22:11 |
CarlFK | got it - enough | 22:12 |
MTecknology | They have a 1yr $300 credit, and an always-free tier. Depending on how you set things up, you could easily stay inside of the always-free tier and host video-setup.d.n at it to redirect as needed. | 22:13 |
MTecknology | Setting a known user/pass on any deployment is kind of scary, even if it's just for a demo. It reminds me of an employer that once thought installing backtrack on servers was a good idea. | 22:15 |
CarlFK | I agree. currently it does ask for a user/pw - but I have to admit there may also be conf files with that in it | 22:18 |
MTecknology | ah, I just noticed that line is commented | 22:19 |
CarlFK | its also more of using the same files for everything, and trying to make it easy to reconfigure | 22:20 |
MTecknology | I see python... do you want to work on another project, based around gitolite?!! :D | 22:31 |
CarlFK | I don't but mithro does :D | 22:34 |
CarlFK | http://youtu.be/v7WrTmexod0 | 22:35 |
CarlFK | oy! wheres the bot?!! | 22:35 |
CarlFK | Name: Tim has to many projects - LatchUp Edition | 22:35 |
MTecknology | I still haven't gotten around to fixing a bunch of annoying things in DAK, and I want to get back to gitlight. | 22:36 |
*** mauz555 has quit IRC | 22:38 | |
*** mauz555 has joined #timvideos | 22:39 | |
CarlFK | what's gitlight? | 22:39 |
MTecknology | a web front-end to gitolite | 22:39 |
MTecknology | The goals are secure, stable, scalable, modular (core remains read-only), run on top of gitolite, use gitolite ACLs, and minimal. | 22:42 |
MTecknology | My current challenge is- how the heck do I build modular views. I want something like Drupal's hook system, but trying to build that has proven extremely non-trivial. | 22:43 |
*** mauz555 has quit IRC | 22:43 | |
CarlFK | that is all at my goal to get a good nights sleep once in a while | 22:46 |
CarlFK | at odds | 22:46 |
*** cr1901_modern1 has joined #timvideos | 22:46 | |
CarlFK | I didn't get enough sleep last night :p | 22:47 |
MTecknology | My client has been regularly keeping me up until ~5AM. It gets draining after a while. | 22:48 |
*** cr1901_modern has quit IRC | 22:49 | |
CarlFK | change your timezone, makes it feel less awful. (no it doesn't) | 22:58 |
MTecknology | I live in central time, have some early morning obligations a couple days of the week, they want me to work pacific time, and then I also get to work on bangelore hours. :S | 23:07 |
*** futarisIRCcloud has joined #timvideos | 23:24 | |
*** TheAssassin has quit IRC | 23:35 | |
*** TheAssassin has joined #timvideos | 23:40 |
Generated by irclog2html.py 2.13.1 by Marius Gedminas - find it at mg.pov.lt!