Always enabling GL2 support for i915 makes wine apps suffer from SW fallbacks
Submitted by Ruslan Kabatsayev
Assigned to Ian Romanick
Description
After updating Mesa from stock Ubuntu 12.04 LTS version 9.0 to 9.2, running some games, e.g. GTA VC in Wine starting with 1.5.17 leads to software fallbacks on i915.
I've bisected this problem to find this commit:
97217a40 is the first bad commit commit 97217a40 Author: Eric Anholt Date: Wed Apr 17 13:55:08 2013 -0700
i915: Always enable GL 2.0 support.
There's no point in shipping a non-GL2 driver today.
:040000 040000 d039f68bbc5a5e610adbeb3d310350a844911fea efac289465401566fec6063b544c0a844e302559 M src
AFAIU, i915 doesn't fully support GLSL, so this seems to be not a good idea to advertise GL 2.0 support.
There's a discussion of this problem on wine-devel mailing list 1, and a wined3d developer expresses the opinion 2 that
There's a point in shipping a < GL 2.0 driver for hardware that just doesn't support GL 2.0. But there is no point in requiring the application to magically know if the driver's GL 2.0 is really 2.0 or just something rigged with software fallback mines.
Version: 9.2