[00:31:38] <-- edheldil has left IRC (Ping timeout: 250 seconds)
[01:43:40] <-- Eli2_ has left IRC (Ping timeout: 250 seconds)
[01:44:00] --> Eli2_ has joined #gemrb
[01:44:46] --> JTM has joined #gemrb
[01:45:40] <-- JTM has left #gemrb
[02:26:43] --> brada has joined #gemrb
[02:37:29] --> turtleman_ has joined #gemrb
[03:15:32] <-- Eli2_ has left IRC (Ping timeout: 250 seconds)
[03:15:54] --> Eli2_ has joined #gemrb
[03:34:08] <-- brada has left IRC (Quit: brada)
[03:39:01] --> mrugiero has joined #gemrb
[03:51:59] --> brada has joined #gemrb
[03:53:47] <-- mrugiero has left IRC (Quit: Saliendo)
[04:19:11] <-- brada has left IRC (Quit: brada)
[04:19:37] --> brada has joined #gemrb
[04:20:57] --- tomprinc1 is now known as tomprince
[04:21:41] <brada> so I get like 8 fps with the OpenGL driver lol
[04:21:55] <brada> probably my changes to it?
[04:28:26] <brada> profiler is flagging glDeleteTexture...
[04:28:52] <brada> er glDeleteTextures_Exec
[04:29:33] <brada> so yeah… hopefully fuzzie will have some idea of what to do about that :p
[04:31:47] <brada> I suppose I should put some breakpoints in the GLTexture destructor
[04:31:57] <brada> possible not the gl code itself
[04:34:27] <brada> ah, yes it seems it not
[04:35:06] <brada> heh, its the fps counter itself :p
[04:35:30] <brada> oh well off to bed. fix it tomorrow
[04:40:30] <brada> the other problem is for some reason this is redrawing everything every frame...
[04:44:18] <brada> at least im up to 21fps from teh FPS counter fix alone :p
[04:46:04] <-- brada has left IRC (Quit: brada)
[05:26:25] <-- raevol has left IRC (Read error: Connection reset by peer)
[05:40:08] --> edheldil has joined #gemrb
[05:40:08] --- ChanServ gives channel operator status to edheldil
[05:43:16] --> raevol has joined #gemrb
[06:10:37] <-- turtleman_ has left IRC (Ping timeout: 245 seconds)
[06:42:58] <-- edheldil has left IRC (Ping timeout: 244 seconds)
[06:53:50] <-- Lightkey has left IRC (Ping timeout: 250 seconds)
[07:06:33] --> Lightkey has joined #gemrb
[10:59:25] <-- raevol has left IRC (Remote host closed the connection)
[13:53:26] --> brada has joined #gemrb
[13:54:59] <brada> my profiler is showing that ~40-50% of CPU time is spent in the glDeleteTextures call in BlitGameSprite
[13:55:03] <brada> is that expected?
[13:55:11] <fuzzie> hi brad
[13:55:16] <brada> hi fuzzie?
[13:55:19] <brada> ha ha
[13:55:23] <brada> im so tired
[13:55:31] <brada> ? != !
[13:55:43] <fuzzie> that's in-game?
[13:55:47] <brada> yes
[13:55:55] <brada> on the menu i get 500+ fps
[13:56:01] <brada> in game… that happens
[13:56:03] <fuzzie> no, wait, what, CPU time?
[13:56:10] <fuzzie> what resolution?
[13:56:16] <brada> i still get 60ish, but i would expect more
[13:56:21] <brada> 800x600
[13:56:25] <fuzzie> any idea how many calls?
[13:56:51] <brada> i can run another profile and post the results for you to see
[13:56:54] <fuzzie> that cover path is an incredibly inefficient one, so it wouldn't surrpise me
[13:57:22] <brada> and something i did for that other function seems to be problematic too
[13:57:57] <fuzzie> I think wjp or myself had better ideas for handling cover
[13:58:07] <brada> that would be great :)
[13:58:09] <fuzzie> but I think wjp has been eaten by cans of paint or something
[13:58:16] <brada> it would seem so
[14:00:10] <lynxlynxlynx> rl graphics work
[14:00:34] <brada> rl?
[14:00:42] <lynxlynxlynx> real life
[14:02:23] <-- brada has left IRC (Quit: brada)
[14:16:51] --> brada has joined #gemrb
[14:20:42] <brada> downloading an actual opengl profiler
[14:33:39] --> turtleman_ has joined #gemrb
[14:58:15] --> edheldil has joined #gemrb
[14:58:16] --- ChanServ gives channel operator status to edheldil
[16:16:16] <-- brada has left IRC (Ping timeout: 260 seconds)
[18:21:45] --> Guest555 has joined #gemrb
[18:27:35] <-- Guest555 has left IRC (Quit: Page closed)
[18:36:52] --> raevol has joined #gemrb
[18:41:29] <-- dolio has left IRC (*.net *.split)
[18:43:12] --> Yoshimo has joined #gemrb
[18:43:13] <-- Yoshimo has left IRC (Changing host)
[18:43:13] --> Yoshimo has joined #gemrb
[18:48:36] --> dolio has joined #gemrb
[18:50:11] --> brada has joined #gemrb
[18:50:18] <brada> im getting diminishing performance with opengl too :/
[18:50:24] <brada> not sure what that is indicitive of
[18:51:39] <brada> but according to my opengl profiler 80% of app time is spent in opengl :(
[18:52:05] <brada> glDeleteTextures is the biggest cause (from blitgamesprite)
[18:52:17] <brada> thats nearly 50% of app time right there
[18:53:17] <fuzzie> which driver?
[18:53:29] <brada> totally unsure what that is
[18:53:37] <brada> nvidia is my hardware
[18:54:29] <fuzzie> oh, this is OS X?
[18:54:32] <brada> yes
[18:55:09] <fuzzie> it's pretty weird that it would stall on that
[18:55:39] <fuzzie> so presumably it's stalling and waiting for the gpu to complete the queue before removing the texture it needs for that
[18:55:46] <brada> but the avg use time of glDeleteTextures is 904 microseconds...
[18:55:47] <fuzzie> but that would be amazingly dumb
[18:56:11] <fuzzie> how do I reproduce this
[18:56:22] <brada> you can try the tip of my branch
[18:56:37] <brada> should have all the required bits
[18:56:55] <brada> you will have to short circuit some method in font
[18:57:05] <brada> to avoid something dumb
[18:57:06] <fuzzie> which
[18:57:28] <fuzzie> (font-rewrite?)
[18:57:47] <brada> yes
[18:58:06] <brada> just add a return 0 on Font line 511
[19:01:54] <brada> so i thought having a few small textures for a font would be faster, but the partial blits seem to be choking things a bit too :/
[19:04:41] <brada> loading a game and jsut standing there (so no new messages or anything) the message text area will use ~20% of app time. that is with < 10 lines of text.
[19:04:42] <brada> oh
[19:04:43] <brada> but
[19:05:11] <brada> i think maybe that is because the text isnt getting clipped so it is being combined with all the stuff on GameControl
[19:05:15] <brada> is that likely?
[19:05:54] <brada> dont know why the text doesnt get clipped
[19:06:01] <fuzzie> what text is this?
[19:06:13] <brada> guess the gldriver doesnt have a global clipping rect?
[19:06:28] <brada> the message text area… the only TA on screen when you are in game
[19:06:37] <fuzzie> I mean, that glDeleteTextures call is in cover, I thought
[19:06:42] <fuzzie> so I don't see how it could have anything to do with fonts
[19:06:42] <brada> yes
[19:06:49] <brada> 2 diffrent problems, sorry
[19:06:57] <fuzzie> ah
[19:08:46] <fuzzie> I don't understand enough about how this works, I think
[19:09:24] <fuzzie> but doing the partial blits using glScissor/glViewport is possibly less than ideal? profiler doesn't help?
[19:10:05] <brada> well the profiler blames glDrawArrays
[19:10:15] <brada> for that TextArea path problem
[19:10:21] <-- Yoshimo has left IRC (Quit: Yoshimo)
[19:10:49] <brada> i just thought that should be really fast and not take 20% of app time for a single TA with < 10 lines in it
[19:11:19] <brada> i want to blame what i said earlier because i dont see that problem with the TAs on the menu
[19:11:43] <brada> but it could also be related to palettes i guess
[19:12:36] <brada> the only other big time GL call is CGLFlushDrawable, and that only takes 8% of time and i would expect that i think
[19:13:42] <brada> glScissor and glViewport *combined* only consume 0.4% of time
[19:13:48] <fuzzie> yes, but that's meaningless
[19:13:49] <brada> FWIW
[19:14:01] <fuzzie> what is the opengl profiler you're using here?
[19:14:11] <brada> the apple provided one
[19:15:26] <fuzzie> and does it not give you opengl info?
[19:15:37] <brada> im not sure what info you are looking for
[19:16:14] <brada> it has lots of stuff i dont understand :p
[19:16:30] <fuzzie> well, the function calls are meaningless, basically
[19:16:45] <fuzzie> opengl calls can be split into "set some state" and "do the actual work"
[19:17:14] <fuzzie> and ideally the "do the actual work" happens on the GPU while your app continues to run
[19:20:36] <brada> oh i think this “Driver Monitor” thing will do that
[21:40:24] <-- raevol has left IRC (Quit: Leaving)
[21:41:12] --> Guest555 has joined #gemrb
[21:41:46] <Guest555> Hi all! I have a little problem when starting Planescape: Torment.
[21:42:29] <Guest555> When I star game all is working. Movies are ok, I can open the savegame directory, I can even start a new character.
[21:43:17] <Guest555> But when I try to load the saved game or starting the new game after character creation the GemRB crash.
[21:43:40] <Guest555> I Play on a win 8 notebook. I can paste my settings, if needed. And send the CFG files.
[21:45:04] <Guest555> But I have to tell that video are perfect and the game is so fast, before crash, that I think GemRB is a great source, so I send you a great thanks for your great work. :)
[21:46:10] <fuzzie> do you have the log?
[21:46:56] <Guest555> Let me check. Do you need a specific part?
[21:49:15] <fuzzie> crashes like that are usually caused by missing data, there should be errors near the start if so
[21:50:04] <fuzzie> (as far as I know gemrb's Planescape: Torment support is really not great though, be warned)
[21:50:15] <fuzzie> (but of course it shouldn't crash!)
[21:50:15] <brada> and if you briefly see a bluescreen on load (before crash) then that is also indicitive of missing data
[21:50:47] <Guest555> I have an error on CD storing directory.
[21:50:48] <Guest555> [ResourceManager/WARNING]: Invalid path given: .\sounds (Sounds) [ResourceManager/WARNING]: Invalid path given: .\scripts (Scripts) [ResourceManager/WARNING]: Invalid path given: .\portraits (Portraits) [ResourceManager/WARNING]: Invalid path given: .\data\Data (Data) [ResourceManager/WARNING]: Invalid path given: ./DATA\data (CD1/data) [ResourceManager/WARNING]: Invalid path given: ./DATA\data (CD2/data) [ResourceManager/WARNING]: I
[21:51:11] <Guest555> Missing part is other CD's missing paths.
[21:51:36] <fuzzie> but no errors about missing BIFs?
[21:52:09] <Guest555> Because I have all the games supported I'm going to store a single copy of GemRB in each game directory for have single configured sessions.
[21:52:23] <Guest555> Now working on PST
[21:53:06] <lynxlynxlynx> you don't need several copies of gemrb
[21:53:11] <Guest555> I try to check.
[21:55:58] <Guest555> But I have to configure each CFG for each game... It's simpler until I'm not sure of what I have to change have single copies.
[21:56:16] <Guest555> Not found anything with "BIFs" key.
[21:56:42] <Guest555> Is BIFs an acronym?
[21:56:49] <Guest555> Maybe I have to find something else...
[21:57:33] <lynxlynxlynx> yeah, but copies of the config is enough, you can point gemrb to any which one with -c
[21:58:06] <Guest555> But I have some other errors I dont understand. Missing 2da, fonts, ids...
[21:58:13] <lynxlynxlynx> that's fine
[21:58:18] <lynxlynxlynx> pst is a special snowflake
[21:58:33] <Guest555> But it's my favorite game. :P
[21:59:18] <brada> does PST not run under win 8?
[21:59:29] <Guest555> Lynx, I know, but I will puge all after I have fixed all. Best way for avoid fix something for a game and ruining thing for another. :P
[21:59:48] <Guest555> It run, but with a very low framerate.
[22:00:09] <Guest555> I'm checking for a solution.
[22:00:48] <Guest555> I have tried even other games, but all run with a veeery slow framerate and I see 1 frame for second as average.
[22:01:19] <Guest555> Anything I have tried for win7 dont work for win8, so...
[22:03:22] <Guest555> If GemRB will solve the problem... And for intro I have seen an huge improvement.
[22:04:43] <lynxlynxlynx> but there's nothing to change except for the configs
[22:04:59] <lynxlynxlynx> anyway, i hope you're running a recent version
[22:06:06] <Guest555> GemRB-nmake-vs10-v0.8.1-1-gfc8da02.zip is the file I have downloaded this morning.
[22:06:17] <Guest555> I have tried almost all and I have found how to let it run few hours ago.
[22:06:30] <Guest555> Now I'm trying let even savefiles run. :D
[22:06:52] <Guest555> It's so bad see monsters hit you and kill you before you see them attack...
[22:19:22] <Guest555> How can I send the whole log file?
[22:25:38] <Guest555> With an account can I send file to other members?
[22:28:26] <brada> you use pastebin or similar to share logs/configs
[22:28:43] <brada> is this PST from GOG?
[22:29:42] <Guest555> GOG mean?
[22:30:38] <Guest555> Sorry, not too expert with acronyms, sorry. :P
[22:31:06] <brada> did you buy it from gog.com?
[22:31:39] <brada> wtf? since when does GOG PST run on Mac?
[22:31:43] <brada> when did that happen?!
[22:31:48] <Guest555> I have 2 versions of the game. One from TGM, a publisher that add games to numbers.
[22:32:29] <Guest555> Another is from AD&D anthology collection games.
[22:33:04] <brada> are they digital downloads then?
[22:33:13] <brada> i know GOG at least requires a special CD1 path
[22:33:25] <brada> presumably other digital versions do too
[22:33:34] <Guest555> Nope, both CD/DVD versions.
[22:34:46] <brada> so i know these are certainly just wine wrapped, but still cool that they run on mac without users needing to install/configure wine.
[22:35:14] <brada> tho i wonder why they dont run on linux in that case...
[22:36:45] <Guest555> Dont ask to me. I work with Windows, but when they have blocked win XP support all have changed to win 8 at workplace. So I have got it even for home for get practice on using it. :P
[22:37:31] <Guest555> But in XP it was perfect, on win 8... it's almost unplayable.
[22:38:29] <Guest555> On risky zones you have to pause it every half second and wait for screen update.
[22:39:18] <Guest555> On hive, at the beginning, you will be surrounded by thougs if you forgot to pause often... But this is not the right way to play...
[22:40:18] <brada> no, unfortunately if/when you get gemrb happy, you will discover things about gemrb that make PST unplayable
[22:40:26] <brada> BG series is more or less fine
[22:40:45] <brada> but now they have BG:EE so...
[22:42:49] <Guest555> http://pastebin.com/9bA3HXVs
[22:42:50] <Pepelka13> PSTLOG - Pastebin.com
[22:42:55] <Guest555> That's the log.
[22:43:57] <brada> do you have a backtrace for the crash?
[22:44:45] <Guest555> As you see, it's a windows 8 crash, not a GEMRB.
[22:45:23] <brada> is see “Bad Line in file: resdata.ini” which seems bad
[22:45:37] <brada> Guest555: no, i mean a bactrace for the gemrb crash
[22:46:08] <Guest555> Whre can I find it?
[22:46:27] <brada> ive no idea how to do that on windows, sorry
[22:47:29] <Guest555> On win 8. On XP I know where find them :P
[22:47:51] <brada> what does your config look like?
[22:48:11] <Guest555> I try to find the event logger.
[22:53:37] <Guest555> Give me a minute. I try to create a new event for logger, so I can track it.
[22:57:47] <-- Guest555 has left IRC (Ping timeout: 246 seconds)
[23:09:04] --> Guest555 has joined #gemrb
[23:09:16] <Guest555> Back, sorry, lost connection.
[23:09:39] <Guest555> I have uploaded the last log, with few fixes n CFG file.
[23:09:44] <Guest555> http://pastebin.com/WSRV0Yhh
[23:09:45] <Pepelka13> PSTLOG - Pastebin.com
[23:10:38] <Guest555> Now the CD path error is fixed.
[23:11:30] <lynxlynxlynx> oh, did you do a full install?
[23:16:09] <Guest555> Of the game, sure. Of the GemRB I have only a zip to unpack, without install.
[23:16:51] <Guest555> Sorry for late. I'm working on some other try for let it work. :P
[23:17:38] <Guest555> With last modify I have got lot of BIF errors.
[23:18:58] <Guest555> I'm working for have a solution...
[23:28:33] <-- edheldil has left IRC (Ping timeout: 240 seconds)
[23:30:49] <Guest555> Maybe I have understood something.
[23:31:53] <Guest555> When I set the path of CD it search for a "data" subdirectory under a CDx directory?
[23:32:55] <Guest555> Yes, seems a cd subdir problem. How could I set it?
[23:35:12] <brada> it looks like you cant. you would have to put the files in a directory called “data” under the CD folder
[23:36:24] <Guest555> If I put a full data path the data path is not found, if I put a main game path data directory is found, but dont find the BIF files.
[23:37:31] <Guest555> I'm going mad...
[23:41:19] <Guest555> Have I to select single CD directory for the single CD version?
[23:41:28] <Guest555> Ops, I mean for the full install in single directory.
[23:41:57] <Guest555> I have, as anthology default, all files installed in the "data" subdirectory.
[23:53:22] <-- brada has left IRC (Quit: brada)
[23:57:48] <Guest555> Ok, I will stay here. I hope I can store chat log.
[23:58:02] <Guest555> Answer me when you can, if you're here.