*** tpb has joined #timvideos | 00:00 | |
*** _florent_ has joined #timvideos | 00:18 | |
*** springermac has quit IRC | 01:17 | |
*** travis-ci has joined #timvideos | 01:17 | |
travis-ci | [timvideos/HDMI2USB-misoc-firmware/master#206] (f13c17a): The build has errored. (https://travis-ci.org/timvideos/HDMI2USB-misoc-firmware/builds/83922003) | 01:17 |
---|---|---|
*** travis-ci has left #timvideos | 01:17 | |
*** springermac has joined #timvideos | 01:45 | |
*** CarlFK has joined #timvideos | 01:48 | |
*** ChanServ sets mode: +v CarlFK | 01:48 | |
*** Bertl_zZ is now known as Bertl | 03:15 | |
*** travis-ci has joined #timvideos | 06:19 | |
travis-ci | [timvideos/HDMI2USB-misoc-firmware/master#206] (f13c17a): The build has errored. (https://travis-ci.org/timvideos/HDMI2USB-misoc-firmware/builds/83922003) | 06:19 |
*** travis-ci has left #timvideos | 06:19 | |
*** travis-ci has joined #timvideos | 06:39 | |
travis-ci | [sealne/HDMI2USB-misoc-firmware/build-copy#18] (cd873c2): The build is still failing. (https://travis-ci.org/sealne/HDMI2USB-misoc-firmware/builds/84033452) | 06:39 |
*** travis-ci has left #timvideos | 06:39 | |
seaLne | mithro: is there actually any thing to copy if the target is base? | 06:39 |
seaLne | ah there seems to be | 06:49 |
*** travis-ci has joined #timvideos | 07:00 | |
travis-ci | [sealne/HDMI2USB-misoc-firmware/build-copy#19] (baf0140): The build was canceled. (https://travis-ci.org/sealne/HDMI2USB-misoc-firmware/builds/84036291) | 07:00 |
*** travis-ci has left #timvideos | 07:00 | |
mithro | seaLne: just the .bit file | 07:01 |
mithro | Really we want the xsvf file rather than the .bit but the only way to generate that currently is via setting the programmer to fpgalink and attempting to program | 07:02 |
seaLne | so no bin? | 07:06 |
seaLne | i'm not really sure what all of the files do yet :) | 07:07 |
seaLne | mithro: does the .bit include the lm32 stuff? | 07:09 |
mithro | Yes | 07:09 |
seaLne | k | 07:09 |
seaLne | mithro: i'm wondering if putting the .bit in a firmware directory is confusing as we talk about firmware and gateware being different when building normally | 07:11 |
seaLne | to me gateware might be a clearer name for the directory? | 07:11 |
*** se6astian|away is now known as se6astian | 07:18 | |
mithro | seaLne: well the .hex file is for the Cypress and that is firmware | 07:18 |
mithro | seaLne: I also logged https://github.com/timvideos/HDMI2USB-misoc-firmware/issues/91 | 07:18 |
tpb | Title: `make gateware` should generate the xsvf file · Issue #91 · timvideos/HDMI2USB-misoc-firmware · GitHub (at github.com) | 07:18 |
*** travis-ci has joined #timvideos | 07:19 | |
travis-ci | [sealne/HDMI2USB-misoc-firmware/build-copy#20] (bb35cbb): The build was fixed. (https://travis-ci.org/sealne/HDMI2USB-misoc-firmware/builds/84036695) | 07:19 |
*** travis-ci has left #timvideos | 07:19 | |
mithro | seaLne: see the diagram at https://github.com/mithro/HDMI2USB-firmware-prebuilt/tree/master/atlys | 07:20 |
tpb | Title: HDMI2USB-firmware-prebuilt/atlys at master · mithro/HDMI2USB-firmware-prebuilt · GitHub (at github.com) | 07:20 |
seaLne | mithro: so do we want the .hex file as well? | 07:21 |
mithro | seaLne: yes but the fx2 .hex file rather than .hex for the lm32 | 07:22 |
seaLne | mithro: where is it built? and is it different between boards? | 07:24 |
mithro | make firmware-fx2 produces | 07:33 |
seaLne | is it supposed to be putting stuff in /firmware/fx2 rather than third party? | 07:34 |
seaLne | mithro: am i right that travis isn't currently building fx2? i might as well add it? | 07:44 |
*** travis-ci has joined #timvideos | 08:11 | |
travis-ci | [sealne/HDMI2USB-misoc-firmware/build-copy#22] (3c3370b): The build was broken. (https://travis-ci.org/sealne/HDMI2USB-misoc-firmware/builds/84042329) | 08:11 |
*** travis-ci has left #timvideos | 08:11 | |
mithro | seaLne: The firmware target builds the fx2 and lm32 firmware | 08:26 |
mithro | seaLne: the fx2 firmware ends up in firmware/fx2 | 08:27 |
seaLne | ah | 08:27 |
seaLne | so it should be building it just now? | 08:27 |
mithro | yes | 08:27 |
seaLne | ah | 08:27 |
*** CarlFK has quit IRC | 08:30 | |
mithro | seaLne: it only builds on HDMI2USB target though | 08:30 |
seaLne | ok | 08:31 |
mithro | seaLne: I think setting PYTHONHASHSEED=0 has made the 2 hour timeout thing reliably reproducible... | 08:32 |
mithro | seaLne: you can see it building here -> https://travis-ci.org/timvideos/HDMI2USB-misoc-firmware/jobs/83922005#L948 | 08:32 |
tpb | Title: Travis CI - Test and Deploy Your Code with Confidence (at travis-ci.org) | 08:32 |
seaLne | shit | 08:55 |
seaLne | hmm did i push something wrong by accident | 08:56 |
mithro | seaLne: ? | 08:56 |
seaLne | ah no got confused by the flash on https://github.com/timvideos/HDMI2USB-misoc-firmware talking about my recently pushed copy-build branch and thought i'd pushed to upstream somehow | 08:57 |
tpb | Title: timvideos/HDMI2USB-misoc-firmware · GitHub (at github.com) | 08:57 |
mithro | seaLne: nope! :P | 08:57 |
seaLne | panic over | 08:57 |
*** travis-ci has joined #timvideos | 09:12 | |
travis-ci | [sealne/HDMI2USB-misoc-firmware/build-copy#25] (15ace3e): The build passed. (https://travis-ci.org/sealne/HDMI2USB-misoc-firmware/builds/84049586) | 09:12 |
*** travis-ci has left #timvideos | 09:12 | |
mithro | seaLne: Hows the pushing going? | 09:53 |
mithro | seaLne: It would probably be a good idea to save the log output of the build too | 09:54 |
seaLne | i'd wondered about that for the log | 09:55 |
mithro | https://www.irccloud.com/pastebin/FzrgGWfg/ | 09:55 |
tpb | Title: Pastebin | IRCCloud (at www.irccloud.com) | 09:55 |
mithro | seaLne: Looks like you have it mostly working? | 09:55 |
seaLne | i think i broke my repo when i tried to fixup :( | 09:55 |
mithro | seaLne: There is a line just before the non-shallow bit which says "Raw output saved in '/home/travis/build/sealne/HDMI2USB-misoc-firmware/build/output.2015_10_07.log' | 09:56 |
mithro | seaLne: I wonder if just capturing that log would be good enough? | 09:56 |
mithro | seaLne: How did you break it? | 09:57 |
seaLne | i don't seem to have any build-copy stuff anymore | 09:57 |
seaLne | i set the intitial commit to r, f the following ones and moved the clead picks to before the first one | 09:58 |
seaLne | s/clead/clean/ | 09:59 |
mithro | so, unless you did a "git gc" the commits will still be there | 10:01 |
seaLne | gitk doesn't show them | 10:01 |
mithro | seaLne: git has a thing called the "reflog" for precisely things like this | 10:01 |
mithro | seaLne: It'll let you get back to the old state | 10:01 |
seaLne | i haven't pushed so origin is still fine | 10:01 |
mithro | seaLne: btw you can use "gitk --all" to see everything at once | 10:03 |
mithro | it can be a bit confusing - but it is my preferred mode | 10:03 |
seaLne | git reset --hard 02f845098502f0904374f1ab4f53f5a78033ff88 got me back. is that a reasonable thing to do? | 10:03 |
mithro | seaLne: yes | 10:04 |
seaLne | not moving things about just rewording the first commit and fixup all up until the merge with master still leaves me with https://paste.kde.org/pu1utqy3i | 10:07 |
tpb | Title: KDE Paste (at paste.kde.org) | 10:07 |
mithro | seaLne: you are using "git rebase -i HEAD~30" again - this is most certainly not what you want | 10:07 |
mithro | you should always use a known tag for the rebase | 10:08 |
seaLne | so the tag that you want to start from? | 10:08 |
mithro | seaLne: It is "git rebase -i <location to put the rebased changes onto>" | 10:09 |
seaLne | not sure waht you mean by location there? | 10:09 |
seaLne | as in origin/copy-build? | 10:10 |
seaLne | build-copy | 10:10 |
mithro | seaLne: the commit (which you can use a symbolic name like a branch name instead) | 10:10 |
mithro | seaLne: "git rebase -i HEAD~30" says "take all commits which are not in HEAD~30 and put them on top of HEAD~30" | 10:13 |
mithro | seaLne: "git rebase -i origin/copy-build" says "take all the commits which are not in origin/copy-build and put them on top of origin/copy-build" | 10:13 |
seaLne | ah | 10:17 |
seaLne | except "git rebase -i origin/build-copy" just has "noop" in the file | 10:18 |
mithro | seaLne: that means there is nothing in your branch which isn't already in origin/build-copy | 10:19 |
seaLne | Rebase 02f8450..02f8450 onto 02f8450 would be the problem? | 10:19 |
mithro | seaLne: you probably want upstream/master | 10:19 |
seaLne | yeah i want to fixup my millions of commits | 10:19 |
mithro | seaLne: so I recommend adding an "upstream" remote so you can do things like "git rebase -i upstream/master" | 10:19 |
mithro | seaLne: you can do that with "git remote add upstream http://github.com/timvideos/HDMI2USB-misoc-firmware.git && git fetch upstream" | 10:20 |
tpb | Title: timvideos/HDMI2USB-misoc-firmware · GitHub (at github.com) | 10:20 |
*** springermac has quit IRC | 10:20 | |
seaLne | aha yeah that looks like it | 10:20 |
*** springermac has joined #timvideos | 10:21 | |
seaLne | mithro: for the log could i just create a readme with a link to travis? | 10:27 |
mithro | seaLne: Travis output doesn't get the full log output | 10:28 |
seaLne | how do we get it then? | 10:31 |
mithro | 8:54 PM <@mithro> seaLne: There is a line just before the non-shallow bit which says "Raw output saved in '/home/travis/build/sealne/HDMI2USB-misoc-firmware/build/output.2015_10_07.log' | 10:32 |
mithro | 8:54 PM <@mithro> seaLne: I wonder if just capturing that log would be good enough? | 10:32 |
seaLne | ah sorry missed that | 10:33 |
mithro | What is COPY_REPO_OWNER ? | 10:44 |
seaLne | sealne or timvideos | 10:47 |
seaLne | copying the log seems fine https://travis-ci.org/sealne/HDMI2USB-misoc-firmware/jobs/84065979 | 10:49 |
tpb | Title: Travis CI - Test and Deploy Your Code with Confidence (at travis-ci.org) | 10:49 |
seaLne | mithro: how can i un-change .travis.yml? i guess something broke when i was removing using the token in there | 10:53 |
mithro | seaLne: "git checkout upstream/master .travis.yml" | 10:54 |
mithro | seaLne: despite all my comments this looks really good! | 10:59 |
mithro | seaLne: Thanks for this... | 11:00 |
mithro | seaLne: btw we have two options, we can merge with the minor fixes required and then you can send another pull request with the stuff moved into its own reusable script, or we can wait until you do it | 11:02 |
seaLne | mithro: sorry i'm a bit unsure what you are meaning by "FYI - This script is actually also used outside travis for building the Xilinx package...."? | 11:06 |
mithro | seaLne: FYI == For your information | 11:07 |
seaLne | the lack of GITHUB_TOKEN should stop anything else trying to upload the files | 11:07 |
seaLne | i ment the rest of that comment | 11:07 |
mithro | seaLne: Yeah - I think your changes are fine with that, just wanted to make sure you knew we used it outside of travis despite it being in a .travis directory | 11:08 |
seaLne | that should fix not displaying error | 11:12 |
mithro | ? | 11:13 |
seaLne | https://github.com/sealne/HDMI2USB-misoc-firmware/commit/c31514a1569546d22e079c05e11b636e62486e86 | 11:13 |
tpb | Title: Only display token error if being run in travis · sealne/HDMI2USB-misoc-firmware@c31514a · GitHub (at github.com) | 11:13 |
mithro | seaLne: I wonder if we are doing a "stable release" if we might want to use this script? | 11:14 |
seaLne | will we not just symlink stable to the build? | 11:14 |
seaLne | mithro: hmm where did this come from https://travis-ci.org/sealne/HDMI2USB-misoc-firmware/jobs/84069015#L192 | 11:17 |
tpb | Title: Travis CI - Test and Deploy Your Code with Confidence (at travis-ci.org) | 11:17 |
mithro | seaLne: good question | 11:17 |
mithro | scripts/get-env.sh: line 4: realpath: command not found | 11:17 |
seaLne | yeah | 11:17 |
mithro | seaLne: if you look above travis had a bit of a screw up | 11:18 |
mithro | Failed to fetch http://us.archive.ubuntu.com/ubuntu/pool/main/r/realpath/realpath_1.16_amd64.deb Unable to connect to us.archive.ubuntu.com:http: [IP: 91.189.91.13 80] | 11:18 |
mithro | E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?\ | 11:18 |
seaLne | ah yeah. thought it was weird that would break there | 11:19 |
*** travis-ci has joined #timvideos | 11:21 | |
travis-ci | [sealne/HDMI2USB-misoc-firmware/master#26] (f13c17a): The build has errored. (https://travis-ci.org/sealne/HDMI2USB-misoc-firmware/builds/84051379) | 11:21 |
*** travis-ci has left #timvideos | 11:21 | |
seaLne | getting too used to going straight to the bottom of the log to look at my stuff :) | 11:23 |
mithro | seaLne: yeah | 11:23 |
seaLne | mithro: what do you want to do about the token for travis in timvideos? should it do this as "timvideos"? | 11:24 |
mithro | seaLne: yeah | 11:25 |
mithro | seaLne: take a look at the travis build for some of the websites? | 11:25 |
seaLne | none seem to say what "timvideos" email address is? i can change COPY_REPO_OWNER and the user.email/name in the branch and then you can add the token in travis? https://github.com/timvideos/HDMI2USB-firmware-prebuilt needs updated first though | 11:29 |
tpb | Title: timvideos/HDMI2USB-firmware-prebuilt · GitHub (at github.com) | 11:29 |
mithro | seaLne: actually can we reuse the information from the person who pushed the commit? | 11:29 |
seaLne | thats an idea. assuming github doesn't mind that being "forged" not sure how to find out though | 11:30 |
mithro | seaLne: yeah | 11:30 |
mithro | seaLne: The TimVideos robot would still be the committer - the other person would be the author? | 11:32 |
seaLne | robot? it would be whosever token it was that would be the committer | 11:33 |
seaLne | ie we set user.name/email some how to whoever made the last commit and hope that is displayed when viewing the file? | 11:34 |
mithro | https://github.com/timvideos/planet/commits/gh-pages | 11:34 |
tpb | Title: Commits · timvideos/planet · GitHub (at github.com) | 11:34 |
mithro | https://github.com/timvideos-robot | 11:34 |
tpb | Title: timvideos-robot (TimVideos.us Robot) · GitHub (at github.com) | 11:35 |
mithro | :) | 11:35 |
seaLne | so you mean use a token from timvideos-robot? | 11:35 |
mithro | seaLne: yes | 11:37 |
seaLne | ok | 11:37 |
seaLne | btw who is doing the Low speed I/O” TOFE board design? | 11:38 |
mithro | Numato | 11:38 |
seaLne | k | 11:39 |
seaLne | shame presumably the IO board can't be used at the same time as VGA | 11:40 |
mithro | seaLne: correct | 11:40 |
seaLne | right so what do you think the plan is now to finish the build-copy? | 11:41 |
mithro | seaLne: How long do you think it'll take to do the changes I asked in the pull request? | 11:42 |
seaLne | well i can't add the token or tidy up prebuilt repo | 11:43 |
mithro | seaLne: I've done the tidy up and can add the token | 11:44 |
seaLne | https://github.com/timvideos/HDMI2USB-firmware-prebuilt doesn't look fixed? | 11:46 |
tpb | Title: timvideos/HDMI2USB-firmware-prebuilt · GitHub (at github.com) | 11:46 |
mithro | https://github.com/mithro/HDMI2USB-firmware-prebuilt <-- that looks right? | 11:46 |
tpb | Title: mithro/HDMI2USB-firmware-prebuilt · GitHub (at github.com) | 11:47 |
seaLne | stable and testing symlinks shouldn't exist till we have something to point them at | 11:47 |
mithro | seaLne: I want to link to the firmware revision that carl uses as testing for now | 11:48 |
seaLne | ok | 11:49 |
seaLne | just looking at ways to get committer name/email | 11:50 |
xfxf | mithro: i reported a month or two back (and created github tickets) for two of my monitors that would not accept any output from the HDMI2USB | 11:53 |
xfxf | it's still happening on the latest firmware | 11:53 |
xfxf | neither monitor detects output | 11:53 |
xfxf | and yes, tried setting to DVI input, doesn't work | 11:53 |
mithro | xfxf: hrm - we have fixed every other monitor | 11:53 |
mithro | xfxf: first, can you check what resolutions the monitor actually supports? | 11:54 |
xfxf | both work with my xbox 360 at 720p / 1080p as i've used them for gaming before | 11:54 |
xfxf | but will dig up specs | 11:54 |
xfxf | not finding any 'all resolutions supported' info | 11:57 |
xfxf | the monitors are: | 11:57 |
xfxf | dell u2713hm, BenQ XL2411T | 11:57 |
mithro | xfxf: read the edid | 11:57 |
xfxf | i'm 99% positive i've used 720p50 with both with a gaming console before | 11:57 |
mithro | xfxf: I'm not after hearsay - tell me what the EDID of the monitor says | 11:58 |
seaLne | mithro: i think that should now use the last committer for uploading | 12:01 |
xfxf | sure, once i figure out how to do that on a mac | 12:01 |
mithro | xfxf: stop using crappy operating systems ;) | 12:01 |
seaLne | mithro: err no it won't need to get git stuff from right repo for setting this duh | 12:03 |
seaLne | will this work assuming its define earlier git config user.email "$ORIG_COMMITTER_EMAIL" | 12:05 |
seaLne | will bash and git play happily there? | 12:06 |
mithro | seaLne: not sure | 12:06 |
xfxf | https://usercontent.irccloud-cdn.com/file/nrTvUEg4/DELL%20U2713H.txt https://usercontent.irccloud-cdn.com/file/3nSK4KqC/BenQ%20xl2411t.txt | 12:07 |
xfxf | mithro: those work? | 12:07 |
seaLne | looks like it will | 12:08 |
mithro | xfxf: It does look like it supports 720p @ 60Hz and 720p @ 50Hz | 12:10 |
xfxf | yep, no output from the hdmi2usb though | 12:10 |
mithro | xfxf: next step is to plug in a laptop to the monitor that you can configure to a give resolution | 12:10 |
xfxf | neither detect output | 12:10 |
xfxf | yep, sure, did that to get you those edid dumps | 12:10 |
mithro | xfxf: and then force the resolution to 720p60 and see what happens | 12:11 |
xfxf | done, getting output on the dell | 12:11 |
mithro | and I don't mean using a Mac which might be lying to you | 12:11 |
xfxf | i'm using SwitchResX to force the resolution so personally actually trust it's doing what it says | 12:13 |
xfxf | don't have any linux boxes here with HDMI out | 12:13 |
*** springermac has quit IRC | 12:13 | |
xfxf | will in a few days but trying to get this tested+working for another meetup tomorrow night | 12:13 |
*** springermac has joined #timvideos | 12:14 | |
xfxf | and tried both on a windows machine using nvidia control panel/tool to force to 720p@60, both work | 12:16 |
mithro | xfxf: okay | 12:16 |
xfxf | wait, never mind, now it's working | 12:18 |
mithro | xfxf: have you got the jumpers right? | 12:18 |
xfxf | i unplugged my second input (camera) | 12:19 |
xfxf | i'll investigate to see what was happening | 12:19 |
xfxf | and yes was using video_mode and video_matrix to set/connect things | 12:19 |
xfxf | ah | 12:19 |
xfxf | i turn camera on | 12:19 |
xfxf | HDMI2USB>dvisampler1: FIFO overflow | 12:19 |
xfxf | it's outputting a wierd resolution though | 12:20 |
mithro | xfxf: if you aren't getting it 100s of times then it is fine | 12:20 |
mithro | xfxf: did you forget to turn on the outputs? | 12:20 |
xfxf | no, they were on | 12:20 |
mithro | xfxf: I mean in the firmware | 12:21 |
xfxf | i know that's what you mean - yes, turned output0 on | 12:21 |
xfxf | hmm, now i'm getting hanging at [FLTERM] Starting | 12:30 |
xfxf | power cycled board + ran 'make load' three times now, ends up there | 12:30 |
mithro | xfxf: define hang? | 12:30 |
mithro | xfxf: did you try hitting enter? | 12:30 |
xfxf | of course | 12:30 |
xfxf | by hang nothing happens | 12:30 |
xfxf | no response to any input | 12:31 |
mithro | xfxf: I can't look over your shoulder - can you paste an example of what your screen looks like? | 12:31 |
xfxf | https://usercontent.irccloud-cdn.com/file/ubY8nHmY/Screen%20Shot%202015-10-07%20at%2023.29.28.png | 12:31 |
xfxf | that's turning off board, turning on board, 'make load' | 12:31 |
xfxf | normally i'd push enter there and get a console, nothing | 12:32 |
mithro | xfxf: if you didn't flash the board correctly then flterm won't show anything | 12:32 |
mithro | xfxf: I think the error is further up | 12:32 |
xfxf | https://www.irccloud.com/pastebin/sxTOedgY/ | 12:33 |
tpb | Title: Pastebin | IRCCloud (at www.irccloud.com) | 12:33 |
mithro | Okay | 12:34 |
mithro | you didn't set "PROG=fpgalink" | 12:34 |
xfxf | ah | 12:34 |
mithro | It's interesting that it didn't fail at that step | 12:34 |
xfxf | ok, these instructions need updating i think | 12:34 |
xfxf | they refer to some out of date stuff so it's not clear on what is or isn't right anymore | 12:34 |
mithro | Data width read from the bitstream file = 1. | 12:34 |
mithro | INFO:iMPACT:501 - '1': Added Device xc6slx45 successfully. | 12:34 |
mithro | ---------------------------------------------------------------------- | 12:34 |
mithro | ---------------------------------------------------------------------- | 12:34 |
mithro | >ERROR:iMPACT:1075 - setCable must be set before this operation. | 12:34 |
mithro | xfxf: can you log a bug about that error not causing `make load` to stop? | 12:35 |
mithro | xfxf: can you also fix that bug? :P | 12:35 |
mithro | xfxf: we should probably make PROG=fpgalink the default these days | 12:35 |
xfxf | more than happy + want to hack on this, just trying to remain focused to get a repeatable working process at the moment so i can attempt recording | 12:36 |
xfxf | and yeah, agreed | 12:36 |
*** travis-ci has joined #timvideos | 12:40 | |
travis-ci | [sealne/HDMI2USB-misoc-firmware/build-copy#30] (11d4635): The build has errored. (https://travis-ci.org/sealne/HDMI2USB-misoc-firmware/builds/84065978) | 12:40 |
*** travis-ci has left #timvideos | 12:40 | |
seaLne | mithro: i think the build-copy is ready? | 12:44 |
mithro | seaLne: okay - I need to push my branch into prebuilt first, right? | 12:44 |
seaLne | yes | 12:44 |
seaLne | then add the token and make sure the robot has commit to prebuilt | 12:45 |
mithro | seaLne: done! | 12:46 |
mithro | seaLne: adding token now | 12:46 |
xfxf | mithro: input1 doesn't seem to be working properly for me - is there a jumper i might need to pull or something? | 12:47 |
mithro | xfxf: its a bit complicated | 12:48 |
mithro | xfxf: actually! | 12:48 |
mithro | xfxf: take a look a the matrix help | 12:48 |
mithro | it describes how the https://github.com/timvideos/HDMI2USB-misoc-firmware/blob/master/platforms/atlys.py#L531 | 12:49 |
tpb | Title: HDMI2USB-misoc-firmware/atlys.py at master · timvideos/HDMI2USB-misoc-firmware · GitHub (at github.com) | 12:49 |
seaLne | mithro: rebuild https://travis-ci.org/timvideos/HDMI2USB-misoc-firmware/builds/84079664 once you've done that maybe before accepting pull request? | 12:49 |
tpb | Title: Travis CI - Test and Deploy Your Code with Confidence (at travis-ci.org) | 12:49 |
mithro | seaLne: pull requests can't build the full firmware | 12:50 |
seaLne | no access to XILINX... ? | 12:51 |
mithro | seaLne: yeah | 12:51 |
xfxf | ta, pins were wrong | 12:51 |
xfxf | testing again | 12:51 |
seaLne | i guess makes sense | 12:51 |
mithro | seaLne: I'm going to merge as is | 12:53 |
* seaLne crosses fingers | 12:54 | |
xfxf | nope | 12:54 |
xfxf | sorry, it's input0 which isn't working properly | 12:54 |
xfxf | input1 works fine with multiple inputs | 12:54 |
xfxf | https://www.irccloud.com/pastebin/IkPiUYHu/ | 12:54 |
tpb | Title: Pastebin | IRCCloud (at www.irccloud.com) | 12:54 |
xfxf | if i swap input0 + input1 connections, exactly the same (as in, input0 still not working, but the opposite device now outputs to hdmi2usb fine) | 12:55 |
xfxf | mithro: any idea? | 12:57 |
mithro | xfxf: you checked all the jumpers? Is the device seeing the board? | 12:57 |
xfxf | yes checked all jumpers according to that matrix help | 12:59 |
xfxf | not sure what you mean by latter question | 12:59 |
xfxf | oh, sorry, right | 12:59 |
xfxf | no, it's not | 12:59 |
mithro | xfxf: can you try setting video_mode while the device is still plugged in? | 13:00 |
seaLne | any idea roughly how many people have atlys boards they are using? | 13:00 |
mithro | seaLne: 2-3 people I think | 13:00 |
xfxf | mithro: i did, didn't fix it | 13:01 |
seaLne | we should swap over default build target at some point | 13:01 |
mithro | xfxf: what is the device? | 13:01 |
mithro | seaLne: Yes probably | 13:01 |
xfxf | device(s). one is my mac, one is a canon XA20 set to 720p50 out | 13:01 |
xfxf | both work perfectly on input1 | 13:01 |
xfxf | neither work on input0 | 13:01 |
xfxf | i think this was the original problem i had when i said 'it wasn't working, oh wait, now it is' | 13:02 |
xfxf | i probably swapped inputs during diagnosis | 13:02 |
mithro | xfxf: okay, we haven't seen that one before | 13:02 |
xfxf | what should i do? | 13:07 |
mithro | xfxf: I don't know - try and see if you can get anything detected on input0? | 13:08 |
mithro | xfxf: you only have one Atlys board right? | 13:08 |
xfxf | only one yes | 13:08 |
xfxf | so can't easily rule HW issue | 13:08 |
mithro | seaLne: hrm - https://travis-ci.org/timvideos/HDMI2USB-misoc-firmware/jobs/84087821#L1531 ? | 13:09 |
tpb | Title: Travis CI - Test and Deploy Your Code with Confidence (at travis-ci.org) | 13:09 |
seaLne | its called GITHUB_TOKEN ? | 13:10 |
mithro | seaLne: oh - everything else uses GH_TOKEN | 13:10 |
seaLne | other timvideos travis stuff you mean already uses one? | 13:11 |
mithro | xfxf: we effectively run the same "gateware" on both inputs | 13:12 |
xfxf | i can't get anything on input0 | 13:12 |
mithro | seaLne: yeah - many of the ruby tools use that name | 13:12 |
mithro | xfxf: do you have two outputs connected? | 13:12 |
xfxf | only one | 13:13 |
mithro | xfxf: to output0 ? | 13:13 |
xfxf | yes | 13:13 |
mithro | xfxf: and you are sure you are connecting to the right connectors? | 13:14 |
mithro | xfxf: using the same cable? | 13:14 |
xfxf | yes and yes but tried different cables too | 13:14 |
xfxf | https://usercontent.irccloud-cdn.com/file/6kd1zdX1/20151008_001535.jpg | 13:18 |
xfxf | input top right is one not working at all | 13:18 |
xfxf | er sorry | 13:18 |
xfxf | let me verify | 13:18 |
xfxf | bottom left rather | 13:19 |
xfxf | not working at all | 13:19 |
xfxf | same source, same cable, plug into the other hdmi on on top right, works fine | 13:19 |
mithro | Well | 13:19 |
mithro | firstly | 13:19 |
mithro | * JP4 has a jumper (it connects / disconnects 5V to HDMI pin 18). | 13:19 |
mithro | is not done in your photo | 13:20 |
xfxf | yeah | 13:20 |
xfxf | i know | 13:20 |
xfxf | it's fixed | 13:20 |
xfxf | i disconnected it before to test | 13:20 |
xfxf | connected again, same problem | 13:20 |
xfxf | sorry, should have altered before taking photo | 13:20 |
mithro | SCL and SDA / JP2 have the jumpers correct right? | 13:21 |
xfxf | i believe so, followed instructions | 13:21 |
mithro | xfxf: the next step would be to use the edid_debug target to figure out if you are seeing anything. | 13:24 |
mithro | xfxf: but _florent_ hasn't written up any instructions on how to use that | 13:24 |
mithro | xfxf: https://github.com/timvideos/HDMI2USB-misoc-firmware/blob/master/targets/atlys_edid_debug.py | 13:25 |
tpb | Title: HDMI2USB-misoc-firmware/atlys_edid_debug.py at master · timvideos/HDMI2USB-misoc-firmware · GitHub (at github.com) | 13:25 |
mithro | xfxf: I would try and get CarlFK to see if he can reproduce | 13:25 |
xfxf | what is required to get my mac to recognise the hdmi2usb as a capture device? | 13:28 |
xfxf | it doesn't seem to be | 13:28 |
mithro | xfxf: that is a good question - I do not know | 13:28 |
mithro | xfxf: Need to figure out how our UVC device differs from a UVC device it likes | 13:29 |
xfxf | hmm interesting side effect with my XA20 too | 13:30 |
xfxf | hdmi2usb doesn't see any input unless i go into the camera, change the resolution to something else, then back to 720p | 13:30 |
xfxf | if i power cycle the hdmi2usb or camera, doesn't work until i do the above | 13:30 |
xfxf | unsure if hdmi2usb or xa20 bug | 13:30 |
xfxf | xa20 works fine on my atem gear though | 13:31 |
xfxf | hmm | 13:32 |
xfxf | i gotta go to bed | 13:32 |
xfxf | i might postpone this recording tomorrow, i can't even get this working locally | 13:33 |
xfxf | ta for help, talk tomorrow | 13:33 |
mithro | xfxf: you mean run "video_mode 9"? | 13:33 |
xfxf | mithro: no, change the modes on the camera itself | 13:33 |
mithro | xfxf: interesting | 13:33 |
xfxf | also | 13:34 |
xfxf | on linux | 13:34 |
xfxf | it seems random that /dev/video0 actually shows up | 13:34 |
xfxf | i'm yet to actually get capture from it | 13:34 |
xfxf | something is flakey as hell | 13:35 |
xfxf | that said it might be USB passthrough on my VM | 13:35 |
xfxf | hence ordering a dedicated laptop | 13:35 |
mithro | xfxf: what do you mean "seems random that /dev/video0 shows up"? | 13:35 |
xfxf | https://www.irccloud.com/pastebin/wnGhmaxP/ | 13:35 |
tpb | Title: Pastebin | IRCCloud (at www.irccloud.com) | 13:35 |
xfxf | it's either there or it isn't | 13:35 |
xfxf | it goes away randomly | 13:35 |
xfxf | i don't know how to articulate it any more than that | 13:35 |
mithro | xfxf: that doesn't mean much unless you tell me what happens inbetween | 13:35 |
xfxf | right now it's not there but i am connected to the HDMI2USB console perfectly | 13:35 |
xfxf | nothing happens in between that i'm aware of | 13:36 |
xfxf | it's there | 13:36 |
xfxf | next it ins't | 13:36 |
xfxf | dmesg doesn't indicate any USB connects/disconnects | 13:36 |
mithro | xfxf: something is obviously happening :) | 13:36 |
xfxf | sure, but i can't see what | 13:36 |
xfxf | https://www.irccloud.com/pastebin/hz8MQg3K/e | 13:36 |
tpb | Title: Pastebin | IRCCloud (at www.irccloud.com) | 13:37 |
xfxf | is earlier from dmesg, but fyi | 13:37 |
xfxf | hmm also | 13:37 |
xfxf | https://www.irccloud.com/pastebin/warZyFb5/ | 13:37 |
xfxf | vs | 13:37 |
tpb | Title: Pastebin | IRCCloud (at www.irccloud.com) | 13:37 |
xfxf | https://www.irccloud.com/pastebin/vdAHa1cw/ | 13:37 |
tpb | Title: Pastebin | IRCCloud (at www.irccloud.com) | 13:37 |
xfxf | i have no idea why they're reporting differently | 13:37 |
xfxf | both are with 'make load' after a power cycle and connecting to the hdmi2usb board perfectly | 13:38 |
mithro | xfxf: the second one is when the FX2 is in JTAG programmer mode | 13:38 |
xfxf | something is flaky - i can be more specific if you tell me what i should be looking at | 13:38 |
mithro | the first one is when operating in HDMI2USB mode | 13:38 |
xfxf | OK, but remember i'm not explicitly calling things myself, i'm just doing 'make load' in an attempt to get it to capture | 13:38 |
mithro | make load does 3 steps | 13:39 |
mithro | make load-gateware | 13:39 |
mithro | make load-lm32 | 13:39 |
mithro | make load-fx2 | 13:39 |
mithro | make load-gateware with PROG=fpgalink will cause the FX2 to go into the Makestuff mode | 13:39 |
xfxf | yeah, sure, i get that | 13:39 |
xfxf | oh, wait, sorry | 13:39 |
xfxf | above is probably hapening during the 3 steps of make load | 13:39 |
mithro | make load-fx2 will cause the FX2 to into the Product: HDMI2USB mode | 13:40 |
xfxf | i was trying to imply that i was doing the 'same thing' and getting different results | 13:40 |
xfxf | but, right | 13:40 |
xfxf | i'm not clear at all on what i'm supposed to do to actually be able to capture from it then | 13:40 |
xfxf | i figured 'make load', get to the console, setup the right modes/matrix/output, then i'll have a /dev/video0 device to capture from | 13:40 |
xfxf | i don't get the latter | 13:40 |
mithro | every time either of those things happen, the FX2 will disconnect and reconnect to the USB bus, so you will see "USB disconnect" and "new high speed device" | 13:41 |
mithro | make load-fx2 doesn't happen until after make load-lm32 finishes - IE you close the console | 13:41 |
mithro | https://github.com/timvideos/HDMI2USB-misoc-firmware/issues/90 | 13:41 |
tpb | Title: `make load-lm32` should actually load the firmware and then exit · Issue #90 · timvideos/HDMI2USB-misoc-firmware · GitHub (at github.com) | 13:41 |
xfxf | ok, so how do i capture from the device at the same time as being able to change inputs? | 13:41 |
xfxf | because that is my goal | 13:41 |
mithro | make load-gateware; make load-fx2; make connect-lm32 | 13:42 |
xfxf | is that a different order than what 'make load' does, and if so, why> | 13:42 |
mithro | xfxf: yes | 13:42 |
mithro | xfxf: make load does a "make load-gateware; make load-lm32; make load-fx2" | 13:43 |
mithro | which would make sense if Issue #90 was fixed | 13:43 |
xfxf | not working | 13:44 |
xfxf | i'm going to go to bed, i'll work on this again on the weekend | 13:44 |
xfxf | nite | 13:44 |
mithro | xfxf: this works for me "PROG=fpgalink make load-gateware; make load-fx2; make connect-lm32" | 13:46 |
xfxf | that's exactly what i tried | 13:48 |
xfxf | i just get the FLTERM starting prompt without the console actually starting | 13:48 |
mithro | did make load-gateware succeed? | 13:49 |
mithro | replace ; with && | 13:49 |
*** travis-ci has joined #timvideos | 13:50 | |
travis-ci | [timvideos/HDMI2USB-misoc-firmware/master#214] (3b0f648): The build failed. (https://travis-ci.org/timvideos/HDMI2USB-misoc-firmware/builds/84087820) | 13:50 |
*** travis-ci has left #timvideos | 13:50 | |
mithro | seaLne: https://travis-ci.org/timvideos/HDMI2USB-misoc-firmware/jobs/84087821#L1548 | 13:52 |
tpb | Title: Travis CI - Test and Deploy Your Code with Confidence (at travis-ci.org) | 13:52 |
xfxf | okay, getting capture now, but the USB passthrough is not coping with the bandwidth | 13:54 |
xfxf | getting epic MPEG corruption | 13:54 |
xfxf | mjpeg* | 13:54 |
xfxf | i zink i'll wait until i have a dedicated laptop for this | 13:55 |
xfxf | unless i can figure out how to get the mac to see it as a valid UVC device | 13:55 |
xfxf | actually, it recognises it out of the box | 13:59 |
xfxf | again, USB passthrough wierdness was occuring | 13:59 |
xfxf | not getting video data from it thoug | 14:00 |
xfxf | h | 14:00 |
mithro | did you turn the encoder on? | 14:00 |
xfxf | yes | 14:00 |
mithro | what does status show? | 14:00 |
xfxf | https://www.irccloud.com/pastebin/eFAIBZ0z/ | 14:01 |
tpb | Title: Pastebin | IRCCloud (at www.irccloud.com) | 14:01 |
mithro | xfxf: I'm unsure if we advertise the right resolution in the usb firmware | 14:01 |
mithro | @ 0 fps means something isn't reading the encoder data | 14:01 |
xfxf | correct, OS X doesn't seem to actually read it | 14:01 |
xfxf | gives the hdmi2usb as a valid capture device but won't capture from it | 14:02 |
xfxf | livestream producer shows 'no data', vlc just defaults to the next capture card | 14:02 |
mithro | xfxf: this isn't something I can debug remotely, we will have to investigate another time | 14:05 |
mithro | xfxf: I do know Linux is probably the most forgiving | 14:05 |
mithro | seaLne: there are a couple of small things which need to be done before the Opsis is the preferred device for doing HDMI2USB recording | 14:08 |
*** travis-ci has joined #timvideos | 14:19 | |
travis-ci | [sealne/HDMI2USB-misoc-firmware/build-copy#35] (0dcb924): The build has errored. (https://travis-ci.org/sealne/HDMI2USB-misoc-firmware/builds/84079656) | 14:19 |
*** travis-ci has left #timvideos | 14:19 | |
mithro | seaLne: It is unclear to me which command failed? | 14:36 |
*** rohitksingh has joined #timvideos | 14:41 | |
seaLne | mithro: its the push i think. just to confirm things are as i think they are, there is the travis variable GITHUB_TOKEN with the token from timvideos-robot? and timvideos-robot has commit privs for HDMI2USB-firmware-prebuilt? | 15:33 |
mithro | seaLne: yes I added that | 15:33 |
mithro | Oh wait | 15:33 |
mithro | seaLne: Need to check is the robot has push access | 15:34 |
mithro | seaLne: any idea why there isn't an error message? | 15:34 |
seaLne | probably the redirect to /dev/null to not show the token | 15:34 |
seaLne | the other possibility is that github doesn't like setting user.name/email to something other than the account that is commiting? | 15:40 |
seaLne | i think that is less likely though | 15:40 |
mithro | seaLne: you can use the method the XILINX_PASSPHRASE uses to make sure you don't echo it | 15:41 |
seaLne | the things i read suggested the token would be mentioned when you pushed | 15:41 |
seaLne | i wanted to be very sure that didn't happen | 15:42 |
mithro | seaLne: ? the secure values never end up even getting into a pull request environment | 15:42 |
seaLne | you could be right, i wanted to err on the safe side | 15:43 |
seaLne | does the robot have commit rights? | 15:45 |
mithro | seaLne: Otherwise I could just send a pull request with "echo $XXXX" in the .travis.yml file :) | 15:45 |
mithro | seaLne: they did not | 15:46 |
*** se6astian is now known as se6astian|away | 15:46 | |
mithro | seaLne: Trying with pushing access enabled :) | 15:48 |
*** travis-ci has joined #timvideos | 15:56 | |
travis-ci | [timvideos/HDMI2USB-misoc-firmware/master#214] (3b0f648): The build failed. (https://travis-ci.org/timvideos/HDMI2USB-misoc-firmware/builds/84087820) | 15:56 |
*** travis-ci has left #timvideos | 15:56 | |
seaLne | w00t :) | 15:57 |
*** CarlFK has joined #timvideos | 15:57 | |
*** ChanServ sets mode: +v CarlFK | 15:57 | |
mithro | seaLne: https://github.com/timvideos/HDMI2USB-firmware-prebuilt/tree/master/archive/v0.0.0-396-g3b0f648/atlys/base | 16:00 |
tpb | Title: HDMI2USB-firmware-prebuilt/archive/v0.0.0-396-g3b0f648/atlys/base at master · timvideos/HDMI2USB-firmware-prebuilt · GitHub (at github.com) | 16:00 |
mithro | seaLne: so - what happens if two builds complete in a similar amount of time? | 16:01 |
mithro | seaLne: IE You can't push because another push has happened while you where committing.... | 16:01 |
seaLne | hmm maybe there should be a pull at the start of each target build? | 16:02 |
seaLne | no that wouldn't quite cover all of that | 16:03 |
seaLne | i'll have a think | 16:03 |
mithro | seaLne: I think if you might want to just wrap the "git push --quiet origin master > /dev/null 2>&1" stuff in a loop which does a "git pull; git push;" a couple of times? | 16:03 |
seaLne | you still might get some of the files of one of the other builds? | 16:04 |
mithro | or even just retry the whole uploading upload step? | 16:04 |
seaLne | or do the checkout to a suffix directory? | 16:05 |
mithro | seaLne: the builds should all end up in separate directories right? | 16:05 |
seaLne | HDMI2USB-firmware-prebuilt-atlys-base for example | 16:05 |
seaLne | they are uploaded to different places | 16:06 |
mithro | seaLne: yeah | 16:06 |
mithro | seaLne: so the only problem is the fact that git push will fail because commits exist that are not local | 16:06 |
seaLne | you could still plausibly get something pushed in between a pull and add,commit,push | 16:07 |
mithro | seaLne: yeah | 16:08 |
seaLne | which is about as close as you could get the pull | 16:08 |
mithro | seaLne: it's pretty unlikely - but not impossible | 16:08 |
mithro | seaLne: I wonder if the archive also needs a "travis build ID" or something? | 16:09 |
mithro | seaLne: If I click rebuild on travis, it'll overwrite the old version for that git ID right? | 16:09 |
seaLne | there should definitly be another pull before the add, we can see if we actually end up with things happening after that | 16:09 |
seaLne | yes | 16:09 |
seaLne | but the travis build id would still be the same | 16:10 |
mithro | I guess it will still appear in the git history | 16:10 |
seaLne | this is intended to be a simple way for people to get the latest builds not to deploy a phone network on so i'd be tempted to see how it goes in real life :) | 16:11 |
mithro | seaLne: I'm planning on using it in the https://github.com/timvideos/HDMI2USB-misoc-firmware/issues/82 tool | 16:12 |
tpb | Title: Create a tool to manage the download and flashing of the HDMI2USB firmware · Issue #82 · timvideos/HDMI2USB-misoc-firmware · GitHub (at github.com) | 16:12 |
mithro | seaLne: oh! We should generate a md5sum file for the content | 16:13 |
CarlFK | mithro: any chance of that being ready in about 28 hours? | 16:13 |
mithro | CarlFK: not a chance in hell unless you are planning on working on it | 16:13 |
CarlFK | I am planning on recording another show in about 40 hours. | 16:14 |
seaLne | CarlFK: i think the build in https://github.com/sealne/HDMI2USB-firmware-prebuilt/tree/master/archive/v0.0.0-416-g02f8450/atlys/hdmi2usb is probably good | 16:14 |
tpb | Title: HDMI2USB-firmware-prebuilt/archive/v0.0.0-416-g02f8450/atlys/hdmi2usb at master · sealne/HDMI2USB-firmware-prebuilt · GitHub (at github.com) | 16:14 |
CarlFK | I am heading the gate - boarding starts in 15 min | 16:16 |
CarlFK | then 17 hours in the air, 2 hour layover, 2 more hours and I am back in chicago. | 16:16 |
seaLne | mithro: you could click the rebuild on 214.2 ? | 16:16 |
mithro | CarlFK: I can find the board on the system in the various states reasonably reliably | 16:16 |
seaLne | ah they are already running now | 16:17 |
mithro | CarlFK: I can also detect if drivers have been bound to the USB device and unbind them | 16:17 |
mithro | CarlFK: things left todo are | 16:17 |
mithro | CarlFK: (a) Get the loading of stuff onto the FPGA | 16:18 |
seaLne | mithro: so for fixes to a pull request that have been applied what is your prefered workflow? | 16:18 |
mithro | CarlFK: (b) Get the "flashing" part working | 16:18 |
mithro | seaLne: send new pull request | 16:18 |
mithro | seaLne: Not really anything else you can do... | 16:18 |
CarlFK | mithro: my plan once I get to chicago is try to flash the "probably good" files using the make commands I have been using | 16:18 |
seaLne | can i still use my build-copy branch or should i create a new branch? | 16:19 |
CarlFK | and then whip though the few hdmi sources I have around the house | 16:19 |
mithro | CarlFK: "flash" is different from "load into ram" | 16:19 |
CarlFK | k | 16:19 |
*** Bertl is now known as Bertl_oO | 16:19 | |
CarlFK | whatever it is I have been doing | 16:19 |
CarlFK | not enough time for any R&D for another 4 or 5 days | 16:20 |
mithro | CarlFK: flashing is highly dangerous because if you flash bad contents the only way to recover the board is to use an external JTAG programmer | 16:20 |
CarlFK | yeah, none of that for now | 16:20 |
seaLne | does the opsis in theory support loading gateware from an EEPROM somehere? i haven't looked closely enough to see if it has one | 16:21 |
mithro | seaLne: the Opsis has SPI flash which the gateware can be flashed into | 16:22 |
seaLne | k | 16:22 |
CarlFK | bb in either 5 min or 30 hours... bye! | 16:22 |
mithro | seaLne: the Atlys does too | 16:22 |
*** CarlFK has quit IRC | 16:22 | |
seaLne | yeah, wasn't sure about the opsis | 16:22 |
mithro | seaLne: the Atlys also has an EEPROM the .hex file can be burnt into | 16:22 |
mithro | seaLne: the Opsis doesn't have that EEPROM, but the FPGA is able to pretend to be the EEPROM | 16:23 |
mithro | seaLne: this allows us to put multiple .hex files on the board and have the FX2 appear as different devices depending on if the power button was held down while booting | 16:23 |
mithro | seaLne: but that doesn't quite work yet :P | 16:24 |
seaLne | heh | 16:24 |
*** se6astian|away is now known as se6astian | 16:25 | |
mithro | seaLne: It is on my TODO list :) | 16:27 |
*** travis-ci has joined #timvideos | 16:33 | |
travis-ci | [timvideos/HDMI2USB-misoc-firmware/master#214] (3b0f648): The build passed. (https://travis-ci.org/timvideos/HDMI2USB-misoc-firmware/builds/84087820) | 16:33 |
*** travis-ci has left #timvideos | 16:33 | |
mithro | seaLne: I created a couple of github issues for the remaining things about the prebuilt stuff | 16:37 |
seaLne | ok | 16:38 |
seaLne | i'll probably not get to them till tomorrow (UTC+1) | 16:39 |
mithro | seaLne: that is perfectly fine! | 16:40 |
mithro | seaLne: already gotten it much further then it was previously! | 16:40 |
mithro | seaLne: if you were to disappear now, those github issues would remind me of what needs to be finished | 16:42 |
*** rohitksingh has quit IRC | 17:22 | |
*** rohitksingh has joined #timvideos | 17:38 | |
*** travis-ci has joined #timvideos | 18:37 | |
travis-ci | [sealne/HDMI2USB-misoc-firmware/master#36] (3b0f648): The build has errored. (https://travis-ci.org/sealne/HDMI2USB-misoc-firmware/builds/84133397) | 18:37 |
*** travis-ci has left #timvideos | 18:37 | |
*** se6astian is now known as se6astian|away | 19:21 | |
*** se6astian|away is now known as se6astian | 19:24 | |
*** rohitksingh has quit IRC | 19:49 | |
*** se6astian is now known as se6astian|away | 20:11 | |
xfxf | yay, i7 arrived | 23:14 |
Generated by irclog2html.py 2.13.1 by Marius Gedminas - find it at mg.pov.lt!