driconf/intel: Use fake vendor to WA bad detection in Source engine games

Source engine uses flawed device detection in Linux native OpenGL backend,
which causes it to use bad configurations for Intel devices and thus
not always render correctly. Workaround this by using vendor string that
does not include "Intel" in it.

Cc: mesa-stable
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/7725
Signed-off-by: Sviatoslav Peleshko <sviatoslav.peleshko@globallogic.com>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19828>
(cherry picked from commit 478ffe7127)
This commit is contained in:
Sviatoslav Peleshko 2022-11-17 22:59:20 +02:00 committed by Dylan Baker
parent 78ad580508
commit 52fcbca256
2 changed files with 13 additions and 1 deletions

View file

@ -625,7 +625,7 @@
"description": "driconf/intel: Use fake vendor to WA bad detection in Source engine games",
"nominated": true,
"nomination_type": 0,
"resolution": 0,
"resolution": 1,
"main_sha": null,
"because_sha": null
},

View file

@ -919,11 +919,23 @@ TODO: document the other workarounds.
<application name="glmark2" executable="glmark2">
<option name="limit_trig_input_range" value="true" />
</application>
<application name="Counter-Strike: Global Offensive" executable="csgo_linux64">
<option name="force_gl_vendor" value="X.Org" />
</application>
<application name="Insurgency" executable="insurgency_linux">
<option name="force_gl_vendor" value="X.Org" />
</application>
</device>
<device driver="crocus">
<application name="glmark2" executable="glmark2">
<option name="limit_trig_input_range" value="true" />
</application>
<application name="Counter-Strike: Global Offensive" executable="csgo_linux64">
<option name="force_gl_vendor" value="X.Org" />
</application>
<application name="Insurgency" executable="insurgency_linux">
<option name="force_gl_vendor" value="X.Org" />
</application>
</device>
<device driver="anv">
<application name="Aperture Desk Job" executable="deskjob">