kfx | mntmn: not that I'm aware of. | 00:06 |
---|---|---|
- ruff (QUIT: Ping timeout: 240 seconds) (~ruff@ip-78-45-99-112.net.upcbroadband.cz) | 00:11 | |
mntmn | josch: cool! i think this is expected | 00:41 |
mntmn | josch: because the newer dts patch which enables the display has probably not landed in the kernel yet | 00:41 |
- mtm (QUIT: Ping timeout: 256 seconds) (~mtm@c-73-27-62-116.hsd1.fl.comcast.net) | 01:04 | |
+ freakazoid333 (~matt@35.136.210.185) | 02:26 | |
- freakazoid333 (QUIT: Ping timeout: 240 seconds) (~matt@35.136.210.185) | 02:47 | |
+ mtm (~mtm@c-73-27-62-116.hsd1.fl.comcast.net) | 03:10 | |
- nsc (QUIT: Ping timeout: 252 seconds) (~nicolas@i5C744580.versanet.de) | 03:12 | |
+ nsc (~nicolas@i5C74421D.versanet.de) | 03:14 | |
* nsc -> Guest4067 | 03:14 | |
- vagrantc (QUIT: Quit: leaving) (~vagrant@2600:3c01:e000:21:21:21:0:100e) | 08:52 | |
+ MajorBiscuit (~MajorBisc@2a02:a461:129d:1:193d:75d8:745d:e91e) | 10:32 | |
+ ruff (~ruff@ip-78-45-99-112.net.upcbroadband.cz) | 11:14 | |
- mtm (QUIT: Ping timeout: 240 seconds) (~mtm@c-73-27-62-116.hsd1.fl.comcast.net) | 13:02 | |
+ Christoph_ (~Christoph@p54bf6009.dip0.t-ipconnect.de) | 13:06 | |
mntmn | dj-death: hey you wrote that python program to draw stuff on the oled, right? do you have the code again real quick? | 14:20 |
- maxim[m] (QUIT: Ping timeout: 240 seconds) (~maximtchn@2001:470:69fc:105::1f39) | 14:50 | |
- Guest4067 (QUIT: Ping timeout: 256 seconds) (~nicolas@i5C74421D.versanet.de) | 14:53 | |
- andrey_utkin (QUIT: Ping timeout: 256 seconds) (~andrey_ut@gentoo/developer/andrey-utkin) | 14:53 | |
+ nsc (~nicolas@i5C74421D.versanet.de) | 14:53 | |
* nsc -> Guest1833 | 14:54 | |
+ mtm (~mtm@c-73-27-62-116.hsd1.fl.comcast.net) | 15:08 | |
+ maxim[m] (~maximtchn@2001:470:69fc:105::1f39) | 15:08 | |
mntmn | dj-death: no worries, already figured it out | 15:17 |
+ wielaard (~mjw_@2001:1c06:2488:1400:9e5c:8eff:fe8f:a440) | 15:24 | |
- mjw (QUIT: Killed (NickServ (GHOST command used by wielaard!~mjw_@2001:1c06:2488:1400:9e5c:8eff:fe8f:a440))) (~mark@gnu.wildebeest.org) | 15:25 | |
* wielaard -> mjw | 15:25 | |
+ mark_ (~mark@gnu.wildebeest.org) | 15:26 | |
+ andrey_utkin (~andrey_ut@gentoo/developer/andrey-utkin) | 15:44 | |
- MajorBiscuit (QUIT: Ping timeout: 240 seconds) (~MajorBisc@2a02:a461:129d:1:193d:75d8:745d:e91e) | 16:21 | |
+ MajorBiscuit (~MajorBisc@c-001-023-057.client.tudelft.eduvpn.nl) | 16:23 | |
+ doctorhoo (~hanno@194-18-252-127-no2005.tbcn.telia.com) | 16:29 | |
dj-death | mntmn: I can share it if you want | 16:54 |
mntmn | dj-death: i'd be curious, i also just made a C implementation | 16:55 |
dj-death | sure | 16:55 |
dj-death | 11mn | 16:55 |
dj-death | 1mn | 16:55 |
dj-death | mntmn: https://github.com/djdeath/reform-display | 17:02 |
dj-death | mntmn: it's a bit more | 17:02 |
dj-death | mntmn: there is a local display just for debug | 17:02 |
dj-death | it uses Cairo to render | 17:02 |
dj-death | not sure it's going to work so well with fonts | 17:02 |
dj-death | but it was fine to test | 17:02 |
dj-death | a previous iteration was using the bitmap you provided but then I felt the urge to rotate things and cairo was just the way to do it ;) | 17:05 |
dj-death | I was planning on a FW mod to make sure the menu & host driven buffer don't interact badly | 17:11 |
dj-death | probably by having 2 buffers | 17:11 |
dj-death | not done yet, before going on holiday, I was toying with what stuff to display from the host | 17:12 |
dj-death | there is some dbus stuff there to catch the currently playing song, etc.. | 17:13 |
+ freakazoid333 (~matt@35.136.210.185) | 17:14 | |
dj-death | ACTION CDG -> VNO | 17:20 |
mntmn | dj-death: cool thanks | 17:29 |
mntmn | dj-death: i made this earlier today https://source.mnt.re/reform/reform/-/blob/kbd-bitmaps/reform2-keyboard-fw/kbdgfx-demo/kbdgfx.c | 17:29 |
mntmn | it is pretty fast for updating the display, like 50fps | 17:29 |
vkoskiv_ | I know it's just a demo, but I have to - fopen the device once before while, then fflush the stream in the loop | 17:36 |
vkoskiv_ | I assume fclose is in the loop to flush the data from a kernel cache? | 17:37 |
mntmn | not sure if that works for usb hid but i will try | 17:38 |
mntmn | i.e. how to tell it that a new report starts | 17:38 |
mntmn | maybe seeking to 0 could work | 17:38 |
mntmn | at first i had something like that with fseek but then i would only get 1 frame | 17:39 |
mntmn | but might have been another bug | 17:39 |
vkoskiv_ | Yeah this is just a guess from quickly looking at the code. I just know that fopen()-ing the file 50x/sec is sub-optimal :D | 17:39 |
+ bluerise_ (~bluerise@p5b211da4.dip0.t-ipconnect.de) | 17:48 | |
* Guest1833 -> nsc | 17:48 | |
- bluerise (QUIT: Ping timeout: 252 seconds) (~bluerise@user/bluerise) | 17:49 | |
- freakazoid333 (QUIT: Ping timeout: 240 seconds) (~matt@35.136.210.185) | 18:04 | |
+ freakazoid343 (~matt@35.136.210.185) | 18:04 | |
+ freakazoid12345 (~matt@35.136.210.185) | 18:06 | |
- freakazoid343 (QUIT: Ping timeout: 240 seconds) (~matt@35.136.210.185) | 18:09 | |
* bluerise_ -> bluerise | 18:13 | |
- bluerise (QUIT: Changing host) (~bluerise@p5b211da4.dip0.t-ipconnect.de) | 18:13 | |
+ bluerise (~bluerise@user/bluerise) | 18:13 | |
- mjw (QUIT: Quit: Leaving) (~mjw_@2001:1c06:2488:1400:9e5c:8eff:fe8f:a440) | 18:14 | |
+ reform11344 (~pjwall@94.198.127.52) | 18:24 | |
- reform11344 (QUIT: Client Quit) (~pjwall@94.198.127.52) | 18:25 | |
- Christoph_ (QUIT: Remote host closed the connection) (~Christoph@p54bf6009.dip0.t-ipconnect.de) | 18:39 | |
- doctorhoo (QUIT: Ping timeout: 240 seconds) (~hanno@194-18-252-127-no2005.tbcn.telia.com) | 18:43 | |
+ Christoph_ (~Christoph@p54bf6009.dip0.t-ipconnect.de) | 18:50 | |
- MajorBiscuit (QUIT: Ping timeout: 268 seconds) (~MajorBisc@c-001-023-057.client.tudelft.eduvpn.nl) | 19:06 | |
- freakazoid12345 (QUIT: Ping timeout: 240 seconds) (~matt@35.136.210.185) | 19:13 | |
+ vagrantc (~vagrant@2600:3c01:e000:21:21:21:0:100e) | 19:20 | |
- Ar|stote|is (QUIT: Read error: Connection reset by peer) (~linx@149-210-116-38.mobile.ren.cosmote.net) | 20:36 | |
+ Ar|stote|is (~linx@149-210-116-38.mobile.ren.cosmote.net) | 20:36 | |
dj-death | mntmn: yeah, C was the easy option, but then you want to glue it to something else and it's a bit more painful | 21:35 |
mntmn | yeah i see | 21:36 |
dj-death | mntmn: my example limited it to 4fps but for no particular reason | 21:36 |
mntmn | ah! | 21:36 |
dj-death | we're limited by the speed of the firmware ;) | 21:36 |
mntmn | for me it was really fast, did not feel so limited by the fw | 21:37 |
mntmn | ah now i know what you mean | 21:38 |
mntmn | yeah | 21:38 |
vkoskiv_ | I'd assume the connection from the host to the microcontroller would be the bottleneck? | 21:38 |
mntmn | it's only 509 bytes per frame | 21:38 |
vkoskiv_ | Then again, assuming is a terrible approach when it comes to performance. | 21:38 |
vkoskiv_ | Profile, profile, profile and all that. | 21:39 |
mntmn | 50 frames are ~25kB | 21:39 |
mntmn | even ye olde USB 1 can handle that | 21:39 |
+ CoderFox (~coderfox@78.152.95.72) | 22:03 | |
- CoderFox (QUIT: Quit: Leaving) (~coderfox@78.152.95.72) | 22:18 | |
dj-death | mntmn: do you know what kind of stuff you would like to display on there? | 23:22 |
mntmn | i have quite a few ideas but no finished concept yet | 23:22 |
dj-death | mntmn: anything you would like to share? :) | 23:25 |
dj-death | btw, can the fw store data that would survive powercycle? | 23:26 |
mntmn | for example i was watching a 1h episode now on reform using it as a hdmi player... would be cool to see progress bar, time left and volume level | 23:26 |
mntmn | dj-death: theoretically in eeprom | 23:26 |
dj-death | yeah, volume... I had that one :) | 23:27 |
dj-death | although gnome-shell puts it onscreen | 23:27 |
mntmn | yeah but i would find these things useful when the application is fullscreen and i don't want a bar or other obscuring elements | 23:28 |
dj-death | sure | 23:36 |
dj-death | mntmn: do you know if the keyboard receives a message from the host when you plug it? | 23:43 |
dj-death | mntmn: I have a setup with a usb dock, and the keyboard lights up when connected to it, but no laptop is connected to the dock | 23:44 |
dj-death | if there is an initial message at connection, I would use that to trigger the initial animation + lights up | 23:45 |
mntmn | dj-death: there is a connect event handler thing afaik yes | 23:49 |
mntmn | dj-death: https://source.mnt.re/reform/reform/-/blob/kbd-bitmaps/reform2-keyboard-fw/keyboard.c#L349 | 23:50 |
- ruff (QUIT: Remote host closed the connection) (~ruff@ip-78-45-99-112.net.upcbroadband.cz) | 23:53 | |
dj-death | mntmn: thanks | 23:57 |
mntmn | have never tried that, so curious to see what you report | 23:57 |
mntmn | this could also be a method for showing some boot progress animation on the oled... | 23:57 |
mntmn | and stop it upon usb connect | 23:57 |
Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!