platformsupport/scenes/openglbackend: increase GPU reset timeout again
Apparently it can take a while in some cases, so this commit increases the timeout to 10s
This commit is contained in:
parent
477102f6bc
commit
985f0edf88
1 changed files with 2 additions and 2 deletions
|
@ -83,10 +83,10 @@ bool OpenGLBackend::checkGraphicsReset()
|
|||
timer.start();
|
||||
|
||||
// Wait until the reset is completed or max one second
|
||||
while (timer.elapsed() < 1000 && KWin::glGetGraphicsResetStatus() != GL_NO_ERROR) {
|
||||
while (timer.elapsed() < 10000 && KWin::glGetGraphicsResetStatus() != GL_NO_ERROR) {
|
||||
usleep(50);
|
||||
}
|
||||
if (timer.elapsed() >= 1000) {
|
||||
if (timer.elapsed() >= 10000) {
|
||||
qCWarning(KWIN_OPENGL) << "Waiting for glGetGraphicsResetStatus to return GL_NO_ERROR timed out!";
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue