Conversation with #inferno at Fri Apr 4 21:08:48 2014 on powerman@chat.freenode.net (irc) (21:08:48) #inferno: Topic for #inferno set by mennis at 17:30:16 on 12/28/09 (22:26:13) raphaelsc left the room (quit: Ping timeout: 268 seconds). (22:38:18) raphaelsc [~raphaelsc@177.179.199.26] entered the room. (22:42:38) fdd left the room (quit: Ping timeout: 240 seconds). (22:53:02) raphaelsc left the room (quit: Ping timeout: 252 seconds). (22:53:52) yshurik [~yshurik@62.92.189.109.customer.cdi.no] entered the room. (22:53:58) yshurik: hi all (22:56:24) leetspete1: Hello! (22:56:59) yshurik: how are you? (22:58:17) leetspete1: Not bad, business as usual. How about you? (22:59:35) yshurik: well, I am stuck with inferno drawing system (23:00:02) leetspete1: How's that? (23:01:26) yshurik: I am bypassing framebuffer with attachscreen() but drawing system does not want to paint there for some reason (23:02:10) leetspete1: I think there's some queue you've got to pump; you're doing that? (23:03:02) yshurik: hmm, no idea (23:03:12) yshurik: what are you talking about? (23:03:54) leetspete1: You're calling attachscreen in the C, right? (23:04:07) yshurik: sure, that's about inferno-rpi (23:05:49) raphaelsc [~raphaelsc@189-83-103-7.user.veloxzone.com.br] entered the room. (23:05:59) leetspete1: Trying to find it... (23:07:41) leetspete1: Ah, have you checked flushmemscreen? (23:08:16) yshurik: it is empty in my implementation, as I understand becase I am bypassing direct address to fb (23:08:33) yshurik: if I have to flush, then it is not clear from where? (23:09:14) leetspete1: That's (I *think*) where the OS indicates to the driver that it wants a refresh. (23:09:22) leetspete1: But I was getting these events somewhat infrequently. (23:09:51) leetspete1: And sometimes with parameters that didn't make sense. (23:10:18) yshurik: ok, but what should be flushed as source? (destination is clear - fb) (23:10:19) leetspete1: What are you setting for softscreen? (23:10:49) yshurik: just 0 (23:11:00) leetspete1: Then that should be fine, I think... (23:12:09) leetspete1: Hm...I set softscreen to 0, but I'm using buffering. (23:14:18) raphaelsc left the room (quit: Ping timeout: 252 seconds). (23:19:58) rogpeppe left the room (quit: Ping timeout: 240 seconds). (23:27:28) raphaelsc [~raphaelsc@177.179.199.18] entered the room. (23:34:13) yshurik: ok, interesting, no more ideas? (23:35:13) raphaelsc left the room (quit: Ping timeout: 240 seconds). (00:11:19) qrstuv left the room (quit: Ping timeout: 264 seconds). (00:13:51) qrstuv [bootes@50.103.225.170] entered the room. (00:19:15) raphaelsc [~raphaelsc@177-177-196-213.user.veloxzone.com.br] entered the room. (00:47:41) leetspete1: yshurik: Well, I just have that function *almost* empty, but I pump a queue. (00:48:11) yshurik: what is the pump code? (00:49:19) leetspete1: The queue just gets emptied and I have it do a manual refresh of the whole screen every 15ms, because I couldn't figure out how this stuff works. Unless setting *softscreen=1 makes the code call the flush function more reliably. (00:49:58) leetspete1: yshurik: It's an internal queue; I had patterned it sort of on the X driver. (00:50:17) leetspete1: yshurik: https://bitbucket.org/1337p337/inferno-os/src/c8aff1ce1dd070ca8a37ae7659f2852d6770b1f4/emu/port/win-sdl.c?at=default (00:51:16) leetspete1: It includes my notes where I speculate on what stuff does, but I haven't touched it in ≈1 year. (00:52:28) leetspete1: There's quopen(), qlen(), qread(), and qproduce(), and those are the basics. (00:52:58) leetspete1: It's basically chans at the C level. (01:27:08) raphaelsc left the room (quit: Ping timeout: 240 seconds). (01:40:42) raphaelsc [~raphaelsc@177-179-45-55.user.veloxzone.com.br] entered the room. (01:58:51) Code_Man` left the room (quit: Remote host closed the connection). (02:03:41) raphaelsc left the room (quit: Ping timeout: 252 seconds). (02:16:34) raphaelsc [~raphaelsc@189-83-96-172.user.veloxzone.com.br] entered the room. (02:47:38) raphaelsc left the room (quit: Ping timeout: 240 seconds). (03:01:54) raphaelsc [~raphaelsc@179-236-97-63.user.veloxzone.com.br] entered the room. (03:28:53) mortdeus [~mortdeus@r74-195-174-205.chk1cmtc01.chckok.ok.dh.suddenlink.net] entered the room. (03:33:31) raphaelsc left the room (quit: Ping timeout: 252 seconds). (03:46:19) raphaelsc [~raphaelsc@179-236-62-127.user.veloxzone.com.br] entered the room. (04:24:01) pfallenop left the room (quit: Ping timeout: 240 seconds). (04:25:40) pfallenop [~pfallenop@unaffiliated/contempt] entered the room. (05:10:53) mortdeus left the room (quit: Remote host closed the connection). (05:13:56) mortdeus [~mortdeus@r74-195-174-205.chk1cmtc01.chckok.ok.dh.suddenlink.net] entered the room. (05:34:18) raphaelsc left the room (quit: Ping timeout: 240 seconds). (05:47:11) raphaelsc [~raphaelsc@179-199-160-154.user.veloxzone.com.br] entered the room. (06:21:03) pfallenop left the room (quit: Ping timeout: 268 seconds). (06:28:37) pfallenop [~pfallenop@unaffiliated/contempt] entered the room. (06:46:57) raphaelsc left the room (quit: Ping timeout: 268 seconds). (06:59:03) raphaelsc [~raphaelsc@177-177-199-189.user.veloxzone.com.br] entered the room. (07:40:49) raphaelsc left the room (quit: Ping timeout: 240 seconds). (07:53:43) raphaelsc [~raphaelsc@179-199-167-101.user.veloxzone.com.br] entered the room. (08:22:58) raphaelsc left the room (quit: Ping timeout: 240 seconds). (08:35:05) raphaelsc [~raphaelsc@177-177-232-224.user.veloxzone.com.br] entered the room. (10:15:31) raphaelsc left the room (quit: Quit: Leaving). (11:15:46) Code_Man` [~Code_Man@2a02:1205:5057:8950:223:54ff:fe38:82c2] entered the room. (11:45:39) yshurik1 [~Adium@62.92.189.109.customer.cdi.no] entered the room. (12:16:40) rogpeppe [~rog@host-92-30-186-90.as13285.net] entered the room. (18:00:33) yshurik left the room. (18:05:18) yshurik [~yshurik@62.92.189.109.customer.cdi.no] entered the room. (19:11:08) rogpeppe left the room (quit: Ping timeout: 240 seconds). (19:14:36) rogpeppe [~rog@host-92-30-186-90.as13285.net] entered the room. (19:26:45) rogpeppe left the room (quit: Ping timeout: 255 seconds). (19:42:42) Code_Man` left the room (quit: Remote host closed the connection). (19:45:03) rogpeppe [~rog@host-92-30-186-90.as13285.net] entered the room. (19:48:26) yshurik1 left the room (quit: Quit: Leaving.). (19:48:53) yshurik1 [~Adium@62.92.189.109.customer.cdi.no] entered the room. (20:40:34) sandbender left the room (quit: Ping timeout: 255 seconds). (20:46:40) Code_Man` [~Code_Man@2a02:1205:5057:8950:223:54ff:fe38:82c2] entered the room. (21:18:48) rogpeppe left the room (quit: Ping timeout: 255 seconds). (22:06:36) yshurik: hi all, what's up? (23:18:38) yshurik1 left the room (quit: Quit: Leaving.). (23:40:27) Code_Man` left the room (quit: Remote host closed the connection). (02:09:50) Code_Man` [~Code_Man@2a02:1205:5057:8950:223:54ff:fe38:82c2] entered the room. (03:09:46) Code_Man` left the room (quit: Remote host closed the connection). (06:12:49) pfallenop left the room (quit: Ping timeout: 240 seconds). (06:14:45) pfallenop [~pfallenop@unaffiliated/contempt] entered the room. (06:19:52) mortdeus left the room (quit: Remote host closed the connection). (06:21:18) mortdeus [~mortdeus@r74-195-174-205.chk1cmtc01.chckok.ok.dh.suddenlink.net] entered the room. (11:20:53) The account has disconnected and you are no longer in this chat. You will automatically rejoin the chat when the account reconnects.