https://bugs.kde.org/show_bug.cgi?id=500114

Zamundaaa <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|https://invent.kde.org/plas |https://invent.kde.org/plas
                   |ma/kwin/-/commit/a0371ff242 |ma/kwin/-/commit/0b4078f583
                   |e43b02cc11684fa92d8f03a86c6 |0b2d672dbece4b734eeeefefbae
                   |172                         |20d

--- Comment #10 from Zamundaaa <[email protected]> ---
Git commit 0b4078f5830b2d672dbece4b734eeeefefbae20d by Xaver Hugl.
Committed on 23/07/2026 at 11:20.
Pushed by zamundaaa into branch 'Plasma/6.6'.

opengl/egldisplay: work around libepoxy failing when GPU resets happen

libepoxy calls glGetString(GL_VERSION) when resolving OpenGL functions, which
returns nullptr after a GPU reset.
When that happens, it assumes the OpenGL version is zero, and aborts because
nothing is supported with OpenGL version zero.

To avoid these random crashes, just set our own handler for when resolving
functions fails. It prints about the failure, so we still find out if anything
actually misbehaves, but doesn't abort on GPU resets.
Related: bug 519263
(cherry picked from commit 86ba65c5f3f4ab32bf63be9f4a170446ca69dd66)

M  +17   -0    src/opengl/egldisplay.cpp

https://invent.kde.org/plasma/kwin/-/commit/0b4078f5830b2d672dbece4b734eeeefefbae20d

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to