http://bugs.winehq.org/show_bug.cgi?id=26251
Summary: Buggy Race does not start(OpenGL) Product: Wine Version: 1.3.14 Platform: x86 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: andrew.millington@gmail.com
Created an attachment (id=33453) --> (http://bugs.winehq.org/attachment.cgi?id=33453) ~/wine-git/wine BuggyRace.exe &> error.log
Notable lines and log attached
err:wgl:X11DRV_wglCreateContextAttribsARB Context creation failed Cannot create a GL rendering context. Could not create OpenGL driver.
http://bugs.winehq.org/show_bug.cgi?id=26251
Andrew Millington andrew.millington@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- URL| |http://buggy-race.pl/downlo | |ads/buggyrace_setup_win32.e | |xe Status Whiteboard| |download
http://bugs.winehq.org/show_bug.cgi?id=26251
Dmitry Timoshkov dmitry@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Buggy Race does not |Buggy Race does not start |start(OpenGL) |
http://bugs.winehq.org/show_bug.cgi?id=26251
Andrew Millington andrew.millington@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download Status Whiteboard|download |
--- Comment #1 from Andrew Millington andrew.millington@gmail.com 2011-02-27 01:14:21 CST --- Switching between Whiteboard and keywords. DirectX Mode(default) works, changing and restarting in OpenGL mode causes this bug.
http://bugs.winehq.org/show_bug.cgi?id=26251
Dmitry Timoshkov dmitry@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Buggy Race does not start |Buggy Race does not start | |in OpenGL mode
http://bugs.winehq.org/show_bug.cgi?id=26251
Roderick Colenbrander thunderbird2k@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |thunderbird2k@gmail.com Component|-unknown |opengl
--- Comment #2 from Roderick Colenbrander thunderbird2k@gmail.com 2011-03-13 20:15:59 CDT --- Wow, finally a program which uses >= OpenGL 3.x. I will have a look soon.
http://bugs.winehq.org/show_bug.cgi?id=26251
--- Comment #3 from Roderick Colenbrander thunderbird2k@gmail.com 2011-03-25 00:04:15 CDT --- I just tried BuggyRace on my AMD based laptop and it seems to work fine in OpenGL 3.x mode. You seem to be on Nvidia, perhaps something in the code is not correct for Nvidia. Can you attach a +wgl log? So run WINEDEBUG=+wgl wine BuggyRace.exe &> log
http://bugs.winehq.org/show_bug.cgi?id=26251
--- Comment #4 from Andrew Millington andrew.millington@gmail.com 2011-03-25 00:39:05 CDT --- Created an attachment (id=33807) --> (http://bugs.winehq.org/attachment.cgi?id=33807) WINEDEBUG=+wgl ~/wine-git/wine BuggyRace.exe &> log.txt
http://bugs.winehq.org/show_bug.cgi?id=26251
joaopa jeremielapuree@yahoo.fr changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jeremielapuree@yahoo.fr
--- Comment #5 from joaopa jeremielapuree@yahoo.fr 2011-03-25 04:54:07 CDT --- I confirm this bug with a Nvidia graphic card (geforce 7600go with driver 260.19.44)
http://bugs.winehq.org/show_bug.cgi?id=26251
--- Comment #6 from Roderick Colenbrander thunderbird2k@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).
http://bugs.winehq.org/show_bug.cgi?id=26251
--- Comment #7 from Roderick Colenbrander thunderbird2k@gmail.com 2011-03-26 00:09:52 CDT --- BTW does a similar crash occur in the Linux version of this game?
http://bugs.winehq.org/show_bug.cgi?id=26251
--- Comment #8 from joaopa jeremielapuree@yahoo.fr 2011-03-26 01:54:56 CDT --- The native linux game crashes for me too: [david@localhost BuggyRace]$ ./BuggyRace Irrlicht Engine version 1.7.0-beta Linux 2.6.36.2-desktop586-2mnb #1 SMP Wed Dec 22 17:11:08 UTC 2010 i686 Width: 320 Height: 240 Width: 400 Height: 300 Width: 512 Height: 384 Width: 640 Height: 480 Width: 800 Height: 600 Width: 1024 Height: 768 Width: 1280 Height: 800 (Desktop) Irrlicht Engine version 1.7.0-beta Linux 2.6.36.2-desktop586-2mnb #1 SMP Wed Dec 22 17:11:08 UTC 2010 i686 Starting fullscreen mode... Using renderer: OpenGL 2.1.2 GeForce Go 7600/PCI/SSE2: NVIDIA Corporation OpenGL driver version is 1.2 or better. GLSL version: 1.2 Unsupported texture format FBO has one or several incomplete image attachments FBO error FBO incomplete Erreur de segmentation [david@localhost BuggyRace]$
http://bugs.winehq.org/show_bug.cgi?id=26251
zerothis zerothis23@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |zerothis23@gmail.com
--- Comment #9 from zerothis zerothis23@gmail.com 2011-05-30 16:07:38 CDT --- @joaopa
confirmed here, native Linux does the same on my Ubuntu systems
http://bugs.winehq.org/show_bug.cgi?id=26251
--- Comment #10 from joaopa jeremielapuree@yahoo.fr 2011-05-30 16:24:58 CDT --- So, this bug can be closed as INVALID.
http://bugs.winehq.org/show_bug.cgi?id=26251
Roderick Colenbrander thunderbird2k@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |INVALID
--- Comment #11 from Roderick Colenbrander thunderbird2k@gmail.com 2011-06-25 16:56:41 CDT --- Application in question is buggy.
http://bugs.winehq.org/show_bug.cgi?id=26251
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #12 from Austin English austinenglish@gmail.com 2011-07-07 16:16:03 CDT --- Closing.