[Bug 27906] Google Sketchup 8 can't initialize OpenGL

wine-bugs at winehq.org wine-bugs at winehq.org
Fri Sep 30 00:58:34 CDT 2011


http://bugs.winehq.org/show_bug.cgi?id=27906

Roderick Colenbrander <thunderbird2k at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |thunderbird2k at gmail.com
          Component|-unknown                    |opengl

--- Comment #40 from Roderick Colenbrander <thunderbird2k at gmail.com> 2011-09-30 00:58:34 CDT ---
I took some time to have a detailed look on what Sketchup is doing on my R600
and Nvidia laptops.

On Windows you have 2 OpenGL implementations namely a crappy OpenGL 1.1
software renderer implemented by GDI and an hardware accelerated one. We lack a
software implementation in Wine.

It seems that at the (first?) start, Sketchup tries to use the GDI software
renderer (it wants a pixel format with PFD_GENERIC_FORMAT set). On certain
drivers like the closed AMD/Nvidia ones, Sketchup succeeds. It's because we
advertise formats with this flag for bitmap rendering purposes.


Regarding Sketchup log files. On Mesa the log typically looks like:
======== Starting GL ========
>CBaseGLView::OnInitialUpdate
>InitializeOpenGL
>GetActivePixelFormat
Got PF= 0 from registry
requestedpf.accel=0

Here the 'requested.accel=0' means Sketchup wants to use no hardware
acceleration. On Nvidia hardware typically you see '1' there. I guess somehow
Sketchup is smart enough to request acceleration after some time.

The HW_OK registry key makes Sketchup use HW acceleration by default. This is
the same as adjusting the 'hardware acceleration' checkbox in the OpenGL
settings of the preferences menu.

I'm not sure what I want to do about this bug yet. On a side note, I Also need
to have a look at the old bitmap code in Wine (I don't even know whether it
still works).

-- 
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.



More information about the wine-bugs mailing list