*** tpb has joined #timvideos | 00:00 | |
*** Kripton has quit IRC | 00:42 | |
*** Kripton has joined #timvideos | 00:54 | |
CarlFK | anyone want to review the video of tim | 01:01 |
---|---|---|
CarlFK | anyone want to review the video of tim's talk next week? | 01:01 |
*** shaharyar has joined #timvideos | 04:05 | |
*** tumblingweed has quit IRC | 05:49 | |
*** tumblingweed has joined #timvideos | 06:13 | |
*** rqou has quit IRC | 06:34 | |
*** rqou has joined #timvideos | 06:35 | |
TheAssassin | CarlFK: atlys arrived | 10:54 |
*** Shaharyar has joined #timvideos | 12:33 | |
TheAssassin | so, I flashed the firmware on the atlys board | 13:11 |
TheAssassin | seems to wrok, a /dev/video0 showed up, and it's shown as timvideos atyls board in lsusb | 13:11 |
TheAssassin | however, my laptop doesn't recognize it as a display | 13:11 |
TheAssassin | I read there is no "hot plug" support | 13:11 |
TheAssassin | in what order do I have to connect something to the board? | 13:11 |
*** CarlFK has quit IRC | 13:17 | |
*** CarlFK has joined #timvideos | 13:26 | |
*** ChanServ sets mode: +v CarlFK | 13:26 | |
CarlFK | TheAssassin: did you build or dl firmware from https://github.com/timvideos/HDMI2USB-firmware-prebuilt/tree/master/archive/master ? | 13:28 |
tpb | Title: HDMI2USB-firmware-prebuilt/archive/master at master · timvideos/HDMI2USB-firmware-prebuilt · GitHub (at github.com) | 13:28 |
TheAssassin | CarlFK: I just figured out I flashed something ancient, and that didn'T work well | 13:28 |
TheAssassin | so right now I'm flashing the prebuilt 0.0.4 firmware | 13:28 |
TheAssassin | just finished | 13:30 |
TheAssassin | lemme reset the board now | 13:30 |
CarlFK | are you doing this: https://github.com/timvideos/HDMI2USB/wiki/Flashing-Firmware | 13:46 |
tpb | Title: Flashing Firmware · timvideos/HDMI2USB Wiki · GitHub (at github.com) | 13:46 |
TheAssassin | CarlFK: yes | 13:47 |
CarlFK | which I noticed a few weeks ago has the Atlys part out of order. I think... | 13:47 |
TheAssassin | yeah they dont sell it any more now | 13:47 |
TheAssassin | I even connected the jumper accordingly, and now flashing worked apparently, but as soon as the board gets reset after removing the jumper again, it appears unconfigured again | 13:48 |
CarlFK | what page has jumper instructions? | 13:49 |
CarlFK | the good news is once you get any of the hdmi2usb firmware flashed, you don't need to worry about the jumper any more | 13:50 |
TheAssassin | the jumper below the USB UART socket | 13:50 |
TheAssassin | yeah that's what I read | 13:50 |
CarlFK | the bad news is that means I have never really tested the instructions | 13:50 |
TheAssassin | the problem is | 13:50 |
TheAssassin | I flashed ~3 times now | 13:50 |
TheAssassin | always tells me to power cycle | 13:50 |
CarlFK | what *page* - url | 13:50 |
TheAssassin | so I power off, remove jumper, power on | 13:50 |
TheAssassin | ah gimme as ec | 13:51 |
TheAssassin | CarlFK: https://github.com/timvideos/HDMI2USB/wiki/Flashing-Firmware#digilent-atlys shows the instructions, and the jumper stuff is... | 13:51 |
tpb | Title: Flashing Firmware · timvideos/HDMI2USB Wiki · GitHub (at github.com) | 13:51 |
TheAssassin | https://github.com/timvideos/HDMI2USB/wiki/Digilent-Atlys-Board:-Jumpers-and-Video-Connections | 13:51 |
TheAssassin | here | 13:51 |
tpb | Title: Digilent Atlys Board: Jumpers and Video Connections · timvideos/HDMI2USB Wiki · GitHub (at github.com) | 13:52 |
TheAssassin | > An on-board mode jumper (JP11) selects between JTAG/USB and ROM programming modes. If JP11 is not loaded, the FPGA will automatically configure itself from the ROM. If JP11 is loaded, the FPGA will remain idle after power-on until configured from the JTAG or Serial programming port. | 13:53 |
TheAssassin | log: https://paste.assassinate-you.net/pweoyerd6/a3qyin | 13:53 |
tpb | Title: Sticky Notes (at paste.assassinate-you.net) | 13:53 |
CarlFK | that isnt' very clear. somewhere is more clear. I think it goes: | 13:54 |
CarlFK | jumper, flash, remove, power cycle | 13:54 |
TheAssassin | okay | 13:54 |
TheAssassin | I'll try | 13:54 |
CarlFK | more notes, but not helpful https://github.com/timvideos/HDMI2USB-litex-firmware/blob/master/getting-started.md#configuring-the-atlys | 13:56 |
tpb | Title: HDMI2USB-litex-firmware/getting-started.md at master · timvideos/HDMI2USB-litex-firmware · GitHub (at github.com) | 13:56 |
TheAssassin | yeah, there's a bunch of docs scattered around | 13:56 |
TheAssassin | okay, it's flashed, removing jumper now, then power off and on | 13:56 |
TheAssassin | nope, it's again there as "Digilent Development board JTAG" | 13:57 |
CarlFK | did you add the ppa and apt install modeswitch? | 13:57 |
CarlFK | Info : Found flash device 'micron n25q128' (ID 0x0018ba20) | 13:58 |
CarlFK | that looks good, so I think all of that is fine | 13:58 |
TheAssassin | seen it, yes | 14:00 |
TheAssassin | however that's said to be for trusty only | 14:00 |
TheAssassin | I tried with the software from the repos, but I'm setting up an ubuntu 18.04 system atm, to try the prebuilt tools from there | 14:00 |
CarlFK | we use streatch and xenial too | 14:01 |
CarlFK | the permutation of choices makes it hard to have a start to finish doc | 14:01 |
TheAssassin | CarlFK: you know I'm an AppImage developer, don't you? | 14:02 |
CarlFK | im heading off to breakfast | 14:02 |
CarlFK | whats that? | 14:03 |
TheAssassin | why not package all your tools as AppImages and ship them upstream? | 14:03 |
TheAssassin | https://paste.assassinate-you.net/pweoyerd6/a3qyin | 14:03 |
tpb | Title: Sticky Notes (at paste.assassinate-you.net) | 14:03 |
TheAssassin | err https://appimage.org | 14:03 |
tpb | Title: AppImage | Linux apps that run anywhere (at appimage.org) | 14:03 |
TheAssassin | instead of trying to get into the repos of all distros, just ship AppImages, bundles of the app with a fixed set of deps | 14:03 |
TheAssassin | if everybody's going to use the AppImages for flashing etc., you know for sure what software those people use | 14:04 |
TheAssassin | reproducibility wise that's a great thing | 14:04 |
CarlFK | but everyone wont, so we won't know :p | 14:04 |
CarlFK | image-gateware+bios+firmware.v0.0.4-203-g5f07955.atlys.hdmi2usb.lm32.bin | 14:04 |
TheAssassin | why won't they? | 14:04 |
TheAssassin | you just need to force em | 14:04 |
TheAssassin | just say "use the AppImage and retry" when someone comes to you with a bug report | 14:05 |
CarlFK | 203 is .. maybe broken. | 14:05 |
TheAssassin | well the download thingy downloaded that | 14:05 |
TheAssassin | I'll try an older version | 14:06 |
CarlFK | yeah, im trying to remember the default but i guess it is unstable. | 14:06 |
CarlFK | there is a arg for "stable" | 14:06 |
TheAssassin | there's a --latest arg | 14:07 |
TheAssassin | not a stable arg | 14:07 |
CarlFK | --channel | 14:08 |
CarlFK | --channel stable | 14:08 |
CarlFK | I think | 14:08 |
TheAssassin | lemme try | 14:08 |
TheAssassin | _csv.Error: iterator should return strings, not bytes (did you open the file in text mode? | 14:08 |
TheAssassin | damnit | 14:08 |
CarlFK | im reloacing to breafast - bb in a few | 14:09 |
*** CarlFK has quit IRC | 14:09 | |
TheAssassin | that thing is using google docs oO | 14:09 |
TheAssassin | guyyyyyyys you're open source devs why use google | 14:09 |
TheAssassin | according to the google docs thing, 194 | 14:10 |
*** CarlFK has joined #timvideos | 14:20 | |
*** ChanServ sets mode: +v CarlFK | 14:20 | |
CarlFK | back | 14:22 |
TheAssassin | wb | 14:23 |
TheAssassin | so | 14:23 |
TheAssassin | I flashed 194, which is apparently the stable release | 14:23 |
TheAssassin | now I can flash without the jumper | 14:23 |
TheAssassin | however there's no v4l device found | 14:23 |
CarlFK | did you --load-something something .hex? | 14:25 |
TheAssassin | no, they're called .bin now | 14:26 |
TheAssassin | image-gateware+bios+firmware.bin | 14:26 |
CarlFK | atlys needs two | 14:27 |
CarlFK | and the .hex gets lost on a power cycle | 14:27 |
CarlFK | which is why the order is mixed up on https://github.com/timvideos/HDMI2USB/wiki/Flashing-Firmware#digilent-atlys | 14:29 |
tpb | Title: Flashing Firmware · timvideos/HDMI2USB Wiki · GitHub (at github.com) | 14:29 |
TheAssassin | ah | 14:29 |
TheAssassin | interesting | 14:29 |
TheAssassin | hm | 14:29 |
TheAssassin | do I have to use the ancient .hex file? | 14:30 |
CarlFK | doesn't matter - it hasn't changed in years | 14:30 |
TheAssassin | ah now theres a dev video0 device | 14:31 |
TheAssassin | okay | 14:31 |
TheAssassin | lemme try to connect it to my laptop now :) | 14:31 |
TheAssassin | recognized as a 720p50 display now | 14:31 |
TheAssassin | so far s ogood | 14:31 |
CarlFK | \o/ progress | 14:32 |
TheAssassin | YES! | 14:33 |
TheAssassin | works | 14:33 |
TheAssassin | on mplayer | 14:33 |
TheAssassin | a little laggy in mplayer tho | 14:33 |
CarlFK | one more test - hook up a terminal program - like tio is my new fav | 14:33 |
TheAssassin | via the other usb port you mean | 14:33 |
CarlFK | I think it is the same usb port | 14:34 |
CarlFK | 1 is for programming, the other for .. um.. video and tty | 14:34 |
CarlFK | but I always have both hooked up, so no idea which is which | 14:35 |
CarlFK | you should see /dev/ttyVIZZ0 (or 1 Z... | 14:35 |
TheAssassin | well | 14:35 |
TheAssassin | actually on the atlys according to the docs the micro USB port is used for programming _and_ video | 14:36 |
TheAssassin | and that works already | 14:36 |
CarlFK | there are 2 micro, and one usb-a | 14:36 |
TheAssassin | ah yeah | 14:36 |
TheAssassin | right | 14:36 |
TheAssassin | so the term thing works with the other micro usb? | 14:36 |
CarlFK | but I always have both hooked up, so no idea which is which <- | 14:37 |
TheAssassin | the programming port is for the video device, I can guarantee that | 14:37 |
CarlFK | one usb hardware can have multiple protocols | 14:37 |
TheAssassin | I have only that connected and the docs say so too | 14:37 |
CarlFK | like a webcam with a mic will have both dev/video0 and ... some sound device | 14:38 |
TheAssassin | true | 14:38 |
CarlFK | but from what you are saying, I guess the other port is just the tty device | 14:38 |
TheAssassin | okay | 14:38 |
TheAssassin | once connecting the micro usb port near thge UART one, a serial device shows up | 14:39 |
TheAssassin | dev ttyXRUSB0 | 14:39 |
CarlFK | that means something isn't quite right | 14:39 |
TheAssassin | why | 14:39 |
CarlFK | ttyVIZZ0 | 14:39 |
CarlFK | that is right. | 14:40 |
TheAssassin | well maybe on your OS | 14:40 |
TheAssassin | the naming of these ports is OS specific normally | 14:40 |
TheAssassin | let me try my device here | 14:40 |
TheAssassin | what BAUD rate? | 14:40 |
CarlFK | iv seen ttyXRUSB0 on my os. it won't work | 14:40 |
CarlFK | did you do this: sudo apt install vizzini-dkms | 14:40 |
TheAssassin | yes | 14:40 |
TheAssassin | but let me try to ensure loading this kernel module | 14:41 |
CarlFK | un/plug the usb cables, check dmesg | 14:41 |
TheAssassin | okay, vizzini is loaded now | 14:43 |
TheAssassin | replugging | 14:43 |
TheAssassin | /dev/ttyXRUSB0 showed up | 14:43 |
TheAssassin | but now its group is video | 14:43 |
TheAssassin | so I assume after a reboot it might even show up as ttyVIZZ0 | 14:43 |
CarlFK | maybe. this is more stuff that isn't well tested. use app-whatever you said :p | 14:44 |
TheAssassin | so just connect to it with a serial terminal at some baud rate? | 14:45 |
TheAssassin | what are we looking for | 14:45 |
CarlFK | hit enter, see a hdmi2usb> prompt | 14:45 |
CarlFK | you enter commands, like: version | 14:45 |
TheAssassin | u know the correct baud rate? | 14:47 |
CarlFK | im not sure it matters - it isn't real serial hardware | 14:47 |
CarlFK | in fact, we have tried to use slower baud rates, and it seems everything ignores it | 14:48 |
CarlFK | do you see dev/ttyVIZ ? | 14:48 |
TheAssassin | nope | 14:49 |
TheAssassin | I'll power cycle the thing once again | 14:49 |
CarlFK | power cycle Atlys or .. host? | 14:50 |
TheAssassin | atlys | 14:50 |
CarlFK | after you power cycle, you need to load the .hex again | 14:51 |
TheAssassin | I just did | 14:51 |
TheAssassin | crw-rw---- 1 root video 266, 0 Mai 5 16:47 /dev/ttyXRUSB0 | 14:51 |
TheAssassin | crw-rw----+ 1 root video 81, 0 Mai 5 16:47 /dev/video0 | 14:51 |
TheAssassin | crw-rw---- 1 root video 166, 0 Mai 5 16:47 /dev/ttyACM0 | 14:51 |
TheAssassin | these are created by the board | 14:51 |
CarlFK | if it makes you feel better, I stuggle with this all the time | 14:52 |
CarlFK | blacklist xr_usb_serial_common ? | 14:53 |
CarlFK | you should see something about vizzini in dmesg | 14:54 |
TheAssassin | ah hm | 14:54 |
TheAssassin | let me rmmod that driver quickly | 14:55 |
CarlFK | i've also heard that ModemManager conflicts | 14:55 |
TheAssassin | btw, there's a command missing | 14:57 |
TheAssassin | first of all, the blacklist should be something like echo "blacklist XXX" | sudo tee -a /etc/modprobe.d/blacklist-hdmi2usb.conf | 14:57 |
TheAssassin | also, without sudo update-initramfs -u -k all, the change has zero effect | 14:57 |
TheAssassin | I'm not too much into video stuff | 15:00 |
TheAssassin | but this looks like when a linux desktop is missing a compositor that supports vsync | 15:00 |
CarlFK | are you seeing a little flicker on the bottom 1/3 ? | 15:01 |
TheAssassin | seems like youtube in a browser is not a good source to check how well this is working :) it's much better with a vid that is running in VLC | 15:03 |
CarlFK | eh? | 15:04 |
TheAssassin | dunno why but the video was apparently laggy in the browser, I just opened a video in VLC on my laptop and watch it via the atlys board now | 15:04 |
TheAssassin | my test VM is btw almost finished upgrading to bionic, then I'll perform my tests in there | 15:05 |
CarlFK | er, never mind that for now - if you want to try 1080i, need to get ttyVIZ to show up | 15:05 |
TheAssassin | yeah waiting for the VM then going to test that | 15:05 |
CarlFK | that won't help | 15:05 |
CarlFK | pretty sure your host OS needs to see the ... | 15:06 |
CarlFK | the vm simulates hardware to the guest, but the VM will then use the host's drivers to talk to the hardware | 15:07 |
CarlFK | if the host dosn't have the right driver.. the guest won't see it either. fill in correct definitions of "right" and "it" :p | 15:07 |
CarlFK | breakfast over, time to go to some talks - not sure when I'll be back | 15:12 |
TheAssassin | actually I flashed the firmware in the VM already twice :) | 15:12 |
TheAssassin | VirtualBox's driver is quite good, it's just forwarding all the USB stuff | 15:13 |
TheAssassin | CarlFK: could the problem also be that the device is in 50 fps mode atm? | 15:13 |
CarlFK | I am pretty sure the VM is till talking to the host OS, not the hardware | 15:13 |
TheAssassin | in "the rest of the world" (-- mithro) we use 60 fps | 15:13 |
CarlFK | no - if the vizz driver isn't being loaded, then no viz device | 15:14 |
TheAssassin | we'll see in a minute o_O | 15:14 |
CarlFK | and even if it is, seems some other driver can get it first, and the viz driver doesn't get used | 15:14 |
TheAssassin | btw the FPS difference issue might cause the flickering, not the missing VIZZ device | 15:14 |
CarlFK | ah | 15:14 |
TheAssassin | once I got a VIZZ device, I'll switch the mode | 15:15 |
CarlFK | im taking off. when you get the prompt, version and help, which will show you "video mode 11" I think is 1080 | 15:16 |
CarlFK | see ay | 15:16 |
TheAssassin | thanks anyway so far | 15:16 |
TheAssassin | it's up&running :D | 15:16 |
TheAssassin | never expected to get that far arleady | 15:16 |
TheAssassin | have fun, CarlFK | 15:16 |
CarlFK | heh - the room I am going to: HELP THE PROJECTOR IS FLICKERING!!! | 15:17 |
CarlFK | for once, not my problem, nor will anyone even look at me. | 15:17 |
*** CarlFK has quit IRC | 15:17 | |
TheAssassin | CarlFK[m]: you were right | 15:39 |
TheAssassin | reboot fixed it | 15:39 |
TheAssassin | I'll edit the wiki later | 15:39 |
TheAssassin | mithro: IIRC you guys were working on 3d printable cases for the hdmi2usb hardware...? is that published somewhere? | 16:41 |
CarlFK[m] | I don't think there is a case, certainly not for the Atlys | 17:06 |
*** CarlFK has joined #timvideos | 17:13 | |
*** ChanServ sets mode: +v CarlFK | 17:13 | |
CarlFK | TheAssassin: bouncing in an out a bit.. did you get the ttyVIZ to show up? | 17:21 |
CarlFK | on 3d stuff, there is a 'port shield' for the Opsis, completely different layout from the Atlys | 17:22 |
*** Kripton has quit IRC | 17:23 | |
*** Kripton has joined #timvideos | 17:24 | |
TheAssassin | yes, CarlFK, the device is there | 17:24 |
TheAssassin | but I can't figure out howt o connect | 17:25 |
CarlFK | what term program are you using? | 17:38 |
CarlFK | my fav: $ tio /dev/ttyVIZZ0 | 17:39 |
CarlFK | a week ago, bob seemed to need sudo. ran out of time trying to figure out why. | 17:40 |
TheAssassin | CarlFK: well, sudo adduser bob video | 18:04 |
CarlFK | did that fix your problem? | 18:06 |
TheAssassin | CarlFK: well I am connected, with minicom | 18:06 |
TheAssassin | yes, the problem is simply a permission thing | 18:06 |
CarlFK | yay | 18:06 |
TheAssassin | the problem is I dont see a prompt | 18:06 |
TheAssassin | re sudo: once youre in the video group, the permission error goes away | 18:06 |
TheAssassin | remember to tell bob to logout and login again afterwards | 18:07 |
TheAssassin | CarlFK: using tio doesn'T get me a prompt either | 18:07 |
CarlFK | carl@twist:~$ cat .minirc.dfl | 18:07 |
CarlFK | pu addcarreturn Yes | 18:07 |
TheAssassin | is that for tio? | 18:08 |
CarlFK | no - minicom | 18:08 |
CarlFK | $ tio /dev/ttyVIZ0 | 18:08 |
CarlFK | yo should get 3 lines. 3rd is like "Connected.." | 18:09 |
TheAssassin | > tio /dev/ttyVIZ0 | 18:09 |
TheAssassin | [tio 20:04:08] tio v1.20 | 18:09 |
TheAssassin | [tio 20:04:08] Press ctrl-t q to quit | 18:09 |
CarlFK | you aren't connected. | 18:10 |
CarlFK | try sudo | 18:10 |
TheAssassin | you dont say | 18:10 |
TheAssassin | this is with sudo :) | 18:10 |
CarlFK | lol | 18:10 |
TheAssassin | hm | 18:10 |
TheAssassin | now it works... | 18:10 |
TheAssassin | hit enter, now I got H2U t:im:e> | 18:11 |
TheAssassin | yay! | 18:11 |
CarlFK | yay!!! | 18:11 |
CarlFK | there is like bit of delay that is just enough to be confusing. which I don't remember seeing until last week, but it could be I have gotten used to things working | 18:12 |
TheAssassin | so | 18:12 |
TheAssassin | mode 11? | 18:12 |
CarlFK | version first | 18:12 |
CarlFK | make sure it is the version you think it is | 18:12 |
CarlFK | then help - look for the one about video mode. I think it is 2 words | 18:13 |
CarlFK | or two_words | 18:13 |
TheAssassin | already did | 18:13 |
TheAssassin | video_mode 11 worked btw | 18:13 |
CarlFK | now we get into untested teritory | 18:13 |
TheAssassin | 1080p29.97 is just a little laggy :) | 18:14 |
CarlFK | s (for status) | 18:14 |
CarlFK | I forget if all ins and outs are enabled. I think so. | 18:14 |
TheAssassin | https://paste.assassinate-you.net/p5lwhxcjn/3lu1bb | 18:14 |
tpb | Title: Sticky Notes (at paste.assassinate-you.net) | 18:14 |
CarlFK | I also forget if it is crystal clear. I think I opened an issue about some things being ambiguous | 18:15 |
TheAssassin | lemme see if I can disable the outs | 18:15 |
TheAssassin | I dont need em atm | 18:15 |
CarlFK | o0 off | 18:16 |
CarlFK | o1 off | 18:16 |
CarlFK | I think. | 18:16 |
TheAssassin | encoder: 1920x1080 @ 12fps from input1 (q: 85) | 18:16 |
TheAssassin | so I tried encoder fps 30 | 18:18 |
TheAssassin | but 1080p is only possible with 13 fps | 18:18 |
CarlFK | try dropping the quality | 18:18 |
CarlFK | it may be dependent on image complexity | 18:19 |
CarlFK | x c p e | 18:19 |
TheAssassin | 14fps with 50 | 18:19 |
CarlFK | sends color bar test pattern to the encoder | 18:19 |
TheAssassin | but yeah it's a start | 18:19 |
CarlFK | hmm, is the uvc stream i or p? | 18:21 |
TheAssassin | urm | 18:21 |
TheAssassin | good question | 18:21 |
CarlFK | if p, then it is the same as i@28. I think. | 18:22 |
TheAssassin | heh now I got it to 9fps... | 18:22 |
TheAssassin | turned off something called "secondary mode" | 18:22 |
TheAssassin | ill try 720p60 now | 18:23 |
TheAssassin | that's 28fps | 18:24 |
TheAssassin | hm, I thought it could do 720p60 oO | 18:24 |
CarlFK | you may have been thinking 60hz? | 18:27 |
CarlFK | this is on the edge of my understanding | 18:28 |
TheAssassin | no, I thought that the board would at least be able to give me 30 frames a second | 18:28 |
TheAssassin | at 720p at least | 18:28 |
CarlFK | I think it can | 18:29 |
TheAssassin | is that more likely the encoder being not as efficient as it could, or is it an IO problem? | 18:29 |
TheAssassin | I've seen that many blackmagic design devices use the exactly same FPGA chip as the atlys | 18:29 |
CarlFK | im wondeing if your consumer (mplaer?) isn't the bottleneck | 18:29 |
TheAssassin | so hardware wise it should be possible | 18:29 |
TheAssassin | wanna suggest an alternative | 18:29 |
CarlFK | https://github.com/CarlFK/voctomix-outcasts/blob/master/tests/show_hdmi2usb.sh | 18:30 |
tpb | Title: voctomix-outcasts/show_hdmi2usb.sh at master · CarlFK/voctomix-outcasts · GitHub (at github.com) | 18:30 |
TheAssassin | hardly less than 30 fps, just as with mplayer | 18:32 |
TheAssassin | average is 29.9 fps | 18:32 |
TheAssassin | 28.9* | 18:32 |
CarlFK | huh. check your cpu load.. and | 18:32 |
TheAssassin | the CPU is not loaded at all | 18:32 |
TheAssassin | it's an 8 core AMD FX CPU | 18:32 |
TheAssassin | with almost no load | 18:32 |
CarlFK | im wondering how you can monitor ... usb .. stuffs | 18:32 |
TheAssassin | pardon? | 18:33 |
CarlFK | like.. I hear the rasp pi usb hardware is so bad it can't do 100mbs networking | 18:33 |
CarlFK | even though usb2 is like 480mbs | 18:33 |
TheAssassin | yeah, but there's some metadata most likely around the 100mbps networking | 18:34 |
TheAssassin | then, the chip isn't very fast either | 18:34 |
TheAssassin | it's a single core outdated broadcom thing | 18:34 |
daveshah | Have a look at the usbtop command | 18:34 |
TheAssassin | CarlFK: check out https://transfer.assassinate-you.net/N7WVc/screenshot_2018-05-05_20-30-47.png | 18:35 |
CarlFK | do you have a webcam that can push ... | 18:35 |
CarlFK | theres a usbtop command? | 18:35 |
daveshah | https://github.com/aguinet/usbtop | 18:35 |
tpb | Title: GitHub - aguinet/usbtop: usbtop is a top-like utility that shows an estimated instantaneous bandwidth on USB buses and devices. (at github.com) | 18:35 |
daveshah | I just discovered it the other day | 18:35 |
TheAssassin | hm | 18:35 |
TheAssassin | that thing wants to be loaded as kernel module... | 18:35 |
TheAssassin | its not really stable | 18:35 |
TheAssassin | and not in active development | 18:36 |
daveshah | worked for me | 18:36 |
daveshah | the kernel module needed came with my distro anyway | 18:36 |
TheAssassin | which is? | 18:36 |
daveshah | usbmon | 18:36 |
daveshah | distro is Arch | 18:36 |
TheAssassin | im not saying it doesnt work | 18:37 |
TheAssassin | but I don't really want this on my prod system | 18:37 |
TheAssassin | once I get that used computer I wanna use for video stuff only I'll check it out | 18:37 |
CarlFK | carl@twist:~/src/voctomix-outcasts/tests$ lsmod | grep usbmon | 18:37 |
CarlFK | usbmon 28672 0 | 18:37 |
CarlFK | Ubuntu 16.04.4 LTS | 18:37 |
daveshah | yeah you just need to install usbtop, an application | 18:37 |
daveshah | the kernel module is separate and should already be installed in most cases | 18:38 |
CarlFK | it was already here, so someone must have decided it was stable enough | 18:38 |
TheAssassin | i see... | 18:38 |
TheAssassin | the kernel module is some external project | 18:38 |
daveshah | Yes, the kernel module is part of the Linux kernel source tree | 18:39 |
CarlFK | im with you on not loading up my production boxs with weird stuff | 18:39 |
TheAssassin | weird stuff is okay as long as it's stable :) | 18:40 |
TheAssassin | but if that would'Ve been some experimental kernel module.... | 18:41 |
TheAssassin | CarlFK: okay, so, in terms of debugging, I doubt this is an IO problem | 18:41 |
TheAssassin | it's fairly easy to estimate the size of the MJPEG stream | 18:41 |
TheAssassin | we got all the params | 18:42 |
TheAssassin | resolution, quality | 18:42 |
CarlFK | is quality 50 half as many bytes as 100? | 18:43 |
TheAssassin | I don't think so | 18:43 |
TheAssassin | but even with quality 100 | 18:43 |
TheAssassin | what size does a JPG have with that resolution | 18:43 |
TheAssassin | lemme try | 18:43 |
TheAssassin | convert -size 1280x720 xc:white test.jpg -> a file with 3761 bytes | 18:44 |
TheAssassin | so, 30 fps a second, ~120kiB/s? that's not very much | 18:45 |
CarlFK | im skeptical that is sound | 18:46 |
CarlFK | I'm sure the size will vary based on content | 18:46 |
TheAssassin | might be | 18:46 |
TheAssassin | I can create a stream with ffmpeg for testing | 18:46 |
TheAssassin | so, ffmpeg running to convert a video fileinto an mjpeg file with best quality -> around 12388.4kbits/s | 18:50 |
TheAssassin | a little bit more :) | 18:50 |
CarlFK | http://paste.ubuntu.com/p/FP33qMCDdk/ | 18:58 |
tpb | Title: Ubuntu Pastebin (at paste.ubuntu.com) | 18:58 |
CarlFK | the 2nd part works with my webcam. the first ... does not give me files that anything can display | 18:58 |
TheAssassin | just exits on my computer | 18:59 |
TheAssassin | aaah I see | 18:59 |
TheAssassin | hmm | 19:00 |
CarlFK | added a -v to the first one, I get /GstPipeline:pipeline0/GstV4l2Src:v4l2src0.GstPad:src: caps = "video/x-raw\,\ format\=\(string\)YUY2\,\ width\=\(int\)1280\,\ height\=\(int\)720\,\ pixel-aspect-ratio\=\(fraction\)1/1\,\ interlace-mode\=\(string\)progressive\,\ colorimetry\=\(string\)2:4:7:1\,\ framerate\=\(fraction\)10/1" | 19:00 |
CarlFK | video/x-raw - seems to be what my laptop webcam is putting out. or the driver... or something. it isn't mjpeg | 19:00 |
CarlFK | so hdmi2usb might give you useful files, that haven't been decoded/encoded | 19:01 |
TheAssassin | /GstPipeline:pipeline0/GstV4l2Src:v4l2src0.GstPad:src: caps = "video/x-raw\,\ format\=\(string\)YUY2\,\ width\=\(int\)1280\,\ height\=\(int\)720\,\ pixel-aspect-ratio\=\(fraction\)1/1\,\ interlace-mode\=\(string\)progressive\,\ colorimetry\=\(string\)2:4:7:1\,\ framerate\=\(fraction\)15/2 | 19:01 |
TheAssassin | CarlFK: what'cha working on | 19:02 |
CarlFK | lenovo thinkpad twist | 19:03 |
CarlFK | and now running off to: CircuitPython is a programming language that runs on microcontroller boards and designed to make learning super simple! In this workshop... | 19:03 |
*** CarlFK has quit IRC | 19:04 | |
TheAssassin | CarlFK[m]: just for the record: just forced mplayer to read 15fps a sec, hdmi2usb still says it's producing 29 | 19:25 |
* CarlFK[m] uploaded an image: VectorImage_2018-05-05_033206.jpg (5544KB) <https://matrix.org/_matrix/media/v1/download/matrix.org/nydvHuSRZgYvNLKQPFMumIRj> | 19:38 | |
*** CarlFK has joined #timvideos | 19:42 | |
*** ChanServ sets mode: +v CarlFK | 19:42 | |
*** shaharyar has joined #timvideos | 19:48 | |
*** shaharyar has quit IRC | 19:51 | |
*** CarlFK has quit IRC | 21:18 | |
*** CarlFK has joined #timvideos | 22:46 | |
*** ChanServ sets mode: +v CarlFK | 22:46 |
Generated by irclog2html.py 2.13.1 by Marius Gedminas - find it at mg.pov.lt!