Bug 335983 - Crash on startup with compositing enabled (__GI___assert_fail (assertion=0x7ff50549a508 "mt->msaa_layout == INTEL_MSAA_LAYOUT_NONE")
Summary: Crash on startup with compositing enabled (__GI___assert_fail (assertion=0x7f...
Status: RESOLVED WORKSFORME
Alias: None
Product: kwin
Classification: Plasma
Component: scene-opengl (show other bugs)
Version: git master
Platform: Gentoo Packages Linux
: NOR crash
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-06-09 00:34 UTC by Elias Probst
Modified: 2015-01-09 09:24 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
thomas.luebking: Intel+


Attachments
glxinfo output (17.11 KB, patch)
2014-06-09 12:59 UTC, Elias Probst
Details
attachment-32026-0.html (714 bytes, text/html)
2015-01-09 09:21 UTC, Elias Probst
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Elias Probst 2014-06-09 00:34:15 UTC
kwin crashes on startup with compositing enabled or when later enabling compositing manually.

kwin from git master (9b86995)
Qt 5.3.0
xf86-video-intel-2.99.911
mesa-10.0.4
Kernel 3.15-rc8

Backtrace:
Application: KWin (kwin), signal: Aborted
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7ff51eaeb800 (LWP 4055))]

Thread 5 (Thread 0x7ff5061ed700 (LWP 4057)):
#0  pthread_cond_timedwait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:238
#1  0x00007ff516851e18 in wait_relative (time=30000, this=0x2406540) at thread/qwaitcondition_unix.cpp:126
#2  wait (time=30000, this=0x2406540) at thread/qwaitcondition_unix.cpp:134
#3  QWaitCondition::wait (this=this@entry=0x23a3090, mutex=mutex@entry=0x24029d0, time=30000) at thread/qwaitcondition_unix.cpp:208
#4  0x00007ff51684e056 in QThreadPoolThread::run (this=0x23a3080) at thread/qthreadpool.cpp:135
#5  0x00007ff516850e8f in QThreadPrivate::start (arg=0x23a3080) at thread/qthread_unix.cpp:345
#6  0x00007ff515b52f3a in start_thread (arg=0x7ff5061ed700) at pthread_create.c:308
#7  0x00007ff51e2c6c3d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 4 (Thread 0x7ff4ff6fc700 (LWP 4066)):
#0  0x00007ff51e2bf613 in select () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007ff516a80ea9 in qt_safe_select (nfds=nfds@entry=13, fdread=fdread@entry=0x7ff4f4000a78, fdwrite=fdwrite@entry=0x7ff4f4000d08, fdexcept=fdexcept@entry=0x7ff4f4000f98, orig_timeout=orig_timeout@entry=0x0) at kernel/qcore_unix.cpp:83
#2  0x00007ff516a81223 in QEventDispatcherUNIX::select (this=this@entry=0x7ff4f40008c0, nfds=nfds@entry=13, readfds=readfds@entry=0x7ff4f4000a78, writefds=writefds@entry=0x7ff4f4000d08, exceptfds=exceptfds@entry=0x7ff4f4000f98, timeout=timeout@entry=0x0) at kernel/qeventdispatcher_unix.cpp:328
#3  0x00007ff516a8281f in QEventDispatcherUNIXPrivate::doSelect (this=this@entry=0x7ff4f40008e0, flags=..., flags@entry=..., timeout=0x0) at kernel/qeventdispatcher_unix.cpp:204
#4  0x00007ff516a82c7b in QEventDispatcherUNIX::processEvents (this=0x7ff4f40008c0, flags=...) at kernel/qeventdispatcher_unix.cpp:615
#5  0x00007ff516a2befb in QEventLoop::exec (this=this@entry=0x7ff4ff6fbdd0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#6  0x00007ff51684c21a in QThread::exec (this=<optimized out>) at thread/qthread.cpp:511
#7  0x00007ff516850e8f in QThreadPrivate::start (arg=0x258ac30) at thread/qthread_unix.cpp:345
#8  0x00007ff515b52f3a in start_thread (arg=0x7ff4ff6fc700) at pthread_create.c:308
#9  0x00007ff51e2c6c3d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 3 (Thread 0x7ff4f3fff700 (LWP 4067)):
#0  pthread_cond_timedwait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:238
#1  0x00007ff516851e18 in wait_relative (time=30000, this=0x30b3d80) at thread/qwaitcondition_unix.cpp:126
#2  wait (time=30000, this=0x30b3d80) at thread/qwaitcondition_unix.cpp:134
#3  QWaitCondition::wait (this=this@entry=0x308e520, mutex=mutex@entry=0x24029d0, time=30000) at thread/qwaitcondition_unix.cpp:208
#4  0x00007ff51684e056 in QThreadPoolThread::run (this=0x308e510) at thread/qthreadpool.cpp:135
#5  0x00007ff516850e8f in QThreadPrivate::start (arg=0x308e510) at thread/qthread_unix.cpp:345
#6  0x00007ff515b52f3a in start_thread (arg=0x7ff4f3fff700) at pthread_create.c:308
#7  0x00007ff51e2c6c3d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 2 (Thread 0x7ff4f37fe700 (LWP 4068)):
#0  pthread_cond_timedwait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:238
#1  0x00007ff516851e18 in wait_relative (time=30000, this=0x30b43d0) at thread/qwaitcondition_unix.cpp:126
#2  wait (time=30000, this=0x30b43d0) at thread/qwaitcondition_unix.cpp:134
#3  QWaitCondition::wait (this=this@entry=0x308adf0, mutex=mutex@entry=0x24029d0, time=30000) at thread/qwaitcondition_unix.cpp:208
#4  0x00007ff51684e056 in QThreadPoolThread::run (this=0x308ade0) at thread/qthreadpool.cpp:135
#5  0x00007ff516850e8f in QThreadPrivate::start (arg=0x308ade0) at thread/qthread_unix.cpp:345
#6  0x00007ff515b52f3a in start_thread (arg=0x7ff4f37fe700) at pthread_create.c:308
#7  0x00007ff51e2c6c3d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 1 (Thread 0x7ff51eaeb800 (LWP 4055)):
[KCrash Handler]
#6  0x00007ff51e211535 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
#7  0x00007ff51e2129b8 in __GI_abort () at abort.c:90
#8  0x00007ff51e20a5f2 in __assert_fail_base (fmt=0x7ff51e3459a0 "%s%s%s:%u: %s%sAssertion `%s' failed.\n%n", assertion=assertion@entry=0x7ff50549a508 "mt->msaa_layout == INTEL_MSAA_LAYOUT_NONE", file=file@entry=0x7ff505499fa7 "intel_mipmap_tree.c", line=line@entry=1541, function=function@entry=0x7ff50549ab20 <__PRETTY_FUNCTION__.26357> "intel_miptree_make_shareable") at assert.c:92
#9  0x00007ff51e20a6a2 in __GI___assert_fail (assertion=0x7ff50549a508 "mt->msaa_layout == INTEL_MSAA_LAYOUT_NONE", file=0x7ff505499fa7 "intel_mipmap_tree.c", line=1541, function=0x7ff50549ab20 <__PRETTY_FUNCTION__.26357> "intel_miptree_make_shareable") at assert.c:101
#10 0x00007ff50533c89e in intel_miptree_make_shareable (brw=0x7ff5043cf040, mt=0x247df20) at intel_mipmap_tree.c:1541
#11 0x00007ff505346328 in intelSetTexBuffer2 (pDRICtx=0x24a72d0, target=3553, texture_format=8409, dPriv=0x2517360) at intel_tex_image.c:316
#12 0x00007ff51861ca5b in dri2_bind_tex_image (dpy=0x23313f0, drawable=16777295, buffer=8414, attrib_list=0x0) at dri2_glx.c:1001
#13 0x00007ff5185dfd5a in __glXBindTexImageEXT (dpy=0x23313f0, drawable=16777295, buffer=8414, attrib_list=0x0) at glxcmds.c:2418
#14 0x00007ff51e67b241 in KWin::GlxTexture::loadTexture (this=0x2496bb0, pix=<optimized out>, size=..., depth=<optimized out>) at /var/tmp/portage/kde-base/kwin-9999/work/kwin-9999/glxbackend.cpp:727
#15 0x00007ff51e66fe85 in KWin::OpenGLWindowPixmap::bind (this=0x26e6b10) at /var/tmp/portage/kde-base/kwin-9999/work/kwin-9999/scene_opengl.cpp:1485
#16 0x00007ff51e67010b in KWin::SceneOpenGL::Window::bindTexture (this=this@entry=0x30ab700) at /var/tmp/portage/kde-base/kwin-9999/work/kwin-9999/scene_opengl.cpp:869
#17 0x00007ff51e6707b7 in KWin::SceneOpenGL::Window::beginRenderWindow (this=this@entry=0x30ab700, mask=mask@entry=9, region=..., data=...) at /var/tmp/portage/kde-base/kwin-9999/work/kwin-9999/scene_opengl.cpp:930
#18 0x00007ff51e670ac6 in KWin::SceneOpenGL2Window::performPaint (this=this@entry=0x30ab700, mask=mask@entry=9, region=..., data=...) at /var/tmp/portage/kde-base/kwin-9999/work/kwin-9999/scene_opengl.cpp:1257
#19 0x00007ff51e675062 in KWin::SceneOpenGL2::performPaintWindow (this=this@entry=0x26cdfa0, w=w@entry=0x308cca0, mask=mask@entry=9, region=..., data=...) at /var/tmp/portage/kde-base/kwin-9999/work/kwin-9999/scene_opengl.cpp:711
#20 0x00007ff51e675230 in KWin::SceneOpenGL2::finalDrawWindow (this=0x26cdfa0, w=w@entry=0x308cca0, mask=mask@entry=9, region=..., data=...) at /var/tmp/portage/kde-base/kwin-9999/work/kwin-9999/scene_opengl.cpp:697
#21 0x00007ff51e683229 in KWin::EffectsHandlerImpl::drawWindow (this=0x30c1250, w=w@entry=0x308cca0, mask=mask@entry=9, region=..., data=...) at /var/tmp/portage/kde-base/kwin-9999/work/kwin-9999/effects.cpp:475
#22 0x00007ff51e65da71 in KWin::Scene::finalPaintWindow (this=<optimized out>, w=w@entry=0x308cca0, mask=mask@entry=9, region=..., data=...) at /var/tmp/portage/kde-base/kwin-9999/work/kwin-9999/scene.cpp:601
#23 0x00007ff51e68313a in KWin::EffectsHandlerImpl::paintWindow (this=0x30c1250, w=0x308cca0, mask=mask@entry=9, region=..., data=...) at /var/tmp/portage/kde-base/kwin-9999/work/kwin-9999/effects.cpp:438
#24 0x00007ff51e6613b0 in KWin::Scene::paintWindow (this=this@entry=0x26cdfa0, w=0x30ab700, mask=9, region=..., quads=...) at /var/tmp/portage/kde-base/kwin-9999/work/kwin-9999/scene.cpp:474
#25 0x00007ff51e65f494 in KWin::Scene::paintSimpleScreen (this=this@entry=0x26cdfa0, orig_mask=orig_mask@entry=8, region=...) at /var/tmp/portage/kde-base/kwin-9999/work/kwin-9999/scene.cpp:378
#26 0x00007ff51e65d1a5 in KWin::Scene::finalPaintScreen (this=0x26cdfa0, mask=mask@entry=8, region=..., data=...) at /var/tmp/portage/kde-base/kwin-9999/work/kwin-9999/scene.cpp:198
#27 0x00007ff51e683060 in KWin::EffectsHandlerImpl::paintScreen (this=0x30c1250, mask=8, region=..., data=...) at /var/tmp/portage/kde-base/kwin-9999/work/kwin-9999/effects.cpp:395
#28 0x00007ff51e65cd00 in KWin::Scene::paintScreen (this=this@entry=0x26cdfa0, mask=mask@entry=0x7fff8d7df4ec, damage=..., repaint=..., updateRegion=updateRegion@entry=0x7fff8d7df500, validRegion=validRegion@entry=0x7fff8d7df510) at /var/tmp/portage/kde-base/kwin-9999/work/kwin-9999/scene.cpp:148
#29 0x00007ff51e671f51 in KWin::SceneOpenGL::paint (this=0x26cdfa0, damage=..., toplevels=...) at /var/tmp/portage/kde-base/kwin-9999/work/kwin-9999/scene_opengl.cpp:357
#30 0x00007ff51e6553dc in KWin::Compositor::performCompositing (this=this@entry=0x24265a0) at /var/tmp/portage/kde-base/kwin-9999/work/kwin-9999/composite.cpp:657
#31 0x00007ff51e657204 in KWin::Compositor::slotCompositingOptionsInitialized (this=this@entry=0x24265a0) at /var/tmp/portage/kde-base/kwin-9999/work/kwin-9999/composite.cpp:300
#32 0x00007ff51e65827a in KWin::Compositor::setup (this=0x24265a0) at /var/tmp/portage/kde-base/kwin-9999/work/kwin-9999/composite.cpp:166
#33 0x00007ff51e658555 in KWin::Compositor::setup (this=<optimized out>) at /var/tmp/portage/kde-base/kwin-9999/work/kwin-9999/composite.cpp:143
#34 0x00007ff51e6f235d in KWin::Compositor::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at /var/tmp/portage/kde-base/kwin-9999/work/kwin-9999_build/moc_composite.cpp:282
#35 0x00007ff516a5da76 in QObject::event (this=0x24265a0, e=<optimized out>) at kernel/qobject.cpp:1241
#36 0x00007ff5176c87ac in QApplicationPrivate::notify_helper (this=this@entry=0x232a2e0, receiver=receiver@entry=0x24265a0, e=e@entry=0x2427a60) at kernel/qapplication.cpp:3500
#37 0x00007ff5176cd526 in QApplication::notify (this=0x7fff8d7dfe70, receiver=0x24265a0, e=0x2427a60) at kernel/qapplication.cpp:3283
#38 0x00007ff516a2dfe5 in QCoreApplication::notifyInternal (this=0x7fff8d7dfe70, receiver=0x24265a0, event=event@entry=0x2427a60) at kernel/qcoreapplication.cpp:935
#39 0x00007ff516a2fe37 in sendEvent (event=0x2427a60, receiver=<optimized out>) at kernel/qcoreapplication.h:237
#40 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x2315540) at kernel/qcoreapplication.cpp:1539
#41 0x00007ff516a82c04 in QEventDispatcherUNIX::processEvents (this=0x2358de0, flags=flags@entry=...) at kernel/qeventdispatcher_unix.cpp:587
#42 0x00007ff509ae92ed in QUnixEventDispatcherQPA::processEvents (this=<optimized out>, flags=...) at eventdispatchers/qunixeventdispatcher.cpp:70
#43 0x00007ff516a2befb in QEventLoop::exec (this=this@entry=0x7fff8d7dfd00, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#44 0x00007ff516a33526 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1188
#45 0x00007ff516f585ac in QGuiApplication::exec () at kernel/qguiapplication.cpp:1436
#46 0x00007ff5176c6ec5 in QApplication::exec () at kernel/qapplication.cpp:2745
#47 0x00007ff51e603c8a in kdemain (argc=2, argv=0x7fff8d7dffe8) at /var/tmp/portage/kde-base/kwin-9999/work/kwin-9999/main.cpp:559
#48 0x00007ff51e1fdbf5 in __libc_start_main (main=0x400920 <main(int, char**)>, argc=2, ubp_av=0x7fff8d7dffe8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fff8d7dffd8) at libc-start.c:258
#49 0x0000000000400951 in _start ()


qtdiag:
Qt: Session management error: Could not open network socket
Qt 5.3.0 (Jun  3 2014, GCC 4.8.2, 64 bit, release build) on "xcb" little endian/
Library info:
  PrefixPath: /usr
  DocumentationPath: /usr/share/doc/qt-5.3.0
  HeadersPath: /usr/include/qt5
  LibrariesPath: /usr/lib64
  LibraryExecutablesPath: /usr/lib64/qt5/libexec
  BinariesPath: /usr/lib64/qt5/bin
  PluginsPath: /usr/lib64/qt5/plugins
  ImportsPath: /usr/lib64/qt5/imports
  Qml2ImportsPath: /usr/lib64/qt5/qml
  ArchDataPath: /usr/lib64/qt5
  DataPath: /usr/share/qt5
  TranslationsPath: /usr/share/qt5/translations
  ExamplesPath: /usr/share/qt5/examples
  TestsPath: /usr/share/qt5/tests

Standard paths:
  DesktopLocation: "Desktop" /home/elias/Desktop
  DocumentsLocation: "Documents" /home/elias
  FontsLocation: "Fonts" /home/elias/.fonts
  ApplicationsLocation: "Applications" /home/elias/.local/share/applications,/usr/local/share/applications,/usr/share/applications
  MusicLocation: "Music" /home/elias/Music
  MoviesLocation: "Movies" /home/elias/Videos
  PicturesLocation: "Pictures" /home/elias/Pictures
  TempLocation: "Temporary Directory" /tmp
  HomeLocation: "Home" /home/elias
  DataLocation: "Application Data" /home/elias/.local/share/Qt Project/qtdiag,/usr/local/share/Qt Project/qtdiag,/usr/share/Qt Project/qtdiag
  CacheLocation: "Cache" /home/elias/.cache/Qt Project/qtdiag
  GenericDataLocation: "Shared Data" /home/elias/.local/share,/usr/local/share,/usr/share
  RuntimeLocation: "Runtime" /run/user/1000
  ConfigLocation: "Configuration" /home/elias/.config,/etc/xdg
  DownloadLocation: "Download" /home/elias/Downloads
  GenericCacheLocation: "Shared Cache" /home/elias/.cache

Platform capabilities: ThreadedPixmaps OpenGL WindowMasks MultipleWindows ForeignWindows

Style hints:
  mouseDoubleClickInterval: 400
  startDragDistance: 10
  startDragTime: 500
  startDragVelocity: 0
  keyboardInputInterval: 400
  keyboardAutoRepeatRate: 30
  cursorFlashTime: 1000
  showIsFullScreen: 0
  passwordMaskDelay: 0
  fontSmoothingGamma: 1.7
  useRtlExtensions: 0
  mousePressAndHoldInterval: 800

Theme:
  Styles: oxygen,oxygen,fusion,windows
  Icon theme: breeze, hicolor from /usr/share/icons
  System font: "Sans Serif" 10
  General font : "Sans Serif" 10
  Fixed font   : "Oxygen Mono" 9
  Title font   : "Sans Serif" 10
  Smallest font: "Sans Serif" 8

  Native file dialog

Screens: 2
*# 0 "eDP1" Depth: 24
  Geometry: 1920x1080+472+1440 Available: 1920x1080+472+1440
  Virtual geometry: 2560x2520+0+0 Available: 2560x2490+0+30
  2 virtual siblings
  Physical size: 294x165 mm  Refresh: 60 Hz
  Physical DPI: 165.878,166.255 Logical DPI: 96.0473,96.1081
  DevicePixelRatio: 1 Primary orientation: 2
  Orientation: 2 OrientationUpdateMask: 0

 # 1 "DP1" Depth: 24
  Geometry: 2560x1440+0+0 Available: 2560x1410+0+30
  Virtual geometry: 2560x2520+0+0 Available: 2560x2490+0+30
  2 virtual siblings
  Physical size: 597x336 mm  Refresh: 60 Hz
  Physical DPI: 108.918,108.857 Logical DPI: 96.0473,96.1081
  DevicePixelRatio: 1 Primary orientation: 2
  Orientation: 2 OrientationUpdateMask: 0

LibGL Vendor: Intel Open Source Technology Center
Renderer: Mesa DRI Intel(R) Ivybridge Mobile
Version: 3.0 Mesa 10.0.4
Shading language: 1.30
Format: Version: 3.0 Profile: 0 Swap behavior: 0 Buffer size (RGBA): 8,8,8,8 Samples: 4


kwin supportInformation:
Version
=======
KWin version: 4.97.0
Qt Version: 5.3.0
Operation Mode: X11 only
Options
=======
focusPolicy: 1
nextFocusPrefersMouse: true
clickRaise: true
autoRaise: false
autoRaiseInterval: 750
delayFocusInterval: 0
shadeHover: false
shadeHoverInterval: 250
separateScreenFocus: falseplacement: 4
focusPolicyIsReasonable: true
borderSnapZone: 10
windowSnapZone: 10
centerSnapZone: 0
snapOnlyWhenOverlapping: false
showDesktopIsMinimizeAll: false
rollOverDesktops: true
focusStealingPreventionLevel: 1
legacyFullscreenSupport: false
operationTitlebarDblClick:
commandActiveTitlebar1: 0
commandActiveTitlebar2: 30
commandActiveTitlebar3: 2
commandInactiveTitlebar1: 4
commandInactiveTitlebar2: 30
commandInactiveTitlebar3: 2
commandWindow1: 7
commandWindow2: 8
commandWindow3: 8
commandWindowWheel: 31
commandAll1: 10
commandAll2: 3
commandAll3: 14
keyCmdAllModKey: 16777250
showGeometryTip: false
condensedTitle: false
electricBorderMaximize: true
electricBorderTiling: true
electricBorderCornerRatio: 0.25
borderlessMaximizedWindows: false
killPingTimeout: 5000
hideUtilityWindowsForInactive: true
inactiveTabsSkipTaskbar: false
autogroupSimilarWindows: false
autogroupInForeground: true
compositingMode: 1
useCompositing: true
compositingInitialized: false
hiddenPreviews: 1
unredirectFullscreen: false
glSmoothScale: 2
colorCorrected: false
xrenderSmoothScale: false
maxFpsInterval: 16666666
refreshRate: 0
vBlankTime: 6000000
glStrictBinding: true
glStrictBindingFollowsDriver: true
glCoreProfile: false
glPreferBufferSwap: 97
glPlatformInterface:

Screen Edges
============
desktopSwitching: false
desktopSwitchingMovingClients: false
cursorPushBackDistance:
timeThreshold: 150
reActivateThreshold: 350
actionTopLeft: 0
actionTop: 0
actionTopRight: 0
actionRight: 0
actionBottomRight: 0
actionBottom: 0
actionBottomLeft: 0
actionLeft: 0

Screens
=======
Multi-Head: no
Active screen follows mouse:  no
Number of Screens: 2
Screen 0 Geometry: 472,1440,1920x1080
Screen 1 Geometry: 0,0,2560x1440

Decoration
==========
Current Plugin: Oxygen
Shadows: yes
Alpha: yes
Announces Alpha: yes
Tabbing: yes
Frame Overlap: no
Blur Behind: no

Compositing
===========
Compositing is not active
Comment 1 Thomas Lübking 2014-06-09 07:45:23 UTC
Did you also update intel-dri and/or mesa?

> Format: Version: 3.0 Profile: 0 Swap behavior: 0 Buffer size (RGBA): 8,8,8,8 Samples: 4
Even qt-diag drops into multisampling -> can you also attach the output of glxinfo?

Does it btw. work on EGL or kwin_gles?


-------------------

/**
 * Make it possible to share the BO backing the given miptree with another
 * process or another miptree.
 *
 * Fast color clears are unsafe with shared buffers, so we need to resolve and
 * then discard the MCS buffer, if present.  We also set the fast_clear_state
 * to INTEL_FAST_CLEAR_STATE_NO_MCS to ensure that no MCS buffer gets
 * allocated in the future.
 */
void
intel_miptree_make_shareable(struct brw_context *brw,
                             struct intel_mipmap_tree *mt)
{
   /* MCS buffers are also used for multisample buffers, but we can't resolve
    * away a multisample MCS buffer because it's an integral part of how the
    * pixel data is stored.  Fortunately this code path should never be
    * reached for multisample buffers.
    */
   assert(mt->msaa_layout == INTEL_MSAA_LAYOUT_NONE);
Comment 2 Elias Probst 2014-06-09 12:14:01 UTC
(In reply to comment #1)
> Did you also update intel-dri and/or mesa?
"intel-dri" → what component/package do you mean? Kernel is 3.15-rc8, xf86-video-intel is 2.99.911-r1. I don't know of any other Intel specific DRI components.
Mesa is 10.0.4.

> can you also attach the output of glxinfo?
See below

> Does it btw. work on EGL or kwin_gles?
Will have to rebuild dev-qt/qtgui to build kwin with EGL or GLES2 to test this… will probably get around to do this later today.


name of display: :0
display: :0  screen: 0
direct rendering: Yes
server glx vendor string: SGI
server glx version string: 1.4
server glx extensions:
    GLX_ARB_create_context, GLX_ARB_create_context_profile,
    GLX_ARB_create_context_robustness, GLX_ARB_fbconfig_float,
    GLX_ARB_framebuffer_sRGB, GLX_ARB_multisample,
    GLX_EXT_create_context_es2_profile, GLX_EXT_framebuffer_sRGB,
    GLX_EXT_import_context, GLX_EXT_texture_from_pixmap, GLX_EXT_visual_info,
    GLX_EXT_visual_rating, GLX_INTEL_swap_event, GLX_MESA_copy_sub_buffer,
    GLX_OML_swap_method, GLX_SGIS_multisample, GLX_SGIX_fbconfig,
    GLX_SGIX_pbuffer, GLX_SGIX_visual_select_group, GLX_SGI_swap_control
client glx vendor string: Mesa Project and SGI
client glx version string: 1.4
client glx extensions:
    GLX_ARB_create_context, GLX_ARB_create_context_profile,
    GLX_ARB_create_context_robustness, GLX_ARB_fbconfig_float,
    GLX_ARB_framebuffer_sRGB, GLX_ARB_get_proc_address, GLX_ARB_multisample,
    GLX_EXT_create_context_es2_profile, GLX_EXT_fbconfig_packed_float,
    GLX_EXT_framebuffer_sRGB, GLX_EXT_import_context,
    GLX_EXT_texture_from_pixmap, GLX_EXT_visual_info, GLX_EXT_visual_rating,
    GLX_INTEL_swap_event, GLX_MESA_copy_sub_buffer,
    GLX_MESA_multithread_makecurrent, GLX_MESA_query_renderer,
    GLX_MESA_swap_control, GLX_OML_swap_method, GLX_OML_sync_control,
    GLX_SGIS_multisample, GLX_SGIX_fbconfig, GLX_SGIX_pbuffer,
    GLX_SGIX_visual_select_group, GLX_SGI_make_current_read,
    GLX_SGI_swap_control, GLX_SGI_video_sync
GLX version: 1.4
GLX extensions:
    GLX_ARB_create_context, GLX_ARB_create_context_profile,
    GLX_ARB_create_context_robustness, GLX_ARB_fbconfig_float,
    GLX_ARB_framebuffer_sRGB, GLX_ARB_get_proc_address, GLX_ARB_multisample,
    GLX_EXT_create_context_es2_profile, GLX_EXT_framebuffer_sRGB,
    GLX_EXT_import_context, GLX_EXT_texture_from_pixmap, GLX_EXT_visual_info,
    GLX_EXT_visual_rating, GLX_INTEL_swap_event, GLX_MESA_copy_sub_buffer,
    GLX_MESA_multithread_makecurrent, GLX_MESA_query_renderer,
    GLX_MESA_swap_control, GLX_OML_swap_method, GLX_OML_sync_control,
    GLX_SGIS_multisample, GLX_SGIX_fbconfig, GLX_SGIX_pbuffer,
    GLX_SGIX_visual_select_group, GLX_SGI_make_current_read,
    GLX_SGI_swap_control, GLX_SGI_video_sync
OpenGL vendor string: Intel Open Source Technology Center
OpenGL renderer string: Mesa DRI Intel(R) Ivybridge Mobile
OpenGL core profile version string: 3.3 (Core Profile) Mesa 10.0.4
OpenGL core profile shading language version string: 3.30
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL core profile extensions:
    GL_3DFX_texture_compression_FXT1, GL_AMD_conservative_depth,
    GL_AMD_draw_buffers_blend, GL_AMD_seamless_cubemap_per_texture,
    GL_ANGLE_texture_compression_dxt3, GL_ANGLE_texture_compression_dxt5,
    GL_APPLE_object_purgeable, GL_ARB_ES2_compatibility,
    GL_ARB_ES3_compatibility, GL_ARB_base_instance,
    GL_ARB_blend_func_extended, GL_ARB_conservative_depth, GL_ARB_copy_buffer,
    GL_ARB_debug_output, GL_ARB_depth_buffer_float, GL_ARB_depth_clamp,
    GL_ARB_draw_buffers, GL_ARB_draw_buffers_blend,
    GL_ARB_draw_elements_base_vertex, GL_ARB_draw_instanced,
    GL_ARB_explicit_attrib_location, GL_ARB_fragment_coord_conventions,
    GL_ARB_fragment_shader, GL_ARB_framebuffer_object,
    GL_ARB_framebuffer_sRGB, GL_ARB_get_program_binary,
    GL_ARB_half_float_pixel, GL_ARB_half_float_vertex,
    GL_ARB_instanced_arrays, GL_ARB_internalformat_query,
    GL_ARB_invalidate_subdata, GL_ARB_map_buffer_range,
    GL_ARB_occlusion_query2, GL_ARB_pixel_buffer_object, GL_ARB_point_sprite,
    GL_ARB_provoking_vertex, GL_ARB_robustness, GL_ARB_sample_shading,
    GL_ARB_sampler_objects, GL_ARB_seamless_cube_map,
    GL_ARB_shader_atomic_counters, GL_ARB_shader_bit_encoding,
    GL_ARB_shader_objects, GL_ARB_shader_texture_lod,
    GL_ARB_shading_language_420pack, GL_ARB_shading_language_packing,
    GL_ARB_sync, GL_ARB_texture_buffer_object,
    GL_ARB_texture_buffer_object_rgb32, GL_ARB_texture_buffer_range,
    GL_ARB_texture_compression_rgtc, GL_ARB_texture_cube_map_array,
    GL_ARB_texture_float, GL_ARB_texture_gather,
    GL_ARB_texture_mirror_clamp_to_edge, GL_ARB_texture_multisample,
    GL_ARB_texture_non_power_of_two, GL_ARB_texture_query_levels,
    GL_ARB_texture_query_lod, GL_ARB_texture_rectangle, GL_ARB_texture_rg,
    GL_ARB_texture_rgb10_a2ui, GL_ARB_texture_storage,
    GL_ARB_texture_storage_multisample, GL_ARB_texture_swizzle,
    GL_ARB_timer_query, GL_ARB_transform_feedback2,
    GL_ARB_transform_feedback3, GL_ARB_transform_feedback_instanced,
    GL_ARB_uniform_buffer_object, GL_ARB_vertex_array_bgra,
    GL_ARB_vertex_array_object, GL_ARB_vertex_attrib_binding,
    GL_ARB_vertex_shader, GL_ARB_vertex_type_10f_11f_11f_rev,
    GL_ARB_vertex_type_2_10_10_10_rev, GL_ATI_blend_equation_separate,
    GL_ATI_texture_float, GL_EXT_abgr, GL_EXT_blend_equation_separate,
    GL_EXT_draw_buffers2, GL_EXT_draw_instanced, GL_EXT_framebuffer_blit,
    GL_EXT_framebuffer_multisample, GL_EXT_framebuffer_multisample_blit_scaled,
    GL_EXT_framebuffer_sRGB, GL_EXT_packed_depth_stencil, GL_EXT_packed_float,
    GL_EXT_pixel_buffer_object, GL_EXT_provoking_vertex,
    GL_EXT_shader_integer_mix, GL_EXT_texture_array,
    GL_EXT_texture_compression_dxt1, GL_EXT_texture_compression_rgtc,
    GL_EXT_texture_compression_s3tc, GL_EXT_texture_filter_anisotropic,
    GL_EXT_texture_integer, GL_EXT_texture_sRGB, GL_EXT_texture_sRGB_decode,
    GL_EXT_texture_shared_exponent, GL_EXT_texture_snorm,
    GL_EXT_texture_swizzle, GL_EXT_timer_query, GL_EXT_transform_feedback,
    GL_EXT_vertex_array_bgra, GL_IBM_multimode_draw_arrays, GL_KHR_debug,
    GL_MESA_pack_invert, GL_MESA_texture_signed_rgba, GL_MESA_ycbcr_texture,
    GL_NV_conditional_render, GL_NV_depth_clamp, GL_NV_packed_depth_stencil,
    GL_OES_EGL_image, GL_OES_read_format, GL_S3_s3tc
OpenGL version string: 3.0 Mesa 10.0.4
OpenGL shading language version string: 1.30
OpenGL context flags: (none)
OpenGL extensions:
    GL_3DFX_texture_compression_FXT1, GL_AMD_conservative_depth,
    GL_AMD_draw_buffers_blend, GL_AMD_seamless_cubemap_per_texture,
    GL_ANGLE_texture_compression_dxt3, GL_ANGLE_texture_compression_dxt5,
    GL_APPLE_object_purgeable, GL_APPLE_packed_pixels,
    GL_APPLE_vertex_array_object, GL_ARB_ES2_compatibility,
    GL_ARB_ES3_compatibility, GL_ARB_blend_func_extended,
    GL_ARB_color_buffer_float, GL_ARB_conservative_depth, GL_ARB_copy_buffer,
    GL_ARB_debug_output, GL_ARB_depth_buffer_float, GL_ARB_depth_clamp,
    GL_ARB_depth_texture, GL_ARB_draw_buffers, GL_ARB_draw_buffers_blend,
    GL_ARB_draw_elements_base_vertex, GL_ARB_draw_instanced,
    GL_ARB_explicit_attrib_location, GL_ARB_fragment_coord_conventions,
    GL_ARB_fragment_program, GL_ARB_fragment_program_shadow,
    GL_ARB_fragment_shader, GL_ARB_framebuffer_object,
    GL_ARB_framebuffer_sRGB, GL_ARB_get_program_binary,
    GL_ARB_half_float_pixel, GL_ARB_half_float_vertex,
    GL_ARB_instanced_arrays, GL_ARB_internalformat_query,
    GL_ARB_invalidate_subdata, GL_ARB_map_buffer_range, GL_ARB_multisample,
    GL_ARB_multitexture, GL_ARB_occlusion_query, GL_ARB_occlusion_query2,
    GL_ARB_pixel_buffer_object, GL_ARB_point_parameters, GL_ARB_point_sprite,
    GL_ARB_provoking_vertex, GL_ARB_robustness, GL_ARB_sample_shading,
    GL_ARB_sampler_objects, GL_ARB_seamless_cube_map,
    GL_ARB_shader_atomic_counters, GL_ARB_shader_bit_encoding,
    GL_ARB_shader_objects, GL_ARB_shader_texture_lod,
    GL_ARB_shading_language_100, GL_ARB_shading_language_420pack,
    GL_ARB_shading_language_packing, GL_ARB_shadow, GL_ARB_sync,
    GL_ARB_texture_border_clamp, GL_ARB_texture_compression,
    GL_ARB_texture_compression_rgtc, GL_ARB_texture_cube_map,
    GL_ARB_texture_cube_map_array, GL_ARB_texture_env_add,
    GL_ARB_texture_env_combine, GL_ARB_texture_env_crossbar,
    GL_ARB_texture_env_dot3, GL_ARB_texture_float, GL_ARB_texture_gather,
    GL_ARB_texture_mirror_clamp_to_edge, GL_ARB_texture_mirrored_repeat,
    GL_ARB_texture_multisample, GL_ARB_texture_non_power_of_two,
    GL_ARB_texture_query_levels, GL_ARB_texture_query_lod,
    GL_ARB_texture_rectangle, GL_ARB_texture_rg, GL_ARB_texture_rgb10_a2ui,
    GL_ARB_texture_storage, GL_ARB_texture_storage_multisample,
    GL_ARB_texture_swizzle, GL_ARB_timer_query, GL_ARB_transform_feedback2,
    GL_ARB_transform_feedback3, GL_ARB_transform_feedback_instanced,
    GL_ARB_transpose_matrix, GL_ARB_uniform_buffer_object,
    GL_ARB_vertex_array_bgra, GL_ARB_vertex_array_object,
    GL_ARB_vertex_attrib_binding, GL_ARB_vertex_buffer_object,
    GL_ARB_vertex_program, GL_ARB_vertex_shader,
    GL_ARB_vertex_type_10f_11f_11f_rev, GL_ARB_vertex_type_2_10_10_10_rev,
    GL_ARB_window_pos, GL_ATI_blend_equation_separate, GL_ATI_draw_buffers,
    GL_ATI_envmap_bumpmap, GL_ATI_separate_stencil,
    GL_ATI_texture_env_combine3, GL_ATI_texture_float, GL_EXT_abgr,
    GL_EXT_bgra, GL_EXT_blend_color, GL_EXT_blend_equation_separate,
    GL_EXT_blend_func_separate, GL_EXT_blend_minmax, GL_EXT_blend_subtract,
    GL_EXT_compiled_vertex_array, GL_EXT_copy_texture, GL_EXT_draw_buffers2,
    GL_EXT_draw_instanced, GL_EXT_draw_range_elements, GL_EXT_fog_coord,
    GL_EXT_framebuffer_blit, GL_EXT_framebuffer_multisample,
    GL_EXT_framebuffer_multisample_blit_scaled, GL_EXT_framebuffer_object,
    GL_EXT_framebuffer_sRGB, GL_EXT_gpu_program_parameters,
    GL_EXT_multi_draw_arrays, GL_EXT_packed_depth_stencil,
    GL_EXT_packed_float, GL_EXT_packed_pixels, GL_EXT_pixel_buffer_object,
    GL_EXT_point_parameters, GL_EXT_polygon_offset, GL_EXT_provoking_vertex,
    GL_EXT_rescale_normal, GL_EXT_secondary_color,
    GL_EXT_separate_shader_objects, GL_EXT_separate_specular_color,
    GL_EXT_shader_integer_mix, GL_EXT_shadow_funcs, GL_EXT_stencil_two_side,
    GL_EXT_stencil_wrap, GL_EXT_subtexture, GL_EXT_texture, GL_EXT_texture3D,
    GL_EXT_texture_array, GL_EXT_texture_compression_dxt1,
    GL_EXT_texture_compression_rgtc, GL_EXT_texture_compression_s3tc,
    GL_EXT_texture_cube_map, GL_EXT_texture_edge_clamp,
    GL_EXT_texture_env_add, GL_EXT_texture_env_combine,
    GL_EXT_texture_env_dot3, GL_EXT_texture_filter_anisotropic,
    GL_EXT_texture_integer, GL_EXT_texture_lod_bias, GL_EXT_texture_object,
    GL_EXT_texture_rectangle, GL_EXT_texture_sRGB, GL_EXT_texture_sRGB_decode,
    GL_EXT_texture_shared_exponent, GL_EXT_texture_snorm,
    GL_EXT_texture_swizzle, GL_EXT_timer_query, GL_EXT_transform_feedback,
    GL_EXT_vertex_array, GL_EXT_vertex_array_bgra,
    GL_IBM_multimode_draw_arrays, GL_IBM_rasterpos_clip,
    GL_IBM_texture_mirrored_repeat, GL_INGR_blend_func_separate, GL_KHR_debug,
    GL_MESA_pack_invert, GL_MESA_texture_array, GL_MESA_texture_signed_rgba,
    GL_MESA_window_pos, GL_MESA_ycbcr_texture, GL_NV_blend_square,
    GL_NV_conditional_render, GL_NV_depth_clamp, GL_NV_light_max_exponent,
    GL_NV_packed_depth_stencil, GL_NV_primitive_restart,
    GL_NV_texgen_reflection, GL_NV_texture_env_combine4,
    GL_NV_texture_rectangle, GL_OES_EGL_image, GL_OES_read_format,
    GL_S3_s3tc, GL_SGIS_generate_mipmap, GL_SGIS_texture_border_clamp,
    GL_SGIS_texture_edge_clamp, GL_SGIS_texture_lod, GL_SUN_multi_draw_arrays
20 GLX Visuals
    visual  x   bf lv rg d st  colorbuffer  sr ax dp st accumbuffer  ms  cav
  id dep cl sp  sz l  ci b ro  r  g  b  a F gb bf th cl  r  g  b  a ns b eat
----------------------------------------------------------------------------
0x020 24 tc  0  32  0 r  y .   8  8  8  8 .  .  0 24  8  0  0  0  0  0 0 None
0x021 24 dc  0  32  0 r  y .   8  8  8  8 .  .  0 24  8  0  0  0  0  0 0 None
0x0ae 24 tc  0  32  0 r  y .   8  8  8  8 .  .  0  0  0  0  0  0  0  0 0 None
0x0af 24 tc  0  32  0 r  . .   8  8  8  8 .  .  0  0  0  0  0  0  0  0 0 None
0x0b0 24 tc  0  32  0 r  . .   8  8  8  8 .  .  0 24  8  0  0  0  0  0 0 None
0x0b1 24 tc  0  32  0 r  y .   8  8  8  8 .  .  0 24  8 16 16 16 16  0 0 Slow
0x0b2 24 tc  0  32  0 r  y .   8  8  8  8 .  .  0  0  0  0  0  0  0  4 1 None
0x0b3 24 tc  0  32  0 r  y .   8  8  8  8 .  .  0  0  0  0  0  0  0  8 1 None
0x0b4 24 tc  0  32  0 r  y .   8  8  8  8 .  .  0 24  8  0  0  0  0  4 1 None
0x0b5 24 tc  0  32  0 r  y .   8  8  8  8 .  .  0 24  8  0  0  0  0  8 1 None
0x0b6 24 dc  0  32  0 r  y .   8  8  8  8 .  .  0  0  0  0  0  0  0  0 0 None
0x0b7 24 dc  0  32  0 r  . .   8  8  8  8 .  .  0  0  0  0  0  0  0  0 0 None
0x0b8 24 dc  0  32  0 r  . .   8  8  8  8 .  .  0 24  8  0  0  0  0  0 0 None
0x0b9 24 dc  0  32  0 r  y .   8  8  8  8 .  .  0 24  8  0  0  0  0  0 0 None
0x0ba 24 dc  0  32  0 r  y .   8  8  8  8 .  .  0 24  8 16 16 16 16  0 0 Slow
0x0bb 24 dc  0  32  0 r  y .   8  8  8  8 .  .  0  0  0  0  0  0  0  4 1 None
0x0bc 24 dc  0  32  0 r  y .   8  8  8  8 .  .  0  0  0  0  0  0  0  8 1 None
0x0bd 24 dc  0  32  0 r  y .   8  8  8  8 .  .  0 24  8  0  0  0  0  4 1 None
0x0be 24 dc  0  32  0 r  y .   8  8  8  8 .  .  0 24  8  0  0  0  0  8 1 None
0x081 32 tc  0  32  0 r  y .   8  8  8  8 .  .  0 24  8  0  0  0  0  0 0 None

44 GLXFBConfigs:
    visual  x   bf lv rg d st  colorbuffer  sr ax dp st accumbuffer  ms  cav
  id dep cl sp  sz l  ci b ro  r  g  b  a F gb bf th cl  r  g  b  a ns b eat
----------------------------------------------------------------------------
0x082  0 tc  0  16  0 r  y .   5  6  5  0 .  .  0  0  0  0  0  0  0  0 0 None
0x083  0 tc  0  16  0 r  . .   5  6  5  0 .  .  0  0  0  0  0  0  0  0 0 None
0x084  0 tc  0  16  0 r  y .   5  6  5  0 .  .  0 16  0  0  0  0  0  0 0 None
0x085  0 tc  0  16  0 r  . .   5  6  5  0 .  .  0 16  0  0  0  0  0  0 0 None
0x086  0 tc  0  16  0 r  y .   5  6  5  0 .  .  0 24  8  0  0  0  0  0 0 None
0x087  0 tc  0  16  0 r  . .   5  6  5  0 .  .  0 24  8  0  0  0  0  0 0 None
0x088 24 tc  0  32  0 r  y .   8  8  8  8 .  .  0  0  0  0  0  0  0  0 0 None
0x089 24 tc  0  32  0 r  . .   8  8  8  8 .  .  0  0  0  0  0  0  0  0 0 None
0x08a 24 tc  0  32  0 r  y .   8  8  8  8 .  .  0 24  8  0  0  0  0  0 0 None
0x08b 24 tc  0  32  0 r  . .   8  8  8  8 .  .  0 24  8  0  0  0  0  0 0 None
0x08c  0 tc  0  16  0 r  y .   5  6  5  0 .  .  0 16  0  0  0  0  0  0 0 None
0x08d  0 tc  0  16  0 r  y .   5  6  5  0 .  .  0 16  0 16 16 16  0  0 0 Slow
0x08e 32 tc  0  32  0 r  y .   8  8  8  8 .  .  0 24  8  0  0  0  0  0 0 None
0x08f 24 tc  0  32  0 r  y .   8  8  8  8 .  .  0 24  8 16 16 16 16  0 0 Slow
0x090  0 tc  0  16  0 r  y .   5  6  5  0 .  .  0  0  0  0  0  0  0  4 1 None
0x091  0 tc  0  16  0 r  y .   5  6  5  0 .  .  0  0  0  0  0  0  0  8 1 None
0x092  0 tc  0  16  0 r  y .   5  6  5  0 .  .  0 16  0  0  0  0  0  4 1 None
0x093  0 tc  0  16  0 r  y .   5  6  5  0 .  .  0 16  0  0  0  0  0  8 1 None
0x094 24 tc  0  32  0 r  y .   8  8  8  8 .  .  0  0  0  0  0  0  0  4 1 None
0x095 24 tc  0  32  0 r  y .   8  8  8  8 .  .  0  0  0  0  0  0  0  8 1 None
0x096 24 tc  0  32  0 r  y .   8  8  8  8 .  .  0 24  8  0  0  0  0  4 1 None
0x097 24 tc  0  32  0 r  y .   8  8  8  8 .  .  0 24  8  0  0  0  0  8 1 None
0x098  0 dc  0  16  0 r  y .   5  6  5  0 .  .  0  0  0  0  0  0  0  0 0 None
0x099  0 dc  0  16  0 r  . .   5  6  5  0 .  .  0  0  0  0  0  0  0  0 0 None
0x09a  0 dc  0  16  0 r  y .   5  6  5  0 .  .  0 16  0  0  0  0  0  0 0 None
0x09b  0 dc  0  16  0 r  . .   5  6  5  0 .  .  0 16  0  0  0  0  0  0 0 None
0x09c  0 dc  0  16  0 r  y .   5  6  5  0 .  .  0 24  8  0  0  0  0  0 0 None
0x09d  0 dc  0  16  0 r  . .   5  6  5  0 .  .  0 24  8  0  0  0  0  0 0 None
0x09e 24 dc  0  32  0 r  y .   8  8  8  8 .  .  0  0  0  0  0  0  0  0 0 None
0x09f 24 dc  0  32  0 r  . .   8  8  8  8 .  .  0  0  0  0  0  0  0  0 0 None
0x0a0 24 dc  0  32  0 r  y .   8  8  8  8 .  .  0 24  8  0  0  0  0  0 0 None
0x0a1 24 dc  0  32  0 r  . .   8  8  8  8 .  .  0 24  8  0  0  0  0  0 0 None
0x0a2  0 dc  0  16  0 r  y .   5  6  5  0 .  .  0 16  0  0  0  0  0  0 0 None
0x0a3  0 dc  0  16  0 r  y .   5  6  5  0 .  .  0 16  0 16 16 16  0  0 0 Slow
0x0a4 24 dc  0  32  0 r  y .   8  8  8  8 .  .  0 24  8  0  0  0  0  0 0 None
0x0a5 24 dc  0  32  0 r  y .   8  8  8  8 .  .  0 24  8 16 16 16 16  0 0 Slow
0x0a6  0 dc  0  16  0 r  y .   5  6  5  0 .  .  0  0  0  0  0  0  0  4 1 None
0x0a7  0 dc  0  16  0 r  y .   5  6  5  0 .  .  0  0  0  0  0  0  0  8 1 None
0x0a8  0 dc  0  16  0 r  y .   5  6  5  0 .  .  0 16  0  0  0  0  0  4 1 None
0x0a9  0 dc  0  16  0 r  y .   5  6  5  0 .  .  0 16  0  0  0  0  0  8 1 None
0x0aa 24 dc  0  32  0 r  y .   8  8  8  8 .  .  0  0  0  0  0  0  0  4 1 None
0x0ab 24 dc  0  32  0 r  y .   8  8  8  8 .  .  0  0  0  0  0  0  0  8 1 None
0x0ac 24 dc  0  32  0 r  y .   8  8  8  8 .  .  0 24  8  0  0  0  0  4 1 None
0x0ad 24 dc  0  32  0 r  y .   8  8  8  8 .  .  0 24  8  0  0  0  0  8 1 None
Comment 3 Elias Probst 2014-06-09 12:20:05 UTC
Seems this is not strictly a kwin-only issue, but I just had plasmashell crashing as well. Unfortunately it wasn't caught by DrKonqi, so all I have is this line in its journal:

plasmashell: intel_mipmap_tree.c:1541: intel_miptree_make_shareable: Assertion `mt->msaa_layout == INTEL_MSAA_LAYOUT_NONE' failed.

I'm going to upgrade Mesa now to see if this helps, but even if it does, we'd have to make somehow sure other users don't run into the same crashes later again.
Let's see whether the Mesa upgrade helps.
Comment 4 Elias Probst 2014-06-09 12:26:34 UTC
(In reply to comment #2)
> "intel-dri" → what component/package do you mean? Kernel is 3.15-rc8,
> xf86-video-intel is 2.99.911-r1. I don't know of any other Intel specific
> DRI components.

Got it. You probably meant libdrm, which is currently at 2.4.52. Updating now to 2.4.54 as required by the update of Mesa from 10.0.4 to 10.2.0_rc5.
Comment 5 Thomas Lübking 2014-06-09 12:28:52 UTC
intel-dri are the MESA drivers for intel chips (sorry, forgot you're on gentoo - binary distros usually ship them apart), and yes - it's likely a MESA bug ;-)

exposed or triggered by pot. xf86-video-intel or the kernel but it could as well be in Qt/QML

I'll check the glxinfo drawables nevertheless
(fyi, please always _attach_ glxinfo so it's openend in some monospace font ;-)
Comment 6 Elias Probst 2014-06-09 12:59:32 UTC
Created attachment 87088 [details]
glxinfo output

I'm now on Mesa 10.2.0_rc5 and libdrm 2.4.54.
The crash is still there.
Let me know if you need me to provide individual values from a GDB session of the crash.

glxinfo is attached

Current backtrace in case something has changed:
Application: KWin (kwin), signal: Aborted
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7ffd59a0b800 (LWP 28788))]

Thread 4 (Thread 0x7ffd410f0700 (LWP 28790)):
#0  pthread_cond_timedwait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:238
#1  0x00007ffd51759e18 in wait_relative (time=30000, this=0x1fb6270) at thread/qwaitcondition_unix.cpp:126
#2  wait (time=30000, this=0x1fb6270) at thread/qwaitcondition_unix.cpp:134
#3  QWaitCondition::wait (this=this@entry=0x1f47a40, mutex=mutex@entry=0x1f48d60, time=30000) at thread/qwaitcondition_unix.cpp:208
#4  0x00007ffd51756056 in QThreadPoolThread::run (this=0x1f47a30) at thread/qthreadpool.cpp:135
#5  0x00007ffd51758e8f in QThreadPrivate::start (arg=0x1f47a30) at thread/qthread_unix.cpp:345
#6  0x00007ffd50a5af3a in start_thread (arg=0x7ffd410f0700) at pthread_create.c:308
#7  0x00007ffd591d1c3d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 3 (Thread 0x7ffd388e3700 (LWP 28799)):
#0  0x00007ffd591ca613 in select () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007ffd51988ea9 in qt_safe_select (nfds=nfds@entry=13, fdread=fdread@entry=0x7ffd30000a78, fdwrite=fdwrite@entry=0x7ffd30000d08, fdexcept=fdexcept@entry=0x7ffd30000f98, orig_timeout=orig_timeout@entry=0x0) at kernel/qcore_unix.cpp:83
#2  0x00007ffd51989223 in QEventDispatcherUNIX::select (this=this@entry=0x7ffd300008c0, nfds=nfds@entry=13, readfds=readfds@entry=0x7ffd30000a78, writefds=writefds@entry=0x7ffd30000d08, exceptfds=exceptfds@entry=0x7ffd30000f98, timeout=timeout@entry=0x0) at kernel/qeventdispatcher_unix.cpp:328
#3  0x00007ffd5198a81f in QEventDispatcherUNIXPrivate::doSelect (this=this@entry=0x7ffd300008e0, flags=..., flags@entry=..., timeout=0x0) at kernel/qeventdispatcher_unix.cpp:204
#4  0x00007ffd5198ac7b in QEventDispatcherUNIX::processEvents (this=0x7ffd300008c0, flags=...) at kernel/qeventdispatcher_unix.cpp:615
#5  0x00007ffd51933efb in QEventLoop::exec (this=this@entry=0x7ffd388e2dd0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#6  0x00007ffd5175421a in QThread::exec (this=<optimized out>) at thread/qthread.cpp:511
#7  0x00007ffd51758e8f in QThreadPrivate::start (arg=0x23ae9d0) at thread/qthread_unix.cpp:345
#8  0x00007ffd50a5af3a in start_thread (arg=0x7ffd388e3700) at pthread_create.c:308
#9  0x00007ffd591d1c3d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 2 (Thread 0x7ffd2bb29700 (LWP 28800)):
#0  pthread_cond_timedwait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:238
#1  0x00007ffd51759e18 in wait_relative (time=30000, this=0x2c57a00) at thread/qwaitcondition_unix.cpp:126
#2  wait (time=30000, this=0x2c57a00) at thread/qwaitcondition_unix.cpp:134
#3  QWaitCondition::wait (this=this@entry=0x2c56ef0, mutex=mutex@entry=0x1f48d60, time=30000) at thread/qwaitcondition_unix.cpp:208
#4  0x00007ffd51756056 in QThreadPoolThread::run (this=0x2c56ee0) at thread/qthreadpool.cpp:135
#5  0x00007ffd51758e8f in QThreadPrivate::start (arg=0x2c56ee0) at thread/qthread_unix.cpp:345
#6  0x00007ffd50a5af3a in start_thread (arg=0x7ffd2bb29700) at pthread_create.c:308
#7  0x00007ffd591d1c3d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 1 (Thread 0x7ffd59a0b800 (LWP 28788)):
[KCrash Handler]
#6  0x00007ffd5911c535 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
#7  0x00007ffd5911d9b8 in __GI_abort () at abort.c:90
#8  0x00007ffd591155f2 in __assert_fail_base (fmt=0x7ffd592509a0 "%s%s%s:%u: %s%sAssertion `%s' failed.\n%n", assertion=assertion@entry=0x7ffd3bd15010 "mt->msaa_layout == INTEL_MSAA_LAYOUT_NONE", file=file@entry=0x7ffd3bd14aab "intel_mipmap_tree.c", line=line@entry=1587, function=function@entry=0x7ffd3bd15640 <__PRETTY_FUNCTION__.27126> "intel_miptree_make_shareable") at assert.c:92
#9  0x00007ffd591156a2 in __GI___assert_fail (assertion=0x7ffd3bd15010 "mt->msaa_layout == INTEL_MSAA_LAYOUT_NONE", file=0x7ffd3bd14aab "intel_mipmap_tree.c", line=1587, function=0x7ffd3bd15640 <__PRETTY_FUNCTION__.27126> "intel_miptree_make_shareable") at assert.c:101
#10 0x00007ffd3bb8915f in intel_miptree_make_shareable (brw=0x7ffd389be040, mt=0x24330b0) at intel_mipmap_tree.c:1587
#11 0x00007ffd3bb92d6a in intelSetTexBuffer2 (pDRICtx=0x20289b0, target=3553, texture_format=8409, dPriv=0x1ff2320) at intel_tex_image.c:312
#12 0x00007ffd53525c92 in dri2_bind_tex_image (dpy=0x1ed63f0, drawable=33554550, buffer=8414, attrib_list=0x0) at dri2_glx.c:1019
#13 0x00007ffd534e8e56 in __glXBindTexImageEXT (dpy=0x1ed63f0, drawable=33554550, buffer=8414, attrib_list=0x0) at glxcmds.c:2413
#14 0x00007ffd59586241 in KWin::GlxTexture::loadTexture (this=0x2068290, pix=<optimized out>, size=..., depth=<optimized out>) at /var/tmp/portage/kde-base/kwin-9999/work/kwin-9999/glxbackend.cpp:727
#15 0x00007ffd5957ae85 in KWin::OpenGLWindowPixmap::bind (this=0x1fe8710) at /var/tmp/portage/kde-base/kwin-9999/work/kwin-9999/scene_opengl.cpp:1485
#16 0x00007ffd5957b10b in KWin::SceneOpenGL::Window::bindTexture (this=this@entry=0x2c54f50) at /var/tmp/portage/kde-base/kwin-9999/work/kwin-9999/scene_opengl.cpp:869
#17 0x00007ffd5957b7b7 in KWin::SceneOpenGL::Window::beginRenderWindow (this=this@entry=0x2c54f50, mask=mask@entry=9, region=..., data=...) at /var/tmp/portage/kde-base/kwin-9999/work/kwin-9999/scene_opengl.cpp:930
#18 0x00007ffd5957bac6 in KWin::SceneOpenGL2Window::performPaint (this=this@entry=0x2c54f50, mask=mask@entry=9, region=..., data=...) at /var/tmp/portage/kde-base/kwin-9999/work/kwin-9999/scene_opengl.cpp:1257
#19 0x00007ffd59580062 in KWin::SceneOpenGL2::performPaintWindow (this=this@entry=0x200a070, w=w@entry=0x2c7bfa0, mask=mask@entry=9, region=..., data=...) at /var/tmp/portage/kde-base/kwin-9999/work/kwin-9999/scene_opengl.cpp:711
#20 0x00007ffd59580230 in KWin::SceneOpenGL2::finalDrawWindow (this=0x200a070, w=w@entry=0x2c7bfa0, mask=mask@entry=9, region=..., data=...) at /var/tmp/portage/kde-base/kwin-9999/work/kwin-9999/scene_opengl.cpp:697
#21 0x00007ffd5958e229 in KWin::EffectsHandlerImpl::drawWindow (this=0x2c54cc0, w=w@entry=0x2c7bfa0, mask=mask@entry=9, region=..., data=...) at /var/tmp/portage/kde-base/kwin-9999/work/kwin-9999/effects.cpp:475
#22 0x00007ffd59568a71 in KWin::Scene::finalPaintWindow (this=<optimized out>, w=w@entry=0x2c7bfa0, mask=mask@entry=9, region=..., data=...) at /var/tmp/portage/kde-base/kwin-9999/work/kwin-9999/scene.cpp:601
#23 0x00007ffd5958e13a in KWin::EffectsHandlerImpl::paintWindow (this=0x2c54cc0, w=0x2c7bfa0, mask=mask@entry=9, region=..., data=...) at /var/tmp/portage/kde-base/kwin-9999/work/kwin-9999/effects.cpp:438
#24 0x00007ffd5956c3b0 in KWin::Scene::paintWindow (this=this@entry=0x200a070, w=0x2c54f50, mask=9, region=..., quads=...) at /var/tmp/portage/kde-base/kwin-9999/work/kwin-9999/scene.cpp:474
#25 0x00007ffd5956a494 in KWin::Scene::paintSimpleScreen (this=this@entry=0x200a070, orig_mask=orig_mask@entry=8, region=...) at /var/tmp/portage/kde-base/kwin-9999/work/kwin-9999/scene.cpp:378
#26 0x00007ffd595681a5 in KWin::Scene::finalPaintScreen (this=0x200a070, mask=mask@entry=8, region=..., data=...) at /var/tmp/portage/kde-base/kwin-9999/work/kwin-9999/scene.cpp:198
#27 0x00007ffd5958e060 in KWin::EffectsHandlerImpl::paintScreen (this=0x2c54cc0, mask=8, region=..., data=...) at /var/tmp/portage/kde-base/kwin-9999/work/kwin-9999/effects.cpp:395
#28 0x00007ffd59567d00 in KWin::Scene::paintScreen (this=this@entry=0x200a070, mask=mask@entry=0x7fffb1a77b9c, damage=..., repaint=..., updateRegion=updateRegion@entry=0x7fffb1a77bb0, validRegion=validRegion@entry=0x7fffb1a77bc0) at /var/tmp/portage/kde-base/kwin-9999/work/kwin-9999/scene.cpp:148
#29 0x00007ffd5957cf51 in KWin::SceneOpenGL::paint (this=0x200a070, damage=..., toplevels=...) at /var/tmp/portage/kde-base/kwin-9999/work/kwin-9999/scene_opengl.cpp:357
#30 0x00007ffd595603dc in KWin::Compositor::performCompositing (this=this@entry=0x1fcbb00) at /var/tmp/portage/kde-base/kwin-9999/work/kwin-9999/composite.cpp:657
#31 0x00007ffd59562204 in KWin::Compositor::slotCompositingOptionsInitialized (this=this@entry=0x1fcbb00) at /var/tmp/portage/kde-base/kwin-9999/work/kwin-9999/composite.cpp:300
#32 0x00007ffd5956327a in KWin::Compositor::setup (this=0x1fcbb00) at /var/tmp/portage/kde-base/kwin-9999/work/kwin-9999/composite.cpp:166
#33 0x00007ffd59563555 in KWin::Compositor::setup (this=<optimized out>) at /var/tmp/portage/kde-base/kwin-9999/work/kwin-9999/composite.cpp:143
#34 0x00007ffd595fd35d in KWin::Compositor::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at /var/tmp/portage/kde-base/kwin-9999/work/kwin-9999_build/moc_composite.cpp:282
#35 0x00007ffd51965a76 in QObject::event (this=0x1fcbb00, e=<optimized out>) at kernel/qobject.cpp:1241
#36 0x00007ffd525d07ac in QApplicationPrivate::notify_helper (this=this@entry=0x1ecf2e0, receiver=receiver@entry=0x1fcbb00, e=e@entry=0x1fccfd0) at kernel/qapplication.cpp:3500
#37 0x00007ffd525d5526 in QApplication::notify (this=0x7fffb1a78520, receiver=0x1fcbb00, e=0x1fccfd0) at kernel/qapplication.cpp:3283
#38 0x00007ffd51935fe5 in QCoreApplication::notifyInternal (this=0x7fffb1a78520, receiver=0x1fcbb00, event=event@entry=0x1fccfd0) at kernel/qcoreapplication.cpp:935
#39 0x00007ffd51937e37 in sendEvent (event=0x1fccfd0, receiver=<optimized out>) at kernel/qcoreapplication.h:237
#40 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x1eba540) at kernel/qcoreapplication.cpp:1539
#41 0x00007ffd5198ac04 in QEventDispatcherUNIX::processEvents (this=0x1efe520, flags=flags@entry=...) at kernel/qeventdispatcher_unix.cpp:587
#42 0x00007ffd449ec2ed in QUnixEventDispatcherQPA::processEvents (this=<optimized out>, flags=...) at eventdispatchers/qunixeventdispatcher.cpp:70
#43 0x00007ffd51933efb in QEventLoop::exec (this=this@entry=0x7fffb1a783b0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#44 0x00007ffd5193b526 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1188
#45 0x00007ffd51e605ac in QGuiApplication::exec () at kernel/qguiapplication.cpp:1436
#46 0x00007ffd525ceec5 in QApplication::exec () at kernel/qapplication.cpp:2745
#47 0x00007ffd5950ec8a in kdemain (argc=2, argv=0x7fffb1a78698) at /var/tmp/portage/kde-base/kwin-9999/work/kwin-9999/main.cpp:559
#48 0x00007ffd59108bf5 in __libc_start_main (main=0x400920 <main(int, char**)>, argc=2, ubp_av=0x7fffb1a78698, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffb1a78688) at libc-start.c:258
#49 0x0000000000400951 in _start ()
Comment 7 Thomas Lübking 2014-06-09 13:24:04 UTC
there're matching visuals & fb configs for 24 and 32 bit w/o MSAA in either glxinfo

When you start "kwin --replace" from konsole, there should be some output like

   Drawable visual (depth: foo): 0xbar

what does it say?
Comment 8 Elias Probst 2014-06-09 13:37:03 UTC
Drawable visual (depth  24 ): 0x "b2"
Drawable visual (depth  32 ): 0x "81"

The full journal of a kwin startup + attempt to enable compositing once it started:
systemd[2853]: Starting KDE Window Manager...
kwin[3061]: QXcbConnection: XCB error: 3 (BadWindow), sequence: 169, resource id: 58720264, major code: 20 (GetProperty), minor code: 0
kwin[3061]: QXcbConnection: XCB error: 3 (BadWindow), sequence: 183, resource id: 58720264, major code: 20 (GetProperty), minor code: 0
kwin[3061]: Extensions: shape: 0x "11"  composite: 0x "4"  render: 0x "b"  fixes: 0x "50"  randr: 0x "14"  sync: 0x "31"  damage: 0x  "11"
kwin[3061]: Trying to load decoration plugin "Oxygen"
systemd[2853]: Started KDE Window Manager.
kwin[3061]: screens:  2 desktops:  4
kwin[3061]: Done.
kwin[3061]: User timestamp, ASN: 4294967295
kwin[3061]: User timestamp, final: 'ID: 37748742 ;WMCLASS: "drkonqi" : "drkonqi" ;Caption: "KWin" ' : 4294967295
kwin[3061]: Activation: No client active, allowing
kwin[3061]: screens:  2 desktops:  4
kwin[3061]: Done.
kwin[3061]: User timestamp, ASN: 4294967295
kwin[3061]: User timestamp, final: 'ID: 23068674 ;WMCLASS: "terminology" : "main" ;Caption: "Thanks for flying Vim" ' : 4294967295
kwin[3061]: Activation: No client active, allowing
kwin[3061]: screens:  2 desktops:  4
kwin[3061]: Done.
kwin[3061]: User timestamp, ASN: 57509909
kwin[3061]: User timestamp, final: 'ID: 48234680 ;WMCLASS: "thunderbird" : "mail" ;Caption: "KDE - Mozilla Thunderbird" ' : 57509909
kwin[3061]: Activation: No client active, allowing
kwin[3061]: screens:  2 desktops:  4
kwin[3061]: Done.
kwin[3061]: User timestamp, ASN: 57559483
kwin[3061]: User timestamp, final: 'ID: 25169824 ;WMCLASS: "firefox" : "navigator" ;Caption: "Bug 335983 – Crash on startup with compositing enabled (__GI___assert_fail (assertion=0x7ff50549a508 "mt->msaa_layout == INTEL_MSAA_LAYOUT_NONE") - Mozilla Firefox" ' : 57559483
kwin[3061]: Activation: No client active, allowing
kwin[3061]: screens:  2 desktops:  4
kwin[3061]: Done.
kwin[3061]: Icon theme "Oxygen" not found.
kwin[3061]: Icon theme "oxygen" not found.
kwin[3061]: User timestamp, ASN: 57586314
kwin[3061]: User timestamp, final: 'ID: 41943046 ;WMCLASS: "kate" : "kate" ;Caption: "Untitled  — Kate" ' : 57586314
kwin[3061]: Activation: No client active, allowing
kwin[3061]: screens:  2 desktops:  4
kwin[3061]: Done.
kwin[3061]: screens:  2 desktops:  4
kwin[3061]: Done.
kwin[3061]: screens:  2 desktops:  4
kwin[3061]: Done.
kwin[3061]: Compositing is suspended, reason: ("Disabled by User")
kwin[3061]: Trying to open ksycoca from "/home/elias/.cache/ksycoca5"
kwin[3061]: QXcbConnection: XCB error: 3 (BadWindow), sequence: 3151, resource id: 0, major code: 15 (QueryTree), minor code: 0
kwin[3061]: Initializing OpenGL compositing
kwin[3061]: Drawable visual (depth  24 ): 0x "b2"
kwin[3061]: Drawable visual (depth  32 ): 0x "81"
kwin[3061]: Buffer visual (depth  24 ): 0x "b2"
kwin[3061]: OpenGL vendor string:                   Intel Open Source Technology Center
kwin[3061]: OpenGL renderer string:                 Mesa DRI Intel(R) Ivybridge Mobile
kwin[3061]: OpenGL version string:                  3.0 Mesa 10.2.0-rc5
kwin[3061]: OpenGL shading language version string: 1.30
kwin[3061]: Driver:                                 Intel
kwin[3061]: GPU class:                              IvyBridge
kwin[3061]: OpenGL version:                         3.0
kwin[3061]: GLSL version:                           1.30
kwin[3061]: Mesa version:                           10.2
kwin[3061]: X server version:                       1.15
kwin[3061]: Linux kernel version:                   3.15
kwin[3061]: Requires strict binding:                no
kwin[3061]: GLSL shaders:                           yes
kwin[3061]: Texture NPOT support:                   yes
kwin[3061]: Virtual Machine:                        no
kwin[3061]: Direct rendering: true
kwin[3061]: Color correction: true
kwin[3061]: color correction will be enabled after contacting KolorManager
kwin[3061]: OpenGL 2 compositing successfully initialized
kwin[3061]: Vertical Refresh rate  60 Hz
kwin[3061]: Trying to open ksycoca from "/home/elias/.cache/ksycoca5"
kwin[3061]: kwin: intel_mipmap_tree.c:1587: intel_miptree_make_shareable: Assertion `mt->msaa_layout == INTEL_MSAA_LAYOUT_NONE' failed.
kwin[3061]: Application::crashHandler() called with signal 6; recent crashes: 1
kwin[3061]: KCrash: Application 'kwin' crashing...
kwin[3061]: KCrash: Attempting to start /usr/lib64/libexec/drkonqi from kdeinit
systemd[2853]: kwin.service: main process exited, code=exited, status=253/n/a
systemd[2853]: Unit kwin.service entered failed state.
Comment 9 Thomas Lübking 2014-06-09 13:44:42 UTC
picks 0xb2 while it should be 0x21

What's very fishy though:
color correction is set to "false", why is it then enabled at startup?
- Did you change the setting?
- What does the GUI say?
Comment 10 Thomas Lübking 2014-06-09 13:45:15 UTC
Should be 0xae - sorry, missed the line.
Comment 11 Elias Probst 2014-06-09 14:24:59 UTC
Ok, didn't think of the color correction to have any effect on this.
I enabled it just for fun but didn't think about it any further.
Now that I disabled it, compositing works just fine.

I hope this helps narrowing down the crash.
Comment 12 Elias Probst 2014-06-18 07:50:27 UTC
Seeing this now also without colorcorrection enabled - back on Mesa 10.0.4. Can't tell right now how the situation looks like with a later Mesa due to a rendering corruption bug in later releases - still need to figure this one out.
Comment 13 Thomas Lübking 2014-06-18 18:59:14 UTC
The *exact* same backtrace? (minus memory positions, of course ;-)
OpenGL 3.1?
Comment 14 Elias Probst 2014-06-19 10:25:00 UTC
(In reply to comment #13)
> The *exact* same backtrace? (minus memory positions, of course ;-)
> OpenGL 3.1?

From the numerous backtrace I saved during the last days, 4 are MSAA related.
They all end up in:

#8  0x00007fb77d6545f2 in __assert_fail_base (fmt=0x7fb77d78f9a0 "%s%s%s:%u: %s%sAssertion `%s' failed.\n%n", assertion=assertion@entry=0x7fb7649253e8 "mt->msaa_layout == INTEL_MSAA_LAYOUT_NONE", file=file@entry=0x7fb764924e87 "intel_mipmap_tree.c", line=line@entry=1541, function=function@entry=0x7fb764925b20 <__PRETTY_FUNCTION__.26372> "intel_miptree_make_shareable") at assert.c:92
#9  0x00007fb77d6546a2 in __GI___assert_fail (assertion=0x7fb7649253e8 "mt->msaa_layout == INTEL_MSAA_LAYOUT_NONE", file=0x7fb764924e87 "intel_mipmap_tree.c", line=1541, function=0x7fb764925b20 <__PRETTY_FUNCTION__.26372> "intel_miptree_make_shareable") at assert.c:101

I'm not sure whether the difference in the path leading to this is significant.

The latest MSAA related ones:
kwin-20140609-011755.kcrash: http://pastebin.kde.org/pcvf7bb68
kwin-20140609-143714.kcrash: http://pastebin.kde.org/p8dywxnyx
kwin-20140616-152642.kcrash: http://pastebin.kde.org/pfnuaw9rr
kwin-20140616-153206.kcrash: http://pastebin.kde.org/pwiq7bnxo
Comment 15 Elias Probst 2014-06-19 10:34:31 UTC
(In reply to comment #13)
> OpenGL 3.1?

Forgot to answer this: No, OpenGL 2.0.
IIRC 3.1 didn't properly work on this hardware (Mesa DRI Intel(R) Ivybridge Mobile).

As #334854 is now fixed, I'll upgrade to latest Mesa now again to see how the situation looks there now - whether I still can reproduce this MSAA crashes there.
Comment 16 Thomas Lübking 2014-06-19 12:13:20 UTC
Interestingly http://pastebin.kde.org/pfnuaw9rr/50teqw/raw does not result from "just starting the compositor" but occurs "at runtime" - can you reproduce this with blur & contrast effects disabled?
Comment 17 Thomas Lübking 2014-08-02 06:35:07 UTC
How's the status on this, still crashing?
Tried disabling blur & contrast effects?
Comment 18 Martin Flöser 2015-01-09 08:05:52 UTC
any news?
Comment 19 Elias Probst 2015-01-09 09:21:50 UTC
Created attachment 90298 [details]
attachment-32026-0.html

Haven't seen this crash since months too. Can be closed as well. 

On January 9, 2015 9:05:52 AM CET, =?UTF-8?Q?Martin=20Gr=C3=A4=C3=9Flin=20? <mgraesslin@kde.org> wrote:
>
>https://bugs.kde.org/show_bug.cgi?id=335983
>
>--- Comment #18 from Martin Gräßlin <mgraesslin@kde.org> ---
>any news?
>
>-- 
>You are receiving this mail because:
>You reported the bug.
Comment 20 Martin Flöser 2015-01-09 09:24:16 UTC
as of comment #19