Skip to content

Commit

Permalink
Add Skylake GPUs to GL interop blacklist
Browse files Browse the repository at this point in the history
  • Loading branch information
CasualPokePlayer committed Nov 27, 2024
1 parent 24d4e89 commit a7dd37d
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions src/BizHawk.Bizware.Graphics/D3D11/D3D11GLInterop.cs
Original file line number Diff line number Diff line change
Expand Up @@ -45,12 +45,21 @@ private enum Vendor

private static readonly int[] _blacklistedIntelDeviceIds =
[
// Broadwell GPUs
0x1602, 0x1606, 0x160A, 0x160B,
0x160D, 0x160E, 0x1612, 0x1616,
0x161A, 0x161B, 0x161D, 0x161E,
0x1622, 0x1626, 0x162A, 0x162B,
0x162D, 0x162E, 0x1632, 0x1636,
0x163A, 0x163B, 0x163D, 0x163E,
// Skylake GPUs
0x1902, 0x1906, 0x190A, 0x190B,
0x190E, 0x1912, 0x1913, 0x1915,
0x1916, 0x1917, 0x191A, 0x191B,
0x191D, 0x191E, 0x1921, 0x1923,
0x1926, 0x1927, 0x192A, 0x192B,
0x192D, 0x1932, 0x193A, 0x193B,
0x193D
];

static D3D11GLInterop()
Expand Down Expand Up @@ -150,8 +159,8 @@ static D3D11GLInterop()

if (vendor == Vendor.Intel)
{
// avoid Broadwell gpus, these have been reported crashing with gl interop
// (specifically, Intel HD Graphics 5500, presumingly all Broadwell are affected, better safe than sorry)
// avoid Broadwell and Skylake gpus, these have been reported crashing with gl interop
// (specifically, Intel HD Graphics 5500 and Intel HD Graphics 530, presumingly all Broadwell and Skylake are affected, better safe than sorry)
if (_blacklistedIntelDeviceIds.Contains(adapter.Description.DeviceId))
{
return;
Expand Down

0 comments on commit a7dd37d

Please sign in to comment.