https://bugs.winehq.org/show_bug.cgi?id=48613 Danilo Lessa Bernardineli <danilo.lessa(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |danilo.lessa(a)gmail.com --- Comment #8 from Danilo Lessa Bernardineli <danilo.lessa(a)gmail.com> --- (In reply to wentam42 from comment #3)
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.
I had to use an different MESA_GL version on my Ubuntu 19.10 / Intel(R) HD Graphics 5300 to work. The following export makes Zwift run normally on my PC: * export MESA_GL_VERSION_OVERRIDE=4.4COMPACT -- 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.