Tuesday, 2015-10-27

*** tpb has joined #timvideos00:00
*** CarlFK has joined #timvideos00:11
*** ChanServ sets mode: +v CarlFK00:11
CarlFKkcad q: "how do I lay out led's in a circle?00:17
CarlFK^^ (from the guy sitting next to me)00:30
mithroI think you mean kicad00:37
xfxfghetto case.  totally production ready https://usercontent.irccloud-cdn.com/file/Bv0QbZcR/20151027_110404.jpg00:44
xfxf(mostly because having a board floating in a case was concerning, this makes it more portable.  yes, I am terrible at glue gunning things)00:44
xfxffloating loosely*00:45
*** Gary__ has joined #timvideos00:46
*** Gary__ has left #timvideos00:46
CarlFKxfxf:  that looks 10x more legit than my open cardboard box01:29
CarlFKhere is my setup on the front of the stage at a 1 day conf https://twitter.com/pdp7/status/65261128720192307401:30
tpbTitle: Drew Fustini on Twitter: "Good to see FPGA running @TimVideosUs HDMI2USB on stage at @CityCodeConf. Hooray to @cfkarsten of @nextdayvideo! http://t.co/n4fStWUyZz (at twitter.com)01:30
CarlFKdang it.. where is the vga github issue that is current chatter ?01:33
CarlFKCode repo: https://github.com/rohit91/HDMI2USB-vmodvga-misoc01:34
tpbTitle: rohit91/HDMI2USB-vmodvga-misoc · GitHub (at github.com)01:34
CarlFKis this vga captured? https://asciinema.org/a/82naz6l6q3pupejkqx0cftcml01:36
tpbTitle: AD9984A Initializing using MiSoc - asciinema (at asciinema.org)01:36
CarlFKnever mind.  local fpga guy laughed when I asked if he had some time to hack on it01:59
*** travis-ci has joined #timvideos03:29
travis-ci[timvideos/HDMI2USB-misoc-firmware/master#253] (73f5207): The build passed. (https://travis-ci.org/timvideos/HDMI2USB-misoc-firmware/builds/87587914)03:29
*** travis-ci has left #timvideos03:29
*** CarlFK has quit IRC03:39
*** CarlFK has joined #timvideos03:41
*** ChanServ sets mode: +v CarlFK03:41
jameshmithro: I think the test-suite-fixes pull request I made for gst-switch is in good shape to be reviewed/merged.  There are other things that could be fixed, but this should provide a solid base line for the other pull requests.03:50
mithrojamesh: Thanks! I saw the pull request but haven't had a chance to review it yet.03:53
jameshmithro: I'll see what I can do about testing the Avahi stuff next.03:57
mithrojamesh: you seem to be a C coder, you interested in maybe hacking on the HDMI2USB firmware for a bit instead? It is pretty simple C code04:01
mithrojamesh: I'd love to get the Ethernet streaming stuff working and a lot of that is C work (including getting avahi type stuff working for auto discovery).04:02
mithroHappy for you to work on gst-switch too of course, but until we finally ship the Opsis boards it is going to be all hands on deck with the HDMI2USB stuff..04:03
jameshto be honest, I was mainly looking for a few weekend projects.  I haven't done much stuff that low level (even when hacking on ubuntu-phone stuff, it's all been application level C++)04:09
jameshgst-switch seemed interesting because (a) it seems like something that will be useful to my LUG, and (b) I have a little experience with Gstreamer code.04:10
xfxfmithro: i thought vocto was the preferred thing to hack on now with gst-switch being more a reference design for not doing it in pure python?04:17
shenkimithro: ping04:36
*** CarlFK has quit IRC05:35
mithroI'll be back up late tonight05:43
mithroCurrently giving visitor tour of powerhouse museum.05:43
shenkimithro: i was trying to figure out how to break dns, but i worked it out05:44
seaLnemithro: at the weekend i upgraded my desktop to wily now on kernel 4.2.0-16-generic05:48
seaLnemithro: and now i can connect to serial after load-fx2 \o/05:48
seaLnenot sure if its changes to the machine or rebuilding everything under wily05:49
seaLnevlc is still not seeing anything from /dev/video0 though05:50
seaLneoh and i'm not getting mem problems with the lm32 anymore05:51
*** CarlFK has joined #timvideos05:51
*** ChanServ sets mode: +v CarlFK05:51
seaLneinteresting after trying re-enabling encoder and connect i get in dmesg "uvcvideo: Failed to set UVC probe control : -110 (exp. 26)." and vlc complains it can't open /dev/video. before it opened but just had no video06:02
seaLnewhich is the same error if i set encoder off06:07
seaLneand now after turning off and on again i still get the video errors, weird06:13
CarlFKseaLne: did you set an input?06:19
CarlFKvideo_matrix connect pattern encoder06:19
CarlFKthis is normal (I guess - I think I get it) "uvcvideo: Failed to set UVC probe control :06:20
seaLneCarlFK: yeah06:20
CarlFKcan you cut/paste the output of status?06:20
seaLneCarlFK: https://paste.kde.org/pmc3ddfep06:21
tpbTitle: KDE Paste (at paste.kde.org)06:21
CarlFKencoder: 1280x720 @ 0fps (0Mbps) from pattern (q: 50)06:23
CarlFKok, thats good06:23
CarlFKI am not sure I have used vlc to view the stream - I use06:23
CarlFKmplayer tv:// -tv driver=v4l2:device=/dev/video006:23
seaLneand setting output1 on and pattern i get it there06:23
seaLneyeah i'd wondered if vlc was being silly but unfortunately that didn't work either https://paste.kde.org/p8wcii1qw but it does seem to be getting some info from it06:25
tpbTitle: KDE Paste (at paste.kde.org)06:25
seaLnelines 13 and 1806:25
CarlFKSelected device: HDMI2USB - thats encouraging06:25
*** Bertl_zZ is now known as Bertl06:29
seaLnethat was a great last minute burst of backers06:30
mithroDidn't quite make it to 100 boards06:42
mithro93 in total06:42
mithroxfxf: doesn't your box make it impossible to access some of the ports?06:44
mithroxfxf / jamesh: gst-switch hacking is still worth doing until we have voctomix meeting our needs. One of the reasons voctomix was so quick to develop was that it had the gst-switch experience to lean on.06:47
mithroStill also need to figure out how we can keep the core of voctomix small while developing the advanced features I'm interested in.06:49
seaLnemithro: what do you use to check the video output of the opsis?06:55
seaLnelike CarlFK example above?06:56
seaLnemithro: i've started on the dp connector btw07:02
mithroI use the view script in the scripts directory07:04
CarlFKseaLne: im on my way to bed now.  I'll be back in 6-7 hours and can hook up my Atlys, maybe figure something out07:09
seaLnemithro: where would you like the dp footprint?07:44
*** se6astian|away is now known as se6astian07:52
*** se6astian is now known as se6astian|away08:13
*** rohitksingh has joined #timvideos08:58
xfxfmithro: no, all ports accessible. one side only has the expansion connector, two are fully open, the third has bits cut out of it09:04
xfxfI'm gonna try hooking it up tonight, ran out of time today sorting other venue av issues09:07
mithroseaLne: want to finish the rest of the TOFE board? :-)09:20
mithroseaLne: Trying to make a board which lets you connect between TOFE board and the axiom interface. https://docs.google.com/a/mithis.com/spreadsheets/d/15rivtOcSG4kqKf0AUK_OwBfs67XQtW8byr8kc5FUTgE/edit?usp=docslist_api09:33
tpbTitle: Tims Open FPGA Expansion (TOFE) board connector interface - Google Sheets (at docs.google.com)09:33
mithroSee "TOFE to apertus°" sheet09:33
seaLnetofe vga is further up my todo list10:17
mithroNo worries, put the part up on GitHub and myself or Bertl will finish off the board.11:34
mithroseaLne: very happy to review the VGA board to BTW11:35
mithroseaLne: BTW that spreadsheet has a mapping between the VHDCI and TOFE, I'd recommend following that for the VGA board11:41
mithroxfxf: do you have one of Rohit's VGA boards for your Atlys?11:43
mithrorohitksingh: I see in the VGA stuff you have improved the i2c stuff, can we get that back upstream ASAP? I'd like to reuse it.11:45
rohitksinghmithro: err...acutally I didn't change any of the florent's i2c code...they worked perfectly as it is! even then it would be good to get it upstream...how to do that? can't create pull request since I didn't fork the repo...instead I had cloned it then pushed to a new repo... =/  help?11:52
rohitksinghcode written by me is in ad9984a.c and .h files...only those ones are new...I didn't need to modify any i2c routines by _florent_11:55
mithrorohitksingh: I thought I saw you added clock stretching?11:59
mithrorohitksingh: fork the repo, then just push into that instead11:59
rohitksinghmithro: no...actually clock stretching from the wikipedia's implementation, ported by _florent_, but timeout seems to have been removed...instead just a delay is used...12:02
rohitksinghmithro: yeah! will that itself...seems better option!12:02
rohitksingh*do that12:03
mithrorohitksingh: have you got the actual VGA data working yet? or just the I2C stuff?12:03
rohitksinghany suggestion on directory structure? current vga code resides in firmware/lm32_vga12:03
rohitksinghjust ad9984a init...working properly...no capture yet  =/12:03
_florent_hi rohitksingh12:09
_florent_good for the i2c!12:09
rohitksingh_florent_: hi! yeah! your code is working awesome!!12:09
_florent_have you figured out how to connect the capture part?12:10
rohitksingh_florent_: not yet...could you suggest how to do that?, AD9984A sends RBG, 10-bit per channel...along with a DATACK (which can be either equal to pixel clock, or 2x pixel clock or 0.5x pixel clock)...also sync singnals named HSOUT and VSOUT...data capture should be done on rising edge of DATACK and I need to transfer them to different clock domain...12:13
rohitksinghafter correct capture, I can use your color space conversion code and dma code too i guess12:14
_florent_-pack your data on 24 bits (8bits per channel)12:15
_florent_- create a start of packet signal for the first pixel of the frame (will be used to trigger the DMA)12:15
_florent_- pass all that in a async fifo12:15
_florent_- use the RGB2YCBCR converter12:16
_florent_- and then pass all that to the DMA12:16
_florent_The DMA only needs to be triggered at the beginning of your frame, then you just write your data12:17
rohitksingh_florent_ : awesome! thanks! so we are using async fifo here for clock domain crossing? <I've not much experience in cdc >12:18
_florent_for the DMA, you can reuse this directly:12:19
tpbTitle: HDMI2USB-misoc-firmware/dma.py at master · timvideos/HDMI2USB-misoc-firmware · GitHub (at github.com)12:19
rohitksingh_florent_ : great! thanks!12:20
_florent_self.frame = Sink([("sof", 1), ("pixels", fifo_word_width)])12:20
_florent_sof will be your start of frame signal, and pixels the 16bits YCbCr datas.12:21
rohitksingh_florent_: awesome! eager to try it out! will do that tonight! thanks so much!12:22
_florent_you will also need software to get the dma working, but you can also reuse the software from the hdmi_in12:29
_florent_since that's not necessary easy to get that working you can do some steps:12:30
_florent_- instanciate the DMA, the software to drive the DMA and connect a counter or something like that to the DMA12:31
_florent_you should be able to see it on the hdmi_out12:31
_florent_- once working, insert the YCBCr converter12:31
_florent_same test with the hdmi_out12:32
_florent_- then the async fifo: same test12:32
_florent_- and finally your stream :)12:32
rohitksingh_florent_ :  oh okay! thanks! I will have to try it today itself! much excited! :)12:42
seaLnemithro: what workflow did you do to make the tofe lo-io. did you start from the tofe templates?13:16
mithroseaLne: no, but I did for the HDMI4 board I'm doing13:39
mithroBed time for me. Gnight13:39
seaLneah the template repo now has handy instructions in it13:43
*** Bertl is now known as Bertl_oO15:56
*** f15h has joined #timvideos16:15
*** f15h has quit IRC16:22
*** rohitksingh has quit IRC17:00
*** rohitksingh has joined #timvideos17:15
*** rohitksingh has quit IRC20:43
CarlFKcan someone who understands German tell me if voctomix was just used ?21:41
xfxfisn't your surname german? :P22:31
CarlFKyeah... and yet I have no idea what my uncle ...22:36
CarlFK$300   hdmi... Sony HDR-SR12 http://chicago.craigslist.org/chc/pho/5244346270.html22:36
tpbTitle: Sony HDR-SR12 10.2MP 120GB High Definition Hard Drive Handycam Camcord (at chicago.craigslist.org)22:36
CarlFKthinking of getting that to have something to mess with ... thoughts?22:36
tumbleweedmic input, nice22:38
tumbleweeddoesn't do 1080p, but you can't have everything22:38
CarlFKI thought it did?  but I plan on using it as a hdmi2usb source which doesn't really do 1080 either22:51
tpbTitle: Sony HDR-SR12 120GB Hybrid HDD/Memory Stick High HDR-SR12E B (at www.bhphotovideo.com)22:51
CarlFKRecord in the true clarity and detail of full 1920 x 1080 HD22:53
tumbleweed1080i according to discussion on amazon22:53
tumbleweedif it doesn't say 1080p, it doesn't do it22:54
CarlFKoh.. p22:54
tumbleweedI'm trying to recall what cameras I bought for my LUG, years ago22:54
CarlFKoh well, still don't care22:54
tumbleweedthey were cheap, did 1080p @ 24 fps (via a telecine hack) and had mic inputs22:54
CarlFKdoes $300 seem like an ok price ?22:54
CarlFK300 is the ebay used price, so i guess so22:55
tumbleweedah, I got     Canon Vixia HF-M30023:00
tumbleweedthose were under $500, 5 years ago23:04
CarlFKoff to ps1 - bb in 2023:04
*** CarlFK has quit IRC23:05
*** Bertl_oO is now known as Bertl_zZ23:15
*** automatical has quit IRC23:37
*** automatical has joined #timvideos23:41

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