• Login
sketchucation logo sketchucation
  • Login
🤑 30% Off | Artisan 2 on sale until April 30th Buy Now

Leopard hang fix

Scheduled Pinned Locked Moved SketchUp Bug Reporting
sketchup
80 Posts 53 Posters 31.4k Views
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • G Offline
    georgetemplemanmac.com
    last edited by 31 Dec 2007, 13:16

    I have been struggling with SU since the purchase of my new mac pro with x1900xt graphics card. The lag during use and the hanging when importing images was unbearable.

    I have just installed the fix and repeated the the previous import problem and all seems to be well

    Many thanks indeed

    1 Reply Last reply Reply Quote 0
    • K Offline
      kiddo
      last edited by 31 Dec 2007, 23:42

      The fix is in & working. Thanks for saving my Canadian bacon for the holiday homework. Hopefully there aren't any other Leopard bugs lurking about. Cheers

      1 Reply Last reply Reply Quote 0
      • K Offline
        krisbern
        last edited by 19 Jan 2008, 20:53

        Inio,

        Thanks for the patch! Works fantastic! Nothing was working in SU. Nothing.

        Cheers,

        • Kris
        1 Reply Last reply Reply Quote 0
        • L Offline
          lebagelman
          last edited by 23 Jan 2008, 22:47

          Another big thanks, the fix is working fine. I was going crazy restarting Sketchup every 10 minutes.

          lebagelman

          1 Reply Last reply Reply Quote 0
          • S Offline
            SuperJUN
            last edited by 5 Feb 2008, 09:26

            Inio,

            it is my first reply in this forum, and i would like to say "thank you!"

            the fix, it just works! and it make SU in leopard work!

            thank u very very much

            1 Reply Last reply Reply Quote 0
            • I Offline
              inio
              last edited by 12 Feb 2008, 06:24

              BTW, if anyone's wondering 10.5.2 and it's Graphics Update do NOT fix the driver bug that causes this.

              1 Reply Last reply Reply Quote 0
              • I Offline
                inio
                last edited by 12 Feb 2008, 06:32

                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
                
                

                ThawUp.zip

                1 Reply Last reply Reply Quote 0
                • B Offline
                  bjanzen
                  last edited by 12 Feb 2008, 22:57

                  Thanks for trying this with 10.5.2. For now, this patch is the best solution I've seen.

                  Barry

                  1 Reply Last reply Reply Quote 0
                  • M Offline
                    markodd
                    last edited by 16 Feb 2008, 10:30

                    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

                    1 Reply Last reply Reply Quote 0
                    • I Offline
                      inio
                      last edited by 16 Feb 2008, 17:20

                      @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.

                      1 Reply Last reply Reply Quote 0
                      • JasonWDJ Offline
                        JasonWD
                        last edited by 6 Mar 2008, 12:22

                        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...

                        SketchUp, Thea Render, Vectorworks PC and Mac - Full LayOut workflow Concept>Production

                        1 Reply Last reply Reply Quote 0
                        • D Offline
                          dzeibin
                          last edited by 10 Mar 2008, 01:57

                          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

                          1 Reply Last reply Reply Quote 0
                          • T Offline
                            turgimonster
                            last edited by 10 Mar 2008, 08:58

                            i'm also getting the hang... 10.5.2 w/all updates + SU 6.4.120

                            i notice it in two situations:

                            1. if there is an image imported. this causes a hang that requires a hard restart about every 15-20 min.
                            2. 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...

                            1 Reply Last reply Reply Quote 0
                            • A Offline
                              antioche
                              last edited by 3 Apr 2008, 09:12

                              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

                              1 Reply Last reply Reply Quote 0
                              • H Offline
                                howdy
                                last edited by 14 May 2008, 06:01

                                didn't work for me. leopard still beach balling away. really too bad.

                                1 Reply Last reply Reply Quote 0
                                • I Offline
                                  inio
                                  last edited by 14 May 2008, 15:06

                                  You may need to restart, or at lest log out, after installing it for it to take effect.

                                  1 Reply Last reply Reply Quote 0
                                  • bigstickB Offline
                                    bigstick
                                    last edited by 1 Jun 2008, 10:33

                                    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!

                                    1 Reply Last reply Reply Quote 0
                                    • I Offline
                                      inio
                                      last edited by 1 Jun 2008, 17:16

                                      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)

                                      1 Reply Last reply Reply Quote 0
                                      • P Offline
                                        PeterPritchard
                                        last edited by 26 Jun 2008, 12:11

                                        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

                                        1 Reply Last reply Reply Quote 0
                                        • EdsonE Offline
                                          Edson
                                          last edited by 21 Aug 2008, 10:31

                                          i've read 10.5.4 fixed the problem.

                                          edson mahfuz, architect| porto alegre • brasil
                                          http://www.mahfuz.arq.br

                                          1 Reply Last reply Reply Quote 0
                                          • 1
                                          • 2
                                          • 3
                                          • 4
                                          • 2 / 4
                                          • First post
                                            Last post
                                          Buy SketchPlus
                                          Buy SUbD
                                          Buy WrapR
                                          Buy eBook
                                          Buy Modelur
                                          Buy Vertex Tools
                                          Buy SketchCuisine
                                          Buy FormFonts

                                          Advertisement