Google Sketchup 6.x works, but only with xserver-xgl.

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
kanalje
Newbie
Newbie
Posts: 2
Joined: Fri Jun 13, 2008 12:33 pm

Google Sketchup 6.x works, but only with xserver-xgl.

Post by kanalje »

wine version: 1.0-rc4

- Installing Sketchup works fine with some minor issues.

- Running Sketchup will result in the following error message:

"Sketchup was unable to initialize OpenGL! Please make sure you have installed the correct drivers for your graphics card. Error: ChoosePixelFormat failed",

and after that the application closes down. As mentioned in several of the test results in the AppDB this error can be circumvented by changing the the following registry value:

HKEY_CURRENT_USER\Software\Google\SketchUp6\GLConfig\Display\HW_OK(0)

to

HKEY_CURRENT_USER\Software\Google\SketchUp6\GLConfig\Display\HW_OK(1)

Depending on whether you run compiz or metacity this results in two outcomes:

Compiz: Workspace is completely black. Even though I can't see anything drawing seems to work fine because the status bar updates normally. The menus also work fine and I can import models from 3D Warehouse, open the help files, etc.

Metacity: Exactly the same functionality but instead of a black workspace I get some random distortion.


No matter if I run with or without the registry edit, with metacity or compiz I get the same fixme's in the terminal:

Code: Select all

fixme:wininet:InternetSetOptionW Option INTERNET_OPTION_CONNECT_TIMEOUT (30000): STUB
fixme:wininet:InternetSetOptionW INTERNET_OPTION_SEND/RECEIVE_TIMEOUT
fixme:wininet:InternetSetOptionW INTERNET_OPTION_SEND/RECEIVE_TIMEOUT
fixme:wininet:InternetSetOptionW Option INTERNET_OPTION_CONNECT_RETRIES: STUB
fixme:wgl:X11DRV_wglChoosePixelFormatARB unused pfAttribFList
fixme:wgl:ConvertAttribWGLtoGLX unsupported 2007 WGL Attribute
fixme:wgl:ConvertAttribWGLtoGLX unsupported 2028 WGL Attribute
fixme:wgl:X11DRV_wglGetPixelFormatAttribivARB unsupported 2007 WGL Attribute
fixme:wgl:X11DRV_wglChoosePixelFormatARB unused pfAttribFList
fixme:wgl:ConvertAttribWGLtoGLX unsupported 2007 WGL Attribute
fixme:wgl:ConvertAttribWGLtoGLX unsupported 2028 WGL Attribute
fixme:wgl:X11DRV_wglChoosePixelFormatARB unused pfAttribFList
fixme:wgl:ConvertAttribWGLtoGLX unsupported 2007 WGL Attribute
fixme:wgl:ConvertAttribWGLtoGLX unsupported 2028 WGL Attribute
fixme:wgl:X11DRV_wglChoosePixelFormatARB unused pfAttribFList
fixme:wgl:ConvertAttribWGLtoGLX unsupported 2007 WGL Attribute
fixme:wgl:ConvertAttribWGLtoGLX unsupported 2028 WGL Attribute
fixme:wgl:X11DRV_wglChoosePixelFormatARB unused pfAttribFList
fixme:wgl:ConvertAttribWGLtoGLX unsupported 2007 WGL Attribute
fixme:wgl:ConvertAttribWGLtoGLX unsupported 2028 WGL Attribute
fixme:wininet:InternetSetOptionW Option INTERNET_OPTION_CONNECT_TIMEOUT (30000): STUB
fixme:wininet:InternetSetOptionW INTERNET_OPTION_SEND/RECEIVE_TIMEOUT
fixme:wininet:InternetSetOptionW INTERNET_OPTION_SEND/RECEIVE_TIMEOUT
fixme:wininet:InternetSetOptionW Option INTERNET_OPTION_CONNECT_RETRIES: STUB
fixme:wininet:INET_QueryOptionHelper INTERNET_OPTION_CONNECTED_STATE: semi-stub
fixme:wininet:INET_QueryOptionHelper INTERNET_OPTION_CONNECTED_STATE: semi-stub
When I install the xserver-xgl package I get near full functionality (workspace drawn flawlessly), but the system is extremely slow in general so naturally this affects Sketchup as well. Googling around I have found out that the performance hit I experience with xserver-xgl is expected and that I shouldn't bother with this when using an intel gpu.

Is this a wine problem at all or is it related to something else? If you don't know a solution then maybe you could help me identify the root of the problem.

Thanks for your time.
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Re: Google Sketchup 6.x works, but only with xserver-xgl.

Post by vitamin »

kanalje wrote:When I install the xserver-xgl package I get near full functionality (workspace drawn flawlessly), but the system is extremely slow
You really don't want to use XGL - it's even worse then compiz. It pretty much exclusively uses OpenGL.

I think the problem is your GPU. It seems Sketchup tries to use some OpenGL and it has problems with your card. Most likely drivers.

Disable Cimpiz and just ignore random visual bugs. That's the best you can do without upgrading to nVidia. (ATI marginally better then Intel because of the driver problems as well).
kanalje
Newbie
Newbie
Posts: 2
Joined: Fri Jun 13, 2008 12:33 pm

Re: Google Sketchup 6.x works, but only with xserver-xgl.

Post by kanalje »

vitamin wrote:Disable Cimpiz and just ignore random visual bugs. That's the best you can do without upgrading to nVidia. (ATI marginally better then Intel because of the driver problems as well).
I realize now that "some random distortion" was probably not he best description. What I meant was that the whole image is made up of total random gibberish. Nothing changes when I try to draw something. The screen might as well have been black.

Upgrading the gpu is also out of the question for me since my computer is a laptop, so the only solution for me right now seems to be xserver-xgl. :(

Thanks for the help though. I will go bug somebody about the drivers instead. :) The 945GMA has got to be one of the most common gpu's out there so you'd think that proper linux drivers would be in high demand.

I'll update this thread if I stumble upon something useful.

Edit: Just for the record, nothing changed with rc5.
User avatar
DanKegel
Moderator
Moderator
Posts: 1164
Joined: Wed May 14, 2008 11:44 am

Post by DanKegel »

So, you have Intel graphics? Which chipset? I hear the 915 isn't good enough
for sketchup, but the 945 might be, though you may have to disable DRI.
See http://wiki.winehq.org/GoogleSketchup for more info, look at the links section at the bottom.
Locked