[Bug 26251] Buggy Race does not start in OpenGL mode

wine-bugs at winehq.org wine-bugs at winehq.org
Fri Mar 25 13:24:22 CDT 2011


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

--- Comment #6 from Roderick Colenbrander <thunderbird2k at gmail.com> 2011-03-25 13:24:22 CDT ---
I had a quick look at the log, but I think it may be an application bug.

In short the game uses 'wglCreateContextAttribsARB' to create an OpenGL
context. This call was introduced for OpenGL 3.0 to create e.g. OpenGL contexts
without any legacy functionality and contexts for a specific OpenGL version.

The new call doesn't require 3.0. It works also fine for older GPUs if the
vendor offers it, but obviously it is unable to create OpenGL 3.x contexts, but
it should be able to create 2.x contexts fine.

Anyway, the cards you both are using are Geforce 6 and 7 cards which don't
support OpenGL 3.0. The problem is below:

trace:wgl:wglCreateContextAttribsARB (0x2d0)
trace:wgl:ConvertPixelFormatGLXtoWGL Returning iPixelFormat 25 for fmt_id 0xa9
trace:wgl:X11DRV_wglCreateContextAttribsARB (0x1351c8 (nil) 0x32f9e8)
trace:wgl:ConvertPixelFormatWGLtoGLX Returning fmt_id=0xa9 for iPixelFormat=25
trace:wgl:ConvertPixelFormatWGLtoGLX Number of returned pixelformats=155
trace:wgl:X11DRV_wglCreateContextAttribsARB 0x2091 0x3
trace:wgl:X11DRV_wglCreateContextAttribsARB 0x2092 0x1
err:wgl:X11DRV_wglCreateContextAttribsARB Context creation failed
wine: Unhandled page fault on read access to 0x00000000 at address 0x425d0f
(thread 0009), starting debugger...
Unhandled exception: page fault on read access to 0x00000000 in 32-bit code
(0x00425d0f).

The game tries to create an OpenGL 3.1 context which should obviously fail
since your GPUs don't support that. To me it looks like the game doesn't expect
creation of a GL 3.1 context to fail (0x425d0f is in game code).

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