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

--- Comment #6 from Christian (Fuchs) <k...@fuchsnet.ch> ---
Just to have it documented: 

On nvidia hardware, it throws a 1286 OpenGL error, thrown around

if (prevScissorTest)          
   glDisable(GL_SCISSOR_TEST);
extraFuncs->glBlitFramebuffer(0, 0, size.width(), size.height(),  0, 0,
size.width(), size.height(),                                      
GL_COLOR_BUFFER_BIT, GL_NEAREST)

and

qDebug() << "Read FBO status:" <<
funcs->glCheckFramebufferStatus(GL_READ_FRAMEBUFFER);
qDebug() << "Draw FBO status:" <<
funcs->glCheckFramebufferStatus(GL_DRAW_FRAMEBUFFER);

gives 

Read FBO status: 36061  Draw FBO status: 36053

and with the OpenGL context hack by frederikh we get

QXcbConnection: XCB error: 2 (BadValue), sequence: 1680, resource id: 92274704,
major code: 141 (Unknown), minor code: 3
0x506: GL_INVALID_FRAMEBUFFER_OPERATION error generated. Framebuffer bindings
are not framebuffer complete.
0x20071: Buffer detailed info: Buffer object 3 (bound to GL_ARRAY_BUFFER_ARB,
usage hint is GL_STATIC_DRAW) will use VIDEO memory as the source for buffer
object operations.
0x20071: Buffer detailed info: Buffer object 4 (bound to
GL_ELEMENT_ARRAY_BUFFER_ARB, usage hint is GL_STATIC_DRAW) will use VIDEO
memory as the source for buffer object operations.
0x20071: Buffer detailed info: Buffer object 5 (bound to GL_ARRAY_BUFFER_ARB,
usage hint is GL_STATIC_DRAW) will use VIDEO memory as the source for buffer
object operations.
0x20071: Buffer detailed info: Buffer object 6 (bound to
GL_ELEMENT_ARRAY_BUFFER_ARB, usage hint is GL_STATIC_DRAW) will use VIDEO
memory as the source for buffer object operations.
0x20071: Buffer detailed info: Buffer object 7 (bound to GL_ARRAY_BUFFER_ARB,
usage hint is GL_STATIC_DRAW) will use VIDEO memory as the source for buffer
object operations.

with an nvidia card and nvidia driver. 

I was able to get also no previews on nouveau, but due to limited time was not
able to reproduce all of it on nouveau with the above debugging enabled. 

For nvidia users: 

reverting
https://cgit.kde.org/plasma-framework.git/commit/?id=612494e2b2e9265d33ce148332d5f490b024a3bd
 

and
https://cgit.kde.org/plasma-framework.git/commit/?id=42d3fde1eef6866640cee8671b07dc81fa2df28c

is a workaround so you can have the previews back whilst waiting for a proper
solution.

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

Reply via email to