02:47:00 | | koda Quit (Quit: k thx bai) |
03:54:00 | | zoomber has joined |
03:54:00 | zoomber | hello |
03:55:00 | zoomber | sam686: are you on? |
04:10:00 | zoomber | when it take a long time to load a big map in editor: |
04:10:00 | sam686 | hi? |
04:11:00 | zoomber | most time takes place from Zap::Rect::set(TNL::Vector<Zap::Point> const&) |
04:11:00 | zoomber | and Zap:WallSegmentManager:buildWallSegmentEdgesAndPoints(Zap:Worlditem)* |
04:12:00 | zoomber | I think it is because I have walls that are size=1 (smallest size possible |
04:12:00 | zoomber | and both start point and endpoint are the same corrds |
04:13:00 | sam686 | the level editor was mostly re-coded for the next version (016) main repository, it might have a faster loading speed, but there might be some bugs.. |
04:13:00 | zoomber | or i should just remove these small barriers? |
04:13:00 | zoomber | ill see what happens if i remove them, and restart /debug |
04:14:00 | zoomber | oh actually, i dont need to do that |
04:14:00 | zoomber | it also lags when i delete these tiny barriers |
04:14:00 | sam686 | maybe it is coming from using lots of lots of polygon walls |
04:14:00 | zoomber | oh |
04:14:00 | zoomber | im using both |
04:15:00 | zoomber | oh no, its the small barriers |
04:15:00 | zoomber | i deleted a few of them, the game hanged |
04:15:00 | sam686 | polygon walls in editor (version 015a) may be very speed inefficient |
04:15:00 | zoomber | and then the report was the exact same thing, just with shorter times |
04:15:00 | zoomber | im saying, at least .5 seconds for each barrier object, and i deleted at least 6 |
04:16:00 | zoomber | plus, apple gives one or two seconds before it considers an app unresponsive |
04:16:00 | sam686 | might be due to having to re-calculate all the turret and forcefields position in the wall, and might be having to do with calculating outline.. |
04:17:00 | zoomber | can i give you a picture of what is hanging when? |
04:17:00 | sam686 | maybe it is recalculating for every barrier deleted oen at a time? |
04:17:00 | sam686 | ok.. |
04:17:00 | zoomber | yes |
04:17:00 | zoomber | thats what i think |
04:18:00 | sam686 | on my windows, when program hangs, it waits 15 seconds until i see (not responding) in the title of program, and i can hit the X (close) button anytime while it is hanged for more then 15 seconds.. |
04:19:00 | sam686 | maybe use 96.2.123.136/upload3.php to upload pictures? a link will be given after uploading. |
04:20:00 | zoomber | for mac, application will hang after a few seconds of an app being unresponsive and mac will change curser to spinning beach ball icon to notify user app is hanging |
04:20:00 | sam686 | use http://96.2.123.136/upload3.php to upload pictures? |
04:20:00 | zoomber | oh, i can do that too |
04:20:00 | zoomber | problem is, i tried disabling some gl feature, and I cannot take snapshots on my mac right now (they end up black) |
04:21:00 | sam686 | black screen screenshot? try using a digital camera? |
04:22:00 | zoomber | no, i mean, using computer to take a snapshot of what it is currently displaying on the screen |
04:22:00 | zoomber | and save it as a .png picture |
04:22:00 | zoomber | no camera involved |
04:24:00 | sam686 | 1. press print screen, 2, open Paint and press ctrl+V, 3. save as png or jpg or gif (mac might be different) linux printscreen is easier, print screen auto promts where to save screenshot |
04:25:00 | zoomber | mac is different |
04:25:00 | zoomber | but its very close to printscreen |
04:26:00 | zoomber | There is a keyboard shortcut (Apple Key + Shift Key + 3) captures screen and automatically saves file as .png on desktop or (apple Key + Shift key + 4) lets you select only part of screen and capture it, saving it to desktop too |
04:26:00 | zoomber | ok |
04:26:00 | zoomber | heres link to photo |
04:26:00 | zoomber | http://96.2.123.136/upload/HANG.png |
04:27:00 | zoomber | i like my irc client; it automatically searches if link posted is an image, and if it is, embeds it in the chat |
04:28:00 | sam686 | that doesn't look like hang to me, it just takes a long time.. |
04:29:00 | sam686 | does apple auto-quits any program when it hangs? |
04:30:00 | sam686 | or where it thinks it hang and frozen? |
04:32:00 | zoomber | no |
04:33:00 | zoomber | it will hang any app that is unresponsive (taking a while to load) |
04:33:00 | zoomber | if app is actually just loading level, like in bitfighter for instance, it will unhang when level loaded |
04:33:00 | zoomber | or recover |
04:34:00 | zoomber | i use a program that can detect hangs and sample them |
04:34:00 | zoomber | the image above was my result |
04:34:00 | sam686 | well then set your computer to not freeze apps when it thinks it is not responding... |
04:35:00 | sam686 | my windows don't freeze apps, but it sure use all the cpu power for apps that are buzy |
04:35:00 | zoomber | it doesn't "freeze" the app. It just classifies it as "unresponsive" until the app crashes or becomes responsive again |
04:37:00 | sam686 | i will show you my hanged app... |
04:37:00 | zoomber | ok |
04:40:00 | sam686 | first sign of hang: http://96.2.123.136/bitfighter/hang1.png clicking the X button brings this up: http://96.2.123.136/bitfighter/hang2.png |
04:40:00 | zoomber | yes.. |
04:40:00 | zoomber | any reason why two white stripes show up when you are at edit level screen? |
04:41:00 | zoomber | they are to the left and under "zzzz46" |
04:41:00 | sam686 | the title becomes (not responging) sometimes junk (white stripes) appears for some strange reason.. |
04:41:00 | zoomber | oh |
04:41:00 | sam686 | sometimes it shows goffy graphics when it hangs.. |
04:42:00 | zoomber | bitfighter will show goofy graphics on my computer when i start it up in Full screen mode, but when i start in windowed mode and change to full screen later, goofy graphics wont show up |
04:43:00 | zoomber | except white stripes are much thinner, and appear at random times, alot |
04:43:00 | sam686 | if it hangs in fullscreen, it might become a bit harder (theres no X button), i use ctrl + alt + del to start tack manager, then i can close it that way. |
04:44:00 | zoomber | yes, same for mac. we must do the equivilant, which is (apple key + option key + ESC key) which brings up a menu that lets me force quit applications |
04:44:00 | zoomber | i can show you a video, but it shows white streaks randomly appearing when i start in fullscreen, but i can play as normal, it just gets in the way |
04:44:00 | sam686 | alt key = option key? windows key = apple kay? might be similar buttons.. |
04:44:00 | zoomber | yes |
04:45:00 | zoomber | if you install windows on mac, Apple key turns into the windows key |
04:45:00 | sam686 | ok.. |
04:46:00 | zoomber | and the streaks i get, are not exactly white, but are transparent, or show what is behind bitfighter |
04:47:00 | zoomber | if i have no other windows open, and i start bitfighter in full screen mode, i can see streaks of my desktop in random places every other second, but they only appear for a very short time |
04:47:00 | sam686 | maybe thats because of fullscreen fight and windows behing fullscreen draws causing flicker? |
04:48:00 | zoomber | explain? |
04:48:00 | zoomber | dont quite understnad |
04:49:00 | sam686 | when a fullscreen program draws, and desktop draws thinking there is no sullscreen apps, it may cause flicker? |
04:49:00 | sam686 | spelling fail... FULLSCREEN.. |
04:50:00 | zoomber | oh |
04:50:00 | zoomber | that could be it |
04:50:00 | zoomber | hmmm |
04:50:00 | zoomber | yes, i think that's it |
04:50:00 | sam686 | maybe it is just a problem with GLUT... as the main bitfighter repository have mostly moved to SDL the flicker problem might be fixed? |
04:51:00 | zoomber | once i get bitfighter running on sdl, we will see |
04:51:00 | zoomber | i think it is a problem with glut |
04:51:00 | zoomber | but im not sure |
04:51:00 | zoomber | not raptor nor I have tried to run latest version of bitfighter on mac, but i can try building it right now |
04:51:00 | sam686 | maybe GLUT fails to tell the OS that there is a fullscreen app? |
04:52:00 | zoomber | yes.. |
04:52:00 | sam686 | raptor might have made changes to compile in mac for SDL (if you pull the latest from main repository) |
04:53:00 | zoomber | i have gotten bitfighter to compile in mac for sdl a week ago, but havent gotten it to launch successfully |
04:53:00 | zoomber | but i think the issue at hand was somethign else, for multible operating systems |
04:53:00 | zoomber | not a mac-issue |
04:53:00 | zoomber | so i will pull right now |
04:54:00 | zoomber | oh, ok |
04:54:00 | zoomber | raptor did the same fix i did |
04:55:00 | zoomber | i just borrowed the sdl app from another application, he actually went to libsdl.org |
04:56:00 | sam686 | well good, you can return what you borrowed.. |
04:56:00 | | Flynnn has joined |
04:56:00 | zoomber | hi |
04:56:00 | Flynnn | Hello :) |
04:57:00 | sam686 | hi |
05:01:00 | zoomber | do you want to play a match of bitfighter right now? |
05:01:00 | Flynnn | Sure :) |
05:02:00 | zoomber | oh hang on, i must wait for xcode to finish first |
05:02:00 | zoomber | or my cpuu overloads and computer "fumbles" processes |
05:02:00 | zoomber | ok |
05:02:00 | zoomber | sam686 : can you go on too? |
05:03:00 | sam686 | sometimes zoomber's internet overloads, happens when zoomber runs too many clones (multiple clients) and when too many players connects to zoomber bitfighter server (Cool server?) |
05:03:00 | zoomber | actually |
05:03:00 | zoomber | i discovered it was something completely different |
05:04:00 | zoomber | the router was connected temporarly to another phone line in the house, but that phone line had to be shared with the router AND phone, not just router. everytime i picked up phone, router lost link |
05:04:00 | zoomber | but should be good now, moved it |
05:19:00 | Flynnn | Well gtg :( |
05:19:00 | | Flynnn Quit (Quit: Leaving) |
06:52:00 | | watusimoto has joined |
07:09:00 | | zoomber Quit (Quit: zoomber) |
07:15:00 | | watusimoto Quit (Ping timeout: 240 seconds) |
10:09:00 | | koda has joined |
15:14:00 | | zoomber has joined |
15:17:00 | | zoomber Quit (Client Quit) |
16:02:00 | | watusimoto has joined |
16:27:00 | | Flynnn has joined |
16:38:00 | | watusimoto Quit (Ping timeout: 276 seconds) |
18:11:00 | | watusimoto has joined |
19:07:00 | | watusimoto Quit (Ping timeout: 260 seconds) |
20:22:00 | | Flynnn Quit (Quit: This computer has gone to sleep) |
20:26:00 | | Flynnn has joined |
20:31:00 | | raptor has joined |
20:31:00 | | ChanServ sets mode +o raptor |
20:38:00 | | watusimoto has joined |
20:45:00 | | watusimoto Quit (Ping timeout: 250 seconds) |
22:15:00 | | Flynnn Quit (Quit: This computer has gone to sleep) |
22:40:00 | raptor | hello! |
22:40:00 | sam686 | hi |
22:41:00 | raptor | so i find that the idle() loop in main.cpp is causing the increase in CPU |
22:43:00 | raptor | i'm thinking of replacing the tick detection with something simpler - without using TNL |
22:44:00 | raptor | it would be good to know what watusimoto is working on... |
22:52:00 | sam686 | what happened to geomSort? (UIeditor.cpp) i am getting runtime error debug assertion failed "Invalid Operator<" when loading a map into editor. |
22:52:00 | raptor | I haven't touched it |
22:53:00 | raptor | maybe a '<<' instead of '< <' somewhere? |
22:53:00 | sam686 | i see your changes to "Compiles in Linux, but crashes still..." |
22:53:00 | raptor | which changeset? |
22:53:00 | sam686 | 1970 (11e94522bc33) Compiles in Linux! But crashes still.. |
22:54:00 | raptor | that has been well superceded |
22:54:00 | raptor | i know watusimoto has made significant editor changes since anything i did there |
22:54:00 | sam686 | is shows that qsort was removed replaced with other sort in geomSort |
22:54:00 | sam686 | before that, i changed to qsort.. |
22:55:00 | raptor | it's still using qsort, right? |
22:55:00 | raptor | that's what vector uses |
22:55:00 | raptor | Vector |
22:55:00 | sam686 | not anymore because of your changes.. |
22:56:00 | raptor | huh - |
22:56:00 | raptor | maybe i meant to leave qsort |
22:56:00 | sam686 | maybe because at one time it was using shared_ptr<EditorObject>? |
22:59:00 | raptor | that could be |