Tuesday, 2018-02-27

*** tpb has joined #timvideos00:00
mithroCarlFK[m]: what is the state of https://github.com/timvideos/getting-started/wiki ?00:04
tpb<http://ln-s.net/+wYq> (at github.com)00:04
*** swalladge has quit IRC00:07
CarlFK[m]mithro (IRC): very out of date.  hdmi2usb and related software is the only active project00:34
mithroCarlFK[m]: you where doing to take some stuff from it and then we are going to delete it00:34
CarlFKmithro: oh  right - sure.  delete it00:35
CarlFK[m]mithro (IRC): just had an idea: when hdmi2usb gets a screen in some other res than expected (like my box's post is doing 640x480)  put that into the 1280x720 buffer, either in the corner or centered.00:46
mithroCarlFK[m]: Yeah would be a nice feature00:46
CarlFK[m]so that I can see what is going on.00:47
mithroCarlFK[m]: it requires a bit of magic to make work00:47
mithroCarlFK[m]: Have to reset the data pointer after each line rather than after each frame00:47
CarlFK[m]mithro (IRC): k - I'll add it to the list - wanted to make sure it wasn't already somewhere00:47
CarlFK[m]seems easier than scaling.00:48
tpbTitle: map smaller res onto current frambuffer · Issue #411 · timvideos/HDMI2USB-litex-firmware · GitHub (at github.com)01:21
*** asy has quit IRC01:58
*** asy has joined #timvideos01:58
*** futarisIRCcloud has joined #timvideos02:10
tpbTitle: aws-fpga-app-notes/README.md at master · awslabs/aws-fpga-app-notes · GitHub (at github.com)02:10
tpbTitle: BeagleWire | Crowd Supply (at www.crowdsupply.com)02:14
*** rohitksingh has joined #timvideos02:29
*** rohitksingh has quit IRC02:32
*** swalladge has joined #timvideos02:47
*** rohitksingh_work has joined #timvideos03:55
*** sb0 has quit IRC05:37
*** futarisIRCcloud has quit IRC07:30
*** Kripton has quit IRC07:47
*** Kripton has joined #timvideos07:57
*** Kripton has quit IRC08:31
*** faulteh has joined #timvideos09:07
*** anshul has joined #timvideos09:19
faultehhello.. i am trying to figure out what i'm missing to get the v4l encoder to work on ubuntu to display it with mplayer or vlc09:19
faultehhi anshul09:20
faultehi do 'x c p e' and 'encoder on' on my opsis but mplayer just gives me v4l2: ioctl set format failed: Input/output error09:20
faulteh and similar with vlc09:20
faultehtried it with a bunch of firmwares too v0.0.3-1045 v0.0.4-74 and v0.0.4-14809:25
faultehswitching of hdmi inputs and outputs is working ok so i know things are working generally09:25
faultehbut ive not used the encoder before today09:26
*** anshul has quit IRC09:26
CarlFK[m]Faulteh: sec... let me dig that up09:27
faultehexcellent thanks09:30
faultehif i can get the encoder working by the weekend ill probably get a second opsis so i can have two in our radio club's new DTV studio so we can start broadcasting at 720p09:31
CarlFK[m]Faulteh: https://github.com/CarlFK/voctomix-outcasts/blob/master/tests/show_hdmi2usb.sh09:31
tpbTitle: voctomix-outcasts/show_hdmi2usb.sh at master · CarlFK/voctomix-outcasts · GitHub (at github.com)09:31
CarlFK[m]oh!  you may be bumping into a bug..09:31
CarlFK[m]disconnect your terminal app from the serial interface09:31
CarlFK[m]then try to get video, once you have made the uvc connection, then you can mix and match video and serial all you want09:32
CarlFK[m]but that first video connection seems to fail if the serial is also in use09:32
*** vys has quit IRC09:35
*** vys has joined #timvideos09:35
*** sb0 has joined #timvideos09:36
CarlFK[m]there is an issue describing this, that I can never find...09:39
faultehso i power cycled, then tried to run show_hdmi2usb.sh but it still comes back with WARNING: erroneous pipeline: no element "fpsdisplaysink"09:40
tpbTitle: Having the serial port open prevents video from streaming · Issue #14 · timvideos/HDMI2USB-fx2-firmware · GitHub (at github.com)09:41
CarlFK[m]fpsdisplaysink - gstreamer package not installed09:42
CarlFK[m]or, there is another video sink that doesn't display the fps counts09:43
*** sb0 has quit IRC09:46
CarlFK[m]gst-launch-1.0 v4l2src device=/dev/video0 '!' jpegdec '!' queue '!' videoconvert '!' autovideosink sync=false09:48
*** sb0 has joined #timvideos09:50
*** anshul98[m] has joined #timvideos09:50
*** vys has quit IRC09:51
faultehok slow internet ill try those out09:55
*** futarisIRCcloud has joined #timvideos09:57
CarlFKoh look, it's 4am.. I should get to sleep.10:01
*** Kripton has joined #timvideos10:02
CarlFK[m]Faulteh: I'll be back in a few hours.10:04
faultehill report back when i know more10:10
*** vys has joined #timvideos10:26
faultehok got it to display on a pi, the odroid c2 still no luck maybe because it couldnt load the libgl renderer or its like a really old 3.14 kernel10:34
*** sb0 has quit IRC11:26
faultehyay i got it working with gstreamer11:29
faultehi think this will work, but i'm going to need more pi! :)11:29
faultehthanks CarlFK11:29
*** shorne_ has quit IRC12:20
froztbyteWow, these boards are packed like HP kit12:22
*** shorne has joined #timvideos12:27
froztbyteCarlFK[m] / tumbleweed / paddatrapper: link to magic cables pls?12:31
froztbyteCarlFK[m]: also, those little portable displays you have .... where'd you get 'em? :P12:31
*** futarisIRCcloud has quit IRC12:36
*** rohitksingh_work has quit IRC12:39
*** shorne has quit IRC12:40
*** shorne has joined #timvideos12:42
paddatrapperfroztbyte: https://www.amazon.com/Cable-Matters-Ultra-RedMere-Technology/dp/B011M32RLI/13:01
*** samsagaz has quit IRC13:01
paddatrapperthough I would get someone to confirm that13:01
froztbytepaddatrapper: thanks13:03
froztbytethose do _appear_ to look correct13:04
paddatrapperfroztbyte: that's what I was going with too. Essentially you need redmere cables13:05
*** Kripton has quit IRC13:47
*** rohitksingh has joined #timvideos13:48
*** sb0 has joined #timvideos13:54
*** Kripton has joined #timvideos13:57
*** harshgugale has joined #timvideos14:05
CarlFKfroztbyte: https://www.monoprice.com/product?c_id=102&cp_id=10240&cs_id=1024014&p_id=13589&seq=1&format=2  https://www.monoprice.com/product?c_id=102&cp_id=10240&cs_id=1024014&p_id=13593&seq=1&format=214:25
CarlFK3' 7$, 10' 12$14:26
harshgugaleHello all! I am interested in contributing to the GSoC project idea related to IBERT clone using LiteX.  I have some doubts regarding the wrapper part which has been described. I did not understand what tool will enable us to change control parameters such as output swing or pre/post emphasis etc. Can Litescope be somehow used? Thanks!14:28
*** rohitksingh has quit IRC14:30
*** harshgugale has quit IRC14:32
*** rohitksingh has joined #timvideos14:32
CarlFKfroztbyte: the little 7" display that had SDI?  that was the UNs.   I had to give it back :(14:34
CarlFKfaulteh: yay!14:34
CarlFKfaulteh: I use a c2.  I may be re-imaging it today.    let me know if you need help with it.14:35
froztbyteCarlFK: thanks14:40
*** rohitksingh has quit IRC14:54
*** harshgugale has joined #timvideos14:55
*** rohitksingh has joined #timvideos14:56
*** cr1901_modern has quit IRC15:09
*** cr1901_modern has joined #timvideos15:10
*** harshgugale has joined #timvideos15:31
*** shivm28 has joined #timvideos15:49
*** shivm28 has left #timvideos15:51
*** shivm28 has joined #timvideos15:53
*** swalladge has quit IRC15:57
shivm28Hi, I am Shivam. I am trying to build qemu-litex outside HDMI2USB-litex-firmware using this link: https://github.com/timvideos/qemu-litex/ . I am implementing the script with default settings. The problem is that there is no flash.bin file at this link 'https://github.com/timvideos/HDMI2USB-firmware-prebuilt/trunk/archive/master/v0.0.4-99-g2000531/mimasv2/base/lm32/flash.bin'.15:58
tpbTitle: GitHub - timvideos/qemu-litex (at github.com)15:58
shivm28I have also checked the folder manually. Can someone please guide me regarding this issue?16:00
*** shivm28_ has joined #timvideos16:02
CarlFKshivm28 - i have not done that, but I may be able to find that file for you ... just a moment16:02
*** swalladge has joined #timvideos16:06
*** sb0 has quit IRC16:21
*** shivm28_ has quit IRC16:27
*** rohitksingh has quit IRC16:28
*** rohitksingh has joined #timvideos16:30
CarlFK[m]shivm28:   https://github.com/timvideos/HDMI2USB-firmware-prebuilt/blob/master/archive/master/v0.0.4-148-g8810a57/mimasv2/base/lm32/software/firmware/firmware.bin16:32
tpbTitle: HDMI2USB-firmware-prebuilt/firmware.bin at master · timvideos/HDMI2USB-firmware-prebuilt · GitHub (at github.com)16:32
CarlFK[m]I know that names changed - flash.bin was replaced... and I'm not sure what is needed to run under qemu-litex16:34
paddatrappertumbleweed: what is that small display you have? froztbyte is looking16:34
*** harshgugale has joined #timvideos16:34
*** harshgugale has quit IRC16:35
shivm28@CarlFK Line 52 in this script :https://github.com/timvideos/qemu-litex/blob/master/build-litex-qemu.sh#L60  is for downloading "flash file".16:36
tpbTitle: qemu-litex/build-litex-qemu.sh at master · timvideos/qemu-litex · GitHub (at github.com)16:36
shivm28Should I skip that step?16:37
CarlFK[m]shivm28: sure?  if you need it, i'm sure you will get an error later16:43
CarlFK[m]paddatrapper (IRC): it is on the page of useful hardware, right? ;)16:43
CarlFK[m]along with magic cables and cases.    which I can't find.16:44
CarlFK[m]"what cables should I buy?" should be top of the FAQ16:44
CarlFK[m]well, what box maybe is even more likely.16:44
paddatrapperCarlFK[m]: the HDMI cables should be there (if not, I'll add them)16:45
paddatrapperI'll add the screen as a nice to have16:46
CarlFK[m]paddatrapper (IRC): im just not sure where "there" is.  unless this is it: https://opsis.hdmi2usb.tv/getting-started/case.html16:46
paddatrapperCarlFK[m]: I thought you were talking about Debian video team docs. Hadn't thought to check the opsis docs16:47
CarlFK[m]oh right - i didn't think of the dv docs - they are too new for me16:49
CarlFK[m]I like how this power supply page does not say what power supply can be used ;/  https://opsis.hdmi2usb.tv/getting-started/power.html16:50
CarlFK[m]there is a header behind the usb-B port that has the 5v coming from the host - I wonder if I can use that to drive the odroid c2?16:52
paddatrapperIt says [email protected] DC barrel or PCIe 6 pin16:53
paddatrapperIIRC, that's how we did it at pyconza16:53
paddatrapper(powered the odroids from the 5V headers)16:54
CarlFK[m]neat -16:54
CarlFK[m]which power connector did you use on the c2?16:54
paddatrappertumbleweed: ^?16:54
paddatrapperI think micro USB, but tumbleweed will know better16:55
*** sb0 has joined #timvideos16:56
froztbyteit's still another hour or so before tumbleweed comes out of humancoma17:01
*** sb0 has quit IRC17:13
* CarlFK[m] uploaded an image: 20180227_111046.jpg (599KB) <https://matrix.org/_matrix/media/v1/download/matrix.org/ysMlvIvhvHdkczSCMkPRvGzT>17:14
CarlFK[m]oh, J4 is "power switch"17:16
*** sb0 has joined #timvideos17:17
froztbytewhat are you doing, CarlFK17:17
CarlFK[m]I 'hate' that they didn't include the header17:17
CarlFK[m]trying to figure out how to power the c217:17
*** sb0_ has joined #timvideos17:18
tumbleweedpaddatrapper: my one is https://smile.amazon.com/gp/product/B00V45U39S/ mithro has some different ones17:21
tumbleweedCarlFK[m]: yes, you can power the C2 over USB17:21
paddatrapperfroztbyte: you were close :) he's 30 min early17:23
tumbleweedand I've showered, made coffe, and finished a report :P17:24
* CarlFK[m] uploaded an image: VectorImage_2018-02-27_112318.jpg (5164KB) <https://matrix.org/_matrix/media/v1/download/matrix.org/AMJcpchvfwbndDkBCinRrjiU>17:27
CarlFK[m]thats my test rig17:28
CarlFK[m]the C2 isn't hooked up to anything17:28
CarlFK[m]the black wire/barrel is switched 5v for an Atlys in its on box17:29
CarlFK[m]own box17:29
CarlFKtumbleweed: my exact Q: can I use the 5v on the usb header on the Opsis board to power the c2?17:32
CarlFKI don't see why not.17:33
CarlFKat 2am we concluded it wasn't even hooked up to anything other than the usb-b port.  like it doesn't go anywhere into Opsis land.17:33
CarlFK[m]oh wait.. the other end of that cable will be plugged into the C2.  um...17:34
CarlFK[m]yeah, never mind that plan.17:35
shivm28CarlFK: I think "flash.bin" file is missing for the default settings. And things won't work without that.17:35
CarlFK[m]shivm28 (IRC): or flash.bin has a new name17:36
shivm28I will try to run the script for some other platform.17:37
CarlFK[m]shivm28 (IRC): I have a local checkout of that repo (it is huge!)17:38
CarlFK[m]and flash.bin stopped a while ago17:38
tumbleweedCarlFK[m]: dunno17:39
CarlFKtumbleweed: I do.  No.  unless the c2 can power itself from it's own usb-a port  ;)17:40
tumbleweedCarlFK: the opsis does have a 5V power rail, the question is how much spare capacity there is17:41
CarlFKtumbleweed: im trying to find 5v on the Opsis so I don't have to hook up a 2nd PS for the C217:41
tumbleweed(or I assume it does)17:41
CarlFKI hear PS1ers say "use a $1.20 (or 12 cent?) power do-dad to get 5v off your 12v supply."17:42
CarlFKbut A) I haven't seen a part number and B) i would rather not have to figure out where to mount it.17:43
CarlFKplan B: https://www.ebay.com/itm/AC-to-12V-5-Volt-DC-Power-Supply-Adapter-w-4-Pin-Molex-Connector-Plug-SS34W1205-/30193868332617:50
* CarlFK[m] uploaded an image: VectorImage_2018-02-27_120858.jpg (384KB) <https://matrix.org/_matrix/media/v1/download/matrix.org/BnlQoIQRdIZlzkNTebyJrAry>18:12
CarlFK[m]it just fits.18:17
CarlFK[m]not sure how I feel about an iec plug 'there'18:17
tumbleweedaccording to https://opsis.hdmi2usb.tv/getting-started/power.html - the opsis 5V power rails don't have much power - not enough for the odroid18:18
tumbleweedso yes, you need to do your own thing18:19
*** rohitksingh has quit IRC18:43
*** rohitksingh has joined #timvideos18:46
*** rohitksingh has quit IRC19:16
*** samsagaz has joined #timvideos20:14
*** samsagaz has quit IRC20:22
CarlFKoh oh.. http://paste.ubuntu.com/p/k27XnrgzkT/  [drm:drm_edid_block_valid [drm]] *ERROR* EDID checksum is invalid,20:31
tpbTitle: Ubuntu Pastebin (at paste.ubuntu.com)20:31
*** samsagaz has joined #timvideos20:41
CarlFK[m]DNA: 01332dbbfc5b5aa0  is v0.0.0-268-gf139548-dirty21:17
CarlFK[m]DNA: 01339242291f4b8b is v0.0.4-148-g8810a57  (bad edid)21:17
CarlFK[m]lets see if I can flash with --by-dna 01332dbbfc5b5aa021:18
* CarlFK[m] uploaded an image: VectorImage_2018-02-27_032917.jpg (5837KB) <https://matrix.org/_matrix/media/v1/download/matrix.org/RQBDzhrqeAqHolGWtOnILkQw>21:33
CarlFK[m]I would use the hdmi2usb to grab that, but it isn't working either21:41
CarlFK[m]and I see the spreadsheet is in pretty bad shape too.21:41
CarlFKwoot.  something is working again: input0:  1280x720 (@74.25 MHz) (capturing)21:58
CarlFK[m]mithro (IRC): im guessing you have code that is adding dates to the spreadsheet - can it add the version too?22:24
cr1901_modernI see litex' structure changed. This is gonna be interesting to bring all my stuff up to date22:32

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