Monday, 2025-02-17

*** tpb <[email protected]> has joined #litex00:00
*** matoro <matoro!~quassel@user/matoro> has joined #litex00:05
*** ElfenKaiser <ElfenKaiser!~deadsalmo@2a0a-a540-e157-0-6157-836c-1acf-3f0f.ipv6dyn.netcologne.de> has joined #litex00:34
*** Degi <[email protected]> has quit IRC (Ping timeout: 248 seconds)01:45
*** Degi <[email protected]> has joined #litex01:46
*** CarlFK1 <[email protected]> has joined #litex01: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 #litex03:38
*** CarlFK <[email protected]> has joined #litex03: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 #litex07:41
sajattackI'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 this07:50
sajattackis there a way to just map a block of memory that both can share under linux?07:51
tntsajattack: you can create a memory mapped without ( BAR ) that just exposes your VRAM.07:51
tnts/without/window/07:51
sajattackwhen you say vram, do you mean on the fpga or on my pc's gpu?07:52
tnton the fpga07:52
*** cr1901_ <[email protected]> has joined #litex07:53
sajattackyeah 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
sajattackhttps://github.com/enjoy-digital/litepcie/issues/3407:59
sajattackusing this example, is it just resource0 == the vram/dram?07:59
tntyes you could map bar0 directly to your vram or some part of it.08:09
tntyou could also define another BAR08:09
tnt(BAR0 is usually used for mmio registers)08:10
sajattackcool08:11
tntAlthough not sure if/how litepci supports multiple BAR.08:11
tntOk, it doesn't so you have to use bar0 (or a part of it).08:12
tntNote that this won't exactly be fast ...08:13
sajattackI found this issue about a similar thing too https://github.com/enjoy-digital/litepcie/issues/5408:15
sajattackhaha brrrrr https://github.com/enjoy-digital/litepcie/pull/10708:20
sajattackthis looks like it's for cuda though08:22
sajattackyeah so I guess just do the 54 one and access the memory with the cpu one pixel at a time?08:25
sajattackor try to find a way to map it to the gpu 🤔08:26
tntI 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
sajattacknevermind08:51
*** whitequark[cis] <whitequark[cis]!whitequark@2a01:4f8:c012:5b7:0:1:0:4> has joined #litex08: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
sajattackvivado keeps failing to download lol09:18
*** Degi <[email protected]> has joined #litex09:23
*** cr1901_ is now known as cr190115:22
*** ElfenKaiser <ElfenKaiser!~deadsalmo@2a0a-a540-e157-0-d66c-b85d-e696-1789.ipv6dyn.netcologne.de> has joined #litex15: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 #litex16:44
*** so-offish <[email protected]> has joined #litex16:57
*** so-offishul <so-offishul!~so-offish@2610:148:610:2b10::4b> has joined #litex17: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 #litex17: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 #litex21:15
cr1901If you are a Tera Term user (Windows), and use LiteX, would you be willing to try this plugin? https://github.com/cr1901/teraterm-litex21:44
cr1901It _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/!