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

            Bug ID: 482868
           Summary: Broken rendering with OpenGL compositing on i915
    Classification: Plasma
           Product: kwin
           Version: 6.0.1
          Platform: Arch Linux
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: compositing
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: ---

There are a lot of rendering issues (e.g. white rectangles) with the default
OpenGL compositor using the i915 mesa driver, because the shader exceeds the
hardware limits of Intel's Gen3 GPUs:

kwin_wayland[1576]: kwin_scene_opengl: 0x2: GL_INVALID_OPERATION in
glUseProgram(program 7 not linked)
kwin_wayland[1576]: kwin_scene_opengl: 0x2: GL_INVALID_ENUM in
glTexStorage2D(internalformat = GL_R8)
kwin_wayland[1576]: kwin_scene_opengl: 0x2: GL_INVALID_OPERATION in
glTexSubImage2D(invalid texture level 0)
kwin_wayland[1576]: kwin_scene_opengl: 0x2: GL_INVALID_OPERATION in
glUseProgram(program 7 not linked)
kwin_wayland[1576]: kwin_scene_opengl: Failed to link shader: 
                                              "error: Exceeded max ALU
instructions (163/64)\x00"
kwin_wayland[1576]: kwin_scene_opengl: 0x2: GL_INVALID_OPERATION in
glUseProgram(program 22 not linked)
kwin_wayland[1576]: kwin_scene_opengl: 0x2: GL_INVALID_OPERATION in
glGetUniformLocation(program not linked)
kwin_wayland[1576]: Failed to link shader program: error: Exceeded max ALU
instructions (86/64)
kwin_wayland[1576]: Failed to build graphics pipeline state
kwin_wayland[1576]: kwin_scene_opengl: Failed to link shader: 
                                              "error: Exceeded max ALU
instructions (162/64)\x00"

kwin_x11[3334]: kwin_scene_opengl: 0x2: GL_INVALID_OPERATION in
glUseProgram(program 4 not linked)
kwin_x11[3334]: kwin_scene_opengl: 0x2: GL_INVALID_ENUM in
glTexStorage2D(internalformat = GL_R8)
kwin_x11[3334]: kwin_scene_opengl: 0x2: GL_INVALID_OPERATION in
glTexSubImage2D(invalid texture level 0)
kwin_x11[3334]: kwin_scene_opengl: 0x2: GL_INVALID_OPERATION in
glUseProgram(program 4 not linked)
kwin_x11[3334]: Failed to link shader program: error: Exceeded max ALU
instructions (86/64)
kwin_x11[3334]: Failed to build graphics pipeline state
kwin_x11[3334]: kwin_scene_opengl: 0x2: GL_INVALID_OPERATION in
glUseProgram(program 19 not linked)
kwin_x11[3334]: kwin_scene_opengl: 0x2: GL_INVALID_OPERATION in
glUseProgram(program 25 not linked)
kwin_x11[3334]: Failed to link shader program: error: Exceeded max ALU
instructions (86/64)
kwin_x11[3334]: Failed to build graphics pipeline state
kwin_x11[3334]: kwin_scene_opengl: 0x2: GL_INVALID_OPERATION in
glUseProgram(program 19 not linked)
kwin_x11[3334]: Failed to link shader program: error: Exceeded max nr indirect
texture lookups (5/4)
kwin_x11[3334]: Failed to build graphics pipeline state
kwin_x11[3334]: Failed to link shader program: error: Exceeded max nr indirect
texture lookups (5/4)
kwin_x11[3334]: Failed to build graphics pipeline state
kwin_x11[3334]: Failed to link shader program: error: Exceeded max ALU
instructions (86/64)
kwin_x11[3334]: Failed to build graphics pipeline state
kwin_x11[3334]: kwin_scene_opengl: 0x2: GL_INVALID_OPERATION in
glUseProgram(program 19 not linked)
kwin_x11[3334]: Failed to link shader program: error: Exceeded max nr indirect
texture lookups (5/4)
kwin_x11[3334]: Failed to build graphics pipeline state
kwin_x11[3334]: Failed to link shader program: error: Exceeded max nr indirect
texture lookups (5/4)
kwin_x11[3334]: Failed to build graphics pipeline state
kwin_x11[3334]: Failed to link shader program: error: Exceeded max ALU
instructions (86/64)
kwin_x11[3334]: Failed to build graphics pipeline state
kwin_x11[3334]: kwin_scene_opengl: 0x2: GL_INVALID_OPERATION in
glUseProgram(program 19 not linked)
kwin_x11[3334]: kwin_scene_opengl: 0x2: GL_INVALID_OPERATION in
glUseProgram(program 25 not linked)
kwin_x11[3334]: Failed to link shader program: error: Exceeded max nr indirect
texture lookups (5/4)
kwin_x11[3334]: Failed to build graphics pipeline state

It happens on both Wayland and X11. KWin should either use less complex
shaders, or should fallback to "QPainter" backend on Wayland, and "No
Compositing" on X11.

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

Reply via email to