diff options
author | Moonchild <moonchild@palemoon.org> | 2021-07-14 15:15:14 +0000 |
---|---|---|
committer | Moonchild <moonchild@palemoon.org> | 2021-07-14 15:15:14 +0000 |
commit | 00f9e243685f172861348f4a3f3f88b9ca6aed7c (patch) | |
tree | 520e4009150463dcdf90fc0f03547ee3c3da6521 /widget | |
parent | 361743b222f7558c102c1321947e2f6d2ed2508e (diff) | |
download | uxp-00f9e243685f172861348f4a3f3f88b9ca6aed7c.tar.gz |
[gfx] Hard-block old mesa/nouveau versions
Diffstat (limited to 'widget')
-rw-r--r-- | widget/GfxInfoX11.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/widget/GfxInfoX11.cpp b/widget/GfxInfoX11.cpp index 05a2cab1a1..af374dc44a 100644 --- a/widget/GfxInfoX11.cpp +++ b/widget/GfxInfoX11.cpp @@ -359,7 +359,11 @@ GfxInfo::GetFeatureStatusImpl(int32_t aFeature, aSuggestedDriverVersion.AssignLiteral("Mesa 8.1"); } } - + else if (mIsNouveau && version(mMajorVersion, mMinorVersion) < version(11,0)) { + *aStatus = nsIGfxInfo::FEATURE_BLOCKED_DRIVER_VERSION; + aFailureId = "FEATURE_FAILURE_OLD_NOUVEAU"; + aSuggestedDriverVersion.AssignLiteral("Mesa 11.0"); + } } else if (mIsNVIDIA) { if (version(mMajorVersion, mMinorVersion, mRevisionVersion) < version(257,21)) { *aStatus = nsIGfxInfo::FEATURE_BLOCKED_DRIVER_VERSION; |