*** tpb has joined #timvideos | 00:00 | |
*** cyrozap has joined #timvideos | 00:29 | |
CarlFK | mithro: ping - I am having trouble getting my opsis working again | 00:56 |
---|---|---|
CarlFK | read 1487168 bytes from file /tmp/hdmi2usb/opsis_hdmi2usb-hdmi2usbsoc-opsis.bin and flash bank 0 at offset 0x00000000 in 57.619904s (25.205 KiB/s) | 00:57 |
CarlFK | Numato Opsis in 'jtag' mode at /dev/bus/usb/002/077 | 00:57 |
CarlFK | seems I can get it out of jtag mode | 00:58 |
mithro | I'll be around in an hour. | 01:33 |
CarlFK | z\\yay | 01:41 |
*** aom has joined #timvideos | 02:37 | |
CarlFK | mithro: ping | 02:56 |
mithro | Almost here, give me 5 more | 03:00 |
mithro | CarlFK: okay, I'm here now | 03:02 |
mithro | So, what is your actual question? | 03:02 |
CarlFK | mithro: I have a few issues - this one is on my screen now: http://veyepar.nextdayvideo.com/static/temp/dirtybars1.png | 03:02 |
mithro | CarlFK: and how did you make that happen? | 03:03 |
CarlFK | mithro: flashed an Atlys with git describe: v0.0.0-699-gb505665-dirty | 03:04 |
CarlFK | that image comes out from output0: 1280x720@60Hz from pattern | 03:04 |
mithro | CarlFK: Can you paste the complete version info somewhere? | 03:04 |
CarlFK | and the stream | 03:04 |
CarlFK | http://paste.ubuntu.com/16544796/ | 03:05 |
tpb | Title: Ubuntu Pastebin (at paste.ubuntu.com) | 03:05 |
mithro | CarlFK: can you reproduce it? | 03:06 |
CarlFK | I think so... sec | 03:07 |
CarlFK | powercycle atlys - output0 shows atlys test pattern | 03:08 |
CarlFK | :~/HDMI2USB-firmware-prebuilt/archive/master/v0.0.0-699-gb505665/atlys/hdmi2usb$ openocd -f board/digilent_atlys.cfg -c "init; pld load 0 atlys_hdmi2usb-hdmi2usbsoc-atlys.bit; exit" | 03:09 |
CarlFK | fxload -B libusb -D vid=0x16c0,pid=0x06ad -t fx2lp -I hdmi2usb.hex | 03:09 |
CarlFK | flterm --port /dev/ttyVIZ0 --speed 115200 | 03:09 |
CarlFK | [FLTERM] Starting... | 03:10 |
CarlFK | BIOS> romboot | 03:10 |
mithro | If you need to use "romboot" things are not working already | 03:10 |
mithro | what does memtest show on that? | 03:10 |
CarlFK | hmm, now something new is happening. //paste.ubuntu.com/16544963/ | 03:13 |
CarlFK | er, sorry for the missing http | 03:13 |
CarlFK | http://paste.ubuntu.com/16544963/ | 03:13 |
tpb | Title: Ubuntu Pastebin (at paste.ubuntu.com) | 03:13 |
CarlFK | it got that far, then stopped. monitor is "no signal" and went to sleep | 03:14 |
CarlFK | oh swell. BIOS> memtest | 03:17 |
CarlFK | Memtest failed: 532718/532736 words incorrect | 03:17 |
mithro | CarlFK: that is what I wanted you to look for | 03:17 |
CarlFK | BIOS> romboot ... Executing booted program. ... back to this on the hdmi display http://veyepar.nextdayvideo.com/static/temp/dirtybars1.png | 03:19 |
mithro | if the memtest doesn't pass straight after reboot, its unlikely to work at all | 03:21 |
CarlFK | well, I ran this config for that 1 day conf last week | 03:26 |
CarlFK | complete with fuzzy test pattern at the start | 03:26 |
CarlFK | >>> 532718 - 532736 | 03:27 |
CarlFK | -18 | 03:27 |
CarlFK | I am suspicious of that being accurate | 03:28 |
mithro | ? | 03:28 |
CarlFK | I think memtest is broken | 03:28 |
CarlFK | but.. this is an older firmware rev. I am going to try current | 03:30 |
CarlFK | oh wait.. that was current: v0.0.0-699 | 03:31 |
CarlFK | but, I would rather put the Atlys aside and work on the Opsis | 03:33 |
mithro | I really need someone who is testing both | 03:33 |
CarlFK | in two days I leave for a show. I would like to get the Opsis working and have the Atlys as my backup | 03:34 |
CarlFK | right now I can't get the Opsis out of jtag (I think thats what is going on) | 03:36 |
mithro | So again, what are you trying to do and where is it going on? | 03:37 |
mithro | s/on/wrong/ | 03:37 |
CarlFK | powered up opsis, plug in lcd, I see the color bars with hdmi2usb/timvideo.us text in the upper corner (good) | 03:40 |
CarlFK | plug in usb, lsusb, Bus 002 Device 010: ID 2a19:5442 | 03:41 |
CarlFK | hmm, now in dmesg I see: uvcvideo: Found UVC .. [72621.235056] cdc_acm 2-1:1.2: ttyACM0: USB ACM device | 03:41 |
mithro | sounds like its working to me? | 03:42 |
CarlFK | HDMI2USB>version | 03:43 |
CarlFK | git describe: v0.0.0-663-g54d888a-dirty | 03:43 |
CarlFK | yes | 03:43 |
CarlFK | I am starting to think 30 seconds, and maybe even a min or two isn't enough time for it to get out of: lsusb ... Bus 002 Device 019: ID 16c0:06ad Van Ooijen Technische Informatica | 03:44 |
mithro | The Opsis won't ever come up with that info from stuff on the board | 03:46 |
mithro | The only way it gets those IDs is if you load from the PC | 03:47 |
CarlFK | well, it seems to retain it without anything (power, usb, hdmi in/out) plugged in | 03:48 |
mithro | There are capacitors on the board which could hold charge for a while. However, I think it is more likely you have a udev rule or similar | 03:51 |
CarlFK | same box I just plugged it into | 03:54 |
mithro | The Opsis will connect first with the 5440 ID, then remunerate to the 5442 ID | 03:55 |
mithro | You should see this in the kernel logs | 03:55 |
mithro | If you have a udev rule which fires on the first ID, then weird things might happen. | 03:57 |
mithro | As it will depend on when you plug it in and when it gets triggered | 03:58 |
CarlFK | didn't you say it needed 30 seconds of no power to reset? | 03:59 |
CarlFK | new problem - never seen this. the uvc stream is broken... mplayer tv:// -tv driver=v4l2:device=/dev/video1 .. trying to get a visual ... | 04:03 |
CarlFK | 04:03 | |
mithro | Yes, as I mentioned the capacitors take a while to discharge.. | 04:04 |
CarlFK | I think that's what was causing it to not go out of 16c0:06ad Van Ooijen... | 04:06 |
CarlFK | mithro: this is alarming: http://veyepar.nextdayvideo.com/static/temp/baduvc2.png | 04:09 |
CarlFK | encoder: 1280x720 @ 12fps (781Mbps) from pattern (q: 50) | 04:10 |
CarlFK | mplayer tv:// -tv driver=v4l2:device=/dev/video1 | 04:10 |
mithro | CarlFK: can you reproduce it? | 04:10 |
CarlFK | HDMI2USB>reboot | 04:11 |
CarlFK | Error: Invalid flash boot image length 0xffffffff | 04:11 |
CarlFK | I see bars on the lcd, but the reboot never finished .. | 04:13 |
CarlFK | http://paste.ubuntu.com/16546186/ | 04:13 |
tpb | Title: Ubuntu Pastebin (at paste.ubuntu.com) | 04:13 |
mithro | CarlFK: So, what are the steps to reproduce? | 04:14 |
CarlFK | heh | 04:14 |
CarlFK | im loosing track of problems | 04:15 |
CarlFK | but reboot got me here: | 04:15 |
mithro | CarlFK: yes | 04:15 |
CarlFK | Bus 002 Device 012: ID 16c0:06ad Van Ooijen Technische Informatica | 04:15 |
CarlFK | everything unplugged | 04:18 |
mithro | CarlFK: what do you mean? | 04:19 |
CarlFK | HDMI2USB>reboot - I did that. I saw http://paste.ubuntu.com/16546186/ and lsusb Bus 002 Device 012: ID 16c0:06ad Van Ooijen Technische Informatica | 04:22 |
tpb | Title: Ubuntu Pastebin (at paste.ubuntu.com) | 04:22 |
CarlFK | and stayed there for over a min. then I pulled all the cords and it is still sitting | 04:23 |
CarlFK | going to plug it back in now and see what happens | 04:23 |
mithro | CarlFK: Your explanation makes no sense | 04:23 |
CarlFK | mithro: I think the amount of time needed for the caps to drain is pretty long | 04:25 |
mithro | CarlFK: I think you are guessing at things | 04:25 |
CarlFK | (11:16:17 PM) CarlFK: everything unplugged ... (11:21:11 PM) CarlFK: going to plug it back in now and see what happens | 04:25 |
CarlFK | that was about 5 min | 04:25 |
CarlFK | lsusb shows: Bus 002 Device 016: ID 16c0:06ad Van Ooijen Technische Informatica | 04:25 |
mithro | CarlFK: You did "reboot" and then got the 06ad means you have a udev rule | 04:26 |
mithro | CarlFK: nothing to do with caps there | 04:26 |
mithro | The 06ad can *only* come from the computer you are connecting to | 04:26 |
mithro | CarlFK: if you look at the dmesg output, you should be able to see what is going on | 04:29 |
CarlFK | mithro: the udev rule would have come from a package I instlled form the timvideos ppa - which tumbleweed made but you would have ... ok, let me look | 04:29 |
CarlFK | mithro: http://paste.ubuntu.com/16546423/ | 04:31 |
tpb | Title: Ubuntu Pastebin (at paste.ubuntu.com) | 04:31 |
mithro | CarlFK: compare that to the following | 04:31 |
mithro | CarlFK: disconnecting the power, wait 30 seconds, connecting the USB, then connecting the power | 04:32 |
mithro | CarlFK: and | 04:32 |
mithro | CarlFK: disconnecting the power, wait 30 seconds, connecting the power, wait 30 seconds, connecting the USB | 04:32 |
mithro | Then compare it to a machine which doesn't have any packages installed | 04:38 |
CarlFK | mithro: I think I see the pattern - do you want me to paste dmesg? | 04:54 |
mithro | CarlFK: if you want to paste it | 04:55 |
CarlFK | http://paste.ubuntu.com/16546765/ - box with pacakges (so udev rules) | 04:56 |
tpb | Title: Ubuntu Pastebin (at paste.ubuntu.com) | 04:56 |
CarlFK | http://paste.ubuntu.com/16546776/ - odroid arm, no ppa | 04:57 |
tpb | Title: Ubuntu Pastebin (at paste.ubuntu.com) | 04:57 |
mithro | The odroid is doing something weird as it seems to support OTG on that port | 04:58 |
CarlFK | what dir do you think the udev rules are ? | 04:59 |
CarlFK | not /etc/udev/rules.d/ | 04:59 |
mithro | CarlFK: you know about locate and find right? | 05:03 |
CarlFK | mithro: yes - but not sure what to locate and find | 05:06 |
CarlFK | there is also some way to monitor what rules fire | 05:07 |
mithro | What does "locate *udev*" find? | 05:07 |
CarlFK | juser@negk:/usr$ locate *udev*|wc | 05:09 |
CarlFK | 794 794 28833 | 05:09 |
CarlFK | lots | 05:09 |
CarlFK | found /lib/udev/rules.d | 05:10 |
CarlFK | 85-ixo-usb-jtag.rules # Numato Opsis board - Failsafe Mode (http://opsis.hdmi2usb.tv/features/usb-peripheral.html#failsafe-mode-unable-to-read-eeprom) | 05:13 |
CarlFK | SUBSYSTEM=="usb", ACTION=="add", ATTRS{idVendor}=="2a19", ATTRS{idProduct}=="5440", RUN+="/sbin/fxload -D $tempnode -t fx2lp -I /lib/firmware/ixo-usb-jtag/hw_opsis.hex" | 05:13 |
CarlFK | mithro: I think this is dependent on the hdmi input https://plus.google.com/u/0/101817321389198875733/posts/9DCsXDamvo8?pid=6287011785977599298&oid=101817321389198875733 | 05:45 |
CarlFK | that was with git describe: v0.0.0-663-g54d888a-dirty | 05:49 |
CarlFK | I am going to try the most resent | 05:50 |
mithro | CarlFK: you know what I'm going to ask? :-P | 05:50 |
CarlFK | mithro: it seems dependent on the input, currently Acer v0.3108 Aspire 1410 - hdmi out | 05:59 |
mithro | CarlFK: can you reproduce it? | 05:59 |
CarlFK | "yes | 05:59 |
CarlFK | if you want steps, step 1, get one of those laptops from ebay ;) | 06:00 |
CarlFK | or some other device that provides a similar signal | 06:01 |
CarlFK | I saw it 5 min before last weeks show was about to start | 06:01 |
CarlFK | on my Atlys #1 (I have 2 now) | 06:01 |
CarlFK | mithro: I am seeing this noise again: http://veyepar.nextdayvideo.com/static/temp/shot0002.png | 06:16 |
CarlFK | eventually I am going to get the current firmware and find all has been fixed ;) | 06:17 |
mithro | CarlFK: If you have a procedure that you can make it happen reliably, then we can figure out what is going | 06:18 |
CarlFK | mithro: these last two are just HDMI2USB>x c 0 1 | 06:19 |
mithro | CarlFK: that is not a full procedure | 06:19 |
mithro | CarlFK: From everything powered off and no cables connected - can you boot everything up and get that behaviour? | 06:20 |
CarlFK | mithro: I can't seem to get rid of it | 06:22 |
CarlFK | so sure. if I plug/unplug cables, it is there. | 06:23 |
mithro | CarlFK: so, explain to me in excruciating detail of how you got to this.. | 06:23 |
CarlFK | stack 2 i3 desktops on top of each other... | 06:35 |
CarlFK | pile on a gig swich and a laptop | 06:35 |
CarlFK | and on the side the exatron vga-hdmi converter set to generate test patterns | 06:36 |
CarlFK | that gives me 4 inputs | 06:36 |
CarlFK | I get the most noise when it is plugged into the laptop | 06:38 |
CarlFK | looping an Opsis output1 into input0 seems to cause a problem | 06:39 |
mithro | CarlFK: that doesn't explain a lot, what are you loading onto what? Are you using an Opsis or an Atlys? What revision? Are you using Input 0 or Input 1? | 06:39 |
CarlFK | Opsis | 06:39 |
CarlFK | v0.0.0-663-g54d888a-dirty | 06:40 |
CarlFK | not sure exactly how that image got there, does it matter? | 06:40 |
mithro | This one? https://github.com/timvideos/HDMI2USB-firmware-prebuilt/tree/master/archive/master/v0.0.0-663-g54d888a/opsis/hdmi2usb ? | 06:41 |
tpb | Title: HDMI2USB-firmware-prebuilt/archive/master/v0.0.0-663-g54d888a/opsis/hdmi2usb at master · timvideos/HDMI2USB-firmware-prebuilt · GitHub (at github.com) | 06:41 |
CarlFK | yes | 06:42 |
CarlFK | 3' magic cable, input0 | 06:42 |
mithro | What does the monitor show with the test pattern output? | 06:43 |
CarlFK | clean, no noise | 06:45 |
mithro | CarlFK: perfectly clean? Can you take a very close look at the edges of the bars? | 06:46 |
CarlFK | mithro: looks good. https://plus.google.com/u/0/101817321389198875733/posts/HSusbtYLoJo?pid=6287030153977775026&oid=101817321389198875733 | 06:52 |
CarlFK | I thin the dots I see are dirt on the screen | 06:52 |
mithro | CarlFK: Is there normally space between the H and D ? | 06:52 |
CarlFK | mithro: I don't think so. it doesn't stand out as something odd, so I think it is normal. | 06:54 |
mithro | CarlFK: can you capture a full photo? | 06:55 |
CarlFK | https://plus.google.com/u/0/101817321389198875733/posts/7J8CxTndcw4?pid=6287031798237828114&oid=101817321389198875733 full | 06:58 |
mithro | I assume the weirdness around the edges is from the photos not the monitor? | 06:59 |
CarlFK | https://plus.google.com/u/0/101817321389198875733/posts/SLLwN7VhUZD?pid=6287032037222075426&oid=101817321389198875733 close up of red/blue because it looks like it doesn't line up, but I think that's just how monitors work, like the red dots are above the blue | 06:59 |
CarlFK | I think so | 06:59 |
CarlFK | mithro: I should get to bed soon. any objection to me flashing v0.0.0-699-gb505665 (seems to be current) | 07:06 |
mithro | CarlFK: before you do | 07:07 |
mithro | CarlFK: go back to the other input | 07:07 |
mithro | CarlFK: do you get the same on the encoder? | 07:07 |
CarlFK | no - encoder is way worse - and mplayer complains about errors | 07:08 |
CarlFK | http://veyepar.nextdayvideo.com/static/temp/baduvc2.png regardless of if the input is hdmi or pattern | 07:09 |
CarlFK | huh, now mplayer wont even try | 07:09 |
mithro | CarlFK: can you use something other than mplayer | 07:09 |
mithro | mplayer seems to get stuck if you have a tty open at the same time | 07:09 |
CarlFK | gst-launch-1.0 v4l2src device=/dev/video1 ! xvimagesink -v | 07:13 |
CarlFK | never plays anything | 07:13 |
mithro | CarlFK: you need some stuff in between there | 07:13 |
CarlFK | oh right jpeg.. | 07:13 |
CarlFK | mithro: how does this look gst-launch-1.0 -v v4l2src device=/dev/video1 ! queue ! image/jpeg,width=1280,height=720 ! jpegdec ! videoconvert ! xvimagesink | 07:16 |
mithro | How about "v4l2src xxx ! queue ! decodebin ! xvimagesink" ? | 07:17 |
CarlFK | gst-launch-1.0 -v v4l2src device=/dev/video1 ! queue ! decodebin ! xvimagesink | 07:18 |
CarlFK | still nothing | 07:18 |
mithro | Okay | 07:19 |
mithro | CarlFK: it behaves differently with different inputs? | 07:19 |
CarlFK | yes | 07:19 |
CarlFK | er | 07:19 |
CarlFK | I can't seem to get the uvc stream working | 07:20 |
CarlFK | the hdmi is mostly ok, except for the bit of noise and occasional ... this pic: | 07:20 |
CarlFK | https://plus.google.com/u/0/101817321389198875733/posts/9DCsXDamvo8?pid=6287011785977599298&oid=101817321389198875733 | 07:21 |
CarlFK | it does that about every 30 seconds for about 1 second | 07:21 |
mithro | What do you mean "occasional"? | 07:21 |
mithro | CarlFK: this is an Opsis? | 07:21 |
CarlFK | yes | 07:22 |
CarlFK | occasional = every 30 seconds for about 1 second | 07:22 |
mithro | CarlFK: When you say "it does that above every 30 seconds for about 1 second" - is that with any input? Or just that one? | 07:22 |
CarlFK | just the Aspire 1410 laptop | 07:23 |
mithro | CarlFK: okay | 07:23 |
mithro | CarlFK: does the uvc work with the other laptops? | 07:23 |
CarlFK | if I move the cable to the desktop's hdmi it is fine | 07:23 |
CarlFK | the uvc is broken with pattern | 07:24 |
mithro | CarlFK: can you reset and see if you can get the pattern via UVC with nothing connected? | 07:26 |
CarlFK | sure.. and... I just moved the input from laptop to extatron for a min, then back. now it is solid. no more https://plus.google.com/u/0/101817321389198875733/posts/9DCsXDamvo8?pid=6287011785977599298&oid=101817321389198875733 | 07:28 |
mithro | CarlFK: can you get it back now? | 07:28 |
CarlFK | un/plug ... flickering is back. but less often. I guess. | 07:30 |
mithro | CarlFK: can you turn on the debugging for the input then? | 07:30 |
CarlFK | mithro: whats the command? | 07:31 |
mithro | debug input0 on | 07:31 |
CarlFK | dvisampler0: ph: -17 5 4 // charsync:111 [4 5 5] // WER: 0 0 0 // ch0 | 07:33 |
CarlFK | about 100 then one line of | 07:33 |
CarlFK | dvisampler0: ph: -16 4 1 // charsync:111 [4 5 5] // WER:1047 0 0 // c0 | 07:33 |
CarlFK | and the output flickers | 07:33 |
*** sb0 has joined #timvideos | 07:33 | |
mithro | CarlFK: is that consistent? | 07:36 |
CarlFK | mithro: no I have only seen 1 set of 3 errors in a row. it is not doing about 1 error every 10 no errors | 07:38 |
mithro | CarlFK: We really need deeprave's hdmi thing so we can set up monitoring of those debug values | 07:39 |
CarlFK | now a run of ... i lost count. 50 for sure | 07:39 |
CarlFK | I am running minicom, pretty sure I can turn on logging | 07:39 |
mithro | CarlFK: yes, but that doesn't help over the course of a whole conference | 07:40 |
CarlFK | ah | 07:40 |
CarlFK | flashing before I fall over ;) | 07:42 |
CarlFK | I gotta go. I just fell aasleep | 07:51 |
*** Bertl_zZ is now known as Bertl | 08:19 | |
mithro | Well, I'm going to go find some dinner | 08:58 |
*** aom has quit IRC | 09:41 | |
*** se6astian|away is now known as se6astian | 09:46 | |
*** Bertl is now known as Bertl_oO | 10:36 | |
mithro | _florent_: you wouldn't happen to be around? | 11:19 |
CarlFK | mithro: still up? | 14:03 |
mithro | CarlFK: just heading to bed | 14:43 |
*** sb0 has quit IRC | 15:28 | |
CarlFK | mithro: still up? v0.0.0-623-g5ac1879-dirty debug, almost no errors. for sure nothing over 10, and no spazzing screen | 15:28 |
CarlFK | hmm, reboot the laptop (input0) and now more errors. but less errors than before. (not sure how to measure error count) | 15:47 |
*** Bertl_oO is now known as Bertl | 16:11 | |
CarlFK | http://veyepar.nextdayvideo.com/static/temp/noiseenc1.png | 16:29 |
CarlFK | I only get that noise on the encoder when I plug in the hdmi inputs to Aspire 1410 laptop and a desktop | 16:32 |
CarlFK | ok, so the solution is not to plug in the 2nd hdmi. 'good' | 16:36 |
*** se6astian is now known as se6astian|away | 22:19 |
Generated by irclog2html.py 2.13.1 by Marius Gedminas - find it at mg.pov.lt!