Monday, 2013-04-15

*** tpb has joined #hdmi2usb00:00
-calvino.freenode.net- [freenode-info] channel trolls and no channel staff around to help? please check with freenode support: http://freenode.net/faq.shtml#gettinghelp00:00
*** mithro- has quit IRC05:14
*** tpb has joined #hdmi2usb08:31
shenkimithro: hello09:33
mithroshenki, hey09:33
shenkimithro: i just powerd up my atlys board09:34
shenkiand now ive cut the track on J909:34
mithroyou following the instructions on the website?09:34
shenkiyeah09:34
shenkiare these instructions here for the case where I have a seperate FX2 board? https://github.com/timvideos/HDMI2USB/wiki/Firmware09:34
tpb<http://ln-s.net/-0n2> (at github.com)09:34
mithrono the fx2 chip was on the board09:35
shenkiok09:36
shenkiwhat usb ports am i pluggin into to program?09:36
mithro?09:36
shenkithe Firmware page speaks about programming the fx2 and the fpga09:37
shenkiso i program the fx2 over the PROG usb port, and then the FPGA?09:37
mithroahh09:38
mithroyou program the FPGA first09:38
mithrothen program the FX209:38
shenkiok09:38
shenkiand the FPGA is programmed over the same USB port?09:38
mithroyes09:38
mithroupdating documentation now09:39
shenkiok09:39
mithroupdated the diagram https://docs.google.com/a/mithis.com/drawings/d/1P58VsKORP1Oz_vFs9JJhyA9552kZEnOq1pQ-ArjCa3g/edit09:42
tpb<http://ln-s.net/-0n9> (at docs.google.com)09:42
shenkinice09:42
shenkimuch clearer09:42
mithroshenki, take another look at that page09:48
mithroshenki, poke?09:58
shenkimithro: hello. trying to install the platform cable stuff without running the evil xilinx script10:04
mithroha okay10:06
mithrothe page should be clearer10:06
shenkinice10:09
shenkifxload is part of debian/ubuntu too10:09
mithroyeah, it's used for loading firmware onto a bunch of cameras and such10:18
shenkiimpact is making me rage10:22
shenkimithro: you know how it said to cut the trace, and then attach a header10:33
shenkiwas i then supposed to put a jumper on the header?10:34
mithroI believe so10:34
shenkioh10:35
shenkithat might be why it's not working?10:35
mithroI'm pretty sure you have to jumper the head to program the xilinx FPGA10:35
shenkiok10:35
mithroShould document that I guess?10:36
shenkiyeah10:38
shenkineed to also make a list of the tools and bits a person needs10:38
shenkiBus 002 Device 067: ID 1443:0007 Digilent CoolRunner-II CPLD Starter Kit10:39
shenkiok, now it reports as that10:39
shenkibefore it was fx2 or XILINX10:40
shenki(before == without jumper)10:40
mithroyeah, I'm pretty sure that jumper has to do with resetting the device after power on10:41
shenkihave you programmed the FPGA from linux?10:42
mithroyes10:42
mithroI use IMPACT with the diglient plugin10:42
mithroshenki, any luck?11:02
shenkimithro: did you isntall the digilent adept utils?11:15
mithroyes11:16
shenkiok11:18
shenkithat's a pretty important step11:18
shenkiwe should mention that in the wiki11:18
shenki[ 1371.879568] uvcvideo: Found UVC 1.00 device <unnamed> (fb9a:fb9a)11:23
shenki[ 1371.880040] uvcvideo: UVC non compliance - GET_DEF(PROBE) not supported. Enabling workaround.11:23
shenkihrm, i need a hdmi device that doesn't do hdcp11:23
mithroshenki, looks like that fx2 chip is working11:27
shenkiyep11:28
mithroplease update the doco :)11:28
mithroalso add yourself to11:30
mithrohttps://github.com/timvideos/HDMI2USB/wiki/Getting-Started-with-an-Atlys-Board11:30
tpb<http://ln-s.net/-0o-> (at github.com)11:30
shenkimithro: hrm, both connectors say HDMI in. which one is lying?11:32
mithrothere are 4!11:32
mithrotwo in, two out11:32
shenkioh11:32
shenkiso there are11:32
shenkido both work?11:32
shenkimithro: how do i test it?11:35
mithrothey are labeled right?11:35
mithro-- To test the system11:36
mithro- Make sure JP6 and JP7 on ATLYS are open.11:36
mithro- connect the LCD HDMI/DVI with ATLYS HDMI OUT(J2).11:36
mithro- Toggle(high then low) SW0 to emulate HPD. LED7 should turn on if not press red reset button and toggle again.11:36
mithro- Connect PC HDMI/DVI with ATLYS HDMI(J3).11:36
mithro- Use SW1 to toggle between color and grayscale.11:36
mithro- EDID can be read using serial com port (using CDC driver). press "e" or "E". EDID will appear on screen. SW2 should be off.11:36
mithro- Use SW2 to turn jpeg encoder on. and use any uvc program to start capturing the video.11:36
mithrohttps://github.com/timvideos/HDMI2USB/tree/jahanzeb/release/R111:36
tpb<http://ln-s.net/-0oH> (at github.com)11:36
mithroguess that could go up on the wiki too11:38
shenkii dont get anything out of mplaer11:41
shenkiPC HDMI/DVI == input to UVC device?11:42
shenki(with LCD HDMI/DVI being the passthru)11:42
mithroshenki, a PC should work11:43
shenkiive got a raspi plugged in atm11:43
mithrooh the raspi might be a bit problematic11:43
shenkiok11:43
mithrodo you get anything on the screen?11:43
shenkii dont have a screen plugged in11:43
mithroyou'll need a screen plugged in11:44
shenkiok. will have to clear my desk; sitting on the kitchen table atm11:44
mithromore information which should be added to the wiki11:44
mithrothere is no reason it couldn't work without a display plugged in11:44
mithrobut we trigger on the edid information from a display11:44
shenkiah right11:44
shenkido any of the video game consoles work?11:45
mithrodunno11:48
mithroyour laptop doesn't have HDMI?11:48
shenkiok, can see the output test pattern on my telly11:49
shenkiits got displayport, and the adaptor is at work11:49
mithrothe test pattern means you haven't loaded the xilinx FPGA11:49
shenkiokay11:50
shenkibeen using flash based FPGAs recently, forgot that these ones lose their state11:51
shenkihrm, impact is segfaulting now \o/11:54
shenkimithro: hrm. i loaded the bitstream on again, and im still seeing test pattern12:21
mithrohrm12:21
mithrowhen you load the firmware on the test pattern should disappear12:21
shenkiok12:23
shenkiproblem is12:23
shenkito laod the FPGA firmware, i have to have the jumper connected12:23
shenkibut then to load the cypress firware, i need to have it removed12:23
mithrohave you tried loading the cypress firmware with the jumper on?12:24
shenkiif i pull it out at runtime, it doesn't appear as the cypress device12:24
mithropull what out?12:24
shenkithe jumper12:24
mithrohave you tried loading the cypress firmware with the jumper on? <---- ?12:25
shenkii tried that, no luck12:26
shenki(tried again with the VID/PID of the CPLD)12:26
mithroso the steps should be12:27
mithroconnect power to your board12:27
mithroconnect the USB12:27
mithroprogram the Xilinx12:27
mithroprogram cypress12:27
mithroun plug and plug the usb12:27
shenkiok12:30
shenkiyou have an external cypress, yeah?12:30
shenkiheh, wiiu kinda works, but it's all screwd up12:30
shenki(as passthru)12:30
mithrono this is with onboard12:30
mithroscrewed up in what way?12:30
shenkioh. so in those steps, when do you plug/unplug the jumper?12:31
shenkii will take a photo12:31
mithroshenki, don't12:31
shenkiyou leave it plugged?12:31
mithroyeah12:33
shenkihrm12:33
shenkidoesnt that mean that we shouldn't cut the trace?12:33
mithropossibly12:35
mithrothere is a reason that trace needs to be cut12:36
mithrobut I'm unsure why at the moment12:36
shenkiok12:36
shenkimithro: does yours show up as Bus 002 Device 012: ID 1443:0007 Digilent CoolRunner-II CPLD Starter Kit12:38
mithrothe first time, yes12:38
shenkihrm12:38
shenkiso mine shows up as that, i program the FPGA causing the HDMI test pattern to go away, then I attempt to program the fx2 and nothing happens12:39
shenkioh12:39
mithroshenki, the fx2 programming works?12:39
shenkiuntil i re-insert the USB, of course12:39
mithroshenki, you need to unplug/replug the USB after the programming12:39
shenkithansk12:40
mithroneed that in big red somewhere?12:40
shenkinah, i just need to follow instructions12:40
shenkiperhaps say that the fxload program appears to return instantly, and that nothing happens until replugging usb12:41
mithroonce you have programmed the FX2, you then need to power cycle the device before you can program the xilinx board again12:41
shenkiok, now i get changing LEDs when enabling the JPEG decoder12:42
shenkibut nothing in mplayer12:42
mithrowhat is your mplayer command?12:43
shenki$ mplayer tv:// -tv driver=v4l2:device=/dev/video112:43
shenkivideo0 is my webcam12:43
mithrookay that looks good12:43
mithroare you getting any output on your TV?12:44
shenkiyeah12:44
mithrois it working or looks horrible?12:44
shenkiwhat is the expected behaviour if the input signal is 1080p?12:44
mithroit doesn't work12:44
shenkithe framebuffer looks like it's truncated all the numbers12:44
mithrothe chip can't keep up with 1080p12:44
shenkilike when you set a .gif to have a colour palate that is too small12:44
shenkiok. it does a pretty good job at trying :)12:45
mithrooh - maybe you are using 24bit color?12:45
shenkiperhaps12:45
mithrowhat is your input device?12:45
shenkiwiiu12:45
shenkiwill try xbox12:45
mithrothe device should say it only supports 720p or 1024x76812:45
mithroyou really need a computer to see what is in the edid information12:46
shenkicomputer input?12:47
mithroyeah12:47
mithrothen you can run12:47
mithroxrandr and see what is happening12:47
shenkiok12:48
shenkion the foxtel box it works a bit better12:48
shenkisome blue lines at various points along the screen, smeared horizontally to the right12:48
shenkimithro: HDMI2 connected (normal left inverted right x axis y axis) 1024x768       60.0   800x600        60.3     56.2   848x480        60.0   640x480        59.912:56
shenkiah irssi ate my linefeeds12:56
shenkimithro: working fine with laptop output, 720p12:59
mithroso it works fine with your laptop?12:59
shenkiyeah12:59
mithrocan you document the things which didn't work somewhere?13:00
shenkiexcept that every second time i run xrandr, even just xrandr -q, my screen goes spaz, then gnome-settings-daemon segfaults13:00
mithroouch13:00
shenkiyep, will start a list of things that work and dont13:01
shenkiis it a diff fx2 fimrware that does the EDID dumping?13:01
shenkii don't see any CDC endpoints...13:01
mithroyeah13:01
mithrowe haven't merged the firmware yet13:01
mithroI need to get on Jahanzeb about that13:01
shenkiok13:01
shenkistill no luck with streaming anything though13:04
mithrohrm13:05
mithroyou've toggled the jpeg switch?13:05
mithroIE change it to the other direction?13:05
shenkiyeah13:05
mithromight try toggling SW2?13:06
shenkiyeah, tried him too13:08
shenkiand SW113:08
shenkiand resets in between13:08
mithroyou can make the output go black'n'white by one of those switches?13:09
shenkiyep13:09
shenkiSW113:09
mithrothat works?13:09
shenkiyep13:09
shenkihttps://plus.google.com/photos/103647462351465743835/albums/5867059466467554913?authkey=CPjgqq-WxZui7QE13:09
tpb<http://ln-s.net/-0ph> (at plus.google.com)13:09
shenkithere are some pictures of the wiiu and foxtel artifacts13:10
mithrookay13:10
shenkithat will about do me for tonight. more hacking on wednesday i think13:10
mithroshenki, okay cool!13:12
mithrothanks for your help13:12
shenkino worries. thank you for guiding me through it13:12
mithroplease do update documents before you forget! :)13:12
shenkiok13:13
mithroI should head home I guess13:13
*** mithro- has joined #hdmi2usb13:58
*** mithro- has quit IRC15:37
*** mithro has quit IRC18:56
*** mithro has joined #hdmi2usb18:58

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