mirror of
https://github.com/RPCS3/discord-bot.git
synced 2024-12-02 16:06:51 +00:00
add note for thread scheduler on intel and update wording
This commit is contained in:
parent
0066dd8762
commit
c2861278e9
@ -47,20 +47,31 @@ namespace CompatBot.Utils.ResultFormatters
|
||||
if (items["spu_lower_thread_priority"] == EnabledMark
|
||||
&& threadCount > 4)
|
||||
notes.Add("❔ `Lower SPU thread priority` is enabled on a CPU with enough threads");
|
||||
if (items["cpu_model"] is string cpu
|
||||
&& cpu.StartsWith("AMD")
|
||||
&& cpu.Contains("Ryzen")
|
||||
&& items["os_type"] != "Linux")
|
||||
if (items["cpu_model"] is string cpu)
|
||||
{
|
||||
if (Version.TryParse(items["os_version"], out var winVer)
|
||||
&& (winVer.Major < 10 || (winVer.Major == 10 && winVer.Build < 18362))) // everything before win 10 1903
|
||||
if (cpu.StartsWith("AMD")
|
||||
&& cpu.Contains("Ryzen")
|
||||
&& items["os_type"] != "Linux")
|
||||
{
|
||||
if (items["thread_scheduler"] == "OS")
|
||||
notes.Add("⚠ Please enable RPCS3 `Thread Scheduler` option in the CPU Settings");
|
||||
if (Version.TryParse(items["os_version"], out var winVer)
|
||||
&& (winVer.Major < 10 || (winVer.Major == 10 && winVer.Build < 18362))) // everything before win 10 1903
|
||||
{
|
||||
if (items["thread_scheduler"] == "OS")
|
||||
{
|
||||
if (buildVersion >= IntelThreadSchedulerBuildVersion)
|
||||
notes.Add("⚠ Please enable RPCS3 `Thread Scheduler` option in the CPU Settings");
|
||||
else
|
||||
notes.Add("⚠ Please enable `Thread Scheduler` in the CPU Settings");
|
||||
}
|
||||
else
|
||||
notes.Add("ℹ Changing `Thread Scheduler` option may or may not increase performance");
|
||||
}
|
||||
else
|
||||
notes.Add("ℹ Changing `Thread Scheduler` option may or may not increase performance");
|
||||
}
|
||||
else
|
||||
else if (cpu.StartsWith("Intel")
|
||||
&& threadCount > 11
|
||||
&& buildVersion >= IntelThreadSchedulerBuildVersion)
|
||||
notes.Add("ℹ Changing `Thread Scheduler` option may or may not increase performance");
|
||||
}
|
||||
if (items["llvm_arch"] is string llvmArch)
|
||||
|
@ -60,6 +60,7 @@ namespace CompatBot.Utils.ResultFormatters
|
||||
private static readonly Version NvidiaFullscreenBugFixed = new(0, 0, 6, 8204);
|
||||
private static readonly Version TsxFaFixedVersion = new(0, 0, 12, 10995);
|
||||
private static readonly Version RdnaMsaaFixedVersion = new(0, 0, 13, 11300);
|
||||
private static readonly Version IntelThreadSchedulerBuildVersion = new(0, 0, 15, 12008);
|
||||
|
||||
private static readonly Dictionary<string, string> RsxPresentModeMap = new()
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user