*** tpb has joined #litex | 00:00 | |
sajattack[m] | ok, actually, doing that gives me a chunk (I assume blank/sync) that is faster than it should be | 00:02 |
---|---|---|
sajattack[m] | while pixel-blitting is the slow speed | 00:02 |
sajattack[m] | so it must be sdram | 00:02 |
sajattack[m] | my sdram read is reported as 147mbps | 00:13 |
sajattack[m] | by memtest | 00:13 |
sajattack[m] | is that low? | 00:19 |
*** CarlFK has quit IRC | 01:30 | |
*** rohitksingh has quit IRC | 01:56 | |
*** rohitksingh has joined #litex | 02:41 | |
*** CarlFK has joined #litex | 03:44 | |
_florent_ | sajattack[m]: the memspeed reported after memtest is from the CPU, it's limited by the CPU and wishbone, that's not the actual controller's speed | 06:22 |
_florent_ | sajattack[m]: if increasing the pix clk still increase hte hsync/vsync, then i don't think the issue is related to the sdram bandwidth | 06:23 |
sajattack[m] | but why is it faster when it's not fetching pixels then | 06:23 |
sajattack[m] | cpu bottleneck? | 06:24 |
_florent_ | sorry, what is faster when not fetching pixels? | 06:25 |
sajattack[m] | during blanking, the hsync is faster | 06:25 |
sajattack[m] | by about the same amount I had to overclock the pixel clock | 06:25 |
* sajattack[m] uploaded an image: 2020-02-20-222702_921x201_scrot.png (8KB) < https://matrix.org/_matrix/media/r0/download/matrix.org/XzQcSelwuHsxAITeDnJhrjvH > | 06:28 | |
_florent_ | ah ok, can you give me a link to your latest code, i'll have a look. | 06:35 |
_florent_ | during blanking, your hsync has the right frequency? | 06:35 |
sajattack[m] | probably, yeah, I increased the clock by about 2.4 and the hsync goes from 15.62 to 40.4 | 06:36 |
sajattack[m] | not quit bang on but seems right | 06:36 |
sajattack[m] | let me push what I've got | 06:36 |
_florent_ | sajattack[m]: BTW Greg is working on the framebuffer on the Hackaday badge: https://twitter.com/GregDavill/status/1230740125811793922 | 06:38 |
sajattack[m] | cool | 06:38 |
_florent_ | this is not vga, but the SDRAM is very similar | 06:39 |
sajattack[m] | https://github.com/sajattack/litex-boards/tree/vga | 06:40 |
sajattack[m] | https://github.com/sajattack/linux-on-litex-vexriscv/tree/vga | 06:40 |
tpb | Title: GitHub - sajattack/litex-boards at vga (at github.com) | 06:40 |
tpb | Title: GitHub - sajattack/linux-on-litex-vexriscv at vga (at github.com) | 06:40 |
sajattack[m] | does the terminal appear on the framebuffer when it's set up? | 06:40 |
sajattack[m] | because that was kind of my goal | 06:41 |
sajattack[m] | also anyone else interested in ps2 keyboard input? | 06:41 |
Claude | sajattack[m]: if it doesn't appear , then just change the kernel boot command line . console= | 06:42 |
sajattack[m] | cool thanks | 06:42 |
Claude | But the tux Bootlogo should appear in any case | 06:42 |
sajattack[m] | right now it's not appearing because my framebuffer is fucked | 06:43 |
sajattack[m] | and I'm doing it the old way that's not integrated in linux or something | 06:43 |
Claude | Yes, banging my head currently also on framebuffer . Have a. External hdmi tx chip and try to get a grip on clocking it within LiteX . external_clocking might be the key . | 06:44 |
sajattack[m] | good to have a war buddy :P | 06:45 |
Claude | sajattack[m]: hmm you aim for the de10-nano ? That has an external hdmi tx too. Right ? | 06:46 |
sajattack[m] | I think so | 06:46 |
sajattack[m] | I'm doing vga first because florent said it was easier | 06:46 |
sajattack[m] | not entirely convinced ๐ | 06:46 |
Claude | Ah nice , as soon as I got something working I will share. But I guess your hdmi tx, like mine, needs an init over i2c first . But I guess this could be done from the LiteX bios | 06:47 |
sajattack[m] | thanks | 06:48 |
sajattack[m] | mine is ADV7513 | 06:49 |
Claude | Actually it should be perfectly possible to run VGA and HDMI in parallel on your board | 06:49 |
sajattack[m] | yeah well the board itself doesn't have vga | 06:49 |
sajattack[m] | it's a gpio add-on | 06:49 |
Claude | Mister ? | 06:49 |
sajattack[m] | yeah I might get hdmi for free if I incorporate the mister framework on top of the vga signals | 06:50 |
Claude | I should have that burried in the pile'o'devboards too somewhere :) | 06:50 |
sajattack[m] | lol | 06:51 |
sajattack[m] | it's an expensive board to have sitting unused in a pile | 06:51 |
Claude | Heh yes probably .. | 06:51 |
sajattack[m] | but then again I'm on post-college pre-employment budget so it's all relative | 06:52 |
Claude | hmm might be fun to run litex on our standalone amiga board (i'm part of the dev team there) :) https://wiki.apollo-accelerators.com/doku.php/vampire:vsa-v4:start | 06:56 |
tpb | Title: vampire:vsa-v4:start [Apollo Accelerators] (at wiki.apollo-accelerators.com) | 06:56 |
sajattack[m] | cool | 06:57 |
sajattack[m] | you could run linux on the amiga part too, I saw that on twitter | 06:59 |
sajattack[m] | https://twitter.com/pdp7/status/1207748540967145472 | 07:02 |
Claude | heh yes saw it :) thats pdp7 here | 07:03 |
sajattack[m] | ๐ | 07:03 |
futarisIRCcloud | ๐ | 07:04 |
Claude | sajattack[m]: found an simple init for the de10 hdmi tx : https://github.com/nhasbun/de10nano_vgaHdmi_chip/blob/master/quartus/src/i2c/I2C_HDMI_Config.v#L138 | 07:30 |
tpb | Title: de10nano_vgaHdmi_chip/I2C_HDMI_Config.v at master ยท nhasbun/de10nano_vgaHdmi_chip ยท GitHub (at github.com) | 07:31 |
sajattack[m] | nice | 07:31 |
Claude | if you got vga running, its actually just a matter to feed the pixelclock to the tx , and the DE signal. DE is part of the frame_timing : https://github.com/enjoy-digital/litevideo/blob/master/litevideo/output/common.py#L27 | 07:33 |
tpb | Title: litevideo/common.py at master ยท enjoy-digital/litevideo ยท GitHub (at github.com) | 07:33 |
*** rohitksingh has quit IRC | 07:54 | |
*** CarlFK has quit IRC | 07:55 | |
futarisIRCcloud | https://twitter.com/enjoy_digital/status/1230762216506314752 | 08:19 |
futarisIRCcloud | _florent_: I understand the badge has a direct interface LCD too. I don't think we need to generate VGA timing etc. | 08:20 |
futarisIRCcloud | https://twitter.com/mithro/status/1230768401385025538?s=19 | 08:21 |
futarisIRCcloud | And I don't think anyone has created a model for this in renode. | 08:22 |
Claude | Iirc it's mipi DBI (parallel data , like a sram chip , such displays have an build in framebuffer usually) | 08:22 |
*** m4ssi has joined #litex | 09:04 | |
*** CarlFK has joined #litex | 09:45 | |
sajattack[m] | _florent_: anything stand out to you in my repos? | 10:06 |
pdp7 | very exciting to see the framebuffer on the hackaday badge! | 11:05 |
*** m4ssi has quit IRC | 15:38 | |
*** m4ssi has joined #litex | 15:50 | |
*** m4ssi has quit IRC | 16:05 | |
*** ambro718 has joined #litex | 17:42 | |
*** _whitelogger has quit IRC | 17:47 | |
*** _whitelogger has joined #litex | 17:50 | |
*** rohitksingh has joined #litex | 17:56 | |
*** xobs has quit IRC | 18:13 | |
*** palmer has quit IRC | 18:13 | |
*** nrossi has quit IRC | 18:14 | |
*** sajattack[m] has quit IRC | 18:14 | |
*** bunnie[m] has quit IRC | 18:14 | |
*** xobs has joined #litex | 18:21 | |
*** nrossi has joined #litex | 18:22 | |
*** acathla has quit IRC | 18:27 | |
*** CarlFK has quit IRC | 18:32 | |
*** xobs has quit IRC | 18:32 | |
*** nrossi has quit IRC | 18:32 | |
*** acathla has joined #litex | 18:33 | |
*** acathla has joined #litex | 18:34 | |
*** rohitksingh has quit IRC | 18:40 | |
*** rohitksingh has joined #litex | 18:47 | |
*** xobs has joined #litex | 19:06 | |
*** CarlFK has joined #litex | 19:16 | |
*** rohitksingh has quit IRC | 19:21 | |
*** somlo has quit IRC | 19:48 | |
*** somlo has joined #litex | 19:49 | |
*** sajattack[m] has joined #litex | 19:51 | |
*** palmer has joined #litex | 19:51 | |
*** nrossi has joined #litex | 19:51 | |
*** bunnie[m] has joined #litex | 19:51 | |
*** CarlFK has quit IRC | 19:59 | |
*** rohitksingh has joined #litex | 20:06 | |
_florent_ | sajattack[m]: sorry for the delay, i don't see anything obvious in your design. This should be very similar to what Greg is doing on the Hadbadge so that would be interesting to have its current code and apply it to your board. | 20:09 |
*** CarlFK has joined #litex | 20:16 | |
CarlFK | kgugala: can you /j #timvideos to chat about the video booster board - I'm trying to get a tty connection to it | 20:19 |
*** ambro718 has quit IRC | 21:40 | |
*** ambro718 has joined #litex | 23:21 |
Generated by irclog2html.py 2.13.1 by Marius Gedminas - find it at mg.pov.lt!