Hi, WINE 1.2.2, Return to Castle Wolfenstein retail patched to 1.4.1, OS X 10.6.6, Mac Pro 2010 with ATI 5770. The error message is as stated in the title. According to a post here:> Newer AMD and NVIDIA drivers have so many OpenGL Extensions that Quake 3 engine based games crash when probing the extensions at game launch. > > 2 solutions: > > Download these fixed binaries (are also nocd patched) > > OR > > If using the NVIDIA proprietary driver you can start the game prefixed with: __GL_ExtensionStringVersion=17700Unfortunately the fixed binaries are for Star Wars: Jedi Knight - Jedi Academy, and the GL switch doesn't improve things in my case, probably because I don't have the nVidia proprietary driver. The FAQ says it's not possible to install drivers in WINE, so... I'm stuck. Any help available? Here's the full log from the Wolf Console: Code: Wolf 1.32 win-x86 May 1 2002 ----- FS_Startup ----- Current search path: C:\Program Files\Return to Castle Wolfenstein\main\sp_pak3.pk3 (14 files) C:\Program Files\Return to Castle Wolfenstein\main\sp_pak2.pk3 (232 files) C:\Program Files\Return to Castle Wolfenstein\main\sp_pak1.pk3 (1342 files) C:\Program Files\Return to Castle Wolfenstein\main\pak0.pk3 (4775 files) C:\Program Files\Return to Castle Wolfenstein/main ---------------------- 6363 files in pk3 files execing default.cfg couldn't exec language.cfg couldn't exec wolfconfig.cfg execing autoexec.cfg Hunk_Clear: reset the hunk ok ...detecting CPU, found Intel Pentium III Bypassing CD checks ----- Client Initialization ----- Cmd_AddCommand: map_restart already defined ----- Initializing Renderer ---- ------------------------------- ----- Client Initialization Complete ----- ----- R_Init ----- Initializing OpenGL subsystem ...initializing QGL ...calling LoadLibrary( 'C:\windows\system32\opengl32.dll' ): succeeded ...setting mode 3: 640 480 FS ...using desktop display depth of 32 ...calling CDS: failed, bad mode ...trying next higher resolution: failed, DISP_CHANGE_FAILED ...restoring display settings ...registered window class ...created window at 0,0 (646x505) Initializing OpenGL driver ...getting DC: succeeded ...GLW_ChoosePFD( 32, 24, 8 ) ...numPFDs > MAX_PFDS (544 > 256) ...255 PFDs found ...hardware acceleration found ...PIXELFORMAT 149 selected ...creating GL context: succeeded ...making context current: succeeded ...WARNING: fullscreen unavailable in this mode ...setting mode 3: 640 480 FS ...using colorsbits of 16 ...calling CDS: failed, bad mode ...trying next higher resolution: failed, DISP_CHANGE_FAILED ...restoring display settings ...window already present, CreateWindowEx skipped Initializing OpenGL driver ...WARNING: fullscreen unavailable in this mode ...shutting down QGL ...unloading OpenGL DLL ...assuming '3dfxvgl' is a standalone driver ...initializing QGL ...WARNING: missing Glide installation, assuming no 3Dfx available ...shutting down QGL ----- CL_Shutdown ----- RE_Shutdown( 1 ) ----------------------- GLW_StartOpenGL() - could not load OpenGL subsystem S.
On 1/19/11 1:59 PM, SiRGadaBout wrote:> Hi, > > WINE 1.2.2, Return to Castle Wolfenstein retail patched to 1.4.1, OS X 10.6.6, Mac Pro 2010 with ATI 5770. > > The error message is as stated in the title. According to a post here: > >> Newer AMD and NVIDIA drivers have so many OpenGL Extensions that Quake 3 engine based games crash when probing the extensions at game launch.This warning is for Linux. MacOSX drivers are created by Apple and the Vendor.>> >> >> 2 solutions: >> >> Download these fixed binaries (are also nocd patched)You can try this. However, I don't expect this to fix your problem.> Unfortunately the fixed binaries are for Star Wars: Jedi Knight - Jedi Academy, and the GL switch doesn't improve things in my case, probably because I don't have the nVidia proprietary driver. The FAQ says it's not possible to install drivers in WINE, so... I'm stuck. >The nVidia Proprietary drivers are installed on Linux. MacOSX does not have a proprietary nVidia driver. The problem may be that you are using MacOSX' broken X11. Please try to install XQuartz 2.6.0 or later and see if the error 'goes away'. James McKenzie
Hi, Thanks for replying. I complied WINE 1.2.2 myself. Will I have to re-compile and link to XQuartz's own OpenGL libraries instead of X11's? S.
This environment variable was meant for the Linux Nvidia OpenGL drivers. It also exists in Windows using some registry key, but I have no idea whether it exists on OSX at all. The OpenGL drivers work very differently. I doubt you can get it to work at all. Just rebuilding your stuff won't work. There is already a mechanism to disable OpenGL extensions in Wine which could be used, but I'm not sure which have to be disabled to make Quake3 games happy. The issue itself is in the game which creates a too small buffer to handle all GL extensions, but I forgot what's happening internally again which made it fail. I will report back on this.
The number is 4096, so essentially disable a ton of pre-GL 2.0 extensions using the DisabledExtensions key in the registry.
OK, I downloaded OpenGL ExtensionsViewer, and expanded all the "supported" sub-lists. Then I opened regedit in wine, navigated to HKCU/Software/wine and created a new key,"OpenGL." Within this Key I created a new String Value (REG_SZ) called "DisabledExtensions." I right-clicked this new String Value and chose Modify. In the available entry field I then entered every OpenGL extension listed by OpenGL Extensions Viewer as being "Supported," and which was part of OpenGL 1.5 or older. I separated them with a single space. This amounted to 42 separate, space-separated values. I closed regedit. I ran wine WolfSP.exe. Unfortunately, I still receive the same error :( Have I made a mistake somewhere? Regards, S.
I have really learnt from your topic!-bobexam (http://www.bobexam.com/)
SiRGadaBout wrote:> Have I made a mistake somewhere?You can check that with: Code: WINEDEBUG=+wgl wine game.exe 2>&1 | less It should say somewhere at the top what it did with extra extensions.
Hi, I found this: Code: trace:wgl:process_attach found DisabledExtensions="GL_EXT_blend_logic_op GL_EXT_copy_texture GL_EXT_polygon_offset GL_EXT_subtexture GL_EXT_texture GL_EXT_texture_object GL_EXT_vertex_array GL_EXT_bgra GL_EXT_draw_range_elements GL_EXT_packed_pixels GL_EXT_rescale_normal GL_EXT_separate_specualr_color GL_EXT_texture3D GL_SGIS_texture_edge_clamp GL_SG"... Does this match what would be expected if I had properly created the Registry Key and entry? By the way, very appreciative of the assistance here. :) S.
SiRGadaBout wrote:> Does this match what would be expected if I had properly created the Registry Key and entry?Not quite. You need to look for list that start with "GL_EXTENSIONS reported:" line enumerating all extensions, followed by "active" or "deactived (by config)".