[Mesa-dev] [PATCH] drirc: whitelist glthread for The Witcher 2

Pierre-Loup A. Griffais pgriffais at valvesoftware.com
Fri Jul 14 23:17:20 UTC 2017


I'm a bit nervous about whitelisting games without checking frametime 
variance. From experience with certain game patterns, threading can 
introduce stuttering in certain apps and cause the general experience to 
feel worse even though the general throughput appears to go up, as 
reported by benchmarks/etc. Not that I have a great solution, other than 
advising that anyone testing this and submitting results should be on 
the lookout for micro-stuttering or extra hitches.

On 07/14/2017 02:42 PM, Marek Olšák wrote:
> I pushed both patches. Thanks!
> 
> Marek
> 
> On Mon, Jul 10, 2017 at 9:12 PM, Edmondo Tommasina
> <edmondo.tommasina at gmail.com> wrote:
>> Performance delta on AMD Phenom II X3 720 / RX 470
>>
>>      The Witcher 2: +18%
>> ---
>>   src/mesa/drivers/dri/common/drirc | 3 +++
>>   1 file changed, 3 insertions(+)
>>
>> diff --git a/src/mesa/drivers/dri/common/drirc b/src/mesa/drivers/dri/common/drirc
>> index 69b735ce70..3108451090 100644
>> --- a/src/mesa/drivers/dri/common/drirc
>> +++ b/src/mesa/drivers/dri/common/drirc
>> @@ -175,6 +175,9 @@ TODO: document the other workarounds.
>>           <application name="Borderlands 2" executable="Borderlands2">
>>               <option name="mesa_glthread" value="true"/>
>>           </application>
>> +        <application name="The Witcher 2" executable="witcher2">
>> +            <option name="mesa_glthread" value="true"/>
>> +        </application>
>>       </device>
>>       <!-- vmwgfx doesn't like full buffer swaps and can't sync to vertical retraces.-->
>>       <device driver="vmwgfx">
>> --
>> 2.11.0
>>
>> _______________________________________________
>> mesa-dev mailing list
>> mesa-dev at lists.freedesktop.org
>> https://lists.freedesktop.org/mailman/listinfo/mesa-dev
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/mesa-dev
> 



More information about the mesa-dev mailing list