http://bugs.winehq.org/show_bug.cgi?id=14045
Summary: SketchUp was unable to initialize OpenGL Product: Wine Version: 1.0.0 Platform: PC OS/Version: Linux Status: UNCONFIRMED Severity: enhancement Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: brett.jr.alton@gmail.com
After installing Google SketchUp 6.4 and trying to run Google SketchUp once (and it crashing) I tried to run GoogleSketchUp and second and third and fourth time and new error came up on those last three runs:
"SketchUp was unable to initialize OpenGL! Please make sure you have installed the correct drivers for your graphics card.
Error: ChoosePixelFormat failed"
I'm attaching a screenshot of the dialogue and the CLI log.
Log since its so small:
wine /home/brett/.wine/drive_c/Program\ Files/Google/Google\ SketchUp\ 6/SketchUp.exe 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
http://bugs.winehq.org/show_bug.cgi?id=14045
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- URL| |http://filehippo.com/downloa | |d_google_sketchup/download/c | |0a6f62e97abb50930365572c0b77 | |111/ Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 Keywords| |download, regression
--- Comment #1 from Austin English austinenglish@gmail.com 2008-06-21 19:29:02 --- Confirming. Seems like this was fixed a while back though...
Using git, ubuntu hardy, nvidia fx 5200/169.12 drivers.
http://bugs.winehq.org/show_bug.cgi?id=14045
--- Comment #2 from Brett Alton brett.jr.alton@gmail.com 2008-06-22 11:15:23 --- (In reply to comment #1)
Confirming. Seems like this was fixed a while back though...
Using git, ubuntu hardy, nvidia fx 5200/169.12 drivers.
I'm using 1.0, Ubuntu Hardy and nVidia 6800/169.12 as well.
What can I do to provide more information?
http://bugs.winehq.org/show_bug.cgi?id=14045
Roderick Colenbrander thunderbird2k@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|-unknown |opengl
--- Comment #3 from Roderick Colenbrander thunderbird2k@gmx.net 2008-06-28 16:39:18 --- Please perform a regression test. I remember it working a few months ago (I think also after the pixel formats got unleashed). We haven't made any real changes after that, so I think something else is causing the regression.
http://bugs.winehq.org/show_bug.cgi?id=14045
Vitaliy Margolen vitaliy@kievinfo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Severity|enhancement |normal
http://bugs.winehq.org/show_bug.cgi?id=14045
Alexander Sabourenkov screwdriver@lxnt.info changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |screwdriver@lxnt.info
--- Comment #4 from Alexander Sabourenkov screwdriver@lxnt.info 2008-08-05 06:04:00 --- Looking at TRACE=+wgl,+opengl output it looks like Sketchup iterates over pixel formats with DescribePixelFormat, looking for something, and then gives up, displaying the 'unable to initialize OpenGL' message.
http://bugs.winehq.org/show_bug.cgi?id=14045
--- Comment #5 from Alexander Sabourenkov screwdriver@lxnt.info 2008-08-05 12:30:27 --- Tracked this one to the fact that wine never returns PixelFormats with PFD_GENERIC_FORMAT flag set. The flag, as far as I understand MSDN, means software rendering, 'generic implementation' in msdn-speak.
I suspect that Windows always return at least one visual with this flag set, and Sketchup tries to use 'most-likely working' PixelFormat at the first run, so that user can open Preferences window and enable acceleration.
Not sure what is the correct course of action here. Code that sets flags in X11DRV_DescribePixelFormat does this incorrectly, I think. For example, PFD_GENERIC_ACCELERATED means the PixelFormat is backed by driver as opposed to 'generic implementation' and thus is hardware-accelerated, but the code sets the flag on 'Slow' visuals/fbformats. PFD_SUPPORT_GDI is removed in the code if visual is double-buffered, but msdn only states that _their_ 'generic implementation' does not provide PixelFormats with both those flags set.
On the other hand, there is no 'generic' implementation present in X11 at all times, and there's no way to know what current implemenation means by 'Slow' caveat.
Need to think more about all this.
http://bugs.winehq.org/show_bug.cgi?id=14045
--- Comment #6 from Alexander Sabourenkov screwdriver@lxnt.info 2008-08-05 12:52:40 --- Found what PF_GENERIC_* flags may actually mean:
PFD_GENERIC_FORMAT only = Software PFD_GENERIC_ACCELERATED only = Accelerated through MCD Neither = Accelerated through ICD
MCD means only a subset of operations are implemented in (presumably vendor-supplied) driver.
Now, this distinction does not make any sense any more, and I now understand why the code is written the way it is.
How do we run windows apps that insist on software-implemented OpenGL?
http://bugs.winehq.org/show_bug.cgi?id=14045
--- Comment #7 from Alexander Sabourenkov screwdriver@lxnt.info 2008-08-05 13:45:13 --- Created an attachment (id=15295) --> (http://bugs.winehq.org/attachment.cgi?id=15295) force PFD_GENERIC_FORMAT flag on all pixel formats
http://bugs.winehq.org/show_bug.cgi?id=14045
--- Comment #8 from Alexander Sabourenkov screwdriver@lxnt.info 2008-08-05 13:46:18 --- the attached patch above gets rid of the error, but most probably breaks other apps' pixel format selection.
http://bugs.winehq.org/show_bug.cgi?id=14045
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |patch
http://bugs.winehq.org/show_bug.cgi?id=14045
Jon Hartford gopher292@yahoo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |gopher292@yahoo.com
http://bugs.winehq.org/show_bug.cgi?id=14045
--- Comment #9 from Jon Hartford gopher292@yahoo.com 2008-08-10 17:03:47 --- Confirmed with Wine 1.1.0 (Wine's Slackware tgz) on Puppy Linux 4.00 with Opengl.pup addon.
Are there any known workarounds besides compiling Wine from scratch using Alex's patch?
http://bugs.winehq.org/show_bug.cgi?id=14045
--- Comment #10 from Alexander Sabourenkov screwdriver@lxnt.info 2008-08-11 02:59:31 --- (In reply to comment #9)
Confirmed with Wine 1.1.0 (Wine's Slackware tgz) on Puppy Linux 4.00 with Opengl.pup addon.
Are there any known workarounds besides compiling Wine from scratch using Alex's patch?
Put HKEY_CURRENT_USER\Software\Google\SketchUp6\GLConfig\Display\HW_OK=1 in the registry.
This is a minor problem compared with black drawing window problem on free 3D drivers.
http://bugs.winehq.org/show_bug.cgi?id=14045
--- Comment #11 from Roderick Colenbrander thunderbird2k@gmx.net 2008-08-14 16:24:53 --- We haven't had apps that required software rendering. Sketchup used to work but I'm not sure when it stopped working. Perhaps it was after we unleashed all the pixel formats (we used to have only 1 due to some x11drv limitations). Try a regression test.
It must be some generic fall back, there must also be some format which it really wants to have. I doubt it wants to use software rendering.
http://bugs.winehq.org/show_bug.cgi?id=14045
--- Comment #12 from Alexander Sabourenkov screwdriver@lxnt.info 2008-08-15 00:45:25 --- (In reply to comment #11)
We haven't had apps that required software rendering. Sketchup used to work but I'm not sure when it stopped working. Perhaps it was after we unleashed all the pixel formats (we used to have only 1 due to some x11drv limitations). Try a regression test.
It must be some generic fall back, there must also be some format which it really wants to have. I doubt it wants to use software rendering.
Without HW_OK=1 it really wants a format with PFD_GENERIC_FORMAT | ^PFD_GENERIC_ACCELERATED, I confirmed this by hacking up DescribePixelFormat and friends to return predefined flag combinations, and testing.
I don't see what can be done here. I don't think GLX can be forced to render in software for a given app only. Maybe duplicate all pixel formats as second copy having PFD_GENERIC_FORMAT | ^PFD_GENERIC_ACCELERATED. Or maybe return one pixel format with those flags and error out when it gets selected.
http://bugs.winehq.org/show_bug.cgi?id=14045
--- Comment #13 from Alexander Sabourenkov screwdriver@lxnt.info 2008-08-15 00:50:56 --- As for regression testing, many things have changed in radeon drivers and mesa since pixel formats were 'unleashed'. I suspect at least part of a problem is there, and I can't perform regression tests on those, because (hw-accelerated) 3d on my hardware started working only about two-three weeks ago. And while sketchup works when 3d-accel is completely turned off, that mode is not the one I'm interested in.
http://bugs.winehq.org/show_bug.cgi?id=14045
--- Comment #14 from Roderick Colenbrander thunderbird2k@gmx.net 2008-08-15 10:37:35 --- I don't think any of the problem is in your drivers as the regression affects also Nvidia. I have been thinking about faking one pixel format but it might cause issues for other apps (though in all those years I haven't seen apps that required the software renderer). I guess sketchup is just checking if software is around as a fall back or so. If we would fake a format we would also have to fake other things like the renderer string and so on..
http://bugs.winehq.org/show_bug.cgi?id=14045
Dan Kegel dank@kegel.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |dank@kegel.com
--- Comment #15 from Dan Kegel dank@kegel.com 2008-10-24 13:18:23 --- Working fine on my old Compaq Presario R3000 with primitive nvidia, NV17 [GeForce4 440 Go 64M].
http://bugs.winehq.org/show_bug.cgi?id=14045
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |austinenglish@gmail.com
--- Comment #16 from Austin English austinenglish@gmail.com 2008-10-24 15:53:34 --- (In reply to comment #15)
Working fine on my old Compaq Presario R3000 with primitive nvidia, NV17 [GeForce4 440 Go 64M].
Fails for me in Virtualbox 1.6/Ubuntu feisty
http://bugs.winehq.org/show_bug.cgi?id=14045
--- Comment #17 from Brett Alton brett.jr.alton@gmail.com 2008-10-24 16:18:49 --- Created an attachment (id=16849) --> (http://bugs.winehq.org/attachment.cgi?id=16849) Wine log for installing Google Sketchup 6.4
http://bugs.winehq.org/show_bug.cgi?id=14045
--- Comment #18 from Brett Alton brett.jr.alton@gmail.com 2008-10-24 16:19:14 --- Created an attachment (id=16850) --> (http://bugs.winehq.org/attachment.cgi?id=16850) Wine log for running Google Sketchup 6.4, after a successful install
http://bugs.winehq.org/show_bug.cgi?id=14045
--- Comment #19 from Brett Alton brett.jr.alton@gmail.com 2008-10-24 16:19:57 --- I've attached two logs.
One for installing Google Sketchup 6.4 and then other for running Google Sketchup 6.4.
I can't even run Google Sketchup without it crashing, which is even more of a regression than what I was previously able to do.
Then, upon running Google Sketchup a second time, the same error appears:
"SketchUp was unable to initialize OpenGL! Please make sure you have installed the correct drivers for your graphics card.
Error: ChoosePixelFormat failed"
This is Ubuntu Intrepid 8.10 with Wine 1.1.7.
http://bugs.winehq.org/show_bug.cgi?id=14045
--- Comment #20 from Dan Kegel dank@kegel.com 2008-11-11 18:48:05 --- With wine-1.1.8, Sketchup 6 works on my nvidia systems, but it fails with the "unable to initialize opengl" bug on my levnovo x60, which has Intel graphics. HW_OK was set to 1 by default on this system, oddly enough...
http://bugs.winehq.org/show_bug.cgi?id=14045
--- Comment #21 from Dan Kegel dank@kegel.com 2008-11-11 18:48:51 --- Forgot to mention: the lenovo has this problem even with Intrepid, which presumably has the latest X drivers.
http://bugs.winehq.org/show_bug.cgi?id=14045
anon delgado.raymond@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |delgado.raymond@gmail.com
--- Comment #22 from anon delgado.raymond@gmail.com 2008-12-08 16:27:58 --- sketchup arch linux 64 - openbox stand alone - nvidia 177 and nvidia-beta drivers...
tested on wine 1.1.0 1.1.7 and 1.1.10
sketchup was working just fine, using the HW_OK fix, but suddenly it stopped working. the fix no longer does anything. i continue recieving the same pixelformat opengl error.
are there known problems with X? could it have been an X update?
here is the important part of the log (the fixme just repeats like 6 times)
err:wintab32:X11DRV_LoadTabletInfo Unable to initialize the XInput library. fixme:wgl:X11DRV_wglChoosePixelFormatARB unused pfAttribFList fixme:wgl:ConvertAttribWGLtoGLX unsupported 2007 WGL Attribute fixme:wgl:ConvertAttribWGLtoGLX unsupported 2029 WGL Attribute
http://bugs.winehq.org/show_bug.cgi?id=14045
Jean-Louis Bourdon jean-louis.bourdon@laposte.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jean- | |louis.bourdon@laposte.net
--- Comment #23 from Jean-Louis Bourdon jean-louis.bourdon@laposte.net 2009-01-31 05:26:58 --- in sketchup 7/wine 1.1.14, the HW_OK flag get set to 1 by default the message
"SketchUp was unable to initialize OpenGL! Please make sure you have installed the correct drivers for your graphics card.
Error: ChoosePixelFormat failed"
only appears at the first launch of the program. Never shown in later launch
http://bugs.winehq.org/show_bug.cgi?id=14045
--- Comment #24 from Dan Kegel dank@kegel.com 2009-01-31 08:02:54 --- I think I've noticed it getting less severe, too, over the last months, but maybe that's because I'm running on better hardware than I used to?
http://bugs.winehq.org/show_bug.cgi?id=14045
Andreas Brauchli linux@elementarea.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |linux@elementarea.net
--- Comment #25 from Andreas Brauchli linux@elementarea.net 2009-04-19 10:14:17 --- I can confirm the bug still present in wine 1.1.19 (with ubuntu jaunty RC). Everything is as described by comment #23 from Jean-Louis Bourdon. (I also get the warning at first launch only, but it doesn't work afterwards, just the warning isn't displayed anymore).
Graphics HW is an Intel GM45 (running without KMS). Please tell me if I can assist in any way.
http://bugs.winehq.org/show_bug.cgi?id=14045
Roderick Colenbrander thunderbird2k@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |thunderbird2k@gmail.com
--- Comment #26 from Roderick Colenbrander thunderbird2k@gmail.com 2009-05-14 14:36:25 --- Alexander is it sufficient for Sketchup to only advertise PFD_GENERIC_ACCELERATED? I'm in the process of adding some 'fake' formats for e.g. bitmap rendering and on windows those have PFD_GENERIC_ACCELERATED set (and not the PFD_GENERIC_FORMAT). Actually I haven't seen any formats with PFD_GENERIC_FORMAT. Will this be enough for Sketchup?
http://bugs.winehq.org/show_bug.cgi?id=14045
--- Comment #27 from Roderick Colenbrander thunderbird2k@gmail.com 2009-05-15 09:10:05 --- The opengl changes are in git now. Could people who were affected by the issue try Sketchup using latest git and an older Wine? (The older Wine version won't matter as the opengl code hasn't changed for a while, everything after 1.0 should be the same)
Roderick
http://bugs.winehq.org/show_bug.cgi?id=14045
--- Comment #28 from Dan Kegel dank@kegel.com 2009-05-15 10:24:07 --- Today's git on Ubuntu 8.10 and Nvidia 180 drivers, with an "nVidia Corporation GeForce 7100/nForce 630i" motherboard. Initially it complained it couldn't initialize opengl (possibly because this card is weak). Adding HW_OK=1 got past that, but then crashed. (Possibly in gecko. There's been a gecko upgrade lately, wonder if that is involved.) Running then with wine-1.0.1 starts fine. So, guess I should try on a system with a real nvidia card.
http://bugs.winehq.org/show_bug.cgi?id=14045
--- Comment #29 from Roderick Colenbrander thunderbird2k@gmail.com 2009-05-15 12:20:17 --- The GPU is a little bit weak but should be more than sufficient for Sketchup and I also wonder whether the app explicitly checks for the GPU. The OpenGL used to be a pixel format enumeration issue. I'm not sure why it worked for some users and not for others (even if both used Nvidia). Now our behavior more closely matches Windows. A +wgl log could be useful and of course tests on some different cards.
Roderick
http://bugs.winehq.org/show_bug.cgi?id=14045
Jacques Dong jacquesdong@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jacquesdong@gmail.com
http://bugs.winehq.org/show_bug.cgi?id=14045
--- Comment #30 from Dan Kegel dank@kegel.com 2009-05-23 23:43:59 --- Found and worked around the crash (see bug 18601). Sketchup 7 still doesn't suffer from this on my GeForce 7100 system with Nvidia driver version 180.
Does anyone else still have this bug?
http://bugs.winehq.org/show_bug.cgi?id=14045
Jon Hartford gopher292@yahoo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC|gopher292@yahoo.com |
http://bugs.winehq.org/show_bug.cgi?id=14045
ignatiusjreilly09@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |ignatiusjreilly09@gmail.com
--- Comment #31 from ignatiusjreilly09@gmail.com 2009-07-16 15:46:51 --- i tried the patch, and i still get the same error on loading:
"Sketchup failed to initialize OpenGL, ...Pixel format failed"
furthermore, with the patch, sketchup proceeds to crash from "unkown arguments" after the "failed to initialize OpenGL" warning.
posted a log.
http://bugs.winehq.org/show_bug.cgi?id=14045
--- Comment #32 from ignatiusjreilly09@gmail.com 2009-07-16 15:48:04 --- i tried the patch, and i still get the same error on loading:
"Sketchup failed to initialize OpenGL, ...Pixel format failed"
furthermore, with the patch, sketchup proceeds to crash from "unkown arguments" after the "failed to initialize OpenGL" warning.
posted a log.
i'm on ubuntu 9.04 with a lenovo laptop. intel based graphics i believe.
http://bugs.winehq.org/show_bug.cgi?id=14045
--- Comment #33 from Roderick Colenbrander thunderbird2k@gmail.com 2009-07-16 15:54:03 --- (In reply to comment #32)
i tried the patch, and i still get the same error on loading:
"Sketchup failed to initialize OpenGL, ...Pixel format failed"
furthermore, with the patch, sketchup proceeds to crash from "unkown arguments" after the "failed to initialize OpenGL" warning.
posted a log.
i'm on ubuntu 9.04 with a lenovo laptop. intel based graphics i believe.
What patch did you exactly try? What Wine version are you using?
I expect that on a recent Wine (lets say 1.1.24 or 1.1.25) the OpenGL pixel format error shouldn't appear anymore. Can you confirm that? (it is what this bug is about). If that error isn't around anymore, you are seeing a different issue for which a new bug should be opened (I love to get rid of this current opengl pixel format bug).
Roderick
http://bugs.winehq.org/show_bug.cgi?id=14045
--- Comment #34 from ignatiusjreilly09@gmail.com 2009-07-16 17:21:56 --- Created an attachment (id=22403) --> (http://bugs.winehq.org/attachment.cgi?id=22403) log opengl fail pixel format
http://bugs.winehq.org/show_bug.cgi?id=14045
--- Comment #35 from Roderick Colenbrander thunderbird2k@gmail.com 2009-07-17 02:08:01 --- (In reply to comment #34)
Created an attachment (id=22403)
--> (http://bugs.winehq.org/attachment.cgi?id=22403) [details]
log opengl fail pixel format
The 'Sketchup was unable to initialize OpenGL' message is shown by the graphical user interface of Sketchup. In the console you might see opengl fixmes or warnings but those are likely harmless. Do you see the message? Second at what stage does Sketchup crash for you? Can you enter the program?
Roderick
http://bugs.winehq.org/show_bug.cgi?id=14045
Yorik van Havre yorik.vanhavre@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |yorik.vanhavre@gmail.com
--- Comment #36 from Yorik van Havre yorik.vanhavre@gmail.com 2009-08-11 08:21:43 --- With Sketchup7 & Wine 1.1.26 the bug still happens ("SketchUp was unable to initialize OpenGL!Please make sure you have installed the correct drivers for your graphics card. Error: ChoosePixelFormat failed"), no matter if HW_OK is 0 or 1. Funny thing is that sketchup ran fine before updating wine (i was with wine 1.1.25)?
http://bugs.winehq.org/show_bug.cgi?id=14045
--- Comment #37 from Dan Kegel dank@kegel.com 2009-08-11 09:24:10 --- Yorik, what graphics card, i.e. what does lspci | grep -i vga say? And which OS and driver?
http://bugs.winehq.org/show_bug.cgi?id=14045
--- Comment #38 from Yorik van Havre yorik.vanhavre@gmail.com 2009-08-11 09:41:21 --- Hi Dan, sorry for the lack of info in last msg... My opengl environment is pretty standard, its a nVidia Corporation G86 [GeForce 8400M GS] (rev a1) on debian squeeze 64bit, nvidia driver version is the standard from debian repo, NVIDIA Corporation GeForce 8400M GS/PCI/SSE2 2.1.2 NVIDIA 173.14.09
The error message happens immediately when launching sketchup, in a dialog box, the main sketchup window then gets drawn with its menu bar but nothing else (which would be the 3D view), then closes instantly, like if, after showing the message, it opened sketchup, but it crashed at the moment of drawing opengl stuff...
http://bugs.winehq.org/show_bug.cgi?id=14045
reubendb@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |reubendb@gmail.com
--- Comment #39 from reubendb@gmail.com 2009-09-22 20:11:59 --- I am having the same problem as Yorik (Comment #36) with wine-1.1.23 (32-bit) on Fedora 10 x86_64 with SketchUp 7. I changed the registry value: HKEY_CURRENT_USER\Software\Google\SketchUp7\GLConfig\Display\HW_OK=1 and it made no different.
Graphic Card: Nvidia GeForce FX 5200 using proprietary nvidia-173xx driver via RPM from Livna.
http://bugs.winehq.org/show_bug.cgi?id=14045
--- Comment #40 from Yorik van Havre yorik.vanhavre@gmail.com 2009-12-03 06:34:35 --- To my big shame I just discovered the cause of this bug... It was simply the 32bit part of the nvidia driver that was malfunctioning. I did an update of the driver, and discovered the nvidia-glx-ia32 package had problems. With a new version properly installed, all problems mentioned in this thread are gone.
I suggest other people who encounter the same problem to check if the 32bit part of the driver is installed and working... (Would there be a simple way to do that?)
http://bugs.winehq.org/show_bug.cgi?id=14045
--- Comment #41 from Dan Kegel dank@kegel.com 2009-12-03 06:40:03 --- Great find! This is what winediag would be for (or dxdiag, if somebody finishes up the version the ucla students wrote).
Maybe we could put a dialog in the opengl startup routine if we detect this problem, though, since it's likely very common.
http://bugs.winehq.org/show_bug.cgi?id=14045
--- Comment #42 from Andreas Brauchli linux@elementarea.net 2009-12-03 08:49:10 --- (In reply to comment #40)
To my big shame I just discovered the cause of this bug... It was simply the 32bit part of the nvidia driver that was malfunctioning.
i did not have any nvidia bits installed (intel graphics). however with the latest wine (1.1.33) release it seems to be working just fine. Haven't retried for a while, so it may also have changed anywhere since about 1.1.25
http://bugs.winehq.org/show_bug.cgi?id=14045
--- Comment #43 from Roderick Colenbrander thunderbird2k@gmail.com 2009-12-03 08:55:21 --- Nothing has really changed in the code recently. There is a big chance that your GL drivers were also misconfigured. The beauty about GLX is that you can use 'indirect rendering' which means that all 3D commands are sent to X which will then forward them to the correct 64-bit display drivers (or 32-bit display drivers). Each modern OpenGL driver accelerates indirect rendering these days. I guess that you lacked perhaps the right 32-bit dri module e.g. i965_dri.so for a x3100.
http://bugs.winehq.org/show_bug.cgi?id=14045
kvip keskinvib@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |keskinvib@gmail.com
--- Comment #44 from kvip keskinvib@gmail.com 2009-12-04 06:04:38 --- Recieving the same error on Ubuntu Karmic x64 runing Wine 1.1.33 Graphics ATI Mobility Radeon 4500 series with proprietary driver. Sketchup version 7
Setting the registry value to 1 cures the problem.
http://bugs.winehq.org/show_bug.cgi?id=14045
--- Comment #45 from Roderick Colenbrander thunderbird2k@gmail.com 2009-12-04 06:20:59 --- I have never needed the HW_OK key on either my Nvidia or AMD machines. I just tried using a recent Wine in combination with AMD and it just works fine. Are you sure that your 32-bit opengl is working fine? Try to make a log using WINEDEBUG=+wgl wine sketchup.exe > log when the registry key is not around.
http://bugs.winehq.org/show_bug.cgi?id=14045
--- Comment #46 from kvip keskinvib@gmail.com 2009-12-06 02:52:20 --- After reverting HW_OK back to 0 I tried
WINEDEBUG=+wgl wine sketchup.exe
Strangely reverting the HW_OK string to 0 did not cause sketchup to fail again.Instead sketchup reverts HW_OK back to 1. Not knowing what causes sketchup to change the value back to 1, I could not reproduce the error.
The current state of the registry exports as follows
REGEDIT4
[HKEY_CURRENT_USER\Software\Google\SketchUp7\GLConfig\Display]
"Accelerated"=dword:00000001
"ColorBits"=dword:00000020
"DepthBits"=dword:00000018
"FIRST_TIME"=dword:00000000
"HW_OK"=dword:00000001
"PixelFormat"=dword:00000001
"StencilBits"=dword:00000008
http://bugs.winehq.org/show_bug.cgi?id=14045
Roderick Colenbrander thunderbird2k@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |fester@rucls.net
--- Comment #47 from Roderick Colenbrander thunderbird2k@gmail.com 2010-04-26 09:00:18 --- *** Bug 21083 has been marked as a duplicate of this bug. ***
http://bugs.winehq.org/show_bug.cgi?id=14045
Gerry Reno greno@verizon.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |greno@verizon.net
--- Comment #48 from Gerry Reno greno@verizon.net 2010-06-28 02:45:36 --- On Ubuntu Lucid server w/X and Wine running in an EC2 m1.large instance and viewing using NX client I see the exact same problem described in this bug. I receive the SketchUp was unable to intialize OpenGL. I also tried adding libgl-mesa-dev package on server as well.
EC2 Server HW: Intel Dual Xeon E5430 Graphics: ? Wine Ver: 1.2~rc5 (Installed via apt-get, Configure: About says 1.1.42 ???)
Client HW: AMD 940 Quad Phenom II Graphics: ATI Drivers: FGLRX
I already tried the regedit for HW_OK set to 1. It did not make any difference.
http://bugs.winehq.org/show_bug.cgi?id=14045
--- Comment #49 from Gerry Reno greno@verizon.net 2010-06-28 03:05:02 --- Created an attachment (id=29207) --> (http://bugs.winehq.org/attachment.cgi?id=29207) Gerry Reno log file
http://bugs.winehq.org/show_bug.cgi?id=14045
Gerry Reno greno@verizon.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #29207|application/octet-stream |application/text-plain mime type| |
http://bugs.winehq.org/show_bug.cgi?id=14045
Gerry Reno greno@verizon.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #29207|application/text-plain |text/plain mime type| |
http://bugs.winehq.org/show_bug.cgi?id=14045
Nan Null hovh03@yahoo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |hovh03@yahoo.com
--- Comment #50 from Nan Null hovh03@yahoo.com 2010-12-24 15:25:14 CST --- This still happens in Wine 1.2.1 under Ubuntu 10.10.
The version of sketchup is 8 (free edition).
The error message is:
SketchUp was unable to initialize OpenGL! Please make sure you have installed the correct drivers for your graphic card.
Error: ChoosePixelFormat failed.
Click OK, and I get a 2nd dialog:
<Some Chinese characters> (More Chinese characters) An invalid argument was encountered.
[OK]
http://bugs.winehq.org/show_bug.cgi?id=14045
--- Comment #51 from Nan Null hovh03@yahoo.com 2010-12-24 15:30:01 CST --- Created an attachment (id=32607) --> (http://bugs.winehq.org/attachment.cgi?id=32607) Log from the console when running using command line interface.
http://bugs.winehq.org/show_bug.cgi?id=14045
--- Comment #52 from Nan Null hovh03@yahoo.com 2010-12-24 15:53:41 CST --- The problem I described above was resolved by:
http://wiki.winehq.org/GoogleSketchup
Basically:
From command prompt, run:
wine regedit<enter>
Navigate to [HKEY_CURRENT_USER\Software\Google\SketchUp6\GLConfig\Display], and change "HW_OK" to 1.
http://bugs.winehq.org/show_bug.cgi?id=14045
Duncan Lithgow duncan.lithgow@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |duncan.lithgow@gmail.com
--- Comment #53 from Duncan Lithgow duncan.lithgow@gmail.com 2011-04-02 07:30:12 CDT --- Is anyone still getting this error with Wine 1.3.x ? If not we can close this bug.
http://bugs.winehq.org/show_bug.cgi?id=14045
--- Comment #54 from Yorik van Havre yorik.vanhavre@gmail.com 2011-04-02 09:52:19 CDT --- For me there is quite some time that this problem doesn't happen anymore, and sketchup always installs and runs out of the box, without any modification needed...
http://bugs.winehq.org/show_bug.cgi?id=14045
Dmitry Timoshkov dmitry@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED
--- Comment #55 from Dmitry Timoshkov dmitry@codeweavers.com 2011-04-03 02:01:11 CDT --- Probably fixed then.
http://bugs.winehq.org/show_bug.cgi?id=14045
--- Comment #56 from Nan Null hovh03@yahoo.com 2011-04-04 11:41:48 CDT --- Confirmed that it worked with the latest version.
http://bugs.winehq.org/show_bug.cgi?id=14045
--- Comment #57 from Duncan Lithgow duncan.lithgow@gmail.com 2011-04-05 02:06:54 CDT --- This bug has been marked as 'Status: RESOLVED FIXED'. Nice work devs!
http://bugs.winehq.org/show_bug.cgi?id=14045
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #58 from Alexandre Julliard julliard@winehq.org 2011-04-15 12:50:19 CDT --- Closing bugs fixed in 1.3.18.
http://bugs.winehq.org/show_bug.cgi?id=14045
Dan Kegel dank@kegel.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |dennisgdaniels@gmail.com
--- Comment #59 from Dan Kegel dank@kegel.com 2011-07-27 10:26:33 CDT --- *** Bug 25488 has been marked as a duplicate of this bug. ***
http://bugs.winehq.org/show_bug.cgi?id=14045
Luiz Angelo Daros De Luca luizluca@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |luizluca@gmail.com
--- Comment #60 from Luiz Angelo Daros De Luca luizluca@gmail.com 2012-07-28 13:30:26 CDT --- Sorry guys but I got this problem again with Ubuntu 12.04, AMD Radeon HD 6670, fglrx 8.96.4. The reg hack workarround works for me.
Should it be reopened?
http://bugs.winehq.org/show_bug.cgi?id=14045
--- Comment #61 from Austin English austinenglish@gmail.com 2012-07-28 16:16:59 CDT --- (In reply to comment #60)
Sorry guys but I got this problem again with Ubuntu 12.04, AMD Radeon HD 6670, fglrx 8.96.4. The reg hack workarround works for me.
Should it be reopened?
At least your fglrx drivers are out of date, and potentially wine (you didn't say what version). If it's a problem in _current_ wine/fglrx, then please file a new bug.
https://bugs.winehq.org/show_bug.cgi?id=14045
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |focht@gmx.net Summary|SketchUp was unable to |Google SketchUp 6/7/8 fails |initialize OpenGL |on startup with error | |'SketchUp was unable to | |initialize OpenGL! ... | |Error: ChoosePixelFormat | |failed' URL|http://filehippo.com/downlo |https://web.archive.org/web |ad_google_sketchup/download |/20200105182803/http://dl.t |/c0a6f62e97abb50930365572c0 |rimble.com/sketchup/gsu8/FW |b77111/ |-3-0-16846-EN.exe