*** tpb has joined #litex | 00:00 | |
*** CarlFK has quit IRC | 01:52 | |
*** Skip has quit IRC | 02:55 | |
*** Degi has quit IRC | 02:56 | |
*** Degi has joined #litex | 02:57 | |
*** peeps[zen] has joined #litex | 04:19 | |
*** peepsalot has quit IRC | 04:21 | |
*** _whitelogger has quit IRC | 04:48 | |
*** _whitelogger has joined #litex | 04:50 | |
*** _whitelogger has quit IRC | 05:18 | |
*** _whitelogger has joined #litex | 05:20 | |
*** CarlFK has joined #litex | 05:59 | |
*** CarlFK has quit IRC | 05:59 | |
*** CarlFK has joined #litex | 06:00 | |
*** kgugala__ has joined #litex | 06:08 | |
*** kgugala_ has quit IRC | 06:10 | |
*** kgugala__ has quit IRC | 08:02 | |
*** kgugala has joined #litex | 08:03 | |
*** captain_morgan has quit IRC | 09:13 | |
*** captain_morgan has joined #litex | 09:13 | |
xobs | gregdavill: I just merged the eptri cdc stuff. It passes the testbench now (patches pending) with a sysclk of 100 MHz. Still need to feed it a 48 MHz clock. And probably should feed it a 12 MHz clock as well, though I suppose you could just flop it. | 09:54 |
---|---|---|
*** _franck_ has quit IRC | 12:04 | |
CarlFK | kgugala: how do I get to the console? | 14:39 |
*** Skip has joined #litex | 14:50 | |
_florent_ | somlo: i did some testing on Mor1kx: https://github.com/enjoy-digital/litex/issues/544 | 14:51 |
tpb | Title: Mor1kx support broken by #517 · Issue #544 · enjoy-digital/litex · GitHub (at github.com) | 14:51 |
somlo | _florent_, benh: it's this line: https://github.com/enjoy-digital/litex/blob/master/litex/soc/software/include/hw/common.h#L43 | 15:36 |
tpb | Title: litex/common.h at master · enjoy-digital/litex · GitHub (at github.com) | 15:36 |
somlo | apologies for not catching it when I reviewed that patch :( | 15:37 |
somlo | MMPTR should always be `unsigned long`, i.e. `unsigned int` on 32-bit CPU/alignment, and `unsigned long long int` on 64-bit CPU/alignment | 15:39 |
somlo | those are the only options, regardless of CSR_DATA_WIDTH (which indicates how many of the bits within a MMPTR are actually *populated*)! | 15:39 |
somlo | I'll send a fixup PR in a minute | 15:42 |
somlo | _florent_, benh: https://github.com/enjoy-digital/litex/pull/545 | 16:05 |
tpb | Title: csr: fix simple accessor alignment by gsomlo · Pull Request #545 · enjoy-digital/litex · GitHub (at github.com) | 16:05 |
zyp | ttps://bin.jvnv.net/file/GG3NH.png | 16:12 |
zyp | sorry, wrong channel | 16:12 |
kgugala | CarlFK: what console you want to access? | 16:26 |
CarlFK | kgugala: the thing that lets me see status and configure things like what input is hooked to what output | 16:26 |
kgugala | there is no firmware running on the netv2 now | 16:27 |
CarlFK | kgugala: on the Opsis, tio /dev/ttyACM0 ... get a prompt, type "version" | 16:27 |
kgugala | everything is configured from the driver | 16:27 |
CarlFK | ah, got it. I think... | 16:27 |
kgugala | can you try different resolution on pi ? | 16:28 |
CarlFK | maybe, but I have better hdmi sources. like my laptop. | 16:29 |
kgugala | sure | 16:29 |
CarlFK | shoud the netv2's tx hdmi be sending anything ? | 16:29 |
kgugala | not this version you have | 16:30 |
kgugala | we have a wip version of the transmitter on the v4l2-output branch of the repo you're using | 16:31 |
CarlFK | I'll ignore that for now | 16:33 |
*** peeps[zen] is now known as peepsalot | 16:34 | |
kgugala | if you have e.g opsis board you can generate a pattern with it | 16:35 |
kgugala | opsis can also help with fixing video timings | 16:36 |
kgugala | so you can use opsis as repeater | 16:36 |
CarlFK | should netv2 (we need a shorter name for that) be sending out edid? | 16:39 |
kgugala | yes I think it does that | 16:43 |
CarlFK | opsis out to netv2 in: output0: [email protected] from pattern (underflows: 0) | 16:45 |
CarlFK | woot. gst showing it no skew! | 16:46 |
CarlFK | 62fps | 16:47 |
kgugala | yaay | 16:47 |
kgugala | you can try forwarding some other video source through opsis | 16:50 |
kgugala | like output from a laptop | 16:50 |
kgugala | and watch a movie via netv2/pcie in gst ;) | 16:50 |
CarlFK | is there any compression or anything that might cause artifacts? | 16:53 |
kgugala | no | 16:53 |
kgugala | it takes the video as it comes | 16:54 |
kgugala | uses DMA to transfer the video data over pcie to host memory | 16:55 |
CarlFK | thats what I figured. so no point in testing that sort of thign | 16:55 |
kgugala | there is no compression there (maybe just rgb888 -> yuv422 conversion) | 16:55 |
CarlFK | mithro: ^^^ success! | 16:56 |
kgugala | movies are for testing thighs like e.g. tearing | 16:57 |
kgugala | *are good for testing | 16:59 |
CarlFK | https://github.com/CarlFK/clocky I made that to help test sync, and the fast moving sweep hand is good for that | 17:01 |
tpb | Title: GitHub - CarlFK/clocky: analog clock with sweep hand (at github.com) | 17:01 |
CarlFK | getting the right wx libs installed ... grumble | 17:01 |
*** _franck_ has joined #litex | 17:02 | |
CarlFK | kgugala: hmm, it seems to have stopped updating.... | 17:03 |
CarlFK | opsis uptime on the pattern, isn't ticking any more | 17:04 |
CarlFK | gst frame counter stopped too | 17:04 |
kgugala | sth got disconnected? | 17:05 |
CarlFK | sth? | 17:05 |
kgugala | like HDMI cable? | 17:05 |
CarlFK | I did un/re plug it, and it kept going after that | 17:06 |
CarlFK | dmesg shows http://paste.ubuntu.com/p/Vq3d7c5wR7/ | 17:07 |
tpb | Title: Ubuntu Pastebin (at paste.ubuntu.com) | 17:07 |
kgugala | those prints with pll etc means that the device locked on signal (later it prints the delay settings) | 17:09 |
CarlFK | ^c the gst line, re-ran it. it did 45 frames and stopped | 17:11 |
CarlFK | oh boy. did that 2 more times, now it is working again. | 17:11 |
CarlFK | cpu - 4 cores, each between 10-20% | 17:12 |
kgugala | I'd say it's displaying what consumes the cores | 17:16 |
kgugala | data is transferred over pcie by DMA in fpga | 17:17 |
kgugala | so it does not consume the CPU | 17:17 |
CarlFK | the hangs or pause are concerning | 17:19 |
CarlFK | cpu goes to about 0 when that happens | 17:19 |
CarlFK | dmesg is full of [67712.275108] x86/PAT: v4l2src0:src:20261 map pfn RAM range req uncached-minus for [mem 0x35e00000-0x35fc1fff], got write-back | 17:19 |
CarlFK | and this 2x a second: [68401.017895] litepcie ph -5 1 0 // charsync 111 [8 6 6] // WER 0 0 0 // chansync 1 // res 1280x720 | 17:24 |
kgugala | the latter means it does not see the video input | 17:24 |
kgugala | looks like your stream is no stable | 17:25 |
kgugala | can you try different cable ? | 17:25 |
CarlFK[m] | Swapped cables, and this happened | 17:30 |
* CarlFK[m] uploaded an image: 20200529_123052_819113531581712419.jpg (6034KB) < https://matrix.org/_matrix/media/r0/download/matrix.org/mdMzNebQOyIXBIJOcIXCFYdH > | 17:31 | |
CarlFK | ^c, gst, 44 frames and froze | 17:38 |
CarlFK | swapped cable from short magic to 3' normal probably to spec, same thing in dmesg | 17:39 |
*** _franck_ has quit IRC | 18:07 | |
CarlFK | kgugala: fps has dropped to 42 - no clue why. nothing has changed as far as I know | 18:12 |
kgugala | unsure what happened, I was keeping it running for 24h and haven't noticed such issues | 18:29 |
CarlFK | kgugala: for output, pretty please don't have black be the default for when there is no input. | 18:35 |
CarlFK | either color bars or some unique color that makes it obvious where the signal is coming from | 18:36 |
*** scanakci has quit IRC | 18:36 | |
CarlFK | that just landed in the Opsis, it's helpful. ans surprising because I forgot about it | 18:37 |
CarlFK | and by "just landed" I mean the patch was accepted in 2019, and someone was able to build it in Jan 2020, and I'm not exactly sure where a working bitstream file is. | 18:38 |
*** _franck_ has joined #litex | 18:39 | |
*** kgugala_ has joined #litex | 19:02 | |
*** kgugala has quit IRC | 19:04 | |
*** kgugala_ has quit IRC | 19:10 | |
*** kgugala has joined #litex | 19:11 | |
*** kgugala_ has joined #litex | 19:12 | |
*** kgugala has quit IRC | 19:16 | |
*** kgugala has joined #litex | 20:01 | |
*** kgugala_ has quit IRC | 20:05 | |
*** kgugala_ has joined #litex | 20:06 | |
*** kgugala has quit IRC | 20:08 | |
*** kgugala has joined #litex | 20:19 | |
*** kgugala_ has quit IRC | 20:22 | |
mithro | Did I ever share https://github.com/mithro/HDMI2USB-dev-boards ? | 20:41 |
tpb | Title: GitHub - mithro/HDMI2USB-dev-boards (at github.com) | 20:41 |
*** kgugala_ has joined #litex | 20:41 | |
*** kgugala_ has quit IRC | 20:43 | |
*** kgugala_ has joined #litex | 20:44 | |
*** kgugala has quit IRC | 20:44 | |
*** miek has quit IRC | 20:52 | |
*** miek has joined #litex | 20:53 | |
*** mahmudov has joined #litex | 21:35 | |
*** mahmudov has left #litex | 22:02 | |
*** somlo has quit IRC | 23:39 | |
*** somlo has joined #litex | 23:43 |
Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!