[Bug 48613] Zwift: ZwiftApp.exe startup crash on intel graphics hardware

WineHQ Bugzilla wine-bugs at winehq.org
Mon Feb 17 02:20:03 CST 2020


https://bugs.winehq.org/show_bug.cgi?id=48613

--- Comment #3 from wentam42 at gmail.com ---
Spent a lot of time with a disassembler and debugger, found the problem, and
found a workaround.

Ignore my comments about glDrawElements. That's all good.

Zwift calls wglGetProcAddress("glActiveTextureARB") and gets NULL even though
the GL_ARB_multitexture extension should be available according to glxinfo. 

WINEDEBUG="+wgl" also gives "926:0138:warn:wgl:wglGetProcAddress Extension
GL_ARB_multitexture required for glActiveTextureARB not supported".

Later on, Zwift tries to call the NULL pointer and the game crashes.

I don't know why wine isn't giving it a pointer.

However,setting the MESA_GL_VERSION_OVERRIDE environment variable to "3.1"
allows the game to grab a pointer and the game to run.

So, the workaround:
* wineserver -k - to make sure we fully reset
* export MESA_GL_VERSION_OVERRIDE=3.1

Run the export command in any terminal windows that you will be running wine
commands in.

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