Leopard hang fix
-
Looks like I was right. The attached "input manager" seem to resolve the freezes as far as I can tell. It causes visual artifacts in a few cases when dragging rectangles, but that hopefully isn't too big of an issue.
(bare Input Manager obsoleted by dedicated installer package above).
Here's the source code, if you're interested. If you want the full project, let me know and I'll post it.:
@interface ThawUp ; NSObject { } @end #import "APELite.h" #import "OpenGL/gl.h" #import "OpenGL/OpenGL.h" static void (*orig_glClear) (GLbitfield mask) = nil; static void new_glClear(GLbitfield mask); static void (*orig_glDrawBuffer) (GLenum mode) = nil; static void new_glDrawBuffer(GLenum mode); static BOOL wasFront; @implementation ThawUp + (void) load { if(![[[NSBundle mainBundle] bundleIdentifier] hasPrefix;@"com.google.sketchup"]){ return; } NSLog(@"ThawUp loaded as input manager"); wasFront = FALSE; orig_glClear = APEPatchCreate(glClear, new_glClear); orig_glDrawBuffer = APEPatchCreate(glDrawBuffer, new_glDrawBuffer); } static void new_glClear(GLbitfield mask) { if (wasFront) { wasFront = FALSE; NSLog(@"ThawUp causing CGLFlushDrawable"); CGLFlushDrawable(CGLGetCurrentContext()); } orig_glClear(mask); } static void new_glDrawBuffer(GLenum mode) { if (mode == GL_FRONT) wasFront = TRUE; orig_glDrawBuffer(mode); } @end
-
Thanks for trying this with 10.5.2. For now, this patch is the best solution I've seen.
Barry
-
Hi .... I have recently bought a macbook with leopard (osx 10.5). I want to buy sketchup pro but thought that I would download a trial version to check it out. There are many hang problems which (compared to Sketchup 5 on my old pc) drive me nuts... Its seems that this is a problem experienced by other users and it also seems that there may be a solution... Can you help ? markodd
-
@markodd said:
Hi .... I have recently bought a macbook with leopard (osx 10.5). I want to buy sketchup pro but thought that I would download a trial version to check it out. There are many hang problems which (compared to Sketchup 5 on my old pc) drive me nuts... Its seems that this is a problem experienced by other users and it also seems that there may be a solution... Can you help ? markodd
Are the hangs related to trying to rectangle select? If so, download the patch in the first post of this thread.
-
inio you are a Genius
I sometimes like to use my girlfriend's macbook at home (I normally use a MacPro at work) and found the hang time on SU was just unbearable.
Your fix has totally sorted it; amazing... how come Google don't sort this on a release, or even put your patch on the help site?
It is even making me wonder whether to save the cash on the difference between buying a MacBook Pro vs MacBook for my home machine...
-
Hi,
I'm on a MacBook Pro 2.4GHz with Mac OS X 10.5.2 and using SketchUp 6.4.120 (latest version, far as I know).
Both with and without the patch, I'm getting full system hangs periodically, usually when I pan or orbit. It's not completely debilitating, but it is of course kind of annoying...If I leave the system when it hangs, it still seems to save out an Autosave file, but it's otherwise completely unresponsive. Does this sound like the same issue or something different?
(Also, with the patch installed, I would occasionally get a similar system hang in Adobe InDesign CS3 when switching palettes around...)
Thanks!
David
-
i'm also getting the hang... 10.5.2 w/all updates + SU 6.4.120
i notice it in two situations:
- if there is an image imported. this causes a hang that requires a hard restart about every 15-20 min.
- the beach ball hang... which i can't define with specific actions, but happens pretty frequently hanging for 10-60 seconds at a time.
anyone talk to google?
i just installed the thaw-up... thanks! i'll post my results...
-
I've been looking for a way to sort that beachballing bonanza every time I selected something in Sketchup with a rectangular selection on my Mac Mini Dual-Core. This worked like a charm! The selection is now almost instant!
Thanks a lot for working out this great patch!
Antioche
-
didn't work for me. leopard still beach balling away. really too bad.
-
You may need to restart, or at lest log out, after installing it for it to take effect.
-
I too am getting OS X Leopard SU instability and lockups. Mainly due to using the pushpull tool - I think. The fact that people are still posting about this 5 months after you uploaded your fix, leads me to believe that the latest updates haven't fixed the issue. I'm going to try it and see if things improve, even though my issues don't seem to be the same.
Thanks for the time you have spent on this inio!
-
Yeah, I'm a little surprised this issue hasn't been fixed yet. Three OS updates (four if you count the "Graphics Update") and one SketchUp update later :/.
(BTW, confirmed to be needed with 10.5.3)
-
hiya
currently using macbook pro running su pro 6 and 10.5.3
mine hangs when just rotating simple models
i assume your fix may help address this - is it a problem you've found
peter
-
i've read 10.5.4 fixed the problem.
-
Still having the same problem here!
OSx 10.5.4 ans sketchup pro.Sketchups hangs when rotating a model.
The patch was no help at all, so far, If I disable airport, the problem disapears, no clue what this is!!
-
No clue as to why is Aiport the culprit, but I found this hint online and tried it, and seems to work!
Disabling airport for some minutes before opening SU solves the problem. After a while I can activate airport again, and continue working.
Tried to use little snitch to block SU, but not sure if it works or not.
Not sure but this problem seems to be mainly on old files, on those created on OS 10.4, new ones don't seem to be afected.
Anyone with simmilar issues?
-
Thanks....
I'm from Indonesia, very useful for me
-
thx.... it solve my problem
-
I am looking for the thaw fix file to download. Where can i go to get it?
Thanks
-
Are you talking about the file referenced in the first post? or is this another file?
Advertisement