• Login
sketchucation logo sketchucation
  • Login
🤑 SketchPlus 1.3 | 44 Tools for $15 until June 20th Buy Now

Leopard hang fix

Scheduled Pinned Locked Moved SketchUp Bug Reporting
sketchup
80 Posts 53 Posters 31.4k Views 53 Watching
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.
  • B Offline
    brad
    last edited by 5 Dec 2007, 03:15

    Hey INIO,

    Your attention to detail and great bug reporting will help us in finding the cause of this problem.

    I have asked a few developers to look into this matter. I can't make any promises about the resolution, but having the information you gave sure is a great starting place.

    Thank you.

    Brad

    Brad
    SketchUp QA

    1 Reply Last reply Reply Quote 0
    • I Offline
      inio
      last edited by 5 Dec 2007, 06:40

      To make installing (and uninstalling) it easier I've put together an Installer package. Along with the InputManager, it also throws an applescript in your sketchup folder to uninstall it.


      ThawUp Installer.pkg.zip

      1 Reply Last reply Reply Quote 0
      • T Offline
        tim
        last edited by 5 Dec 2007, 06:50

        @unknownuser said:

        Hey INIO,

        Your attention to detail and great bug reporting will help us in finding the cause of this problem.

        Damn right - I wish more of my users would take so much trouble to help!

        1 Reply Last reply Reply Quote 0
        • H Offline
          heckler
          last edited by 17 Dec 2007, 02:30

          Thank you so much Inio!
          Your fix was too helpful!

          1 Reply Last reply Reply Quote 0
          • W Offline
            willem-anne
            last edited by 19 Dec 2007, 11:07

            Inio, your fix is also useful in sketchup's update dating 5th of december.
            It really speeds up sketchup on the Mac Book, great work!

            1 Reply Last reply Reply Quote 0
            • G Offline
              GaryWith1R
              last edited by 19 Dec 2007, 23:08

              Thanks Inio - Sketchup was unusable even after the latest update with constant hangs. I've been searching for a cheap alternative to complete a project I'm in the middle of, but couldn't find anything as powerful - so this fix has saved the day! 😎

              1 Reply Last reply Reply Quote 0
              • I Offline
                inio
                last edited by 19 Dec 2007, 23:36

                Good to know. The fix should be pretty harmless - in the worst case it will cause graphical artifacts and a very slight slowdown in future versions once they fix the problem directly.

                edit: that said, it should be uninstalled once the problem is fixed. There's no reason to keep it around and it could conceivably cause minor problems. This is why I included the uninstaller script.

                1 Reply Last reply Reply Quote 0
                • H Offline
                  huevosgrandes
                  last edited by 20 Dec 2007, 00:56

                  Thanks.. that fixes my problems.. I thought it was because I had installed earlier a patch for the pro... Cheers

                  1 Reply Last reply Reply Quote 0
                  • W Offline
                    wingnut21
                    last edited by 24 Dec 2007, 04:27

                    Worked for me as well! Thanks for taking matters into your own hands!

                    1 Reply Last reply Reply Quote 0
                    • N Offline
                      numin
                      last edited by 25 Dec 2007, 08:59

                      just got SU6 installed on my new macbook and is really disappointed at the problems I'm facing on getting it to function 'normally'. I've been using Sketchup since the first versions and is very impressed with how its grown. However, that was when I was still on Windows. Incredibly, SU6 works so much faster on my 2 year old Dell XPS (centrino duo).
                      Been searching around the whole day today and turns out that its got something to do with the macbooks GMA 900 video card that's now working with OpenGL and sketchup which caused those little dots to follow the cursor. Turning OpenGL of, solves it but also slows it down so much that its not exactly functional or usable.
                      I'm still on Tiger and on a 2.16ghz macbook 1Gb RAM and the older video processor GMA 900.
                      Should I try this install?

                      1 Reply Last reply Reply Quote 0
                      • P Offline
                        phatphil
                        last edited by 30 Dec 2007, 06:46

                        Trying it now. SketchUp has sucked for me all around since the upgrade to Leopard.

                        Edit: The fix seems to work perfect. Very appreciated!

                        1 Reply Last reply Reply Quote 0
                        • 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
                                          • 1
                                          • 2
                                          • 3
                                          • 4
                                          • 1 / 4
                                          • First post
                                            Last post
                                          Buy SketchPlus
                                          Buy SUbD
                                          Buy WrapR
                                          Buy eBook
                                          Buy Modelur
                                          Buy Vertex Tools
                                          Buy SketchCuisine
                                          Buy FormFonts

                                          Advertisement