*** tpb has joined #hdmi2usb | 00: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#gettinghelp | 00:00 | |
*** mithro- has quit IRC | 05:14 | |
*** tpb has joined #hdmi2usb | 08:31 | |
shenki | mithro: hello | 09:33 |
---|---|---|
mithro | shenki, hey | 09:33 |
shenki | mithro: i just powerd up my atlys board | 09:34 |
shenki | and now ive cut the track on J9 | 09:34 |
mithro | you following the instructions on the website? | 09:34 |
shenki | yeah | 09:34 |
shenki | are these instructions here for the case where I have a seperate FX2 board? https://github.com/timvideos/HDMI2USB/wiki/Firmware | 09:34 |
tpb | <http://ln-s.net/-0n2> (at github.com) | 09:34 |
mithro | no the fx2 chip was on the board | 09:35 |
shenki | ok | 09:36 |
shenki | what usb ports am i pluggin into to program? | 09:36 |
mithro | ? | 09:36 |
shenki | the Firmware page speaks about programming the fx2 and the fpga | 09:37 |
shenki | so i program the fx2 over the PROG usb port, and then the FPGA? | 09:37 |
mithro | ahh | 09:38 |
mithro | you program the FPGA first | 09:38 |
mithro | then program the FX2 | 09:38 |
shenki | ok | 09:38 |
shenki | and the FPGA is programmed over the same USB port? | 09:38 |
mithro | yes | 09:38 |
mithro | updating documentation now | 09:39 |
shenki | ok | 09:39 |
mithro | updated the diagram https://docs.google.com/a/mithis.com/drawings/d/1P58VsKORP1Oz_vFs9JJhyA9552kZEnOq1pQ-ArjCa3g/edit | 09:42 |
tpb | <http://ln-s.net/-0n9> (at docs.google.com) | 09:42 |
shenki | nice | 09:42 |
shenki | much clearer | 09:42 |
mithro | shenki, take another look at that page | 09:48 |
mithro | shenki, poke? | 09:58 |
shenki | mithro: hello. trying to install the platform cable stuff without running the evil xilinx script | 10:04 |
mithro | ha okay | 10:06 |
mithro | the page should be clearer | 10:06 |
shenki | nice | 10:09 |
shenki | fxload is part of debian/ubuntu too | 10:09 |
mithro | yeah, it's used for loading firmware onto a bunch of cameras and such | 10:18 |
shenki | impact is making me rage | 10:22 |
shenki | mithro: you know how it said to cut the trace, and then attach a header | 10:33 |
shenki | was i then supposed to put a jumper on the header? | 10:34 |
mithro | I believe so | 10:34 |
shenki | oh | 10:35 |
shenki | that might be why it's not working? | 10:35 |
mithro | I'm pretty sure you have to jumper the head to program the xilinx FPGA | 10:35 |
shenki | ok | 10:35 |
mithro | Should document that I guess? | 10:36 |
shenki | yeah | 10:38 |
shenki | need to also make a list of the tools and bits a person needs | 10:38 |
shenki | Bus 002 Device 067: ID 1443:0007 Digilent CoolRunner-II CPLD Starter Kit | 10:39 |
shenki | ok, now it reports as that | 10:39 |
shenki | before it was fx2 or XILINX | 10:40 |
shenki | (before == without jumper) | 10:40 |
mithro | yeah, I'm pretty sure that jumper has to do with resetting the device after power on | 10:41 |
shenki | have you programmed the FPGA from linux? | 10:42 |
mithro | yes | 10:42 |
mithro | I use IMPACT with the diglient plugin | 10:42 |
mithro | shenki, any luck? | 11:02 |
shenki | mithro: did you isntall the digilent adept utils? | 11:15 |
mithro | yes | 11:16 |
shenki | ok | 11:18 |
shenki | that's a pretty important step | 11:18 |
shenki | we should mention that in the wiki | 11: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 |
shenki | hrm, i need a hdmi device that doesn't do hdcp | 11:23 |
mithro | shenki, looks like that fx2 chip is working | 11:27 |
shenki | yep | 11:28 |
mithro | please update the doco :) | 11:28 |
mithro | also add yourself to | 11:30 |
mithro | https://github.com/timvideos/HDMI2USB/wiki/Getting-Started-with-an-Atlys-Board | 11:30 |
tpb | <http://ln-s.net/-0o-> (at github.com) | 11:30 |
shenki | mithro: hrm, both connectors say HDMI in. which one is lying? | 11:32 |
mithro | there are 4! | 11:32 |
mithro | two in, two out | 11:32 |
shenki | oh | 11:32 |
shenki | so there are | 11:32 |
shenki | do both work? | 11:32 |
shenki | mithro: how do i test it? | 11:35 |
mithro | they are labeled right? | 11:35 |
mithro | -- To test the system | 11: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 |
mithro | https://github.com/timvideos/HDMI2USB/tree/jahanzeb/release/R1 | 11:36 |
tpb | <http://ln-s.net/-0oH> (at github.com) | 11:36 |
mithro | guess that could go up on the wiki too | 11:38 |
shenki | i dont get anything out of mplaer | 11:41 |
shenki | PC HDMI/DVI == input to UVC device? | 11:42 |
shenki | (with LCD HDMI/DVI being the passthru) | 11:42 |
mithro | shenki, a PC should work | 11:43 |
shenki | ive got a raspi plugged in atm | 11:43 |
mithro | oh the raspi might be a bit problematic | 11:43 |
shenki | ok | 11:43 |
mithro | do you get anything on the screen? | 11:43 |
shenki | i dont have a screen plugged in | 11:43 |
mithro | you'll need a screen plugged in | 11:44 |
shenki | ok. will have to clear my desk; sitting on the kitchen table atm | 11:44 |
mithro | more information which should be added to the wiki | 11:44 |
mithro | there is no reason it couldn't work without a display plugged in | 11:44 |
mithro | but we trigger on the edid information from a display | 11:44 |
shenki | ah right | 11:44 |
shenki | do any of the video game consoles work? | 11:45 |
mithro | dunno | 11:48 |
mithro | your laptop doesn't have HDMI? | 11:48 |
shenki | ok, can see the output test pattern on my telly | 11:49 |
shenki | its got displayport, and the adaptor is at work | 11:49 |
mithro | the test pattern means you haven't loaded the xilinx FPGA | 11:49 |
shenki | okay | 11:50 |
shenki | been using flash based FPGAs recently, forgot that these ones lose their state | 11:51 |
shenki | hrm, impact is segfaulting now \o/ | 11:54 |
shenki | mithro: hrm. i loaded the bitstream on again, and im still seeing test pattern | 12:21 |
mithro | hrm | 12:21 |
mithro | when you load the firmware on the test pattern should disappear | 12:21 |
shenki | ok | 12:23 |
shenki | problem is | 12:23 |
shenki | to laod the FPGA firmware, i have to have the jumper connected | 12:23 |
shenki | but then to load the cypress firware, i need to have it removed | 12:23 |
mithro | have you tried loading the cypress firmware with the jumper on? | 12:24 |
shenki | if i pull it out at runtime, it doesn't appear as the cypress device | 12:24 |
mithro | pull what out? | 12:24 |
shenki | the jumper | 12:24 |
mithro | have you tried loading the cypress firmware with the jumper on? <---- ? | 12:25 |
shenki | i tried that, no luck | 12:26 |
shenki | (tried again with the VID/PID of the CPLD) | 12:26 |
mithro | so the steps should be | 12:27 |
mithro | connect power to your board | 12:27 |
mithro | connect the USB | 12:27 |
mithro | program the Xilinx | 12:27 |
mithro | program cypress | 12:27 |
mithro | un plug and plug the usb | 12:27 |
shenki | ok | 12:30 |
shenki | you have an external cypress, yeah? | 12:30 |
shenki | heh, wiiu kinda works, but it's all screwd up | 12:30 |
shenki | (as passthru) | 12:30 |
mithro | no this is with onboard | 12:30 |
mithro | screwed up in what way? | 12:30 |
shenki | oh. so in those steps, when do you plug/unplug the jumper? | 12:31 |
shenki | i will take a photo | 12:31 |
mithro | shenki, don't | 12:31 |
shenki | you leave it plugged? | 12:31 |
mithro | yeah | 12:33 |
shenki | hrm | 12:33 |
shenki | doesnt that mean that we shouldn't cut the trace? | 12:33 |
mithro | possibly | 12:35 |
mithro | there is a reason that trace needs to be cut | 12:36 |
mithro | but I'm unsure why at the moment | 12:36 |
shenki | ok | 12:36 |
shenki | mithro: does yours show up as Bus 002 Device 012: ID 1443:0007 Digilent CoolRunner-II CPLD Starter Kit | 12:38 |
mithro | the first time, yes | 12:38 |
shenki | hrm | 12:38 |
shenki | so 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 happens | 12:39 |
shenki | oh | 12:39 |
mithro | shenki, the fx2 programming works? | 12:39 |
shenki | until i re-insert the USB, of course | 12:39 |
mithro | shenki, you need to unplug/replug the USB after the programming | 12:39 |
shenki | thansk | 12:40 |
mithro | need that in big red somewhere? | 12:40 |
shenki | nah, i just need to follow instructions | 12:40 |
shenki | perhaps say that the fxload program appears to return instantly, and that nothing happens until replugging usb | 12:41 |
mithro | once you have programmed the FX2, you then need to power cycle the device before you can program the xilinx board again | 12:41 |
shenki | ok, now i get changing LEDs when enabling the JPEG decoder | 12:42 |
shenki | but nothing in mplayer | 12:42 |
mithro | what is your mplayer command? | 12:43 |
shenki | $ mplayer tv:// -tv driver=v4l2:device=/dev/video1 | 12:43 |
shenki | video0 is my webcam | 12:43 |
mithro | okay that looks good | 12:43 |
mithro | are you getting any output on your TV? | 12:44 |
shenki | yeah | 12:44 |
mithro | is it working or looks horrible? | 12:44 |
shenki | what is the expected behaviour if the input signal is 1080p? | 12:44 |
mithro | it doesn't work | 12:44 |
shenki | the framebuffer looks like it's truncated all the numbers | 12:44 |
mithro | the chip can't keep up with 1080p | 12:44 |
shenki | like when you set a .gif to have a colour palate that is too small | 12:44 |
shenki | ok. it does a pretty good job at trying :) | 12:45 |
mithro | oh - maybe you are using 24bit color? | 12:45 |
shenki | perhaps | 12:45 |
mithro | what is your input device? | 12:45 |
shenki | wiiu | 12:45 |
shenki | will try xbox | 12:45 |
mithro | the device should say it only supports 720p or 1024x768 | 12:45 |
mithro | you really need a computer to see what is in the edid information | 12:46 |
shenki | computer input? | 12:47 |
mithro | yeah | 12:47 |
mithro | then you can run | 12:47 |
mithro | xrandr and see what is happening | 12:47 |
shenki | ok | 12:48 |
shenki | on the foxtel box it works a bit better | 12:48 |
shenki | some blue lines at various points along the screen, smeared horizontally to the right | 12:48 |
shenki | mithro: HDMI2 connected (normal left inverted right x axis y axis) 1024x768 60.0 800x600 60.3 56.2 848x480 60.0 640x480 59.9 | 12:56 |
shenki | ah irssi ate my linefeeds | 12:56 |
shenki | mithro: working fine with laptop output, 720p | 12:59 |
mithro | so it works fine with your laptop? | 12:59 |
shenki | yeah | 12:59 |
mithro | can you document the things which didn't work somewhere? | 13:00 |
shenki | except that every second time i run xrandr, even just xrandr -q, my screen goes spaz, then gnome-settings-daemon segfaults | 13:00 |
mithro | ouch | 13:00 |
shenki | yep, will start a list of things that work and dont | 13:01 |
shenki | is it a diff fx2 fimrware that does the EDID dumping? | 13:01 |
shenki | i don't see any CDC endpoints... | 13:01 |
mithro | yeah | 13:01 |
mithro | we haven't merged the firmware yet | 13:01 |
mithro | I need to get on Jahanzeb about that | 13:01 |
shenki | ok | 13:01 |
shenki | still no luck with streaming anything though | 13:04 |
mithro | hrm | 13:05 |
mithro | you've toggled the jpeg switch? | 13:05 |
mithro | IE change it to the other direction? | 13:05 |
shenki | yeah | 13:05 |
mithro | might try toggling SW2? | 13:06 |
shenki | yeah, tried him too | 13:08 |
shenki | and SW1 | 13:08 |
shenki | and resets in between | 13:08 |
mithro | you can make the output go black'n'white by one of those switches? | 13:09 |
shenki | yep | 13:09 |
shenki | SW1 | 13:09 |
mithro | that works? | 13:09 |
shenki | yep | 13:09 |
shenki | https://plus.google.com/photos/103647462351465743835/albums/5867059466467554913?authkey=CPjgqq-WxZui7QE | 13:09 |
tpb | <http://ln-s.net/-0ph> (at plus.google.com) | 13:09 |
shenki | there are some pictures of the wiiu and foxtel artifacts | 13:10 |
mithro | okay | 13:10 |
shenki | that will about do me for tonight. more hacking on wednesday i think | 13:10 |
mithro | shenki, okay cool! | 13:12 |
mithro | thanks for your help | 13:12 |
shenki | no worries. thank you for guiding me through it | 13:12 |
mithro | please do update documents before you forget! :) | 13:12 |
shenki | ok | 13:13 |
mithro | I should head home I guess | 13:13 |
*** mithro- has joined #hdmi2usb | 13:58 | |
*** mithro- has quit IRC | 15:37 | |
*** mithro has quit IRC | 18:56 | |
*** mithro has joined #hdmi2usb | 18:58 |
Generated by irclog2html.py 2.5 by Marius Gedminas - find it at mg.pov.lt!