Saturday, 2018-02-17

*** tpb has joined #timvideos00:00
*** tvCommitBot has joined #timvideos00:39
tvCommitBot[website] CarlFK opened pull request #19: update project page (master...master) https://git.io/vAWO500:39
*** tvCommitBot has left #timvideos00:39
mithroCarlFK[m]: Can you look at adding this type of file? https://github.com/rtfd/readthedocs.org/blob/master/docs/support.rst00:46
tpbTitle: readthedocs.org/support.rst at master · rtfd/readthedocs.org · GitHub (at github.com)00:46
*** CarlFK has joined #timvideos01:08
*** ChanServ sets mode: +v CarlFK01:08
CarlFK[m]mithro (IRC): yes, but no, but kinda.  https://github.com/xdissent/jekyll-rst  "Unfortunately, this means     your plugins won’t work if you’re deploying to GitHub Pages. ...     convert the site locally and push..."01:59
tpbTitle: GitHub - xdissent/jekyll-rst: A ReStructuredText plugin for Jekyll and Octopress (at github.com)01:59
mithroCarlFK[m]: I was more saying adding a support file rather than that exact file02:00
CarlFK[m]mithro (IRC): not sure what you mean.  if you want it rendered as html, then plugin/local.02:01
mithroCarlFK[m]: https://github.com/blog/2400-support-file-support02:02
tpbTitle: SUPPORT file support · GitHub (at github.com)02:02
CarlFK[m]mithro (IRC): ah - you mean adding it to a gh repo, not the tv site?02:04
mithroCarlFK[m]: yes02:04
CarlFK[m]https://help.github.com/articles/adding-support-resources-to-your-project/  "On GitHub, navigate to the main page of the repository. The New file button (https://help.github.com/assets/images/help/repository/create_new_file.png)Above the file list, click Create new file.  In the file name field, type SUPPORT.md (with all caps)."02:08
tpbTitle: Adding support resources to your project - User Documentation (at help.github.com)02:08
CarlFK[m]one per repo02:08
futarisIRCcloudmithro: I take it no one is working on the qemu litevideo peripheral? Do we want to get a linux framebuffer output driver for litevideo working first, or qemu?02:11
futarisIRCcloudmithro: I think I figured out the issue with the hsync and vsync not running / clocking out of litevideo VGAPhy. Should just have to drive a signal or two high, to say the output is valid.02:13
futarisIRCcloudhttps://twitter.com/RohitK_Singh/status/964099638746931200 - rohitksingh, this wasn't litevideo right? Some other gateware that you wrote?02:16
*** CarlFK has quit IRC04:24
futarisIRCcloudmithro & _florent_ : Are you around? rohitksingh ??? I've got a question regarding litevideo - https://github.com/enjoy-digital/litevideo/blob/master/litevideo/output/core.py#L11505:17
tpbTitle: litevideo/core.py at master · enjoy-digital/litevideo · GitHub (at github.com)05:17
mithrohttps://github.com/cesanta/frozen - JSON parser and generator for C/C++ with scanf/printf like interface. Targeting embedded systems.05:58
tpbTitle: GitHub - cesanta/frozen: JSON parser and generator for C/C++ with scanf/printf like interface. Targeting embedded systems. (at github.com)05:58
mithroAnyway I'm heading out05:58
*** rohitksingh has joined #timvideos07:15
futarisIRCcloudHi rohitksingh...07:22
rohitksinghfutarisIRCcloud: Hi!07:22
futarisIRCcloudI don't seem to be getting anywhere with getting a hsync and vsync from litevideo on arty.07:23
futarisIRCcloudrohitksingh: https://github.com/enjoy-digital/litevideo/blob/master/litevideo/output/core.py#L115-L119 seems to be where it's stuck, but I'm not 100% sure.07:24
tpbTitle: litevideo/core.py at master · enjoy-digital/litevideo · GitHub (at github.com)07:24
futarisIRCcloudhttps://github.com/futaris/litex-buildenv/commits/master07:25
tpbTitle: Commits · futaris/litex-buildenv · GitHub (at github.com)07:25
rohitksinghfutarisIRCcloud: okay, let me take a look. I also can give your current design a try this weekend07:28
futarisIRCcloudrohitksingh: Cheers. A lot of hacks are in the code, but it should just boot up into 1280x720 on arty 7 if you export MACHINE=video . Not sure why it's not clocking the data out.07:30
futarisIRCcloudclk & psave_n are not connected on PMOD-VGA connector, so I was just using them for debug output of clk.07:43
futarisIRCcloudT13 / U13.07:43
rohitksinghfutarisIRCcloud: sure, let me give it a try07:46
gsmalikHey everyone. I've been working with mithro on the version_data python script. After a couple of days of pull requests and revisions, I think we are close to closing the issue. So, if someone would like me to look at another bug, please let me know :)08:02
*** rohitksingh has quit IRC08:19
*** rohitksingh has joined #timvideos08:24
*** rohitksingh has quit IRC08:29
*** rohitksingh has joined #timvideos08:33
*** fumblehool has joined #timvideos08:36
*** rohitksingh has quit IRC08:49
*** rohitksingh has joined #timvideos09:13
*** rohitksingh1 has joined #timvideos09:26
futarisIRCcloudrohitksingh & _florent_ :  I think the VGAPhy clocking issues may be related to https://github.com/enjoy-digital/litevideo/commit/1ff01f29a7086623f0380ed3aeb9cfd0a4a9bebb#diff-ce657766c40e0d901391f484cfda968bR138 ...09:42
tpbTitle: output: fix vga · enjoy-digital/[email protected] · GitHub (at github.com)09:42
_florent_futarisIRCcloud: have you been able to connect the pix clock to a led (with a dividing counter) or to a scope?10:16
futarisIRCcloudpixel clock is running at the right frequency.10:17
futarisIRCcloud_florent_: https://logs.timvideos.us/%23timvideos/%23timvideos.2018-02-12.log.html / https://usercontent.irccloud-cdn.com/file/DNwD8AaS/20180212_192310.jpg10:18
_florent_futarisIRCcloud: ok good, and you don't have a clock on the clk pad?10:19
*** kuch_bhi has joined #timvideos10:20
futarisIRCcloud_florent_: What should I connect that signal to?10:22
futarisIRCcloud_florent_: https://github.com/futaris/litex-buildenv/blob/master/targets/arty/video.py#L79 for dividing counter for LED ...10:22
tpbTitle: litex-buildenv/video.py at master · futaris/litex-buildenv · GitHub (at github.com)10:22
_florent_futarisIRCcloud: you are saying that you have clocking issues with the VGAPhy10:23
_florent_futarisIRCcloud: what's the issue?10:23
futarisIRCcloudI don't get anything happening on hsync / vsync.10:23
_florent_is the core enabled?10:29
_florent_by the firmware10:29
_florent_futarisIRCcloud: you core look fine, you have to be sure that vga_out0_core_initiator_enable is set to 110:35
_florent_your core/your code10:38
futarisIRCcloudhttps://github.com/futaris/litex-buildenv/blob/master/firmware/processor.c#L78610:39
tpbTitle: litex-buildenv/processor.c at master · futaris/litex-buildenv · GitHub (at github.com)10:39
futarisIRCcloudhttps://github.com/futaris/litex-buildenv/blob/master/firmware/processor.c#L623-L64010:41
tpbTitle: litex-buildenv/processor.c at master · futaris/litex-buildenv · GitHub (at github.com)10:41
_florent_ok10:42
_florent_you can try to connect dma.source.valid to a pin10:43
_florent_in which mode are you using the core?10:44
futarisIRCcloudhdmi2usb firmware from built in pattern generator, yuv422.10:44
_florent_ok10:47
futarisIRCcloudHow should I connect dma.source.valid to a pin?10:47
_florent_i think i know what happened10:47
_florent_https://github.com/enjoy-digital/litevideo/commit/cd8529a24336d12b23aa8884ab939fdac662b6cf10:47
tpbTitle: output/VGAPHY: add missing sink.ready.eq(1) · enjoy-digital/[email protected] · GitHub (at github.com)10:47
_florent_can you give a try?10:48
futarisIRCcloud_florent_: 'sink' is not defined10:55
futarisIRCcloudself.sink10:56
futarisIRCcloudI commented out pads.psave_n.eq(1) too.10:57
_florent_futarisIRCcloud: sorry, fixed: https://github.com/enjoy-digital/litevideo/commit/50e8ac92d6fdb2b9011939f6d083a33b297a203b10:57
tpbTitle: output/VGAPHY: add missing self.sink.ready.eq(1) · enjoy-digital/[email protected] · GitHub (at github.com)10:57
futarisIRCcloud_florent_: Still held high.11:05
futarisIRCcloudhttps://usercontent.irccloud-cdn.com/file/aVUibJCf/20180217_210533.jpg11:08
_florent_ok then you have to connect internal signals to pins and see what is going on11:09
futarisIRCcloudwhich signals should I connect to?11:09
_florent_self.comb += platform.request("user_io", 0).eq(self.vga_out0.core.timing.source.valid)11:11
_florent_self.comb += platform.request("user_io", 1).eq(self.vga_out0.core.timing.source.de)11:11
_florent_self.comb += platform.request("user_io", 2).eq(self.vga_out0.core.dma.soruce.valid)11:11
_florent_for example11:11
futarisIRCcloudAnd definition of "user_io" ???11:13
futarisIRCcloudCRITICAL WARNING: [Vivado 12-4739] set_false_path:No valid object(s) found for '-to [get_clocks pix_clk]'. [/home/futaris/github/futaris/litex-buildenv/build/arty_video_or1k/gateware/top.xdc:362]11:20
futarisIRCcloudI just used user_led11:22
futarisIRCcloud_florent_ : All low for all three of those signals.11:26
futarisIRCcloudAnd pix_counter is low11:27
futarisIRCcloud_florent_: https://github.com/futaris/litex-buildenv/commit/aec107d09afe7038bbfae2333a3e29f6797dec8811:28
tpbTitle: debug internal signals · futaris/[email protected] · GitHub (at github.com)11:28
_florent_futarisIRCcloud: if pix_counter is low, nothing can happen11:29
_florent_futarisIRCcloud: why is it low now, it was working correctly before no?11:29
futarisIRCcloudNah, pix_counter was never clocking. Only the input into it.11:29
futarisIRCcloud_florent_: https://github.com/enjoy-digital/litevideo/blob/master/litevideo/output/hdmi/s7.py#L133 - Should that be inside the if (on line 134) ???11:56
tpbTitle: litevideo/s7.py at master · enjoy-digital/litevideo · GitHub (at github.com)11:56
*** miselin2 has joined #timvideos12:01
*** jea has quit IRC12:03
*** miselin has quit IRC12:03
*** jea has joined #timvideos12:05
futarisIRCcloudhttps://usercontent.irccloud-cdn.com/file/IxyPE0it/20180217_220318.jpg12:05
futarisIRCcloudhttps://usercontent.irccloud-cdn.com/file/HJjhmSmO/20180217_221003.jpg12:12
futarisIRCcloud_florent_: moving that helps, but it's not generating a VGA signal12:13
futarisIRCcloudSo as far as I can tell, the clocks are off by factor of 10.12:19
futarisIRCcloudhttps://usercontent.irccloud-cdn.com/file/eGFIzXh7/20180217_222442.jpg12:27
futarisIRCcloudhttps://usercontent.irccloud-cdn.com/file/EZhIKooE/20180217_222601.jpg12:28
futarisIRCcloudhttps://usercontent.irccloud-cdn.com/file/se0UNoPF/20180217_222729.jpg12:29
futarisIRCcloudhttps://usercontent.irccloud-cdn.com/file/dnQH70ax/20180217_222927.jpg12:31
*** rohitksingh1 has quit IRC13:20
*** rohitksingh has quit IRC13:20
*** rohitksingh has joined #timvideos13:22
*** rohitksingh1 has joined #timvideos13:23
*** cr1901_modern has quit IRC13:26
*** cr1901_modern has joined #timvideos13:27
*** rohitksingh has quit IRC13:57
*** CarlFK has joined #timvideos14:02
*** ChanServ sets mode: +v CarlFK14:02
*** tvCommitBot has joined #timvideos15:22
tvCommitBot[website] codersquid opened pull request #20: Deemphasize other projects for this summer (master...deemphasize-other-projects-for-this-summer) https://git.io/vAWMy15:22
*** tvCommitBot has left #timvideos15:22
*** fumblehool has quit IRC15:24
*** Akhil_singh has joined #timvideos16:13
*** felix[m]1 has joined #timvideos16:16
*** futarisIRCcloud has quit IRC16:16
*** Akhil_singh has quit IRC16:19
*** tvCommitBot has joined #timvideos16:52
tvCommitBot[website] mithro closed pull request #20: Deemphasize other projects for this summer (master...deemphasize-other-projects-for-this-summer) https://git.io/vAWMy16:52
*** tvCommitBot has left #timvideos16:52
*** tvCommitBot has joined #timvideos16:54
tvCommitBot[website] mithro closed pull request #19: update project page (master...master) https://git.io/vAWO516:54
*** tvCommitBot has left #timvideos16:54
_florent_futarisIRCcloud: great progress, i'll have a look at what you did. It seems you still have some issues (color and image shift), but it will be easier to fix now that you have something on the screen17:32
felix[m]1Hi everybody! I found a Nexys Video unused in our lab, and have been playing around with it and trying to learn liteX and understand your cool project! Setting up the build chain was a breeze (happy to report that things seem to work well with Ubuntu 18.04 beta), but I've only used Vivado's graphical interface so far and haven't be able to figure out how the gateware is loaded to the board from the command line (). Could17:40
felix[m]1you help me get unstuck (a quick pointer will do, e.g. use an SD card/specific tool)? I'd be happy to17:40
felix[m]1(whoops, sorry, that was premature :-) )17:41
felix[m]1Wanted to say ... I'd be happy to extend the makefile (though this looks like a larger project, since mode-switch isn't implemented at all for the Nexys Video, maybe that's out of reach for a noob like me)17:42
mithrohello felix[m]117:45
mithrofelix[m]1: You should be able to use openocd to load onto the Nexys Video17:45
mithrofelix[m]1: But I haven't tested it recently17:45
mithrofutaris[m]: Take a look at https://github.com/timvideos/litex-buildenv/blob/master/targets/arty/Makefile.mk17:46
tpbTitle: litex-buildenv/Makefile.mk at master · timvideos/litex-buildenv · GitHub (at github.com)17:46
felix[m]1Hi mithro, hej futaris! (sorry for the weird username on my part, that's made up by the matrix bridge) Thanks for your super-quick responses, I'll look into openocd and the build files for the other boards!17:48
mithrofelix[m]1: You just happen to get lucky - normally it would take a little bit longer17:48
felix[m]1Sure! Still, I'm impressed at how lively things are around here, and super-glad to be unstuck so quickly.17:52
felix[m]1I've found a minor typo (I think) in one of the commands in the getting started guide, would you like me to point it out, or would you prefer a PR?17:52
*** rohitksingh1 has quit IRC18:14
*** rohitksingh has joined #timvideos18:24
CarlFK[m]mithro (IRC): thanks for taking a gamble on the site ;)19:04
mithroCarlFK[m]: You said you had tested locally and I trusted you had...19:05
CarlFK[m]mithro (IRC): yeah, but who knows how gh pages was going to render it.    and on that...19:05
CarlFK[m]mithro (IRC): can we do another "see how this looks?"  because in trying to figure out why they looked different I found:19:06
mithrohttps://code.timvideos.us/projects/19:06
CarlFK[m]https://help.github.com/articles/setting-up-your-github-pages-site-locally-with-jekyll/19:06
tpbTitle: Setting up your GitHub Pages site locally with Jekyll - User Documentation (at help.github.com)19:06
CarlFK[m]which lead me to belive I should add this line:19:06
mithroCarlFK[m]: Except we don't actually use the jekyll that github pages uses19:06
CarlFK[m][email protected]:~/src/tv/website$ git diff Gemfile19:06
CarlFK[m]+gem 'github-pages', group: :jekyll_plugins19:06
CarlFK[m]yeah - any idea how to "use  the jekyll that github pages uses"19:07
mithroCarlFK[m]: We can't because of the plugins here -> https://github.com/timvideos/website/tree/master/_plugins19:08
tpbTitle: website/_plugins at master · timvideos/website · GitHub (at github.com)19:08
mithroHrm -- I was sure there was a page which explained how to run locally...19:08
CarlFK[m]a tv site page, or a gh page or ... what sort of docs?19:09
mithroCarlFK[m]: So -- gh-pages is a bit confusing -- the content which is published can be seen in the gh-pages branch see -> https://github.com/timvideos/hdmi2usb.tv/tree/gh-pages for example19:10
tpbTitle: GitHub - timvideos/hdmi2usb.tv at gh-pages (at github.com)19:10
mithroCarlFK[m]: You can either put HTML in the gh-pages branch or you can commit a jeykll site there19:11
mithroCarlFK[m]: We instead have a jeykll site in the master branch and use travis to run jeykll and push HTML pages to the gh-pages branch19:11
mithroWhich lets us you plugins...19:12
mithros/you/use/19:12
CarlFK[m]ahh...19:12
CarlFK[m]"swell" ;)19:13
CarlFK[m]ok, never mind what I found.19:13
mithroCarlFK[m]: https://ayastreb.me/deploy-jekyll-to-github-pages-with-travis-ci/19:13
CarlFK[m]I accidentally removed vocto from the projects - adding that back now19:14
mithroCarlFK[m]: https://jekyllrb.com/docs/continuous-integration/travis-ci/ maybe?19:14
tpbTitle: Travis CI | jekyll (at jekyllrb.com)19:14
mithroCarlFK[m]: https://github.com/timvideos/hdmi2usb.tv/blob/master/README.md#setting-up-locally19:18
tpbTitle: hdmi2usb.tv/README.md at master · timvideos/hdmi2usb.tv · GitHub (at github.com)19:18
mithroCarlFK[m]: We should add those instructions to the website too...19:19
*** rohitksingh has quit IRC19:35
*** tvCommitBot has joined #timvideos20:14
tvCommitBot[website] CarlFK opened pull request #21: add voctomix and voctomix-outcasts to Partner Projects. (master...addvocto) https://git.io/vAWxY20:14
*** tvCommitBot has left #timvideos20:14
*** tvCommitBot has joined #timvideos20:16
tvCommitBot[website] mithro pushed 2 new commits to master: https://git.io/vAWxC20:16
tvCommitBotwebsite/master e30deea Carl Karsten: add voctomix and voctomix-outcasts to Partner Projects.20:16
tvCommitBotwebsite/master 34efdda Tim Ansell: Merge pull request #21 from CarlFK/addvocto...20:16
*** tvCommitBot has left #timvideos20:16
CarlFK[m]mithro (IRC): mind if I delete the (now very out of date)  project list from the home page?20:18
mithroCarlFK[m]: It would probably be good if you just included the project page?20:18
mithroCarlFK[m]: Does -> https://jekyllrb.com/docs/includes/ work?20:18
tpbTitle: Includes | jekyll (at jekyllrb.com)20:18
CarlFK[m]im not sure having redundant stuff is good20:19
mithroCarlFK[m]: I think we want the non-deprecated projects on the front page at least?20:19
CarlFK[m]*maybe* a description of how things relate, like "qemu-litex can be used to hack on some of the hdmi2usb"  but A) that's going to take a bit to edit it all up and B) I don't think it will really do anyone any good....20:22
CarlFK[m]the people that might care about qemu aren't going to care about how ansible deploys veyepar20:23
mithroCarlFK[m]: If I turn up at that page, I have to click the projects link before I get any inkling of the parts which make up the project20:23
CarlFK[m]hdmi2usb is currently the only active project20:24
mithrovoctomix is active?20:25
CarlFK[m]active = things "we" are working on20:26
CarlFK[m]this is all kinda fuzzy.20:27
mithroCarlFK[m]: If we have a good student apply for voctomix projects, I think we would accept them20:28
CarlFK[m]that is a big "if"20:30
CarlFK[m]like.. we would want to talk to the voc folk first, i wouldn't expect anything to be merged in, I would expect to get a bit of their time (either mentor, or back channel mentoring20:30
CarlFK[m]and none of this seems like it would be as 'good' as even a poor fpga proposal20:31
CarlFK[m]there seems to be much more room for work on the hdmi2usb project - I see voctomix as a distraction20:32
mithroI would prefer a good voctomix proposal rather then a poor fpga proposal20:32
mithroCarlFK[m]: It's also good from a SEO / functionality point of view to have all the projects listed on that page20:36
mithroCarlFK[m]: I think we should also start calling it the "TimVideos group" or something like that -- "TimVideos is a group of people trying to advance projects to make live streaming easy...." or something like that?20:37
mithroCarlFK[m]: One of the TimVideos project's is the HDMI2USB.tv project... People in the TimVideos group also collaborate heavily with the C3VOC, Apertus and DebConf Video teams....?20:38
CarlFK[m]yeah - that's another fuzzy that I'm not to sure how to deal with20:39
mithroTimVideos team?20:39
CarlFK[m]I mean, I have no clue what Apertus is.20:40
CarlFK[m]ah - its axiom20:41
CarlFK[m]there is value in the tv brand recognition.  not sure it matters how well defined tv is20:43
CarlFK[m]SEO ... for that I can write up 2 paragraphs of "what we are doing" and "what we have done"20:44
mithroGod I hate writing tests, even though it objectively makes me a lot more productive and I love *having* them20:45
CarlFK[m]er, .. maybe 3.. stand by ;)20:45
mithroApertus == TimVideos,   axiom == Numato Opsis20:46
mithroCarlFK[m]: IE Apertus is the organisation, axiom is their first product20:46
*** futarisIRCcloud has joined #timvideos21:54
*** CarlFK has quit IRC21:58
mithrobblr - going to find some lunch22:42
*** swalladge has quit IRC22:48

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