Tuesday, 2015-06-02

*** tpb has joined #timvideos00:00
shenkimithro: pong00:59
mithroSee pull requests01:03
mithroshenki: we should also get working on that SFC application ASAP so we don't miss the next round of acceptances01:22
mithroI believe we have till the 10th of June01:22
shenkimithro: okay01:23
mithroxfxf: you could probably help with that too if you have time01:23
*** mithro has quit IRC01:36
*** cfelton has quit IRC01:36
*** kierank has quit IRC01:36
*** CARAM__ has quit IRC01:36
*** kierank has joined #timvideos01:40
*** mithro has joined #timvideos01:40
*** ChanServ sets mode: +o mithro01:40
*** cfelton has joined #timvideos01:40
*** CARAM__ has joined #timvideos01:44
*** puck has joined #timvideos02:11
puckHey, I see that there now prebuilt HDMI2USB images from the end of March, but a few bug fixes are in the main HDMI2USB git repo, any plans to built another set of prebuilt images anytime soon?02:15
mithropuck: I don't see any major bug fixes since the last build?02:42
puckmithro, Just looks like forcing the input to be 1024x76802:46
mithropuck: yes, but I think there are more bugs related to that which need to be fixed03:00
mithro~seen tija03:00
tpbmithro: tija was last seen in #timvideos 6 days, 9 hours, 31 minutes, and 23 seconds ago: <tija> gitk03:00
puckAh, fair enough.03:01
puckAs it is, I'm failng to get the hdmi2usb binary loaded onto my board. Stillt trying to work that out.03:01
mithropuck: How are you loading it?03:01
puckI'm trying fx2loader from makestuff03:02
puckNo output is appearing, but running it with strace I get:03:02
puckrecvmsg(3, 0x7fffc1a34bb0, 0)           = -1 EAGAIN (Resource temporarily unavailable)03:03
puckwrite(2, "libFPGAlink/makestuff/apps/fx2lo"..., 94libFPGAlink/makestuff/apps/fx2loader/lin.x64/rel/fx2loader: usbOpenDevice(): device not found03:03
mithroHave you got a more complete log of what you are running?03:04
tpbTitle: HDMI2USB/flash.sh at master · timvideos/HDMI2USB · GitHub (at github.com)03:05
puckThat's effectively the process I went through, but I followed: https://github.com/timvideos/HDMI2USB/wiki/libFPGALink03:06
tpbTitle: libFPGALink · timvideos/HDMI2USB Wiki · GitHub (at github.com)03:06
mithroYes, they look correct too03:08
mithroWe really need to fix up some of the documentation03:08
CarlFKpuck: sec.. I think I know whats wrong...03:12
CarlFKpuck:  never mind.  I wrote that script and at first was missing a cd, but it is fixed, so that isn't it.03:22
puckI didn't actually use that script, but I used the commands from the wiki03:27
CarlFKhttps://github.com/timvideos/HDMI2USB/wiki/libFPGALink  thats what I wrote03:31
tpbTitle: libFPGALink · timvideos/HDMI2USB Wiki · GitHub (at github.com)03:31
puckYeah, that's the process I was following - for "First Time"03:31
puckSorry, on the phone now03:32
*** tija has joined #timvideos04:44
*** hyades has joined #timvideos04:44
mithrohey tija04:55
tijamithro: Hi04:55
tijaFYI the resolution is not changing using USB command.04:55
tijaToday I am planning to pull the Jahanzeb pre built repo and see did I break anything. Or it never worked.04:56
mithrotija: can you explain how you are testing at the moment?04:58
mithrotija: then I can try and replicate the issue here too04:58
tijamithro: put sw(1) = 0; open gtkterm and connect to cdcport of atlys; send command 48 30.05:08
mithrotija: and then....05:09
tijamithro: then send 48 53 to get the HDMI status05:14
tijaor use the fpga_debug tool to see the resolution. I hope it works correctly05:18
mithrotija: but you are not checking what the computer connected to board is seeing?05:19
tijamithro: I did not understand ^05:20
mithrotija: ? - you mean you don't understand what I'm saying?05:20
mithroSo, the ultimate behavioural change we are trying to get working is that a computer connected to the Atlys's HDMI port sees either a HDMI 720p EDID or a 1024x768 EDID05:22
tijaWell if the computer connected to the board sees a 720p EDID it will change it's resolution and hence output 720p eventually?05:25
mithrotija: yes05:25
tijahence checking the resolution should be sufficient to check whether things are working.05:27
mithrotija: On the Atlys boards we can't force a computer to renegotiate the EDID values because we don't control the HPD lines06:19
mithrotija: so after a change you might need to unplug and replug in the computer before the effect "sticks"06:19
tijamithro: hmm this is something I didn't do. Damn! You are too smart!06:20
mithrotija: or I have banged my head against the problem for hours before and remeber the pain well :P06:24
tijamithro: what you told was right. The switch is working when I plug and unplug the HDMI cable.07:04
tijabut 720p is not streaming. Errors!07:05
mithrotija: what if you unplug the usb and replug it?07:29
mithrotija: the new firmware that Joel and rohit worked on might not be correctly resetting after the descriptor information after the video resolution change07:30
tijamithro: I haven't tried it. But when I switch it back to 1280x768 then it works07:31
tijaI am using the old firmware07:31
mithrotija: do you know about v4l-info?07:32
tijamithro: No07:33
mithrotija: try installing it and see what it says about the HDMI2USB device07:34
tijamithro: okay07:34
mithrotija: I would expect the output to change saying the video is now streaming 720p rather than 1024x768 resolution07:35
mithroThe `v4l2-ctl --all` command might be another option07:35
tijamithro: OKay I will try it tonight.07:37
mithrotija: great!07:40
*** _florent_ has joined #timvideos07:55
tijamithro: I got some free time so I did it right now.08:01
tijamithro: http://paste.ubuntu.com/11515544/08:05
tpbTitle: Ubuntu Pastebin (at paste.ubuntu.com)08:05
tijathings don't change when I switch to 720p08:07
tijaThere is no 720p test pattern it is always 1280x76808:14
tijaSo the test pattern works08:14
tijabut when I switch to HDMI0, video streaming stops.08:15
tpbTitle: Ubuntu Pastebin (at paste.ubuntu.com)08:16
*** _florent_ has quit IRC08:47
*** _florent_ has joined #timvideos09:14
*** xfxf has quit IRC10:53
mithrotija: well the test pattern should switch to generating at 720p12:29
tijamithro: that's not how it is written in HDL12:29
tijamithro: it will output 1280x768 irrespective of the what we.12:31
tpbTitle: HDMI2USB/pattern.vhd at master · timvideos/HDMI2USB · GitHub (at github.com)12:31
*** Niharika has joined #timvideos12:42
mithroWhich is why I said should :-)13:32
tijamithro: I thought you were claiming it should switch.13:38
mithroIt should switch, but it does look like the vhd doesn't at the moment13:39
mithromaking software is hard :P13:41
tijamithro: So we have another bug. HDMI2USB does  not work at 720p.13:43
mithroIt appears so13:43
tijaI will pull Jahabzeb's prebuilt and test it. Actually we should have a checklist of this to check on every commit, since Jahanzeb's era (if I can say so)13:45
tijaWhat things worked earlier and now are broken. What new feature got added which should be checked in the future commits etc.13:46
mithrotija: sure, but non-automated testing is always a mixed bag13:47
tijamithro: It can be automated to some level by sending commands and receiving status via the cdc port13:49
mithrotija: if you can figure out a way to automate the testing, that is very useful13:49
mithrotija: but I think that is a big project that requires a lot more time then you have?13:49
*** _florent_ has quit IRC13:49
*** _florent_ has joined #timvideos13:50
tijamithro: Shenki in his LCA presentation: If you have a big project, give it to an intern.13:50
mithroHa, your no longer an intern, right? :P13:51
mithrotija: think the best bet is to try and get 720p working again13:51
tijamithro: I am not but few more will come next GSoC :)13:52
mithrotija: yeah - it's in the issue tracker as a GSoC project :)13:52
CarlFKcan we roll back to when 720p worked?13:52
tijamithro: How about shifting our focus to zynq? Try to minimize HDLs.13:54
mithroCarlFK: we don't know when 720p worked13:54
CarlFKmithro: k.  never mind that.13:54
mithroCarlFK: otherwise it would be really simple13:55
mithroCarlFK: I was pretty sure it did work at some point, but it was long ago and we haven't been testing with it frequently since13:56
mithroactually, it might have been even before we had a test pattern13:59
mithrotija: How much time do you have?14:01
CarlFKwould it help to remove support for 4:3 ?14:01
CarlFKI can see the value, but I can live without it it it gets 16:9 functioning sooner14:02
tijamithro: Honestly not much. I have started working. Currently I am working from home. Weekends will be free.14:02
mithrotija: yeah, so lets work on small things which you have a chance of finishing?14:04
tijamithro: like??14:04
mithrotija: getting 720p working on the current system14:04
tijamithro: Yeah we could do that.14:05
mithrotija: small incremental fixes to the current system seem good14:05
mithrotija: I think there are a bunch of low hanging fruit on the issue tracker14:06
tijamithro: But if you ask my I would prefer porting HDMI capture to ZYBO. Even though it does not appear reasonable.14:09
tijamithro: If you ask me why? It is because making something new seems more exciting.14:10
tijabut yeah that system too will eventually reach this stage.14:11
mithrotija: If you want to try newer more interesting stuff, it might be worth seeing if you can continue my work on the misoc/migen stuff14:12
mithrotija: I've been trying to get misoc/migen working on the Atlys board to test out their implementation of a DVI receiver / source14:13
mithrotija: because it should be portable to many more architectures then just the spartan 614:13
mithrotija: It looks like they have some support related to the Zybo already too14:14
mithrotija: they also have a really nice ethernet core that _florent_ wrote14:15
tijamithro: hmm this seems interesting.14:16
mithrotija: I currently think that any rewrite of HDMI2USB firmware would probably end up using that14:16
tijamithro: So basically a JPEG encoder and we have another firmware.14:17
mithrotija: happy to chat another night about it14:17
mithrotija: yeah14:17
mithrotija: which is *fully* open source14:17
mithrotija: not using "generated cores" like our current one does14:17
mithrobut anyway, I should go to bed now14:18
tijaGood night!14:18
mithrotija: I'm happy to help you get misoc/migen set up tomorrow or on the weekend if you think its something your excited about14:18
* cfelton this is unfortunate14:19
mithrocfelton: why?14:19
mithrocfelton: you think we should do myhdl? :P14:19
cfeltonnot necessarily14:21
cfeltonbut I know what you should not do it in14:21
CarlFKcfelton: what does this refer to?14:21
mithrocfelton: vhdl? :P14:22
cfeltonmithro: ABEL14:25
mithroLGTM -> http://en.wikipedia.org/wiki/Advanced_Boolean_Expression_Language#/media/File:ABEL_HDL_example_SN74162.png14:27
tpbTitle: Advanced Boolean Expression Language - Wikipedia, the free encyclopedia (at en.wikipedia.org)14:27
mithroanyway, really going now14:27
*** cfelton has left #timvideos14:28
tijamithro: Jahanzeb's prebuilt does not have working 720p14:44
*** Niharika has quit IRC15:37
*** Niharika has joined #timvideos16:09
*** tija has quit IRC16:54
*** CarlFK has quit IRC19:39
*** Niharika has quit IRC19:58
*** CarlFK has joined #timvideos20:38
*** ChanServ sets mode: +v CarlFK20:38
*** mithro has quit IRC22:09
*** kierank has quit IRC22:27
*** _florent_ has quit IRC22:43
*** mithro has joined #timvideos22:45
*** ChanServ sets mode: +o mithro22:45
*** hyades has quit IRC22:48
*** kierank has joined #timvideos23:07
*** CarlFK has quit IRC23:23
*** CarlFK has joined #timvideos23:50
*** ChanServ sets mode: +v CarlFK23:50

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