Bug 330440

Summary: Desktop Effects Stop Working with OpenGL 3.1
Product: [Plasma] kwin Reporter: Jairo <jairoalonso25>
Component: generalAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: crash Keywords: drkonqi
Priority: NOR    
Version: 4.11.3   
Target Milestone: ---   
Platform: Mint (Ubuntu based)   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Jairo 2014-01-26 21:53:45 UTC
Application: kwin (4.11.3)
KDE Platform Version: 4.11.3
Qt Version: 4.8.4
Operating System: Linux 3.11.0-12-generic x86_64
Distribution: Linux Mint 16 Petra

-- Information about the crash:
When I change the default option on desktop composite to OpenGL 3.1 Kwin and general desktop effects crashed.

The crash can be reproduced every time.

-- Backtrace:
Application: KWin (kwin), signal: Aborted
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[KCrash Handler]
#6  0x00007f4ff5592f77 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
#7  0x00007f4ff55965e8 in __GI_abort () at abort.c:90
#8  0x00007f4ff558bd43 in __assert_fail_base (fmt=0x7f4ff56e2f58 "%s%s%s:%u: %s%sAssertion `%s' failed.\n%n", assertion=assertion@entry=0x7f4ff34d6550 "!xcb_xlib_threads_sequence_lost", file=file@entry=0x7f4ff34d639b "../../src/xcb_io.c", line=line@entry=274, function=function@entry=0x7f4ff34d6856 <__PRETTY_FUNCTION__.14361> "poll_for_event") at assert.c:92
#9  0x00007f4ff558bdf2 in __GI___assert_fail (assertion=assertion@entry=0x7f4ff34d6550 "!xcb_xlib_threads_sequence_lost", file=file@entry=0x7f4ff34d639b "../../src/xcb_io.c", line=line@entry=274, function=function@entry=0x7f4ff34d6856 <__PRETTY_FUNCTION__.14361> "poll_for_event") at assert.c:101
#10 0x00007f4ff3466ca9 in poll_for_event (dpy=dpy@entry=0x2226d40) at ../../src/xcb_io.c:271
#11 0x00007f4ff3466d3e in poll_for_response (dpy=dpy@entry=0x2226d40) at ../../src/xcb_io.c:289
#12 0x00007f4ff346701d in _XEventsQueued (dpy=0x2226d40, mode=mode@entry=1) at ../../src/xcb_io.c:363
#13 0x00007f4ff34672c3 in _XFlush (dpy=<optimized out>) at ../../src/xcb_io.c:514
#14 0x00007f4ff3469cd5 in _XGetRequest (dpy=dpy@entry=0x2226d40, type=type@entry=5 '\005', len=len@entry=20) at ../../src/XlibInt.c:1735
#15 0x00007f4ff050b307 in DRI2GetBuffersWithFormat (dpy=0x2226d40, drawable=75502834, width=width@entry=0x24386d8, height=height@entry=0x24386dc, attachments=0x7fffcfcf7ff0, count=1, outCount=outCount@entry=0x7fffcfcf7fec) at ../../../../src/glx/dri2.c:476
#16 0x00007f4ff0508e3b in dri2GetBuffersWithFormat (driDrawable=<optimized out>, width=0x24386d8, height=0x24386dc, attachments=<optimized out>, count=<optimized out>, out_count=0x7fffcfcf7fec, loaderPrivate=0x2436bd0) at ../../../../src/glx/dri2_glx.c:905
#17 0x00007f4fd354a6f7 in intel_query_dri2_buffers (buffer_count=0x7fffcfcf7fec, buffers=<synthetic pointer>, drawable=0x24386b0, brw=0x25d9580) at ../../../../../../../src/mesa/drivers/dri/i965/intel_context.c:841
#18 intel_update_renderbuffers (context=context@entry=0x25bdcb0, drawable=drawable@entry=0x24386b0) at ../../../../../../../src/mesa/drivers/dri/i965/intel_context.c:196
#19 0x00007f4fd354aa83 in intel_prepare_render (brw=brw@entry=0x25d9580) at ../../../../../../../src/mesa/drivers/dri/i965/intel_context.c:249
#20 0x00007f4fd354b663 in intelMakeCurrent (driContextPriv=0x25bdcb0, driDrawPriv=0x24386b0, driReadPriv=0x24386b0) at ../../../../../../../src/mesa/drivers/dri/i965/intel_context.c:764
#21 0x00007f4fd35e5546 in driBindContext (pcp=<optimized out>, pdp=<optimized out>, prp=<optimized out>) at ../../../../../../../src/mesa/drivers/dri/common/dri_util.c:382
#22 0x00007f4ff050a65f in dri2_bind_context (context=0x2344170, old=<optimized out>, draw=<optimized out>, read=<optimized out>) at ../../../../src/glx/dri2_glx.c:172
#23 0x00007f4ff04e51d3 in MakeContextCurrent (dpy=0x2226d40, draw=75502835, read=75502835, gc_user=0x2344170) at ../../../../src/glx/glxcurrent.c:269
#24 0x00007f4ff5a056f9 in KWin::GlxBackend::initRenderingContext (this=this@entry=0x2540500) at ../../kwin/glxbackend.cpp:209
#25 0x00007f4ff5a07239 in KWin::GlxBackend::init (this=0x2540500) at ../../kwin/glxbackend.cpp:93
#26 0x00007f4ff5a0225c in KWin::SceneOpenGL::createScene () at ../../kwin/scene_opengl.cpp:199
#27 0x00007f4ff59e7195 in KWin::Compositor::slotCompositingOptionsInitialized (this=this@entry=0x243f970) at ../../kwin/composite.cpp:202
#28 0x00007f4ff59e751d in KWin::Compositor::setup (this=0x243f970) at ../../kwin/composite.cpp:161
#29 0x00007f4ff59e78c5 in setup (this=0x243f970) at ../../kwin/composite.cpp:403
#30 KWin::Compositor::slotConfigChanged (this=0x243f970) at ../../kwin/composite.cpp:398
#31 0x00007f4ff596e7f5 in KWin::Compositor::qt_static_metacall (_o=<optimized out>, _id=<optimized out>, _a=<optimized out>, _c=<optimized out>) at moc_composite.cpp:200
#32 0x00007f4fefa3ba58 in QMetaObject::activate (sender=sender@entry=0x2407bf0, m=m@entry=0x7f4ff5cb7f60 <KWin::Workspace::staticMetaObject>, local_signal_index=local_signal_index@entry=11, argv=argv@entry=0x0) at kernel/qobject.cpp:3539
#33 0x00007f4ff597f51f in configChanged (this=0x2407bf0) at ./workspace.moc:416
#34 KWin::Workspace::slotReconfigure (this=0x2407bf0) at ../../kwin/workspace.cpp:798
#35 0x00007f4ff597fb2d in KWin::Workspace::qt_static_metacall (_o=0x2407bf0, _id=4563, _a=0x6, _c=<optimized out>) at ./workspace.moc:272
#36 0x00007f4fefa3ba58 in QMetaObject::activate (sender=0x2407d20, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3539
#37 0x00007f4fefa3fbe1 in QObject::event (this=0x2407d20, e=<optimized out>) at kernel/qobject.cpp:1156
#38 0x00007f4feedc4dfc in QApplicationPrivate::notify_helper (this=this@entry=0x2224f70, receiver=receiver@entry=0x2407d20, e=e@entry=0x7fffcfcf8b20) at kernel/qapplication.cpp:4567
#39 0x00007f4feedcb470 in QApplication::notify (this=this@entry=0x7fffcfcf8ff0, receiver=receiver@entry=0x2407d20, e=e@entry=0x7fffcfcf8b20) at kernel/qapplication.cpp:4353
#40 0x00007f4ff429ca6a in KApplication::notify (this=0x7fffcfcf8ff0, receiver=0x2407d20, event=0x7fffcfcf8b20) at ../../kdeui/kernel/kapplication.cpp:311
#41 0x00007f4fefa278bd in QCoreApplication::notifyInternal (this=0x7fffcfcf8ff0, receiver=0x2407d20, event=0x7fffcfcf8b20) at kernel/qcoreapplication.cpp:946
#42 0x00007f4fefa57403 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#43 QTimerInfoList::activateTimers (this=0x2225c58) at kernel/qeventdispatcher_unix.cpp:622
#44 0x00007f4fefa57480 in QEventDispatcherUNIX::activateTimers (this=this@entry=0x2224b40) at kernel/qeventdispatcher_unix.cpp:879
#45 0x00007f4fefa57d90 in QEventDispatcherUNIX::processEvents (this=this@entry=0x2224b40, flags=...) at kernel/qeventdispatcher_unix.cpp:941
#46 0x00007f4feee672f6 in QEventDispatcherX11::processEvents (this=0x2224b40, flags=...) at kernel/qeventdispatcher_x11.cpp:152
#47 0x00007f4fefa265ef in QEventLoop::processEvents (this=this@entry=0x7fffcfcf8e60, flags=...) at kernel/qeventloop.cpp:149
#48 0x00007f4fefa268e5 in QEventLoop::exec (this=this@entry=0x7fffcfcf8e60, flags=...) at kernel/qeventloop.cpp:204
#49 0x00007f4fefa2be5b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1218
#50 0x00007f4feedc334c in QApplication::exec () at kernel/qapplication.cpp:3828
#51 0x00007f4ff599f956 in kdemain (argc=3, argv=0x7fffcfcf9138) at ../../kwin/main.cpp:597
#52 0x00007f4ff557dde5 in __libc_start_main (main=0x4006d0 <main(int, char**)>, argc=3, ubp_av=0x7fffcfcf9138, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffcfcf9128) at libc-start.c:260
#53 0x00000000004006fe in _start ()

Possible duplicates by query: bug 329984, bug 328718, bug 328049, bug 328004, bug 325166.

Reported using DrKonqi
Comment 1 Thomas Lübking 2014-01-26 22:16:56 UTC
Isn't supported by the driver/chip combo anyway and the driver broken in this regard.
Do not even try to activate.

call
   kwriteconfig --file kwinrc --group Compositing --key GLCore false

and in doubt reboot (apparently the IGP can enter an invalid state)

*** This bug has been marked as a duplicate of bug 327310 ***