[kwinglutils] Skip ShaderManager::selfTest for NVIDIA Quadro hardware
Summary: The self test fails with NVDIDA 370.23 or newer on Quadro hardware. Most likely there is a bug in our code as the same things work later on. But without the hardware we are not able to reproduce and investigate properly. Given that all we currently can do is to skip the self test. We encourage users to investigate this properly and to help us to identify the root issue, so that we can fix it. CCBUG: 367766 Reviewers: #kwin Subscribers: kwin Tags: #kwin Differential Revision: https://phabricator.kde.org/D2744
This commit is contained in:
parent
28d56ef0d0
commit
e9e936b6c1
1 changed files with 4 additions and 0 deletions
|
@ -706,6 +706,10 @@ bool ShaderManager::selfTest()
|
|||
qCWarning(LIBKWINGLUTILS) << "Framebuffer objects not supported - skipping shader tests";
|
||||
return true;
|
||||
}
|
||||
if (GLPlatform::instance()->isNvidia() && GLPlatform::instance()->glRendererString().contains("Quadro")) {
|
||||
qCWarning(LIBKWINGLUTILS) << "Skipping self test as it is reported to return false positive results on Quadro hardware";
|
||||
return true;
|
||||
}
|
||||
|
||||
// Create the source texture
|
||||
QImage image(2, 2, QImage::Format_ARGB32_Premultiplied);
|
||||
|
|
Loading…
Reference in a new issue