*** tpb <[email protected]> has joined #litex | 00:00 | |
*** matoro <matoro!~quassel@user/matoro> has joined #litex | 00:05 | |
*** ElfenKaiser <ElfenKaiser!~deadsalmo@2a0a-a540-e157-0-6157-836c-1acf-3f0f.ipv6dyn.netcologne.de> has joined #litex | 00:34 | |
*** Degi <[email protected]> has quit IRC (Ping timeout: 248 seconds) | 01:45 | |
*** Degi <[email protected]> has joined #litex | 01:46 | |
*** CarlFK1 <[email protected]> has joined #litex | 01:54 | |
*** ElfenKaiser <ElfenKaiser!~deadsalmo@2a0a-a540-e157-0-6157-836c-1acf-3f0f.ipv6dyn.netcologne.de> has quit IRC (Quit: 🫀🫀🫀🫀) | 02:40 | |
*** CarlFK1 <[email protected]> has quit IRC (Ping timeout: 244 seconds) | 03:34 | |
*** TMM <[email protected]> has quit IRC (Quit: https://quassel-irc.org - Chat comfortably. Anywhere.) | 03:38 | |
*** TMM <[email protected]> has joined #litex | 03:38 | |
*** CarlFK <[email protected]> has joined #litex | 03:55 | |
*** oter <oter!5e7a0135f3@2a03:6000:1812:100::25f> has quit IRC (Remote host closed the connection) | 07:41 | |
*** oter <oter!5e7a0135f3@2a03:6000:1812:100::25f> has joined #litex | 07:41 | |
sajattack | I'm wondering what would be the best way to create a userspace/cpu-accessible framebuffer with litepcie, to make sort of a rasterizer card or something like that. I have an acorn which probably doesn't have enough io to actually drive a display (and no baseboard), has anyone tried something like this? I'm not too familiar with pcie or wishbone for that matter. But curious how someone would approach this | 07:50 |
---|---|---|
sajattack | is there a way to just map a block of memory that both can share under linux? | 07:51 |
tnt | sajattack: you can create a memory mapped without ( BAR ) that just exposes your VRAM. | 07:51 |
tnt | s/without/window/ | 07:51 |
sajattack | when you say vram, do you mean on the fpga or on my pc's gpu? | 07:52 |
tnt | on the fpga | 07:52 |
*** cr1901_ <[email protected]> has joined #litex | 07:53 | |
sajattack | yeah so that's kind of what I was thinking, how does the memory mapping work? | 07:54 |
*** cr1901 <[email protected]> has quit IRC (Ping timeout: 276 seconds) | 07:54 | |
sajattack | https://github.com/enjoy-digital/litepcie/issues/34 | 07:59 |
sajattack | using this example, is it just resource0 == the vram/dram? | 07:59 |
tnt | yes you could map bar0 directly to your vram or some part of it. | 08:09 |
tnt | you could also define another BAR | 08:09 |
tnt | (BAR0 is usually used for mmio registers) | 08:10 |
sajattack | cool | 08:11 |
tnt | Although not sure if/how litepci supports multiple BAR. | 08:11 |
tnt | Ok, it doesn't so you have to use bar0 (or a part of it). | 08:12 |
tnt | Note that this won't exactly be fast ... | 08:13 |
sajattack | I found this issue about a similar thing too https://github.com/enjoy-digital/litepcie/issues/54 | 08:15 |
sajattack | haha brrrrr https://github.com/enjoy-digital/litepcie/pull/107 | 08:20 |
sajattack | this looks like it's for cuda though | 08:22 |
sajattack | yeah so I guess just do the 54 one and access the memory with the cpu one pixel at a time? | 08:25 |
sajattack | or try to find a way to map it to the gpu 🤔 | 08:26 |
tnt | I don't understand what you mean. If you expose some RAM on the FPGA through a BAR, yeah, the CPU will access it through PCIe one pixel at a time. | 08:51 |
sajattack | nevermind | 08:51 |
*** whitequark[cis] <whitequark[cis]!whitequark@2a01:4f8:c012:5b7:0:1:0:4> has joined #litex | 08:58 | |
whitequark[cis] | i think you could maybe use MTRRs to make it cacheable? | 08:58 |
*** Degi <[email protected]> has quit IRC (Ping timeout: 260 seconds) | 09:05 | |
sajattack | vivado keeps failing to download lol | 09:18 |
*** Degi <[email protected]> has joined #litex | 09:23 | |
*** cr1901_ is now known as cr1901 | 15:22 | |
*** ElfenKaiser <ElfenKaiser!~deadsalmo@2a0a-a540-e157-0-d66c-b85d-e696-1789.ipv6dyn.netcologne.de> has joined #litex | 15:34 | |
*** ElfenKaiser <ElfenKaiser!~deadsalmo@2a0a-a540-e157-0-d66c-b85d-e696-1789.ipv6dyn.netcologne.de> has quit IRC (Ping timeout: 265 seconds) | 16:22 | |
*** FabM <FabM!~FabM@armadeus/team/FabM> has joined #litex | 16:44 | |
*** so-offish <[email protected]> has joined #litex | 16:57 | |
*** so-offishul <so-offishul!~so-offish@2610:148:610:2b10::4b> has joined #litex | 17:01 | |
*** so-offish <[email protected]> has quit IRC (Ping timeout: 248 seconds) | 17:04 | |
*** so-offishul <so-offishul!~so-offish@2610:148:610:2b10::4b> has quit IRC (Read error: Connection reset by peer) | 17:28 | |
*** ElfenKaiser <ElfenKaiser!~deadsalmo@2a0a-a540-e157-0-d66c-b85d-e696-1789.ipv6dyn.netcologne.de> has joined #litex | 17:29 | |
*** FabM <FabM!~FabM@armadeus/team/FabM> has quit IRC (Ping timeout: 244 seconds) | 20:35 | |
*** TMM <[email protected]> has quit IRC (Quit: https://quassel-irc.org - Chat comfortably. Anywhere.) | 21:15 | |
*** TMM <[email protected]> has joined #litex | 21:15 | |
cr1901 | If you are a Tera Term user (Windows), and use LiteX, would you be willing to try this plugin? https://github.com/cr1901/teraterm-litex | 21:44 |
cr1901 | It _does_ work for me, including the installers. But I don't have a second machine to try a "no dev env" install on. | 21:44 |
Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!