Friday, 2017-01-13

*** tpb has joined #timvideos00:00
kfluxit's okay. i have some rudimentary experience with Linux build environments, so if someone could point me into the right direction about how to update the firmware of my opsis, that'd be already very helpful.00:00
mithrokflux: The "VideoMixerSoC" doesn't actually do any video mixing at the moment, it is more of a "VideoMatrixSoC"00:01
mithrokflux: ssk1328 started the work needed to do color correct video mixing as a GSoC student last year00:02
mithrokflux: We are hoping ot merge that work after we finish the current major refactor00:02
mithrokflux: The stuff for the refactor is going on at https://github.com/mithro/HDMI2USB-litex-firmware/00:02
tpbTitle: GitHub - mithro/HDMI2USB-litex-firmware: Opsis SoC based on LiteX (at github.com)00:02
mithrokflux: If you want to set up a build environment, I'd recommend using the instructions at https://github.com/mithro/HDMI2USB-litex-firmware/blob/nextgen/scripts/README.md for now00:03
tpbTitle: HDMI2USB-litex-firmware/README.md at nextgen · mithro/HDMI2USB-litex-firmware · GitHub (at github.com)00:03
mithrokflux: Where in the world are you located?00:03
kfluxmithro: berlin00:03
mithrokflux: Did we meet at 33C3?00:05
kfluxmithro: no unfortunately i couldn't come to 33C300:06
mithrokflux: Damn, I was in Berlin for ~3 days after NYE, should have tried to meet up00:06
kfluxmithro: :)00:07
kfluxmithro: ok. so i'll try to set up a dev env for the opsis on my ubuntu 16.10 and flash the latest firmware. the one that came with the opsis seems a bit buggy.00:08
kfluxmithro: or is there any other way to flash the latest one?00:09
mithrokflux: The HDMI2USB-mode-switch tool can be used to flash some of the prebuilt firmware, but we don't have any prebuilt firmware for the nextgen stuff yet00:09
mithrojea: Have you switched to looking at the streaming-system stuff yet?00:10
mithrokflux: https://github.com/timvideos/HDMI2USB-mode-switch00:10
tpbTitle: GitHub - timvideos/HDMI2USB-mode-switch: Tool for switching boards supported by HDMI2USB firmware between multiple different modes (programming, webcam, etc). (at github.com)00:10
kfluxmithro: allright. but the latest prebuilt one should be better than the one the opsis came with, right?00:11
mithrokflux: It has a /different/ set of issues :-P -- fixing the major ones have required the nextgen stuff00:12
jeamithro: about to do streaming now00:12
kfluxmithro: ok. thanks a lot for the info and updates.00:13
mithrokflux: Really need more developers, so much we want to do but so little time to do it....00:14
jeamicolous: you might also find this useful http://pastebin.ubuntu.com/23789653/00:35
tpbTitle: Ubuntu Pastebin (at pastebin.ubuntu.com)00:35
micolousHmmm... you should really consider writing a patch for modemmanager00:40
micolousI've done it before for another drivce where it was overly zealous00:40
micolousThey're rpretty responsive too :)00:41
mithrotumbleweed: https://launchpad.net/~timvideos/+archive/ubuntu/fpga-support00:43
tpbTitle: Support packages for FPGA development : “TimVideos.Us - Live event streaming” team (at launchpad.net)00:43
mithromicolous: We have udev rules which should prevent modem-manager from opening the opsis and stuff00:43
micolousYeah, just referring to jea's paste00:44
micolousBut you should upstream them (tm)00:44
micolousJust trying to find the list of USB devices again00:44
mithroYou want to configure your computer with 192.168.100.10000:44
mithromicolous: https://github.com/timvideos/HDMI2USB-mode-switch/tree/master/udev00:45
tpbTitle: HDMI2USB-mode-switch/udev at master · timvideos/HDMI2USB-mode-switch · GitHub (at github.com)00:45
mithro_florent_: What does --gdb-passthrough do with flterm?00:47
micolousYeah, looks like I had a lot of the old development environment on here, I just nuked ISE tools as they were 20GB00:48
*** hyades has quit IRC00:51
*** nrossi has joined #timvideos01:01
*** CarlFK has joined #timvideos01:04
*** ChanServ sets mode: +v CarlFK01:04
CarlFKmicolous: https://github.com/lca2017/symposion/blob/master/symposion/schedule/views.py#L191-L24601:05
tpbTitle: symposion/views.py at master · lca2017/symposion · GitHub (at github.com)01:05
CarlFKmicolous: https://github.com/CarlFK/veyepar/blob/master/dj/scripts/addeps.py#L1021-L108001:08
tpbTitle: veyepar/addeps.py at master · CarlFK/veyepar · GitHub (at github.com)01:08
mithro_florent_: So, I think I've got your underflow counter merged, the freq counter merged and the fx2 i2c_hack merged01:08
jeamicolous: https://github.com/xfxf/lca2017-av/issues/2201:31
tpbTitle: Import the schedule from LCA into the streaming system · Issue #22 · xfxf/lca2017-av · GitHub (at github.com)01:31
mithro_florent_: Your frequency counter appears to be returning weird results here...01:38
mithro_florent_: input1:  0x0 (@  74.67 MHz)01:38
mithroAlso...01:39
mithro_florent_: input0:  0x0 (@   0. 0 MHz)01:39
mithro0.<space>0 MHz :-P01:40
jeamithro, _florent_: I'll fix the thing above01:54
*** puck`` is now known as puck01:56
mithrojea: The space bit, not the frequency counter reporting 74MHz when nothing connected - right?02:13
jeamithro: yes, the space bit02:15
jeaShopping list: https://github.com/xfxf/lca2017-av/issues/3102:20
tpbTitle: Shopping List 13 Jan · Issue #31 · xfxf/lca2017-av · GitHub (at github.com)02:20
*** kflux has quit IRC02:20
*** Hammy has joined #timvideos02:31
HammyHey Tim!02:31
HammyBunnie used ther Serdes in 4-bit mode, where you can attach two serdes to a pin, allowing you to tune the I/O delays to work out the best phase. Then has to go through an 8 to 10 gearbox.02:33
*** Hammy has quit IRC02:44
*** CarlFK has quit IRC03:07
tumbleweedwe're online again \o/03:07
*** CarlFK has joined #timvideos03:14
*** ChanServ sets mode: +v CarlFK03:14
mithrohttps://opsis.hdmi2usb.tv/img/cypress-fx2/i2c.png03:57
mithro_florent_:03:57
_florent_mithro: for the frequency counter, I had the same behaviour with the new and the old one04:19
_florent_mithro: not sure I broke something04:19
_florent_mithro: at least I don't think so04:20
mithroOkay04:35
xfxfhttp://pastebin.com/mbCkX6wU04:40
tpbTitle: "IODisplayEDID" = <00ffffffffffff00061019a00000000030160104a5211578026fb - Pastebin.com (at pastebin.com)04:40
jeaxfxf: details from that EDID http://pastebin.com/vJpi4uVx04:42
tpbTitle: Extracted contents: header: 00 ff ff ff ff ff ff 00 serial number: - Pastebin.com (at pastebin.com)04:42
mithrojea: Is that the same as the other black magic ones?04:43
mithrojea: Need a 720p60 modeline from that :-P04:43
jeamithro: I'll check04:43
mithrojea: Are you upstairs with micolous working on streaming stuff?04:44
jeamithro: yeah04:45
micolousYeah04:45
micolousComfier chairs04:45
micolousAnd you won't infect us :P04:45
vystrelais mithro sick again?04:46
mithroStill?04:46
jeamithro: it is a different EDID. this one has extra modes in it, mainly for different types of 1920x108004:49
mithroThat makes some sense04:49
mithroWe need to get edid decoding into the firmware :-P04:49
jeait also has valid checksums, unlike the other one!04:49
jeamithro: raised this for that https://github.com/mithro/HDMI2USB-litex-firmware/issues/1404:51
tpbTitle: Add EDID decode to firmware · Issue #14 · mithro/HDMI2USB-litex-firmware · GitHub (at github.com)04:51
jeawill do it after lca i think04:52
jealet me extract a 720p60 line04:52
jeamithro: their detailed 720p60 line matches our built in one04:55
mithroOkay04:56
mithroSo just setting "m 9" should be the exact same signal?04:56
jeayep04:57
jeaand they also have equivalent of our "m 10" in the CEA extension block detailed timings04:57
*** tvCommitBot has joined #timvideos05:05
tvCommitBot[streaming-system] micolous pushed 1 new commit to master: https://git.io/vM2TM05:05
tvCommitBotstreaming-system/master b2ca4bc Michael Farrell: Add symposion schedule scraper05:05
*** tvCommitBot has left #timvideos05:05
micolousoh great, the data for the miniconfs is crazy05:28
micolousthey have this "kind" field which there's special kinds unique to each miniconf stream05:29
* micolous gets out a little black book05:29
CarlFKmicolous: I'll send you the side channel email05:33
CarlFKmithro:  "license": "CC BY",  https://github.com/lca2017/symposion/blob/master/symposion/schedule/views.py#L21305:34
tpbTitle: symposion/views.py at master · lca2017/symposion · GitHub (at github.com)05:34
*** nrossi has quit IRC05:40
mithroxfxf / tumbleweed: https://github.com/xfxf/lca2017-av/issues/3305:44
tpbTitle: Add `rmmod uvcvideo; modprobe uvcvideo` to the vocto capture script... · Issue #33 · xfxf/lca2017-av · GitHub (at github.com)05:44
mithroUSB-C - YAY! - http://ewen.mcneill.gen.nz/blog/entry/2016-12-22-dell-xps-9360-hdmi-output/05:56
tpbTitle: Dell XPS 13 (9360): HDMI Output (at ewen.mcneill.gen.nz)05:56
mithromicolous / jea: How goes things? I could use someone to put together a quick Python script for me (to test firmware on the Opsis)06:19
*** hyadez has quit IRC06:22
jeamithro: streaming is basically working locally now. just need to fix the irc part, but that can be done later06:24
mithrojea: \o/06:25
mithroHow is the schedule importing stuff going?06:25
mithroThe streaming-system really wants no gaps in the schedule06:25
micolousschedule was sorta working, then I found more crazy edge cases when I got the mobile programme going06:28
micolous06:28
micoloushttps://github.com/micolous/lca-mobile-programme/blob/lca2017/schedule.js#L228-L24906:28
tpbTitle: lca-mobile-programme/schedule.js at lca2017 · micolous/lca-mobile-programme · GitHub (at github.com)06:29
jeamithro / micolous - I presume the streaming system just needs to have a schedule for the full day for each room?06:39
jeais there any good way to see the full schedule that the system has, or not?06:39
micolousI normally test it by hacking some part of the code to change what the current time is06:40
*** tvCommitBot has joined #timvideos06:40
tvCommitBot[streaming-system] micolous pushed 1 new commit to master: https://git.io/vM2qa06:40
tvCommitBotstreaming-system/master 1757c7a Michael Farrell: symposion: drop out garbage entries06:40
*** tvCommitBot has left #timvideos06:40
micolous^^ that should get rid of some junk entries06:40
micolousAnd also fix a couple of the miniconf streams intros06:40
mithroxfxf: Did you see this? https://github.com/xfxf/lca2017-av/issues/3206:44
tpbTitle: Investigate the segfaults in `libv4l2.so` that are occuring on the machines · Issue #32 · xfxf/lca2017-av · GitHub (at github.com)06:44
mithrojea / micolous: I need a script which does something like "make clean; make gateware; make gateware-load; checks on the serial port that the firmware booted; save build with status somewhere; repeat"06:50
jeamithro: ok. what is the best way to check on the serial port? and what counts as saving a build?06:52
mithrojea: Moving the directory somewhere with a name liked "build-12-failing"06:52
jeamithro: the entire build directory? and do you just want failing builds, or all builds?06:53
mithrojea: All builds06:54
jeaok06:54
mithrojea: For the serial - I think probably using an external ftdi IC is the best idea - which means it should stay around even when the Opsis restarts and stuff06:55
jeamithro: um, ok. where do i find one of these?06:55
mithroI have one setup here06:55
jeaok, i'll come down06:56
mithroxfxf: https://github.com/mithro/HDMI2USB-litex-firmware/blob/nextgen/firmware/ci.c#L27506:59
tpbTitle: HDMI2USB-litex-firmware/ci.c at nextgen · mithro/HDMI2USB-litex-firmware · GitHub (at github.com)06:59
mithroxfxf: That is the status code06:59
mithroxfxf: https://github.com/mithro/HDMI2USB-litex-firmware/blob/nextgen/firmware/ci.c#L38006:59
tpbTitle: HDMI2USB-litex-firmware/ci.c at nextgen · mithro/HDMI2USB-litex-firmware · GitHub (at github.com)06:59
*** nrossi has joined #timvideos07:00
*** hyades has joined #timvideos07:09
mithro_florent_: https://github.com/mithro/HDMI2USB-litex-firmware/blob/mithro-is-stupid/gateware/opsis_i2c.py and https://github.com/mithro/HDMI2USB-litex-firmware/blob/mithro-is-stupid/gateware/i2c.py07:18
tpbTitle: HDMI2USB-litex-firmware/opsis_i2c.py at mithro-is-stupid · mithro/HDMI2USB-litex-firmware · GitHub (at github.com)07:18
*** _florent_ has quit IRC07:36
*** _florent_ has joined #timvideos07:37
mithro_florent_: You can see the way I have changed things at https://github.com/mithro/HDMI2USB-litex-firmware/commit/5aff4a1e0744c8da3b9e2928aa0111405530631007:37
tpbTitle: Refactoring TOFE/Opsis stuff a bit. · mithro/[email protected] · GitHub (at github.com)07:37
*** Niharika has quit IRC07:37
mithro_florent_: Did https://github.com/m-labs/misoc/blob/master/misoc/cores/i2c.py get merged into litex now?07:41
tpbTitle: misoc/i2c.py at master · m-labs/misoc · GitHub (at github.com)07:41
*** Niharika has joined #timvideos07:41
xfxfmithro: https://www.alibaba.com/product-detail/Thin-mini-itx-Mini-PC-Case_60287315701.html08:06
tpbTitle: Thin Mini Itx Mini Pc Case A02-h56 In Stock Aluminum Alloy,Horizontal,For Embedded Computer/braeborn System/htpc/mini Desktop - Buy Mini Itx Aluminum Case,Thin Mini Itx Case,Aluminum Case Product on Alibaba.com (at www.alibaba.com)08:06
mithroxfxf: I think you'll find these are bigger then they look08:17
xfxfi'm getting 'RUNTIME>' as my hdmi2usb prompt now (my changes appear to work though), did i do a stupid or is that expected?08:18
mithroxfxf: https://goo.gl/photos/zZUyxo9Zr763Nh8p808:19
mithroxfxf: That is expected08:19
xfxfok, cool08:19
mithroxfxf: I forgot we changed the prompt, been such a long time since that happened :)08:20
xfxfhas 'debug on' changed, or did i stuff something up in the command parsing?08:22
jeaxfxf: I suspect it has changed. I don't see it in help, but I haven't checked the code yet08:39
*** CarlFK has quit IRC08:41
tumbleweedjea: https://github.com/m-labs/milkymist/blob/master/tools/flterm.c08:42
tpbTitle: milkymist/flterm.c at master · m-labs/milkymist · GitHub (at github.com)08:42
*** CarlFK has joined #timvideos09:05
*** ChanServ sets mode: +v CarlFK09:05
jeamithro: this is a script that might work http://pastebin.ubuntu.com/23791391/09:42
tpbTitle: Ubuntu Pastebin (at pastebin.ubuntu.com)09:42
*** hyades has quit IRC09:51
jeamithro: what device does the opsis show up as? /dev/...?10:57
mithroIf you have udev rules installed10:57
mithrothen /dev/hdmi2usb/by-num/opsis0/....10:57
jeamithro: not sure if i have the udev rules. i don't see any opsis at the moment, not sure if that could be to do with the TOFE board being plugged in?10:58
micolousmithro: I have a chromeos device here if you want to test11:18
mithromicolous: Oh, yes! Do you want to come plug it into an Opsis and see if it spazs out?11:19
micolousis 'make flash' supposed to be missing?11:42
micolousdocs, and the makefile itself, refers to it as a valid target, but it appears to be missing11:43
CarlFKtumbleweed: how/where did you implement tims mplayer/vlc/all the things?12:02
CarlFKseems like a good place to put python-wxgtk3.0 and my clocky?12:02
mithromicolous: It will reappear shortly12:10
mithromicolous: There is an flash-opsis command12:10
micolousok12:10
micolousI'm doing some tweaks to the pattern generator12:10
mithromicolous: We can load a pattern from your computer using the ethernet now too12:11
micolousI'm going to make those git variables all defines instead12:11
micolousSo they're easier to use in other places12:11
micolousI've also improved the font rendering a little bit by adding some whitespace12:12
mithromicolous: Which git variables?12:12
micolousthe ones in version_data.c12:12
jeamithro: have you tried out the ipython etherbone script yet?12:12
mithromicolous: Please don't make them defines, they were changed to the way they are now because otherwise linking/rebuilding doesn't work as you would expect12:13
micolousk12:14
mithromicolous: Otherwise anything which uses the version stuff gets rebuilt *every* run12:14
mithromicolous: They are globals though, so you should be able to to refer to them12:14
micolousI was trying to avoid sprintf12:15
mithrobuild/opsis_XXXXX_lm32/software/firmware/version_data.h12:15
mithromicolous: Trying to put the git revision info in the pattern output? :-P12:15
micolousyep12:15
micolousIt's working.12:16
mithromicolous: Yay :-)12:20
micoloushttp://imgur.com/0tVgO0N12:22
tpbTitle: Imgur: The most awesome images on the Internet (at imgur.com)12:22
micolousNote that all the text is drawn with a little extra whitespace as well12:23
micolousI notice when the text reaches the green bar, it had a really harsh edge on it12:23
micolousBut then I cleaned that up a bit12:23
micolousI tried the chromebook... looks like it is only happy at 1024x76812:28
micolous...and 800x600 (m 3) and 640x480 (m 0)12:29
micolousLooks like it is completely ignoring EDID information from the opsis12:30
xfxfmicolous: it's a google chromebook, fix it :P12:43
micolousxfxf: http://imgur.com/h5yjWY313:14
tpbTitle: Imgur: The most awesome images on the Internet (at imgur.com)13:14
xfxfi prefered the rickroll13:14
micolouslol13:14
xfxfcan we make it read random emails off the presenters computer and display them?13:15
micolousI'll just include a QR code generator...13:15
micolous:facepalm:13:15
micolousI added colour!13:15
micolousNow when the firmware crashes in the middle of the conference, it's a great advertising opportunity :P13:16
micolousIf I recall correctly, some people photographed hdmi2usb units and shared them on social media13:16
micolousWhen they were at the colour bar screen13:16
micolousNow I just want font scaling13:16
jeahttps://chromium.googlesource.com/chromiumos/platform/factory/+/master/py/probe/functions/edid.py13:22
tpbTitle: py/probe/functions/edid.py - chromiumos/platform/factory - Git at Google (at chromium.googlesource.com)13:22
micolousjea: cheers13:23
jeawhat it is doing will work, just13:23
jeainterestingly it is just looking at the resolution, nothing else13:23
jeaso i have no idea how it knows what dotclock to use, etc13:24
jeathere is this part too https://chromium.googlesource.com/chromiumos/platform/factory/+/master/py/gooftool/edid.py13:37
tpbTitle: py/gooftool/edid.py - chromiumos/platform/factory - Git at Google (at chromium.googlesource.com)13:37
jeaI also like this look of this, but I have a feeling it was never included from the comments13:50
jeahttps://bugs.chromium.org/p/chromium/issues/detail?id=39594713:50
jeaif it is the right licence, then it might be worth using for edid.tv13:50
jeamithro: https://github.com/joeladdison/HDMI2USB-litex-firmware/commit/362811237008f81a883fca0f722edb4a559debd313:53
tpbTitle: Add scripts for running gateware build non-stop · joeladdison/[email protected] · GitHub (at github.com)13:53
jeathat is your script for doing builds13:53
*** CarlFK has quit IRC13:59
*** Doralitze has joined #timvideos14:47
*** Doralitze has quit IRC14:54
*** hyades has joined #timvideos15:37
*** hyadez has joined #timvideos17:31
*** Doralitze has joined #timvideos17:48
*** hyades has quit IRC17:51
*** sb0 has quit IRC19:09
*** nrossi has quit IRC19:30
*** CarlFK has joined #timvideos19:37
*** ChanServ sets mode: +v CarlFK19:37
CarlFKanyone awake?20:03
*** kflux has joined #timvideos21:13
*** hyades has joined #timvideos21:15
*** Doralitze has quit IRC21:42
tumbleweedCarlFK: yes21:43
tumbleweedI thought I heard you knocking, but it was just the wind, I think21:43
*** sb0 has joined #timvideos22:03
micolousI'm awake22:09
tumbleweedthe door is open (for now, until the gale force winds come back)22:35
CarlFKim toasting!22:43
tumbleweedo_O22:43
tumbleweedgood news: all the machines seem to have made it through the night22:43
CarlFKyay22:46
CarlFKnow burning raisin bread22:47
*** CarlFK has quit IRC23:07
*** CarlFK has joined #timvideos23:21
*** ChanServ sets mode: +v CarlFK23:21
*** hyades has quit IRC23:21
*** kflux has quit IRC23:59

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