Sunday, 2014-04-20

*** tpb has joined #timvideos00:00
mithroCarlFK: hdmi2usb stuff is my first prioirty today00:11
mithroCarlFK: take a look at snowmix00:15
CarlFKoh yeah.. I started that.. lets try that again.00:16
droyhi CarlFK00:24
*** sarwarc has quit IRC00:38
mithroCarlFK: the developer is really active on the mailing lists01:14
mithroCarlFK: so *do* post questions01:14
mithroCarlFK: I'm still not quite sure snowmix does what we want01:14
CarlFKgit clone git:// snowmix-code ... warning: You appear to have cloned an empty repository.02:09
CarlFKsf makes me grumpy.  I hate that I have to click html links to download the code02:10
mithrothere is no code repository currently02:13
mithrodid you see they install crapware when you download in windows now?02:14
CarlFKsf does? (I haven't touched windows in .. years)02:16
*** droy has quit IRC02:23
CarlFKgrumble... now I am debugging this nifty bootstrap script that seems to be a dependency checker02:23
CarlFK"You need to install gstreamer greater than 1.2.2"  I have GStreamer 1.2.302:25
*** andi-m2 has quit IRC02:27
CarlFKyeah, all this gstreamer version checking doesn't really handle this case.  it doesn't ecoh "press return" like all the other cases do, and after all the nested if/echo is read reply02:29
CarlFKpress enter, off we go to running ./configure yay02:29
*** andi-m2 has joined #timvideos02:29
CarlFKsnowmix install process has a glitch02:30
CarlFKI am getting though it.  building now...02:30
CarlFKwell, it runs.  that's the good news.  the UI is a little overwhelming.02:44
CarlFKheh - the first random thing I click on throws an error dialog02:46
CarlFKI am not giving up yet, but it is failing 2 of dvswitch's design goals: limit the UI so that volunteers don't have too many choices03:04
CarlFKand limit code base so that what is there is rock solid03:05
mithroCarlFK: the codebase is pretty limited from what I last looked at03:29
mithroCarlFK: the UI can be customized03:29
mithroshenki / canci: ping?03:52
mithroCarlFK: Oh, I'm pretty sure I have a fully open source method for programming the HDMI2USB now (not needing the Digilent tools)03:53
mithroCarlFK: oh, did you have any chance to put together my computer?03:54
CarlFKis there something I can try?03:54
CarlFKno, haven't found a PS yet03:54
mithroCarlFK: not yet, hoping to confirm that it works today03:54
mithroneed to figure out the issue shenki / canci where having03:54
CarlFKI think I am too: device doesn't show up under lsusb ?03:55
mithroCarlFK: I doubt I'll get to it today, but I'm hoping to set up a virtual machine with the Atlys connected and a video loop so we can do some type of automated testing04:02
*** Niharika has joined #timvideos04:17
mithroCarlFK: is skay around?04:28
CarlFKjust went to sleep04:29
mithroahh no worries04:32
NiharikaHi mithro. Hi CarlFK.04:51
mithroCarlFK / shenki / canci: you about?05:17
CarlFKmithro: mostly here05:18
mithroCarlFK: wanted to check tou get the same behaviour as I get05:18
mithroCarlFK: you able to get out your Atlys board to check?05:21
CarlFKyes, sec...05:21
mithroCarlFK: What do your displays output? DVI, HDMI or DisplayPort?05:23
CarlFKI have both a pi and the laptop the atlys usb is hooked to05:29
CarlFKlaptop hdmi out into altys, altlys to lcd05:31
CarlFKdmesg shows  lsusb shows Bus 001 Device 015: ID 1443:0007 Digilent Development board JTAG05:37
tpbTitle: Ubuntu Pastebin (at
mithrofirst step05:38
mithrogo to05:38
tpb<> (at
mithroand complete step 105:38
CarlFKStep 1 - Plug the power from your power pack into the POWER port.05:39
mithros/step 1/stage 1/05:45
CarlFK - those two wgets and installs - does that look right?05:47
tpbTitle: Firmware load scripts · timvideos/HDMI2USB Wiki · GitHub (at
mithroI'm not sure those firmware download locations are correct05:48
CarlFK The Digilent Adept Tools -- Follow these instructions if you are just using/testing a HDMI2USB. ...click05:50
CarlFKTo use this method you must have the Adept 2.XX.XX Utilities installed and Adept 2.XX.XX Runtime installed.05:50
CarlFKAdept 2.XX.XX Utilities installed and Adept 2.XX.XX Runtime both link to the same page05:52
CarlFK Adept 2.15.3 Runtime, X64 Linux05:52
CarlFKAdept 2.1.1 Utilities, X64 Linux05:52
mithroCarlFK: yes that is correct as they are both on those pages05:53
tpb<$E> (at
CarlFKso those two05:53
CarlFK Follow these instructions if you are just using/testing a HDMI2USB. - that page then has steps 1 to 805:55
CarlFKwhich seems to be the same as on
tpb<> (at
mithroCarlFK: you've hardcoded a branch value into your script05:57
mithroCarlFK: it would be good if your script output the md5sums of the 2 firmware files05:57
CarlFKI have the runtime and utils installed.05:58
CarlFKit isn't cleare what is and isn't Stage 105:58
mithroStage 1 is loading the FPGA firmware06:00
mithroStage 2 is loading the cypress firmware06:00
mithroStage 3 is using the device06:00
CarlFKwell.. the "Follow these instructions" page doesn't have links to the firmware06:02
CarlFKthe first page has 2 links (I think)06:02
CarlFKwhich  hdmi2usb.bit do you want me to use?06:02
mithrowhat is the "Follow these instructions" page?06:02
mithro <-- this is the page I'm taking about06:03
tpb<> (at
CarlFK   Stage 1  You must install either;   The Digilent Adept Tools -- Follow these instructions06:03
tpbTitle: Digilent Atlys Board: Loading Firmware · timvideos/HDMI2USB Wiki · GitHub (at
CarlFKthat take06:03
CarlFKthat takes me to another page that has the links to the page to download from, and then the06:04
CarlFKthe same steps 1,2,3...06:04
CarlFKoh, it just drops me down on the same page06:08
CarlFKdjtgcfg init -d Atlys ... Found 1 device(s):06:13
CarlFK    Device 0: XC6SLX4506:13
CarlFKwhich  hdmi2usb.bit do you want me to use?06:13
tpb<> (at
CarlFKUmm.. I still don't know where to get the file from06:22
tpb<> (at
mithroFirmware Needed - hdmi2usb.bit06:24
mithroIn both cases, you will need the hdmi2usb.bit file for this stage. Prebuilt firmware blob can be found in the HDMI2USB-firmware-prebuilt repository.06:24
mithro * Quick link to latest stable firmware.06:24
mithro * Quick link to latest testing firmware.06:24
CarlFKheh.. I am guessing not the testing firmware ;)06:27
CarlFKis prebuild the same as stable?06:27
mithro <-- this repository has *multiple* firmwares in it06:28
tpbTitle: timvideos/HDMI2USB-firmware-prebuilt · GitHub (at
mithroso there is "prebuild" firmware doesn't actually give me enough information06:28
CarlFK  should I use that one?06:29
CarlFKok, display now shows the red/green te06:40
mithrocan you connect the RPi?06:40
mithroand do an xrandr on the device?06:40
*** slomo has joined #timvideos06:49
*** slomo has joined #timvideos06:49
CarlFK[email protected] ~ $ DISPLAY=:0.0 xrandr06:51
CarlFKxrandr: Failed to get size of gamma for output default06:51
CarlFKScreen 0: minimum 656 x 416, current 656 x 416, maximum 656 x 41606:51
CarlFKdefault connected 656x416+0+0 0mm x 0mm06:51
CarlFK   656x416         0.0*06:51
mithrothat doesn't look right06:52
mithroIf you switch to the RPi input, do you see what you expect?06:53
tpbTitle: Digilent Atlys Board: Switches, Buttons and Status LEDs · timvideos/HDMI2USB Wiki · GitHub (at
CarlFKshould the buttons work if I have not loaded hdmi2usb.hex ?06:55
mithroso should the LEDs07:06
mithrowell, the ones related to the USB aren't07:06
mithrothe buttons aren't debounced very well, so you might need to be careful when pressing them07:06
CarlFKwhen I press them, should the lights near the rj44 light up?   (they don't)07:14
*** sarwarc has joined #timvideos07:16
mithroeach of the LEDs is labeled07:16
mithroLD0, LD1, LD2....07:16
mithronone of the LEDs near the RJ45 connector are used07:18
mithrothey are connected to the ethernet controller07:18
CarlFKhmmm I seem to remember them lighting up when buttons where held down07:19
mithroYou are thinking of the LEDs above the switch07:20
mithroshenki / canci: where you building your own .bit files?07:24
mithroAnyone able to identify the font used on the red text in ?07:30
tpb<> (at
CarlFKmithro: opps.  I was testing the pie with composite video earlier.  that is what that was about.  now it shows:07:32
CarlFK[email protected] ~ $ DISPLAY=:0.0 xrandr07:33
CarlFKxrandr: Failed to get size of gamma for output default07:33
CarlFKScreen 0: minimum 1600 x 1200, current 1600 x 1200, maximum 1600 x 120007:33
CarlFKdefault connected 1600x1200+0+0 0mm x 0mm07:33
CarlFK   1600x1200       0.0*07:33
mithrothat also looks wrong07:33
mithroit should be 1024x768 or 720p07:34
mithroI'm going to have to head out to a train in the next 30-45 minutes07:38
mithrowhich probably means you should be in bed07:38
CarlFKmithro: ok, I get that if I boot the pi with it plugged into the atlys07:38
mithroCarlFK: can you dump the RPi's output?07:39
CarlFK[email protected] ~ $ DISPLAY=:0.0 xrandr07:39
CarlFKxrandr: Failed to get size of gamma for output default07:39
CarlFKScreen 0: minimum 1024 x 768, current 1024 x 768, maximum 1024 x 76807:39
CarlFKdefault connected 1024x768+0+0 0mm x 0mm07:39
CarlFK   1024x768        0.0*07:39
CarlFKbtw, it isn't routing? the pi's hdmi to the altlys output.  but it does turn off the red/green test pattern07:40
*** droy has joined #timvideos07:41
tpbTitle: Testing and Troubleshooting: Linux Source Device · timvideos/HDMI2USB Wiki · GitHub (at
mithroCarlFK: the buttons should let you change which output is displayed07:42
CarlFKBTNU (N4) Selects HDMI 0 as output.07:45
CarlFKthe display goes black07:45
CarlFKBTND (P3) Selects test pattern as output.07:45
CarlFKthe display shows the red/green pattern07:45
CarlFKhmm, there is a chance the pi screen saver kicked in07:46
*** droy has quit IRC07:46
mithrookay, so the matrix looks to be working then07:47
CarlFKhmm... if I switch away, I can't switch back07:48
CarlFKbtnu = black, btnd = red/green07:49
mithroCarlFK: BTNU (N4)Selects HDMI 0 as output.07:59
mithroBTND (P3)Selects test pattern as output.07:59
CarlFKseems I have to power cycle the pi to get hdmi008:03
mithroyou sure the Pi wasn't just displaying black screen?08:04
*** sarwarc has quit IRC08:06
CarlFKwell.. I flipped away while it was still booting, so the text display - I doubt it would blank the display at that point08:06
CarlFKand I am getting similar using a laptop for hdmi08:07
*** sarwarc has joined #timvideos08:09
CarlFKhmm, It goes away, but if I hit "detect displays" it comes back08:09
CarlFKor maybe "apply"   once the display is detected.  I am having trouble telling what is going on08:11
mithrowhat does xrandr output for the display?08:14
CarlFKHDMI1 disconnected (normal left inverted right x axis y axis)08:15
CarlFK  all xrandr08:15
tpbTitle: Ubuntu Pastebin (at
mithrowhen are you seeing that?08:15
CarlFKpower cycle atlys, djtgcfg prog --verbose -d Atlys -i 0 -f hdmi2usb.bit, now it shows up:
tpbTitle: Ubuntu Pastebin (at
CarlFKhmm, and now I can flip between laptop and red/green as expected.08:20
mithroWhat is the xrandr output of your display device without the HDMI2USB connected?08:23
mithroIE directly connected to the monitor08:23
tpbTitle: Ubuntu Pastebin (at
mithroCarlFK: computer monitor right?08:25
mithrookay, thanks for the testing08:26
*** rohitksingh has joined #timvideos08:34
CarlFKmithro: I am off to bed08:40
mithroCarlFK: no worries08:44
*** jczyzewski has joined #timvideos09:00
rohitksinghHi everyone! :)09:05
*** slomo has quit IRC09:07
*** slomo has joined #timvideos09:13
mithrohello rohitksingh09:14
rohitksinghmithro: I did u get time to test my patch?...It should be working properly, as far I've tested, to best of my ability, on my FPGA board09:17
mithrorohitksingh: not yet09:17
mithrorohitksingh: Did shenki comment on your pull request?09:17
rohitksinghmithro: No. No one did. Thats my worry! :)09:18
mithrorohitksingh: okay09:21
rohitksinghCarlFK had told to remind him on that. I'll remind CarlFK when he wakes up.09:23
*** Niharika has left #timvideos09:34
*** jczyzewski has quit IRC09:52
*** rohitksingh has quit IRC10:19
*** slomo has quit IRC10:26
*** droy has joined #timvideos11:06
*** jczyzewski has joined #timvideos11:52
*** Niharika has joined #timvideos12:06
CarlFKmithro: can you write an app to send commands to the atlys to take the place of pressing buttons ?12:52
CarlFKthat will remove the issue of "what button was pressed when"12:53
*** droy has quit IRC13:05
*** jczyzewski has quit IRC13:06
*** droy has joined #timvideos13:36
*** droy has quit IRC13:43
mithroCarlFK: yes14:07
mithroCarlFK: that is what the commport is for14:07
*** slomo has joined #timvideos14:10
*** droy has joined #timvideos14:22
*** andi-m2 has quit IRC14:40
*** andi-m2 has joined #timvideos14:41
*** droy has quit IRC16:00
*** Palash_ has joined #timvideos16:01
*** Palash_ has quit IRC16:22
*** jczyzewski has joined #timvideos16:31
*** droy has joined #timvideos16:42
*** droy has quit IRC17:58
*** droy has joined #timvideos17:59
*** Niharika has left #timvideos18:35
*** droy has quit IRC19:33
*** droy has joined #timvideos20:02
*** slomo has quit IRC20:08
*** droy has quit IRC21:11
*** droy has joined #timvideos21:16
*** sarwarc has quit IRC21:43
*** sarwarc has joined #timvideos21:43
*** jczyzewski has quit IRC22:40
*** droy has quit IRC23:59

Generated by 2.12.1 by Marius Gedminas - find it at!