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
tpbTitle: GitHub - mithro/HDMI2USB-litex-firmware: Opsis SoC based on LiteX (at
mithrokflux: If you want to set up a build environment, I'd recommend using the instructions at for now00:03
tpbTitle: HDMI2USB-litex-firmware/ at nextgen · mithro/HDMI2USB-litex-firmware · GitHub (at
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
tpbTitle: GitHub - timvideos/HDMI2USB-mode-switch: Tool for switching boards supported by HDMI2USB firmware between multiple different modes (programming, webcam, etc). (at
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
tpbTitle: Ubuntu Pastebin (at
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
tpbTitle: Support packages for FPGA development : “TimVideos.Us - Live event streaming” team (at
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
tpbTitle: HDMI2USB-mode-switch/udev at master · timvideos/HDMI2USB-mode-switch · GitHub (at
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
tpbTitle: symposion/ at master · lca2017/symposion · GitHub (at
tpbTitle: veyepar/ at master · CarlFK/veyepar · GitHub (at
mithro_florent_: So, I think I've got your underflow counter merged, the freq counter merged and the fx2 i2c_hack merged01:08
tpbTitle: Import the schedule from LCA into the streaming system · Issue #22 · xfxf/lca2017-av · GitHub (at
mithro_florent_: Your frequency counter appears to be returning weird results here...01:38
mithro_florent_: input1:  0x0 (@  74.67 MHz)01:38
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:
tpbTitle: Shopping List 13 Jan · Issue #31 · xfxf/lca2017-av · GitHub (at
*** 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
_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
tpbTitle: "IODisplayEDID" = <00ffffffffffff00061019a00000000030160104a5211578026fb - (at
jeaxfxf: details from that EDID
tpbTitle: Extracted contents: header: 00 ff ff ff ff ff ff 00 serial number: - (at
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
micolousComfier chairs04:45
micolousAnd you won't infect us :P04:45
vystrelais mithro sick again?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
tpbTitle: Add EDID decode to firmware · Issue #14 · mithro/HDMI2USB-litex-firmware · GitHub (at
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
mithroSo just setting "m 9" should be the exact same signal?04:56
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:
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",
tpbTitle: symposion/ at master · lca2017/symposion · GitHub (at
*** nrossi has quit IRC05:40
mithroxfxf / tumbleweed:
tpbTitle: Add `rmmod uvcvideo; modprobe uvcvideo` to the vocto capture script... · Issue #33 · xfxf/lca2017-av · GitHub (at
mithroUSB-C - YAY! -
tpbTitle: Dell XPS 13 (9360): HDMI Output (at
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
tpbTitle: lca-mobile-programme/schedule.js at lca2017 · micolous/lca-mobile-programme · GitHub (at
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:
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?
tpbTitle: Investigate the segfaults in `` that are occuring on the machines · Issue #32 · xfxf/lca2017-av · GitHub (at
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
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
tpbTitle: HDMI2USB-litex-firmware/ci.c at nextgen · mithro/HDMI2USB-litex-firmware · GitHub (at
mithroxfxf: That is the status code06:59
tpbTitle: HDMI2USB-litex-firmware/ci.c at nextgen · mithro/HDMI2USB-litex-firmware · GitHub (at
*** nrossi has joined #timvideos07:00
*** hyades has joined #timvideos07:09
mithro_florent_: and
tpbTitle: HDMI2USB-litex-firmware/ at mithro-is-stupid · mithro/HDMI2USB-litex-firmware · GitHub (at
*** _florent_ has quit IRC07:36
*** _florent_ has joined #timvideos07:37
mithro_florent_: You can see the way I have changed things at
tpbTitle: Refactoring TOFE/Opsis stuff a bit. · mithro/[email protected] · GitHub (at
*** Niharika has quit IRC07:37
mithro_florent_: Did get merged into litex now?07:41
tpbTitle: misoc/ at master · m-labs/misoc · GitHub (at
*** Niharika has joined #timvideos07:41
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 (at
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: 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
tpbTitle: milkymist/flterm.c at master · m-labs/milkymist · GitHub (at
*** CarlFK has joined #timvideos09:05
*** ChanServ sets mode: +v CarlFK09:05
jeamithro: this is a script that might work
tpbTitle: Ubuntu Pastebin (at
*** 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
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
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
mithromicolous: Trying to put the git revision info in the pattern output? :-P12:15
micolousIt's working.12:16
mithromicolous: Yay :-)12:20
tpbTitle: Imgur: The most awesome images on the Internet (at
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
tpbTitle: Imgur: The most awesome images on the Internet (at
xfxfi prefered the rickroll13: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
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
tpbTitle: py/probe/functions/ - chromiumos/platform/factory - Git at Google (at
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
tpbTitle: py/gooftool/ - chromiumos/platform/factory - Git at Google (at
jeaI also like this look of this, but I have a feeling it was never included from the comments13:50
jeaif it is the right licence, then it might be worth using for edid.tv13:50
tpbTitle: Add scripts for running gateware build non-stop · joeladdison/[email protected] · GitHub (at
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
tumbleweedgood news: all the machines seem to have made it through the night22:43
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 2.13.1 by Marius Gedminas - find it at!