Skip to content

Commit

Permalink
add intel arc check
Browse files Browse the repository at this point in the history
fixes #945
  • Loading branch information
13xforever committed Nov 14, 2023
1 parent 7ebf2f8 commit 5a8f73a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -265,12 +265,14 @@ private static async Task BuildNotesSectionAsync(DiscordEmbedBuilder builder, Lo
{
var family = intelMatch.Groups["gpu_family"].Value.TrimEnd();
var modelNumber = intelMatch.Groups["gpu_model_number"].Value;
if (modelNumber is null or "" && family.Split(' ', 2, StringSplitOptions.TrimEntries) is [string fp, string mp])
(family, modelNumber) = (fp, mp);
if (!string.IsNullOrEmpty(modelNumber) && modelNumber.StartsWith('P'))
modelNumber = modelNumber[1..];
_ = int.TryParse(modelNumber, out var modelNumberInt);
if (family is "UHD" or "Iris Plus" or "Iris Xe" || modelNumberInt is > 500 and < 1000)
notes.Add("⚠️ Intel iGPUs are not officially supported; visual glitches are to be expected");
else
else if (family is not "Arc")
{
notes.Add("⚠️ Intel iGPUs before Skylake do not fully comply with OpenGL 4.3");
supportedGpu = false;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -958,7 +958,7 @@ select m
< 21390 => "10 Dev Build " + windowsVersion.Build,
21390 => "10 21H2 Insider",
< 22000 => "11 Internal Build " + windowsVersion.Build,
22000 => "11 21H2",
22000 => "11 21H2", // deprecated
< 22621 => "11 22H2 Insider Build " + windowsVersion.Build,
22621 => "11 22H2",
22631 => "11 23H2",
Expand Down

0 comments on commit 5a8f73a

Please sign in to comment.