[00:37:06] --> Lightkey has joined #Pentagram
[00:49:31] <-- Darklock has left IRC (Read error: 110 (Connection timed out))
[00:51:26] --> Kirben has joined #pentagram
[00:51:26] --- ChanServ gives channel operator status to Kirben
[01:18:13] --> watt has joined #pentagram
[01:18:13] --- ChanServ gives channel operator status to watt
[04:33:42] <-- Lightkey has left IRC (jordan.freenode.net irc.freenode.net)
[04:34:08] --> Lightkey has joined #pentagram
[05:59:13] <-- watt has left IRC ()
[10:00:23] <-- Mrrrrz0r has left IRC (Read error: 104 (Connection reset by peer))
[10:00:52] --> Mrrrrz0r has joined #pentagram
[10:15:20] --> SB-X has joined #pentagram
[11:47:21] --> watt has joined #pentagram
[11:47:21] --- ChanServ gives channel operator status to watt
[11:56:51] <-- SB-X has left IRC ("BRB")
[11:58:19] --> SB-X has joined #pentagram
[12:21:59] <-- Colourless has left IRC (Read error: 113 (No route to host))
[12:31:24] --> Kirben_ has joined #pentagram
[12:31:24] --- ChanServ gives channel operator status to Kirben_
[12:48:51] <-- Kirben has left IRC (Read error: 110 (Connection timed out))
[12:57:52] <-- Kirben_ has left IRC ()
[13:52:40] <-- watt has left IRC (Read error: 110 (Connection timed out))
[13:56:47] --> watt has joined #pentagram
[13:56:47] --- ChanServ gives channel operator status to watt
[17:49:03] --> TiGSTeR has joined #pentagram
[17:49:13] <TiGSTeR> hail, Avatars
[17:57:48] <Mrrrrz0r> hey thar
[17:57:59] <TiGSTeR> greetings
[18:23:05] --> pupnik has joined #pentagram
[18:48:38] <-- TiGSTeR has left IRC ("Do what serves You, with respect to all Life")
[18:48:52] <pupnik> built libsdl-ttf2.0-dev_2.0.8-3_armel.deb
[19:16:05] <pupnik> Creating Font Manager...
[19:16:05] <pupnik> Fatal signal: Segmentation Fault (SDL Parachute Deployed)
[19:18:28] <pupnik> stracing..
[19:18:32] <pupnik> open("/usr/share/X11/locale/locale.alias", O_RDONLY) = -1 ENOENT (No such file or directory)
[19:18:36] <pupnik> wonder if that could be it
[19:19:28] <pupnik> mmap2(NULL, 69632, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40844000
[19:19:34] <pupnik> that might be a problem
[19:20:06] <pupnik> that means it wants to map 69632 kbytes ?
[19:21:00] <pupnik> right before it strace says
[19:21:02] <pupnik> write(1, "Loading console font config: @da"..., 55Loading console font config: @data/fixedfont.ini... Ok
[19:22:38] <pupnik> i have ttf turned off in config..
[19:32:31] <pupnik> heh ok skipped over fontmanager init - now segfaulting on new PaletteManager(new_screen)
[19:34:07] <watt> ouch.... seems like you're having quite a few problems.
[19:37:19] <watt> I'm pretty sure it's not kilobytes.... just bytes.
[19:37:45] <pupnik> hi! nice to meet you
[19:38:23] <pupnik> ok
[19:39:12] <pupnik> does ttf=no work?
[19:40:01] <pupnik> Enable this to use the BitStream Vera font for conversations and object descriptions.
[19:40:07] <wjp> it should, yes
[19:40:12] <pupnik> maybe it still uses ttf for other game portions
[19:40:33] <wjp> it does
[19:40:56] <wjp> why strace? why not gdb?
[19:41:40] <wjp> that console font/fixedfont is not a ttf, by the way
[19:41:44] <pupnik> i haven't learned to do much with gdb yet
[19:41:46] <pupnik> yes
[19:42:14] <wjp> gdb is much more useful for this than strace
[19:42:53] <pupnik> yes... installed
[19:43:52] <wjp> the basics: 'gdb pentagram', 'run', wait for crash, 'bt'
[19:45:05] <pupnik> ok rebuilding unstripped
[19:45:57] <pupnik> heh 21225603 bytes
[19:46:09] <wjp> yes, quite a size difference :-)
[19:49:36] <wjp> it's also possible to attach gdb to a running process, by the way, in case you want to ssh in from another machine, or something like that
[20:01:15] <pupnik> sorry had to edit a wiki there for a minute
[20:02:38] <pupnik> yes i should run from ssh
[20:03:34] <pupnik> remember amber/green hercules monitors for debugging?
[20:04:32] <wjp> I remember the monitors, but I wasn't old enough to actually be debugging things at that point :-)
[20:11:23] <pupnik> http://pastebin.ca/706337
[20:12:21] <pupnik> http://pastebin.ca/706338
[20:12:26] <pupnik> first was incomplete
[20:15:15] <wjp> strange
[20:15:42] <pupnik> so memset_n.h should be part of kernel headers?
[20:15:44] <wjp> what's the display resolution?
[20:16:02] <wjp> C library headers, but don't worry about those
[20:16:03] <pupnik> native 800x480 16bpp - sdl fakes it when requesting lower res
[20:16:19] <pupnik> there is no xrandr or res setting in X
[20:16:39] <wjp> I was just wondering if the y=224 was out of range
[20:16:48] <wjp> so it isn't
[20:17:57] <wjp> oh, actually memset_n.h is part of pentagram
[20:18:11] <wjp> (in misc/ )
[20:18:25] <pupnik> ok
[20:18:37] <pupnik> it's in my trunk
[20:19:32] <pupnik> maybe an alignment problem?
[20:19:39] <wjp> yes, I was just wondering the same thing
[20:19:46] <pupnik> sometimes there are alignment issues with x86->arm
[20:20:36] <wjp> are you still in that gdb session?
[20:20:50] <wjp> if yes, what does 'print pixel' give?
[20:21:05] <pupnik> http://maemo.org/community/wiki/portingfromx86toarm/
[20:21:19] <pupnik> (gdb) print pixel
[20:21:20] <pupnik> $1 = (uint8 *) 0x407d1022 "ÿÿ\001
[20:21:25] <wjp> I'm aware of alignment issues
[20:21:46] <wjp> and our memsets should be taking care of it, but it could be there's a bug in there
[20:22:24] <pupnik> gcc has an option -Wcast-align that can provide some warnings.
[20:22:34] <wjp> it's crashing in a weird place
[20:22:46] <wjp> ah
[20:22:55] <wjp> try this:
[20:23:14] <wjp> in memset_n.h, line 171 should read "// Fill Aligned"
[20:23:25] <pupnik> yes
[20:23:26] <wjp> replace the line below that by "if (dwords) memset_32_aligned(buf,val,dwords);"
[20:24:45] <pupnik> ok built, copying
[20:26:45] <pupnik> copied, running
[20:27:32] <pupnik> fixed it - now have a console
[20:27:53] <wjp> great
[20:27:58] <pupnik> you are good :)
[20:30:16] <wjp> the fix is in subversion now; thanks for the report :-)
[20:30:25] <wjp> (testing on more platforms is always good :-) )
[20:33:56] <pupnik> intro movie plays nicely - setspeed 12-15
[20:34:06] <pupnik> 640x480 point scaler atm
[20:34:25] <wjp> those are unimplemented movie commands
[20:34:44] <wjp> so we're probably not playing it at the right speed in places
[20:35:30] <pupnik> ok the scrolling is as fast as i've ever seen ahthing scroll on the nokia 770
[20:35:50] <pupnik> i seem to be getting console debug output onscreen
[20:37:17] <pupnik> very very fast - nice so far
[20:40:53] <wjp> great
[20:41:41] <wjp> console debug output is (currently) connected to the --disable-debug configure option, by the way
[20:42:45] <pupnik> ok
[20:43:30] <pupnik> i am so impressed :)
[20:48:35] <wjp> thanks :-)
[20:59:16] <Mrrrrz0r> pupnik - maemo porting it ? :D
[20:59:26] <Mrrrrz0r> Iv been waiting for an excuse to buy an N800 :/
[21:25:17] <pupnik> yeah http://pupnik.de/pentagram.html
[21:25:37] <pupnik> more excuses http://pupnik.de/software.html
[21:25:47] <pupnik> ^^ Mrrrrz0r
[21:26:22] <watt> that makes me smile :-)
[21:26:59] <Mrrrrz0r> wow
[21:27:06] <watt> me thinks we'll need a news update to link that.
[21:27:18] <Mrrrrz0r> k, gonna go hunt one this week
[21:27:32] <Mrrrrz0r> one thing about living in africa, so hard to get hold of nice things at a decent price L:/
[21:28:01] <wjp> pupnik: did you have to change any code?
[21:28:14] <pupnik> no. that's why the nokias rule
[21:28:40] <Mrrrrz0r> yeah I'v been so impressed by the N770/N800
[21:28:51] <Mrrrrz0r> But the rest of hte world hasnt worken up
[21:29:02] <Mrrrrz0r> I came 2nd in some Opera comp to win one
[21:29:08] <pupnik> nice
[21:29:08] <Mrrrrz0r> guy that won cheated heavily
[21:29:14] <Mrrrrz0r> I only cheated... a little bit :/
[21:29:29] <Mrrrrz0r> I was on dialup then, it was hard to flood :P
[21:30:16] <pupnik> well the n800 is nice too, but the 770 is more rugged
[21:30:56] <pupnik> and maybe - hopefully - nokia will give us HW accel opengl for the N900
[21:31:30] <pupnik> but i'm chuffed at how well designed pentagram is - no probs fitting into 64MB
[21:31:39] <Mrrrrz0r> yup
[21:31:58] <Mrrrrz0r> well I can try get info on the plans
[21:32:03] <Mrrrrz0r> one of my friends is working there atm
[21:32:23] <Mrrrrz0r> have people all over the show getting me info on things :P
[21:32:42] <pupnik> nice! ask if it will use TI OMAP3430 (or 3420)
[21:32:53] <Mrrrrz0r> lemme write that down :P
[21:33:28] <pupnik> 3430 should be 2-4 times faster than the n800
[21:34:16] <pupnik> but anyway, knowing what will come doesn't change what we will get
[21:34:38] <pupnik> and there's a LOT of stuff left to do for the 770
[21:36:21] <pupnik> stupid question: should i be seeing the avatar walk with a 'walk animation'?
[21:36:28] <pupnik> i am getting a single bitmap when walking around
[21:38:36] <wjp> uh
[21:38:38] <Mrrrrz0r> should see walking :/
[21:38:39] <wjp> weird
[21:38:47] <Mrrrrz0r> yeah thats very odd
[21:38:48] <wjp> how are you moving?
[21:39:00] <wjp> right mouse button?
[21:40:31] <pupnik> keyboard
[21:40:44] <wjp> ah, that's a debugging feature
[21:41:02] <pupnik> oh mousebutton does the anim
[21:41:31] <pupnik> i can't believe how fast it is
[21:45:44] <Mrrrrz0r> whats it like interacting with the world with a stylus?
[21:45:52] <Mrrrrz0r> I always thought that would be cool for U7/8/UO
[21:46:34] <pupnik> GUIApp::drawRenderStats 1 is giving me interesting PathfinderProcess: ANIMLOCK, waiting output (many)
[21:46:41] <pupnik> but is there a FPS display too?
[21:46:59] <pupnik> snprintf(buf, 255, "Rendering time %li ms %li FPS ", diff, 1000/diff)
[21:47:37] <pupnik> i'm using PC mouse and synergy, Mrrrrz0r
[21:47:46] <Mrrrrz0r> Ohhhh
[21:47:50] <Mrrrrz0r> haha
[21:47:54] <Mrrrrz0r> never thought about synergy
[21:47:56] <wjp> that drawrenderstats is independent of the animlocks
[21:48:01] <Mrrrrz0r> that must be pretty trippy
[21:48:33] <wjp> but that command should be outputting the fps in the top right corner
[21:49:18] <pupnik> nope
[21:49:47] <pupnik> ok i see screen->PrintTextFixed...
[21:50:11] <wjp> what does GUIApp::drawRenderStats do?
[21:50:15] <wjp> (without an argument)
[21:50:58] <pupnik> 0
[21:51:04] <pupnik> sorry i failed to invoke it properly
[21:51:09] * pupnik gets another coffee
[21:52:20] <pupnik> 12-16 fps walking with mouse :)
[21:53:33] <pupnik> can't draw much faster with sdl
[21:53:35] <pupnik> on this
[21:54:36] <Mrrrrz0r> hmm
[21:57:39] <pupnik> and it works perfectly in 800x480...
[22:00:56] <Mrrrrz0r> yeah, that display is so pretty :/
[22:01:27] <pupnik> where in africa are you?
[22:01:54] <Mrrrrz0r> Cape Town, South Africa
[22:02:08] <pupnik> ahh i have a friend from there
[22:02:14] <pupnik> his farm looked like Tatooine
[22:02:25] <Mrrrrz0r> HAHAHA
[22:02:37] <Mrrrrz0r> yeah yeah :P
[22:02:41] <pupnik> is that lady still mayor?
[22:02:49] <Mrrrrz0r> Its a good life tho - besides for frigging electronics :/
[22:02:53] <Mrrrrz0r> Err yeah
[22:02:58] <Mrrrrz0r> Shes good tho
[22:03:03] <Mrrrrz0r> Doesnt stand for too much shit
[22:03:09] <pupnik> yeah i heard she really cleaned up
[22:04:21] <Mrrrrz0r> yeah, saving grace atm
[22:04:53] <pupnik> it's amazing how cheap electronics are in the USA, even though the dollar is weak
[22:04:58] <Mrrrrz0r> yeah
[22:05:08] <pupnik> can you order stuff from overseas? or are the tarrifs/customs too high?
[22:05:08] <Mrrrrz0r> I get most of my stuff from the US
[22:05:12] <Mrrrrz0r> nah
[22:05:15] <Mrrrrz0r> cant get it in easily
[22:05:23] <Mrrrrz0r> 99% of places dont ship here
[22:05:30] <Mrrrrz0r> so you need someone in the US to send it for you
[22:05:36] <Mrrrrz0r> which is always costly
[22:05:45] <Mrrrrz0r> used to have an importer friend tho... so they were marked as shoes
[22:05:51] <Mrrrrz0r> and cost nothing to get in :D
[22:06:48] <pupnik> good LORD it's even fast with scale2x
[22:07:28] <pupnik> 9-14fps
[22:10:14] --- Lord_Nightmare is now known as LordNAway
[22:12:11] <-- watt has left IRC ()
[22:17:04] <pupnik> http://pupnik.de/pentagram_u8_n770_800x480_lg.jpg
[22:33:28] <Mrrrrz0r> Damn you!
[23:14:45] --> watt has joined #pentagram
[23:14:45] --- ChanServ gives channel operator status to watt
[23:50:56] <-- watt has left IRC ()
[23:57:44] --> watt has joined #pentagram
[23:57:44] --- ChanServ gives channel operator status to watt