• Login
sketchucation logo sketchucation
  • Login
๐Ÿค‘ SketchPlus 1.3 | 44 Tools for $15 until June 20th Buy Now

SketchUp and Rubies on Linux (yes, it works)

Scheduled Pinned Locked Moved Developers' Forum
71 Posts 27 Posters 39.0k 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.
  • S Offline
    Scienthsine
    last edited by 8 Aug 2008, 04:13

    Yep, exactly, it's hacky... but desperate times ๐Ÿ˜‰

    That would be good, I have alot to do this weekend, so I haven't installed it on my linux drive yet... but I don't expect to have the same problem, having a radeon. We'll see...

    1 Reply Last reply Reply Quote 0
    • L Offline
      lewiswadsworth
      last edited by 8 Aug 2008, 13:10

      I have yet to be able to get SU to work on WINE with a Radeon at all...it rarely even works well on Windows, after all, with ATI cards, and the tech support people in Boulder will confirm that. Please let me know if you figure it out.

      col sporcar si trova

      1 Reply Last reply Reply Quote 0
      • M Offline
        mozzie
        last edited by 9 Aug 2008, 12:57

        OK - have it working with my 82865G Integrated Graphics Controller. In the WINE forums, there was a suggestion that there was an issue with the Intel and ATI OpenGL drivers under DRI and that turning it off would work.
        Requires a mod to the xorg.conf file - add the following line under the

        Section "Device"
        ...
        Option "DRI" "False"
        EndSection

        And I now have a non-black screen, and visible drawings. Not tested comprehensively, but will report back.

        1 Reply Last reply Reply Quote 0
        • L Offline
          lewiswadsworth
          last edited by 9 Aug 2008, 13:33

          Mozzie, I'll have to try that as well on the Dell notebook...could you provide a link to the relevant WINE forum threads? Thanks.

          EDIT: It worked! ...on a Dell Inspiron XPS P4 3.40 GHz with some nameless ATI Radeon with 256 MB VRam, about four years old. There is a strange white box around the cursor, but otherwise SU looks normal...I won't have a chance to test this with real drawings for a few days, though. (Incidentally, this computer had bad ATI/OpenGL issues running SU on Windows...I've always considered it a piece of junk.)

          The toolbar problem seems to be caused by allowing the Window Manager "to control the window" in the Configure WINE control panel. However, unchecking the option can cause worse issues...on my systems, it seems that toolbars that are not docked or pallet windows (like Materials) that were open prior to the WINE configuration change will vanish until the desktop manager is allowed to manage SU again.

          col sporcar si trova

          1 Reply Last reply Reply Quote 0
          • M Offline
            mozzie
            last edited by 11 Aug 2008, 00:56

            You probably don't need it now ... but here's the WineHQ reference.
            It's the second item in the list, the heading is "Black Screen".

            Link Preview Image
            WineHQ - Comments

            Open Source Software for running Windows applications on other operating systems.

            favicon

            (appdb.winehq.org)

            The interesting comment there is the last item in the black screen thread.

            @unknownuser said:

            RE: Black Screen
            by Alexander Sabourenkov on Thursday August 7th 2008, 1:21
            Ok.

            I'll try to track down the source of the problem. Seems likely that it is something missing from both intel and ati open source drivers, but present in non-accelerated driver and proprietary ones (nvidia at least).

            I did a little testing. I don't have the white box problem (cursor looks normal).
            Onscreen operations seem Ok, but horribly slow (to be expected) as the hardware acceleration is compromised.
            Export to 2D graphic (PNG) was unsuccessful.

            1 Reply Last reply Reply Quote 0
            • L Offline
              lewiswadsworth
              last edited by 11 Aug 2008, 01:59

              Thanks, Mozzie. I also could not export to PNG on the old Dell notebook, although JPG worked well. And of course, I lost functionality on other native apps that depended on DRI, like certain screensavers and some of the eyecandy on the Amarok music player.

              In the end, it's not worth doing on this particular aging notebook computer...with a fairly big model (which will run just fine on WINE on a computer with an 8-series GeForce), turning on textures and shadows in SU nearly froze the system. And even once I managed to force SU/WINE to quit, the computer was hopelessly sluggish until I restarted it. Oh well. I'm sure on a more modern system with ATI or integrated graphics this will be of great value. But it seems like the NVidia cards are still the best bet for a system to run SU on Wine on Linux without too much functionality loss, assuming one has the option...at least until the poster you quote tracks down the problem.

              col sporcar si trova

              1 Reply Last reply Reply Quote 0
              • E Offline
                eter
                last edited by 13 Aug 2008, 03:28

                OK, I was playing around a bit this week and I DO get the display delay thing- specifically, if I reverse a face, it doesn't display as reversed until I try another operation. I'm using an nVidia 6200 with the proprietary drivers that Ubuntu 7.04 installs.

                1 Reply Last reply Reply Quote 0
                • T Offline
                  tomasz
                  last edited by 21 Sept 2008, 11:41

                  Hi,
                  I have managed to start SU Free on SuSE 11.0 with Wine 1.1.4.
                  I've got GeForce 6200. It works fine, almost as fast as on Windows ๐Ÿ˜„
                  but.. every time I minimize SU window and then open it back I get BugSplat..

                  SU(Wine) also doesn't refresh the view after selecting a scene. I have to click on the screen to see it changed.

                  I was really surprised to see SU widow on Linux and to rotate quite complicated models without a problem!

                  Tomasz

                  Author of [Thea Render for SketchUp](http://www.thearender.com/sketchup)

                  1 Reply Last reply Reply Quote 0
                  • M Offline
                    michelinux
                    last edited by 3 Oct 2008, 20:01

                    have you followed all the steps explained in this tutorial, particularly adapt ruby scripts for unix systems with tofrodos tools and the command dos2unix in correct directories where scripts are?

                    1 Reply Last reply Reply Quote 0
                    • T Offline
                      tomasz
                      last edited by 3 Oct 2008, 21:17

                      If you mention tutorial below... I haven't spotted it.
                      http://www.wine-reviews.net/applications/google-sketchup-6-on-linux-and-freebsd-with-wine.html
                      I have installed Gecko when wine asked first time. My bad.
                      Will reinstalling help? Will try it.

                      Author of [Thea Render for SketchUp](http://www.thearender.com/sketchup)

                      1 Reply Last reply Reply Quote 0
                      • M Offline
                        michelinux
                        last edited by 7 Oct 2008, 09:10

                        No, I intend the first page of this discussion here.

                        I've just updated SU to the last release, but I'm noticing the same problems you've described in your post.

                        Mick

                        1 Reply Last reply Reply Quote 0
                        • T Offline
                          tvcasualty
                          last edited by 10 Nov 2008, 03:35

                          I've been running SU on ubuntu 8.04 and now 8.10. I've had the black screen problem in version 1.16? of wine, however a day later it updated and the problem went away. I'm now on 1.18, and it still works great. Now all my plugin's work!

                          1 Reply Last reply Reply Quote 0
                          • O Offline
                            originalsurfmex
                            last edited by 17 Dec 2008, 17:43

                            well, sketchup is actually running faster in linux than it does in vista (with aero off)!! go figure.

                            however, i can't resize any of my tool windows (model info, component browser, material browser)...any ideas, i couldnt find anything on the web...

                            (arch linux i686, openbox3)

                            1 Reply Last reply Reply Quote 0
                            • thomthomT Offline
                              thomthom
                              last edited by 17 Dec 2008, 19:06

                              @originalsurfmex said:

                              well, sketchup is actually running faster in linux than it does in vista (with aero off)!! go figure.

                              however, i can't resize any of my tool windows (model info, component browser, material browser)...any ideas, i couldnt find anything on the web...

                              (arch linux i686, openbox3)

                              Turning off Areo on Vista makes all screen operations slow as all hardware acceleration is gone.

                              Thomas Thomassen โ€” SketchUp Monkey & Coding addict
                              List of my plugins and link to the CookieWare fund

                              1 Reply Last reply Reply Quote 0
                              • O Offline
                                originalsurfmex
                                last edited by 18 Dec 2008, 11:46

                                true that, sorry about not being more precise...i meant to say turning off all eye candy via those checkboxes - i didnt actually disable aero itself.

                                still, any ideas about those menu's in linux?

                                1 Reply Last reply Reply Quote 0
                                • D Offline
                                  dankegel
                                  last edited by 18 Dec 2008, 18:55

                                  For the latest info about Sketchup and Wine, see http://wiki.winehq.org/GoogleSketchup

                                  The resizing bug mentioned above appears to be specific to the OpenBox window manager, and doesn't happen in Gnome. I've filed a bug for it, see http://bugzilla.icculus.org/show_bug.cgi?id=3914

                                  As of wine-1.1.11, Sketchup 7 should work reasonably well if you have a recent Nvidia card, though you may have to set the HW_OK registry entry described in the wiki page above to 1 to get past the "cannot initialize opengl" bug.

                                  1 Reply Last reply Reply Quote 0
                                  • O Offline
                                    originalsurfmex
                                    last edited by 19 Dec 2008, 01:01

                                    wow!! thank you bro. ill get changing window managers asap. in the meantime i'll keep an eye on the bug report. (gotta love the open source community)

                                    [edit] fyi: im trying to keep it to a light window manager (even xfce4 is too heavy for me) - so i went with e17 (enlightenment) its allll good now!

                                    1 Reply Last reply Reply Quote 0
                                    • J Offline
                                      jaceguay
                                      last edited by 19 Feb 2009, 18:50

                                      Im using skethcup 7 on Ubuntu 8.10 for two weeks now, thanks for this post, the speed it's the same of XP for me, I have a Geoforce 8400 GS. I had to disable the anti-aliasing in the ubuntu NVIDIA X Server Settings and use save to X Configuration File to really disable the AA.
                                      By now there is only two major problens:

                                      • I can't get the Shadow window do appear, even by hotkey or the window menu.
                                      • The Zoom Window command get the sketchup window to turn black and it doesn't recover, i have to save and open sketchup again.

                                      The other things that happen is that before I export some 2D graphics I have to change the format to bmp and then again to jpg to export right. All of that I can live with, the thing that I really miss is the Thumbnail preview in windows explorer before I open a file.

                                      1 Reply Last reply Reply Quote 0
                                      • N Offline
                                        nikkkko
                                        last edited by 30 Sept 2009, 06:42

                                        Hi,

                                        First post in this forum...

                                        I've been running SU for about a year on an Ubuntu distro with whatever wine ver happens to be in the repository. I bought a Dell M1330 laptop specifically for the job, making sure I had NVidia graphics and it very rarely crashes, which, considering I'm using it every day, is pretty satisfying.

                                        However, I recently started needing to produce technical drawings with detailed dimensions information and really need LayOut for this job. Has anyone had any success getting it to run?

                                        1 Reply Last reply Reply Quote 0
                                        • L Offline
                                          lunkwill
                                          last edited by 10 Jul 2010, 22:53

                                          I found a workaround to the refresh bug: in another terminal window, I run:

                                          watch -n 0.3 xrefresh -geometry 1x1+500+500

                                          That uses the xrefresh program to create a 1x1 window at 500,500 on the screen every 0.3 seconds. The refresh is enough to make sketchup update itself without totally disrupting the screen.

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

                                          Advertisement