Sunday, 2015-08-30

*** tpb has joined #timvideos00:00
mithroCarlFK: once the gateware has been loaded, you need to reset the FPGA before you can load gateware again02:23
CarlFKmithro: I seem to have the atlys side working02:24
mithroCarlFK: what do you mean?02:24
CarlFKthis works: mplayer tv:// -tv driver=v4l2:device=/dev/video1 ; I get a good display.02:25
CarlFKnow trying to make this work ./dvsource-v4l2-other --device=/dev/video102:25
CarlFKthis works fine: ./dvsource-v4l2-other -n ball02:26
CarlFK ./dvsource-v4l2-other --device=/dev/video1   - dvswitch shows no video, noisy audio on the meter and lots of this to stdout/error:02:27
CarlFK[dvvideo @ 0x202a800] could not find dv frame profile02:27
CarlFKWARN: Source 1using wrong sample rate02:27
CarlFKmithro:  encoder: 1280x720 @ 0fps (0Mbps) from hdmi_in1 (q: 50)02:29
CarlFK0fps is because nothing is ... polling it? (totally guessing how this works)02:29
mithroCarlFK: can you try dvsource-v4l2-other on your internal camera?02:29
mithroCarlFK: I think so, what happens when you connect mplayer back up?02:30
CarlFK--device=/dev/video0 (cam)  same errors on dvswtich02:30
CarlFKmithro: mplayer .... encoder: 1280x720 @ 10fps (47Mbps) from hdmi_in1 (q: 50)02:32
mithroCarlFK: okay - so we need to figure out what is up with dvsource-v4l2-other02:32
CarlFKmithro:  guessing the 1024x is wrong in:  videoscale add-borders=1 ! video/x-raw,width=1024,height=768,pixel-aspect-ratio=\(fraction\)1/102:38
*** sb0_ has joined #timvideos02:38
*** sb0 has quit IRC02:38
mithroCarlFK: that is just used to scale things to 4:3 resolution02:38
CarlFKthis gives me 16:9 on dvswitch   ./dvsource-v4l2-other -n ball02:39
CarlFKmithro: [email protected]:~/dvsource-v4l2-other$ grep device dvsource-v4l2-other.py03:01
*** sb0_ has quit IRC03:02
CarlFKdevice is never used!03:02
mithroI'll look at it in an hour or two03:04
CarlFK            # Read the v4l2 input and decode it if it's a mjpeg input03:04
CarlFK            "v4l2src ! " +03:04
CarlFKfixed.  gst-launch-1.0 -v v4l2src device=/dev/video1 ! decodebin03:06
CarlFKbut dvswitch still not being good03:06
CarlFKhere is a patch :)             "v4l2src device=%s ! " % args.device +03:07
CarlFKmithro: do you know about vivi?  sudo modprobe vivi; dmesg; [29251.673777] vivi-000: V4L2 device registered as video203:11
CarlFK[29251.673783] Video Technology Magazine Virtual Video Capture Board ver 0.8.1 successfully loaded.03:11
CarlFKmplayer tv:// -tv driver=v4l2:device=/dev/video203:11
CarlFKsee moving color bars and some stats03:12
mithroNope. I have used v4l2loopback though.03:13
mithroJust on my phone now.03:16
CarlFKmithro: one less thing to worry about:  using dev/video1 now encoder: 1280x720 @ 10fps (47Mbps) from hdmi_in1 (q: 50)03:22
*** sb0 has joined #timvideos05:35
CarlFKgot something working.  added videoconvert and format=I42006:11
CarlFKarg.  I have dvswitch workign with static.  now trying to get hdmi input and the laptop does not see a display device like it did last night.07:10
mithroCarlFK: unplug and replug it?07:26
CarlFKmithro: no luck07:32
mithroCarlFK: what is the laptop and how is it connected? and what are you using to detect the display?07:33
mithroWell, I need to head to bed, which means CarlFK should probably be well asleep too07:46
CarlFKstill here... sec...07:49
CarlFKHDMI1 connected 1280x720+0+0 (normal left inverted right x axis y axis) 200mm x 112mm07:50
CarlFKnot kidding, that happened when I got a dhcp lease.07:50
CarlFKI have been plugging and unplugging and moving it around trying to find a live cat507:51
CarlFKgot an IP, plugged in hdmi, now it sees it07:51
mithrocan you turn on HPD debugging?07:53
tpbTitle: EDID Related Code · timvideos/HDMI2USB Wiki · GitHub (at
CarlFKecho 6 > /sys/module/drm/parameters/debug ... then what?07:55
CarlFK  dmesg08:02
tpbTitle: Ubuntu Pastebin (at
mithroCarlFK: that is useful output when the laptop isn't seeing the device08:09
mithrobut I really must go to bed myself08:10
CarlFKgood night - I'll get back to this in about 8 hours08:11
*** Niharika is now known as Niharika|afk10:24
*** rohitksingh has joined #timvideos11:02
*** asy has joined #timvideos12:02
*** Niharika|afk is now known as Niharika13:06
*** sb0 has quit IRC13:45
*** sb0 has joined #timvideos13:46
*** sb0 has quit IRC14:49
*** rohitksingh has quit IRC15:02
*** rohitksingh has joined #timvideos15:16
CarlFKhow much trouble would it be to create a color bar test pattern?  I guess as another input source?16:01
*** sb0 has joined #timvideos16:50
*** rohitksingh has quit IRC17:21
mithroCarlFK: Probably wouldn't be to hard to do17:28
mithroCarlFK: It would be a good starter project that I'm hoping someone like tija or rohit try and tackle17:29
*** rohitksingh has joined #timvideos17:34
mithrospeak of the devil :P17:40
mithro_florent_: so - you tested with a Raspberry Pi as an input now?17:57
*** tvCommitBot has joined #timvideos18:19
tvCommitBot[dvsource-v4l2-other] CarlFK opened pull request #12: use --device (master...master)
*** tvCommitBot has left #timvideos18:19
*** rohitksingh has quit IRC18:21
*** sb0 has quit IRC19:01
mithroCarlFK: back now19:10
mithroCarlFK: have a working DVswitch using docker19:10
*** tvCommitBot has joined #timvideos19:20
tvCommitBot[dvsource-v4l2-other] mithro pushed 1 new commit to master:
tvCommitBotdvsource-v4l2-other/master b2ffe17 Tim 'mithro' Ansell: Adding more comments.19:20
*** tvCommitBot has left #timvideos19:20
mithroCarlFK: hrm - well it appears I don't have a working DVSwitch....19:21
* mithro tries lucid rather then precise19:23
*** Joelw has quit IRC19:52
*** Joelw has joined #timvideos19:57
*** Joelw has quit IRC20:03
*** Joelw has joined #timvideos20:08
_florent_mithro: yes raspberry pi was ok21:21
mithro_florent_: awesome!21:30
mithro_florent_: I wanted to ask you about the best way to add "mnemonic" port names to the misoc firmware21:30
mithro_florent_: What is the best way to tag the ports with their "jumper name" and "a text description" that we can show in the firmware? I assume we can just add extra info to the platforms file which gets written to a header somewhere?22:16
*** tvCommitBot has joined #timvideos22:32
tvCommitBot[dvsource-v4l2-other] mithro closed pull request #12: Get dvsource-v4l2-other working with the HDMI2USB device (master...master)
*** tvCommitBot has left #timvideos22:32

Generated by 2.13.1 by Marius Gedminas - find it at!