by tomasz » Sun Sep 21, 2008 12:41 pm
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
-
tomasz
- SU2TH & SU2KT Developer
-
- Posts: 768
- Joined: Fri Nov 16, 2007 8:46 pm
- Location: Poland
- Name: Tomasz
- Operating system: Windows
- SketchUp version: 8
- License type: Pro
- SketchUp use: architecture
- Level of SketchUp: Advanced
-
by michelinux » Fri Oct 03, 2008 9:01 pm
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?
-
michelinux
-
- Posts: 6
- Joined: Fri Jul 04, 2008 2:12 pm
- Location: rimini, italia
- Name: michele delbianco
by michelinux » Tue Oct 07, 2008 10:10 am
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
-
michelinux
-
- Posts: 6
- Joined: Fri Jul 04, 2008 2:12 pm
- Location: rimini, italia
- Name: michele delbianco
by tvcasualty » Mon Nov 10, 2008 4:35 am
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! 
-
tvcasualty
-
- Posts: 3
- Joined: Fri May 02, 2008 4:46 pm
by originalsurfmex » Wed Dec 17, 2008 6:43 pm
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)
-
originalsurfmex
-
- Posts: 4
- Joined: Wed Dec 05, 2007 6:51 pm
by thomthom » Wed Dec 17, 2008 8:06 pm
originalsurfmex wrote: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.
-

thomthom
- Global Moderator
-
- Posts: 17545
- Joined: Tue Nov 13, 2007 12:47 pm
- Location: Trondheim, Norway
- Name: thomthom
- Operating system: Windows
- SketchUp version: 8
- License type: Pro
- SketchUp use: architecture
- Level of SketchUp: Advanced
-
by originalsurfmex » Thu Dec 18, 2008 12:46 pm
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?
-
originalsurfmex
-
- Posts: 4
- Joined: Wed Dec 05, 2007 6:51 pm
by dankegel » Thu Dec 18, 2008 7:55 pm
For the latest info about Sketchup and Wine, see http://wiki.winehq.org/GoogleSketchupThe 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=3914As 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.
-
dankegel
-
- Posts: 1
- Joined: Thu Dec 18, 2008 7:44 pm
- Name: Dan Kegel
by originalsurfmex » Fri Dec 19, 2008 2:01 am
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!
-
originalsurfmex
-
- Posts: 4
- Joined: Wed Dec 05, 2007 6:51 pm
by jaceguay » Thu Feb 19, 2009 7:50 pm
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.
-
jaceguay
- Premium Member

-
- Posts: 43
- Joined: Fri Dec 21, 2007 10:46 pm
by nikkkko » Wed Sep 30, 2009 7:42 am
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?
-
nikkkko
-
- Posts: 3
- Joined: Fri Sep 25, 2009 5:08 pm
by lunkwill » Sat Jul 10, 2010 11:53 pm
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.
-
lunkwill
-
- Posts: 3
- Joined: Tue Jun 02, 2009 5:53 pm
by waffle » Sat Sep 11, 2010 10:11 pm
I found that this worked, having had OpenGL errors with Sketchup in Wine, changing wine's fake windows registry (type 'wine regedit' into your terminal), navigate towards each of these three. By version 8 I think that the middle one has disappeared, but a combination of changing the others has allowed me to get sketchup to run. I suspect that changing HW_OK to 1 is the main one.
[HKEY_CURRENT_USER\Software\Google\SketchUp6\GLConfig\Display] "FIRST_TIME"=dword:00000000 "HW_OK"=dword:00000001
[HKEY_CURRENT_USER\Software\Google\SketchUp6\Google SketchUp TOTD] "HelpPage"="0" "ShowOnStartUp"="false"
[HKEY_CURRENT_USER\Software\Google\SketchUp6\SnappyInstructor] "Show"="0"
To change the value to the right of the '=' sign, click right in 'wine regedit', modify, type in the value (1 or 0 in these cases)
Don't be afraid to post queries, registration doesn't take long on this forum (i registered just to leave this post)
-
waffle
-
- Posts: 1
- Joined: Sat Sep 11, 2010 10:03 pm
- Name: E HUNSTON
by gonzaloavf » Fri Dec 30, 2011 8:20 pm
I have just installed SU8 on my Ubuntu 10.04 and couldn't start it with an error message like "can't open OpenGL". In fact nothing to do with rubbies. The only workaround that worked for me was this registry messing. The only key I couldn't find was this TODT. The graphics get a little clampsy some times, but this would happen on XP too.
-
gonzaloavf
-
- Posts: 1
- Joined: Fri Dec 30, 2011 8:01 pm
- Name: Gonzalo
by MOGhouse » Wed Feb 08, 2012 7:32 pm
I have been using Sketchup on linux/wine - and it it ONLY kind of works ..... Always trubble when there is an upgrade of either wine or sketchup - and lots of stuff doesn't work, and you spend oceans of time trying to pin-point the issue. After all - who wants a free flight on a plane the works MOST of the time ... I find the best way to go is running under virtualbox - where there is less problems. You dont get rid of Windows and the fees for Bill Gates - but its the next-best. You can work in linux and sketchup at the same time. You can then boot a "real" windows to check if there is a problem and test. BUT best solution, and its looong overdue - is for Google to make a LINUX NATIVE SKETCKUP..... 
-
MOGhouse
-
- Posts: 7
- Joined: Mon Jan 30, 2012 6:57 pm
- Name: Torben Mogensen
by chad3006 » Thu Feb 23, 2012 4:54 pm
I've just recently been using sketchup 8 on Linux Mint 11 via Wine. After a rocky start at trying to get it installed and running (had to replace a 0 with a 1 in the registry), I've finally got it working. It seems quite stable and my Kerkythea export plugin works fine too. One problem is that my sketchup files don't have a thumbnail pic of the model when I'm opening files, etc -- no big deal. The Kerkythea exporter plugin does seem considerably slower than it was in WinXP, but it works. However, Sketchup itself seems to run just as fast as it did in WinXp, but there are a few little quirks like when I cut and paste, the model turns to a skeleton briefly until I move the mouse or take some other action. Overall I’d say it is very workable and I’ve completed several complex models without any issues.
-
chad3006
-
- Posts: 9
- Joined: Tue Jun 28, 2011 3:01 pm
by Aerilius » Thu Feb 23, 2012 9:50 pm
when I cut and paste, the model turns to a skeleton briefly until I move the mouse or take some other action.
This is normal behavior of SketchUp. Since SketchUp 7 or 7.1, it uses some level-of-detail techniques and temporarily reduces the complexity to keep the frame rate above a minimum so that the model is navigatable without lagging. I didn't notice this explicitely for copy-paste, but it maybe depends on model complexity and computer speed. my sketchup files don't have a thumbnail pic of the model when I'm opening files
SketchUp files contain embedded thumbnails (png image), so a thumbnailer does not need to be able to open the model and render a preview, it just needs to find where the thumbnail is located inside the file. I made a script for this, based on Jim's thumbnail extractor. This was for Gnome2. I just found what I have to change for Gnome3 (so expect an update soon). https://sites.google.com/site/sketchupsage/problems/linux#TOC-Enable-thumbnails-in-Gnome-There is caveat: SketchUp thumbnails are generated with "software rendering" which doesn't work in Wine. Thumbnails generated through Wine are black, while old files or files from the internet have intact thumbnails.
-
Aerilius
- Top SketchUcator
-
- Posts: 1111
- Joined: Tue Dec 23, 2008 11:00 pm
- Location: Kaiserslautern
by brewsky » Thu Nov 15, 2012 2:35 pm
lunkwill wrote:I found a workaround to the refresh bug
All available workarounds for the refresh problem under wine seem to fail for me. After a lot of frustration I have made this little ruby-script that seems to work for me - Code: Select all
# wine-refresh.rb # # Copyright (C) 2012 Jan Brouwer <jan@brewsky.nl> # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>.
module Brewsky module WineRefresh # This observer refreshes the view every time the selection is changed class WrSelectionObserver < Sketchup::SelectionObserver def initialize @view = Sketchup.active_model.active_view end def onSelectionBulkChange(selection) @view.refresh end def onSelectionCleared(selection) @view.refresh end end
# Attach the observer. Sketchup.active_model.selection.add_observer(WrSelectionObserver.new) end end
-

brewsky
-
- Posts: 119
- Joined: Mon Jan 03, 2011 11:10 pm
- Location: Netherlands
- Name: Jan Brouwer
- Operating system: Linux
- SketchUp version: 8
- License type: Pro
- SketchUp use: architecture
- Level of SketchUp: Advanced
by thomthom » Thu Nov 15, 2012 2:37 pm
Is it enough with view.invalidate ? view.refresh called that often will slow down SketchUp as it forces it to completely redraw on every call regardless of how quickly it's repeated.
-

thomthom
- Global Moderator
-
- Posts: 17545
- Joined: Tue Nov 13, 2007 12:47 pm
- Location: Trondheim, Norway
- Name: thomthom
- Operating system: Windows
- SketchUp version: 8
- License type: Pro
- SketchUp use: architecture
- Level of SketchUp: Advanced
-
by TIG » Thu Nov 15, 2012 2:41 pm
I agree that view.invalidate would be the quicker safer option... Remember too that view.refresh only works on more recent versions, >=7.1, so a trap for Sketchup.version might also be in order if the tool is usable on anything earlier...
TIG
-

TIG
- Global Moderator
-
- Posts: 13914
- Joined: Mon Nov 12, 2007 7:24 pm
- Location: Northumbria UK
- Name: TIG
- Operating system: Windows
- SketchUp version: 8
- License type: Pro
- SketchUp use: architecture
- Level of SketchUp: Advanced
by brewsky » Thu Nov 15, 2012 3:13 pm
thomthom wrote:Is it enough with view.invalidate ?
No, Too bad... That is not enough to fix it. thomthom wrote:view.refresh called that often will slow down SketchUp as it forces it to completely redraw on every call regardless of how quickly it's repeated.
I didn't test it with big operations yet, but so far the reduced speed does not bother me, better than having to zoom every time I click somewhere  Do you consider the "view.refresh" command also as a dangerous usage of observers(like that it could crash sketchup when running at the same time with other plugins?)? TIG wrote:Remember too that view.refresh only works on more recent versions, >=7.1, so a trap for Sketchup.version might also be in order if the tool is usable on anything earlier...
I hope I made this "trap" in the correct way... Any more improvements are welcome! Consider this a hack for if all else fails  - Code: Select all
# wine-refresh.rb # # Copyright (C) 2012 Jan Brouwer <jan@brewsky.nl> # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>.
module Brewsky module WineRefresh # run only on SketchUp versions newer than 7.1 if Sketchup.version.to_f > 7.1 # This observer refreshes the view every time the selection is changed class WrSelectionObserver < Sketchup::SelectionObserver def initialize @view = Sketchup.active_model.active_view end def onSelectionBulkChange(selection) @view.refresh end def onSelectionCleared(selection) @view.refresh end end
# Attach the observer. Sketchup.active_model.selection.add_observer(WrSelectionObserver.new) else UI.messagebox("WineRefresh needs at least SketchUp 7.1 to run") end end end
-

brewsky
-
- Posts: 119
- Joined: Mon Jan 03, 2011 11:10 pm
- Location: Netherlands
- Name: Jan Brouwer
- Operating system: Linux
- SketchUp version: 8
- License type: Pro
- SketchUp use: architecture
- Level of SketchUp: Advanced
by Ad Machine » 5 minutes ago
Need SketchUp Books, Models, Styles or Textures? Check out our One Stop Shop for SketchUp. Premium Members get 20% discount!
-
Ad Machine
- Robot
-
- Posts: 2012
-
Return to Developers' Forum
|