[Bug 12263] New: Sketchup Cannot initialize OpenGL - ChoosePixelFormat fails
http://bugs.winehq.org/show_bug.cgi?id=12263 Summary: Sketchup Cannot initialize OpenGL - ChoosePixelFormat fails Product: Wine Version: 0.9.58. Platform: PC OS/Version: Linux Status: UNCONFIRMED Severity: major Priority: P2 Component: opengl AssignedTo: wine-bugs(a)winehq.org ReportedBy: gioloi72(a)gmail.com Created an attachment (id=11713) --> (http://bugs.winehq.org/attachment.cgi?id=11713) the console log of wine 0.9.58 launching sketchup In Ubuntu 7.10 Gutsy I have updated wine from 0.9.46 (comes with gutsy) to 0.9.58. In 0.9.46 I was able to run Google Sketchup 6 stable enough to work (only the toolbars and menus don't refresh correctly). After the update to 0.9.58 Sketchup no longer runs and I don't get any error message. Then in the registry key HKEY_CURRENT_USER\Software\Google\SketchUp6\GLConfig\Display\HW_OK changing value from 1 to 0 (It was set to 1 because Sketchup worked with 0.9.46) cause Sketchup to show a popup window with error "Can't initialize OpenGL: ChoosePixelFormat fails" After uninstalling 0.9.58 and reinstalling 0.9.46 Sketchup works again... Excuse my english Attached console log -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=12263 --- Comment #1 from Austin English <austinenglish(a)gmail.com> 2008-03-28 13:33:05 --- Can you please run a regression test? http://wiki.winehq.org/RegressionTesting -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=12263 --- Comment #2 from Roderick Colenbrander <thunderbird2k(a)gmx.net> 2008-03-31 03:35:25 --- Could you try to run sketchup using: WINEDEBUG=+wgl,+opengl wine sketchup.exe &> log and post that log file to here. If possible also do that on wine 0.9.46 were it worked. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=12263 --- Comment #3 from Giorgio Loi <gioloi72(a)gmail.com> 2008-03-31 11:50:06 --- Created an attachment (id=11766) --> (http://bugs.winehq.org/attachment.cgi?id=11766) The result of the regression test -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=12263 Giorgio Loi <gioloi72(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |julliard(a)winehq.org --- Comment #4 from Giorgio Loi <gioloi72(a)gmail.com> 2008-03-31 11:52:11 --- (In reply to comment #1)
Can you please run a regression test?
I performed the regression test. The results are in attachment.. Just before of this (in the regression) I have an OpenGL offset issue... (drawings are displayed with an offset..). When doing the regression test, I obtained some versions of wine that runs SketchUp almost perfect (no errors, no OpenGL offset, no refreshing problems of Toolbars and menus) and I'm very happy for this! So another question: I can do again the regression test to obtain the "perfect" version of wine for sketchup; the question is where to post the result of my testing. Should I continue this thread or open another thread? Excuse my english (In reply to comment #1)
Can you please run a regression test?
-- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=12263 Austin English <austinenglish(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download, regression --- Comment #5 from Austin English <austinenglish(a)gmail.com> 2008-03-31 12:00:05 --- 026974f5be4c71a275117388b94cd7e94a95a4fc is first bad commit commit 026974f5be4c71a275117388b94cd7e94a95a4fc Author: Alexandre Julliard <julliard(a)winehq.org> Date: Thu Jan 24 10:20:51 2008 +0100 winex11: Create the window data structure lazily, once the window is made visible. :040000 040000 3cd059ecd09d1d91d3286d9ec1b4902a87d7275d 738fe01a3f4917ffc505514645fd4e2830fbbe18 M dlls -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=12263 --- Comment #6 from Roderick Colenbrander <thunderbird2k(a)gmx.net> 2008-04-01 07:51:41 --- A lot of improvements have been added to git, see if the issue is still around. For me Sketchup has been working fine for a while on Nvidia hardware. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=12263 --- Comment #7 from Giorgio Loi <gioloi72(a)gmail.com> 2008-04-01 08:22:44 --- (In reply to comment #6)
A lot of improvements have been added to git, see if the issue is still around. For me Sketchup has been working fine for a while on Nvidia hardware.
I've nVidia hardware too. While doing regression testing I see there are builds of wine that works very fine with sketchup (Platinum rating for me). As soon as possible I'll redo the regression test to discover which patches causes Sketchup to not work fine. In my first run of the regression test , I have run it to show the patch that causes the ChoosePixelFormat error to me (winex11: Create the window data structure lazily, once the window is made visible), but there are other patches that cause other issues (like the famous OpenGL offset issue).. Next time (this weekend) I'll redo the regression test to the patch that causes the OpenGL issue.. Giorgio -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=12263 --- Comment #8 from Giorgio Loi <gioloi72(a)gmail.com> 2008-04-06 05:10:59 --- Created an attachment (id=11885) --> (http://bugs.winehq.org/attachment.cgi?id=11885) the result of the regression test to investigate the OpenGL offset issue -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=12263 --- Comment #9 from Giorgio Loi <gioloi72(a)gmail.com> 2008-04-06 05:13:34 --- I repeated the regression test to investigate about the OpenGL offset issue, and this is what I got (details in attachment): winex11: Update the win data rectangles before doing anything else in SetWindowPos. Tell me if I should open another bug thread for this.. Solving both the issues ChosePixelFormat and the OpenGL offset, permits to Sketchup to work fine. This is a brief description of the openGL issue: in the drawing window anything is drawn with an offset to the mouse position, so it's impossible to work because to draw a line in a position you should position the mouse staggered respect to the point where you want to draw. Excuse my english -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=12263 --- Comment #10 from James Hawkins <truiken(a)gmail.com> 2008-04-06 05:13:49 --- commit bbfbe246815a7e9a51e62bd0c65666b7b8dc0bf4 Author: Alexandre Julliard <julliard(a)winehq.org> Date: Wed Jan 23 12:28:01 2008 +0100 winex11: Update the win data rectangles before doing anything else in SetWindowPos. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=12263 Carly Barnard <loki.mouse(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 --- Comment #11 from Carly Barnard <loki.mouse(a)gmail.com> 2008-04-24 12:47:23 --- *** This bug has been confirmed by popular vote. *** -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=12263 --- Comment #12 from Roderick Colenbrander <thunderbird2k(a)gmx.net> 2008-04-30 12:45:27 --- I have the bug too when I'm using a compositon manager (compiz, desktop effects enabled in kde4). It is normal that you get the error then as we use the same mechanism to render to 'opengl views' as the mechanism used by compiz to create 3d effects. Composite calls can only be made on a window by one client, so wine and compiz are stepping on each others toes. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=12263 Roderick Colenbrander <thunderbird2k(a)gmx.net> changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |1.0.0 --- Comment #13 from Roderick Colenbrander <thunderbird2k(a)gmx.net> 2008-04-30 13:08:23 --- The bug seems to affect at least all opengl child window apps when kwin (kde4) its composition manager is enabled for desktop effects. The issue is that the child window its parent doesn't have an X11 window yet. Due to this the child window its parent is the root window and that one is managed by the composition manager and a window can only be managed by one client app. This results in BadAccess. Likely compiz is affected too. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=12263 Jordan <jorwex(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jorwex(a)gmail.com --- Comment #14 from Jordan <jorwex(a)gmail.com> 2008-05-07 04:32:40 --- I used 0.9.40 for about 6 months with the patches shown in: http://aksels.de/d/SketchUp/SketchUp-Wine-v0.2-aksels.de.tar.gz It worked very very well, and then I started trying new versions of wine around 0.9.56 and it worked mostly the same (still not as great). Does anyone know offhand if those patches have been committed? Then my conscience can rest :) -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=12263 drago01(a)gmail.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |drago01(a)gmail.com --- Comment #15 from drago01(a)gmail.com 2008-05-10 03:13:45 --- (In reply to comment #13)
The bug seems to affect at least all opengl child window apps when kwin (kde4) its composition manager is enabled for desktop effects. The issue is that the child window its parent doesn't have an X11 window yet. Due to this the child window its parent is the root window and that one is managed by the composition manager and a window can only be managed by one client app. This results in BadAccess. Likely compiz is affected too.
Yeah I can reproduce it here with compiz too. It works under metacity (no compositing) but then compiz fails to start as long as the wine app is running. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=12263 --- Comment #16 from Roderick Colenbrander <thunderbird2k(a)gmx.net> 2008-05-10 04:42:11 --- Those patches are a method we were considering a long, long time ago on how to implement opengl child window rendering (rendering in small 3d views). Due to lets quickly describe it as incompatibilities between X / win32 that was not the way to go. We now render to offscreen X windows using the Composite extension. The problem is that at the moment a win32 window is created we don't directly have an X11 window (the creation is delayed for various reasons). In this case an OpenGL call is made before the parent of the offscreen X11 window is around which causes us to use the X root window. When a composition manager (e.g. compiz) is around that causes issues as it already claimed the root window instead of us, so we get a BadAccess. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=12263 --- Comment #17 from Roderick Colenbrander <thunderbird2k(a)gmx.net> 2008-05-10 05:24:33 --- Created an attachment (id=12870) --> (http://bugs.winehq.org/attachment.cgi?id=12870) XGetOverlayWindow hack This patch uses the X Composite Overlay window as the parent instead of the root window. This patch at least fixes the issue for me in Google Earth. I'm not sure if it is the right direction to take. A downside is that it requires Composite 0.3 but I expect most people to have it. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=12263 --- Comment #18 from drago01(a)gmail.com 2008-05-10 07:34:57 --- This app shows the problem. With the composite overlay window patch it works fine when compiz is running, but it fails when started without a composite manager (draws an invisible window ontop of everything) Link (as it is too bug for an attachment): http://people.fedoraproject.org/~drago01/testcase.tar.bz2 -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=12263 Alexandre Julliard <julliard(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |werteplus(a)gmail.com --- Comment #19 from Alexandre Julliard <julliard(a)winehq.org> 2008-05-11 15:59:57 --- *** Bug 13106 has been marked as a duplicate of this bug. *** -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=12263 Alexandre Julliard <julliard(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED --- Comment #20 from Alexandre Julliard <julliard(a)winehq.org> 2008-05-12 13:44:39 --- It should work now. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=12263 Alexandre Julliard <julliard(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #21 from Alexandre Julliard <julliard(a)winehq.org> 2008-05-23 10:36:36 --- Closing bugs fixed in 1.0-rc2. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=12263 Anastasius Focht <focht(a)gmx.net> changed: What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |7e2e30bade83bcf838cf05abd90 | |cac9d81996b3e URL| |https://web.archive.org/web | |/20130826133800/http://dl.t | |rimble.com/sketchup/gsu6/PW | |101735ENA.exe Severity|major |normal Regression SHA1| |bbfbe246815a7e9a51e62bd0c65 | |666b7b8dc0bf4 Summary|Sketchup Cannot initialize |Google SketchUp 6 fails on |OpenGL - ChoosePixelFormat |startup with error |fails |'SketchUp was unable to | |initialize OpenGL! ... | |Error: ChoosePixelFormat | |failed' CC| |focht(a)gmx.net -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
participants (2)
-
wine-bugs@winehq.org -
WineHQ Bugzilla