BUG: Invalid framebuffer status: "GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT"

I can confirm this on a similar hybrid AMD+NVIDIA laptop setup.

System:

  • Fedora 43
  • KDE Plasma 6.6.4
  • KWin Wayland
  • NVIDIA driver 580.126.18
  • AMD Radeon 680M iGPU + NVIDIA dGPU (3080)

It is really bad on the Firefox’s renderer/gpu path. It is completely hammered and raises my cpu’s temp to 80c just on the browser

kwin_wayland starts spamming these errors, and
normal browsing or video playback can drive CPU temperatures to around 80C.

The journal shows the same errors:

kwin_wayland: 0x500: GL_INVALID_ENUM error generated. Invalid .
kwin_wayland: Invalid framebuffer status: “GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT”
kwin_wayland: Failed to create framebuffer: Invalid argument
kwin_wayland: Failed to create framebuffer: Invalid argument

From what I can tell, the problem is tied to the hybrid Wayland setup itself, especially when the internal panel is on the AMD iGPU and at
least one external display is active on the NVIDIA GPU.

When I switch from 240hz to 60hz - it helps but it does not fix the problem