Application: kwin (4.8.3 (4.8.3) "release 1") KDE Platform Version: 4.8.3 (4.8.3) "release 1" Qt Version: 4.8.2 Operating System: Linux 3.1.10-1.9-desktop i686 Distribution: "openSUSE 12.1 (i586)" -- Information about the crash: - What I was doing when the application crashed: I was away from my desk so I can't really say. When I came back a few minutes later, kwin was gone (Note: I have NO screensaver activated) I now updated to the latest openSuse kwin package (4.8.80_20120529-1.2) and also installed debug symbols and started kwin --replace. When then activating desktop effects (which btw worked so far pretty well), kwin crashed. Output of kwin when starting in konsole: OpenGL vendor string: Tungsten Graphics, Inc OpenGL renderer string: Mesa DRI Mobile Intel® GM45 Express Chipset x86/MMX/SSE2 OpenGL version string: 2.1 Mesa 8.0.3 OpenGL shading language version string: 1.20 Driver: Intel GPU class: i965 OpenGL version: 2.1 GLSL version: 1.20 Mesa version: 8.0.3 X server version: 1.12.2 Linux kernel version: 3.1.10 Direct rendering: yes Requires strict binding: yes GLSL shaders: yes Texture NPOT support: limited kwin(28537): Shaders are not supported Application::crashHandler() called with signal 11; recent crashes: 1 KCrash: Application 'kwin' crashing... Compositing type is set to OpenGL, Qt graphics system=Raster The crash can be reproduced every time. -- Backtrace: Application: KWin (kwin), signal: Segmentation fault [Current thread is 1 (Thread 0xb1cea720 (LWP 28537))] Thread 2 (Thread 0xb0da7b70 (LWP 28538)): #0 0xb5df8b15 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0 #1 0xb753a624 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libc.so.6 #2 0xb5e7878f in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4 #3 0xb5e6ac04 in ?? () from /usr/lib/libQtCore.so.4 #4 0xb5e78290 in ?? () from /usr/lib/libQtCore.so.4 #5 0xb5df4a7d in start_thread () from /lib/libpthread.so.0 #6 0xb752cabe in clone () from /lib/libc.so.6 Thread 1 (Thread 0xb1cea720 (LWP 28537)): [KCrash Handler] #6 brw_update_renderbuffer_surface (brw=0x86f6490, rb=0x85e8bc0, unit=0) at brw_wm_surface_state.c:959 #7 0xac189343 in brw_update_renderbuffer_surfaces (brw=0x86f6490) at brw_wm_surface_state.c:1052 #8 0xac17347f in brw_upload_state (brw=0x86f6490) at brw_state_upload.c:503 #9 0xac15e807 in brw_try_draw_prims (max_index=5, min_index=0, ib=0x0, nr_prims=1, prim=0xbfd951c8, arrays=0x874b028, ctx=0x86f6490) at brw_draw.c:482 #10 brw_draw_prims (ctx=0x86f6490, arrays=0x874b028, prim=0xbfd951c8, nr_prims=1, ib=0x0, index_bounds_valid=1 '\001', min_index=0, max_index=5, tfb_vertcount=0x0) at brw_draw.c:566 #11 0xabfc17fe in vbo_draw_arrays (ctx=0x86f6490, mode=4, start=0, count=6, numInstances=1) at vbo/vbo_exec_array.c:600 #12 0xb64b72de in KWin::GLVertexBufferPrivate::fallbackPainting (this=0x85e1460, region=..., primitiveMode=4, hardwareClipping=false) at /usr/src/debug/kde-workspace-4.8.80_20120529/kwin/libkwineffects/kwinglutils.cpp:1253 #13 0xb64b76e8 in KWin::GLVertexBuffer::render (this=0x8238510, region=..., primitiveMode=4, hardwareClipping=false) at /usr/src/debug/kde-workspace-4.8.80_20120529/kwin/libkwineffects/kwinglutils.cpp:1341 #14 0xb768c748 in renderQuads (hardwareClipping=false, normalized=false, tex=0x85faa20, quads=..., region=..., this=<optimized out>) at /usr/src/debug/kde-workspace-4.8.80_20120529/kwin/scene_opengl.cpp:795 #15 KWin::SceneOpenGL::Window::renderQuads (this=0x85faa00, region=..., quads=..., tex=0x85faa20, normalized=false, hardwareClipping=false) at /usr/src/debug/kde-workspace-4.8.80_20120529/kwin/scene_opengl.cpp:774 #16 0xb76938f4 in KWin::SceneOpenGL::Window::performPaint (this=0x85faa00, mask=1, region=..., data=...) at /usr/src/debug/kde-workspace-4.8.80_20120529/kwin/scene_opengl.cpp:593 #17 0xb767a457 in KWin::Scene::finalDrawWindow (this=0x822be08, w=0x8610280, mask=1, region=..., data=...) at /usr/src/debug/kde-workspace-4.8.80_20120529/kwin/scene.cpp:441 #18 0xb769fc60 in KWin::EffectsHandlerImpl::drawWindow (this=0x85c5d30, w=0x8610280, mask=1, region=..., data=...) at /usr/src/debug/kde-workspace-4.8.80_20120529/kwin/effects.cpp:305 #19 0xb7679872 in KWin::Scene::finalPaintWindow (this=0x822be08, w=0x8610280, mask=1, region=..., data=...) at /usr/src/debug/kde-workspace-4.8.80_20120529/kwin/scene.cpp:432 #20 0xb769fed0 in KWin::EffectsHandlerImpl::paintWindow (this=0x85c5d30, w=0x8610280, mask=1, region=..., data=...) at /usr/src/debug/kde-workspace-4.8.80_20120529/kwin/effects.cpp:268 #21 0xb767cd43 in KWin::Scene::paintWindow (this=0x822be08, w=0x85faa00, mask=1, region=..., quads=...) at /usr/src/debug/kde-workspace-4.8.80_20120529/kwin/scene.cpp:349 #22 0xb767ac64 in KWin::Scene::paintSimpleScreen (this=0x822be08, orig_mask=0, region=...) at /usr/src/debug/kde-workspace-4.8.80_20120529/kwin/scene.cpp:335 #23 0xb767978a in KWin::Scene::finalPaintScreen (this=0x822be08, mask=0, region=..., data=...) at /usr/src/debug/kde-workspace-4.8.80_20120529/kwin/scene.cpp:193 #24 0xb76a0070 in KWin::EffectsHandlerImpl::paintScreen (this=0x85c5d30, mask=0, region=..., data=...) at /usr/src/debug/kde-workspace-4.8.80_20120529/kwin/effects.cpp:241 #25 0xb767b4c3 in KWin::Scene::paintScreen (this=0x822be08, mask=0xbfd95da8, region=0xbfd95e2c) at /usr/src/debug/kde-workspace-4.8.80_20120529/kwin/scene.cpp:147 #26 0xb7694cf6 in KWin::SceneOpenGL::paint (this=0x822be08, damage=..., toplevels=...) at /usr/src/debug/kde-workspace-4.8.80_20120529/kwin/scene_opengl_glx.cpp:488 #27 0xb76739b3 in performCompositing (this=0x81c0ce0) at /usr/src/debug/kde-workspace-4.8.80_20120529/kwin/composite.cpp:433 #28 KWin::Workspace::performCompositing (this=0x81c0ce0) at /usr/src/debug/kde-workspace-4.8.80_20120529/kwin/composite.cpp:397 #29 0xb76743ed in KWin::Workspace::slotCompositingOptionsInitialized (this=0x81c0ce0) at /usr/src/debug/kde-workspace-4.8.80_20120529/kwin/composite.cpp:199 #30 0xb7674cf0 in setupCompositing (this=0x81c0ce0) at /usr/src/debug/kde-workspace-4.8.80_20120529/kwin/composite.cpp:110 #31 KWin::Workspace::setupCompositing (this=0x81c0ce0) at /usr/src/debug/kde-workspace-4.8.80_20120529/kwin/composite.cpp:83 #32 0xb767565e in KWin::Workspace::suspendCompositing (this=0x81c0ce0, suspend=false) at /usr/src/debug/kde-workspace-4.8.80_20120529/kwin/composite.cpp:338 #33 0xb7675700 in KWin::Workspace::slotToggleCompositing (this=0x81c0ce0) at /usr/src/debug/kde-workspace-4.8.80_20120529/kwin/composite.cpp:274 #34 0xb75fa7e4 in qt_static_metacall (_a=0xbfd961f8, _id=82, _o=0x81c0ce0, _c=<optimized out>) at /usr/src/debug/kde-workspace-4.8.80_20120529/build/kwin/workspace.moc:352 #35 KWin::Workspace::qt_static_metacall (_o=0x81c0ce0, _c=QMetaObject::InvokeMetaMethod, _id=82, _a=0xbfd961f8) at /usr/src/debug/kde-workspace-4.8.80_20120529/build/kwin/workspace.moc:264 #36 0xb5fa369f in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4 #37 0xb54501bd in QAction::triggered(bool) () from /usr/lib/libQtGui.so.4 #38 0xb545045b in QAction::activate(QAction::ActionEvent) () from /usr/lib/libQtGui.so.4 #39 0xb725079f in trigger (this=0x8261fd8) at /usr/include/QtGui/qaction.h:218 #40 KGlobalAccelPrivate::_k_invokeAction (this=0x8237890, componentUnique=..., actionUnique=..., timestamp=372407684) at /usr/src/debug/kdelibs-4.8.80_20120529/kdeui/shortcuts/kglobalaccel.cpp:449 #41 0xb72516c6 in qt_static_metacall (_a=0xbfd963c0, _o=0x823a9e0, _c=<optimized out>, _id=<optimized out>) at /usr/src/debug/kdelibs-4.8.80_20120529/build/kdeui/kglobalaccel.moc:54 #42 KGlobalAccel::qt_static_metacall (_o=0x823a9e0, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0xbfd963c0) at /usr/src/debug/kdelibs-4.8.80_20120529/build/kdeui/kglobalaccel.moc:48 #43 0xb5fa369f in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4 #44 0xb738a8e5 in OrgKdeKglobalaccelComponentInterface::globalShortcutPressed (this=0x82397d8, _t1=..., _t2=..., _t3=372407684) at /usr/src/debug/kdelibs-4.8.80_20120529/build/kdeui/kglobalaccel_component_interface.moc:164 #45 0xb738b026 in qt_static_metacall (_a=0xbfd9660c, _id=0, _o=0x82397d8, _c=<optimized out>) at /usr/src/debug/kdelibs-4.8.80_20120529/build/kdeui/kglobalaccel_component_interface.moc:75 #46 OrgKdeKglobalaccelComponentInterface::qt_static_metacall (_o=0x82397d8, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0xbfd9660c) at /usr/src/debug/kdelibs-4.8.80_20120529/build/kdeui/kglobalaccel_component_interface.moc:69 #47 0xb738b5c4 in OrgKdeKglobalaccelComponentInterface::qt_metacall (this=0x82397d8, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0xbfd9660c) at /usr/src/debug/kdelibs-4.8.80_20120529/build/kdeui/kglobalaccel_component_interface.moc:130 #48 0xb610f610 in ?? () from /usr/lib/libQtDBus.so.4 #49 0xb611990d in ?? () from /usr/lib/libQtDBus.so.4 #50 0xb5fa7d2b in QObject::event(QEvent*) () from /usr/lib/libQtCore.so.4 #51 0xb5457404 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4 #52 0xb545c743 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4 #53 0xb71fe671 in KApplication::notify (this=0xbfd96e04, receiver=0x82397d8, event=0x8658ea0) at /usr/src/debug/kdelibs-4.8.80_20120529/kdeui/kernel/kapplication.cpp:311 #54 0xb761b29f in notify (e=0x8658ea0, o=0x82397d8, this=0xbfd96e04) at /usr/src/debug/kde-workspace-4.8.80_20120529/kwin/main.cpp:371 #55 KWin::Application::notify (this=0xbfd96e04, o=0x82397d8, e=0x8658ea0) at /usr/src/debug/kde-workspace-4.8.80_20120529/kwin/main.cpp:367 #56 0xb5f8cdce in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4 #57 0xb5f90a48 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/libQtCore.so.4 #58 0xb5f90d7c in QCoreApplication::sendPostedEvents(QObject*, int) () from /usr/lib/libQtCore.so.4 #59 0xb550c2ad in ?? () from /usr/lib/libQtGui.so.4 #60 0xb5f8b64d in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #61 0xb5f8b8e9 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #62 0xb5f90e2a in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4 #63 0xb54552a4 in QApplication::exec() () from /usr/lib/libQtGui.so.4 #64 0xb761e156 in kdemain (argc=2, argv=0xbfd970a4) at /usr/src/debug/kde-workspace-4.8.80_20120529/kwin/main.cpp:545 #65 0x0804852b in main (argc=2, argv=0xbfd970a4) at /usr/src/debug/kde-workspace-4.8.80_20120529/build/kwin/kwin_dummy.cpp:3 Possible duplicates by query: bug 301529, bug 301403, bug 301131, bug 300886, bug 299333. Reported using DrKonqi
> 4.8.80_20120529-1. you're aware that that is 4.9beta2? However, the crash happens in the driver - can you please post/attach the output of "qdbus org.kde.kwin /KWin supportInformation", thanks *** This bug has been marked as a duplicate of bug 299333 ***
Here's the output: KWin Support Information: The following information should be used when requesting support on e.g. http://forum.kde.org. It provides information about the currently running instance, which options are used, what OpenGL driver and which effects are running. Please post the information provided underneath this introductory text to a paste bin service like http://paste.kde.org instead of pasting into support threads. ========================== Options ======= focusPolicy: 0 nextFocusPrefersMouse: false clickRaise: true autoRaise: false autoRaiseInterval: 0 delayFocusInterval: 0 shadeHover: false shadeHoverInterval: 250 tiling: false tilingLayout: 0 tilingRaisePolicy: 0 separateScreenFocus: false activeMouseScreen: false placement: 4 focusPolicyIsReasonable: true borderSnapZone: 20 windowSnapZone: 20 centerSnapZone: 0 snapOnlyWhenOverlapping: true showDesktopIsMinimizeAll: false rollOverDesktops: false focusStealingPreventionLevel: 2 legacyFullscreenSupport: false operationTitlebarDblClick: commandActiveTitlebar1: 0 commandActiveTitlebar2: 15 commandActiveTitlebar3: 2 commandInactiveTitlebar1: 4 commandInactiveTitlebar2: 15 commandInactiveTitlebar3: 2 commandWindow1: 7 commandWindow2: 8 commandWindow3: 8 commandWindowWheel: 31 commandAll1: 10 commandAll2: 3 commandAll3: 14 keyCmdAllModKey: 16777251 showGeometryTip: false electricBorders: false electricBorderDelay: 350 electricBorderCooldown: 350 electricBorderPushbackPixels: 1 electricBorderMaximize: false electricBorderTiling: false borderlessMaximizedWindows: false killPingTimeout: 5000 hideUtilityWindowsForInactive: true inactiveTabsSkipTaskbar: false autogroupSimilarWindows: false autogroupInForeground: true compositingMode: 1 useCompositing: false compositingInitialized: false hiddenPreviews: 1 unredirectFullscreen: false glSmoothScale: 2 glVSync: true xrenderSmoothScale: false maxFpsInterval: 17 refreshRate: 0 vBlankTime: 6144 glDirect: true glStrictBinding: true glStrictBindingFollowsDriver: true Compositing =========== Qt Graphics System: raster Compositing is not active
> unredirectFullscreen: false well, it's actually not the screensaver ;-) However, this is actually NOT a dupe since all others crash out of core painting while you crash out of the fallback painting (likely because of the uninitialized NPOT variable leading to the wrong "limited" assumption) -> can you apply a patch? "kwin_gles --replace &" will most likely work for you (just as the xrender compositor)
Yes, I'm aware of the fact that this is 4.9beta1 (not beta2) as I installed it myself. However I don't know why Help -> About KDE still says 4.8.3 (probably due to the frozen kdelibs situation) Yes, the crash is not coming from the screensaver, as I described in this report: I do not have a screensaver enabled. -> can you apply a patch? If you mean if I can compile kwin from source ? Yes, I can. -> "kwin_gles --replace &" does not work. it gives: kwin(8739): Required support for binding pixmaps to EGLImages not found, disabling compositing kwin(8739): Failed to initialize compositing, compositing disabled kwin(8739): Consult http://techbase.kde.org/Projects/KWin/4.0-release-notes#Setting_up Activating Xrender works. The interesting thing is: the compositor with openGL did already work! I also got here the message libEGL warning: DRI2: failed to authenticate don't know when exactly (I'm trying to switch the compositing between openGL and Xrender)
(In reply to comment #4) > Yes, I'm aware of the fact that this is 4.9beta1 (not beta2) as I installed > it myself. > However I don't know why Help -> About KDE still says 4.8.3 the value comes from kdelibs, but running kde-workspace 4.9 on libs 4.8 should be fine > Yes, the crash is not coming from the screensaver, as I described in this > report: I do not have a screensaver enabled. :-) The intel driver just likes to crash if that config is true and you close any fullscreen window, i understood there's no screensaver but anything behaving similar *would* have been a candidate. > -> can you apply a patch? > If you mean if I can compile kwin from source ? Yes, I can. great, these two, please - then check whether the issue remains https://git.reviewboard.kde.org/r/105235/ https://git.reviewboard.kde.org/r/105249/ (you may as well just try current kwin git master if that's an option) > -> "kwin_gles --replace &" > does not work. it gives: > kwin(8739): Required support for binding pixmaps to EGLImages not this means you lack the EGL_KHR_image* extensions - did you install some dummy libegl? > I also got here the message > libEGL warning: DRI2: failed to authenticate ahhh... hähh? latter two together look like intel-dri is not installed or broken?!?
On Wednesday, 20. June 2012 09:26:37 you wrote: > > -> "kwin_gles --replace &" > > does not work. it gives: > > kwin(8739): Required support for binding pixmaps to EGLImages not > this means you lack the EGL_KHR_image* extensions - did you install some dummy > libegl? > > > I also got here the message > > libEGL warning: DRI2: failed to authenticate > ahhh... hähh? > latter two together look like intel-dri is not installed or broken?!? I have installed all the latest Xorg stuff from http://download.opensuse.org/repositories/X11:/XOrg/openSUSE_12.1/ xorg-x11-proto-devel-7.6-126.1.i586 xorg-cf-files-1.0.4-4.1.noarch xorg-x11-devel-7.6-113.1.noarch xorg-x11-libX11-ccache-7.6-22.3.noarch xorg-x11-server-extra-7.6_1.12.2-178.1.i586 xorg-x11-server-7.6_1.12.2-178.1.i586 xorg-scripts-1.0.1-3.1.noarch xorg-x11-fonts-7.6-81.1.noarch xorg-x11-fonts-core-7.6-81.1.noarch xorg-x11-libs-7.6-113.1.noarch xorg-sgml-doctools-1.11-4.1.noarch xorg-x11-util-devel-7.6_1-47.1.noarch xorg-x11-driver-video-intel-legacy-2.9.1-47.4.i586 xorg-x11-7.6_1-162.1.noarch xorg-x11-driver-video-7.6_1-199.1.noarch xorg-x11-driver-input-7.6_1-105.1.noarch Mesa-libGLESv2-2-8.0.3-155.1.i586 Mesa-libGL1-8.0.3-155.1.i586 Mesa-libGL-devel-8.0.3-155.1.i586 Mesa-libGLU-devel-8.0.3-155.1.i586 Mesa-libIndirectGL1-8.0.3-155.1.i586 Mesa-libGLU1-8.0.3-155.1.i586 Mesa-debuginfo-8.0.3-155.1.i586 Mesa-libEGL1-8.0.3-155.1.i586 Mesa-libGLESv1_CM1-8.0.3-155.1.i586 Mesa-devel-8.0.3-155.1.i586 DirectFB-Mesa-1.4.5-20.1.2.i586 libOSMesa8-8.0.3-155.1.i586 Mesa-libGLESv2-devel-8.0.3-155.1.i586 Mesa-libGLESv1_CM-devel-8.0.3-155.1.i586 Mesa-libglapi0-8.0.3-155.1.i586 Mesa-8.0.3-155.1.i586 Mesa-libEGL-devel-8.0.3-155.1.i586 Don't know what to look for now ... Tell me what info you need, please.
don't know how SuSE organizes their packages, but this xorg-x11-driver-video-intel-legacy-2.9.1-47.4.i586 looks highly suspicious - "legacy" will likely be for UMS or what? You should have libdrm_intel1-2.4.33-71.1.i586.rpm and *probably* (i don't know what they contain, details tells me the mirrors... :-) rather xf86-video-intel-2.19.0_20120601_8eed569-15.1.i586.rpm please in doubt ask some SuSE folks how to get the intel KMS/DRI driver - GLES won't work otherwise and direct rendering might fail on the UMS driver
xorg-x11-driver-video-intel-legacy-2.9.1-47.4.i586 This package contains the legacy version of the Intel X.Org driver which does not require KMS. But I do not use the legacy driver. I even removed this package now. However, I checked the Xorg server logfile and I had some DRI related errors in it: (WW) intel(0): cannot enable DRI2 whilst forcing software fallbacks ... (II) intel(0): direct rendering: Failed Whyever ... I did a reboot (man that hurts ;-) ) and now the Xorg server is doing fine again with DRI and I can activate openGL again... But: This effectively brings me to the situation before I encountered the crash I reported :-( I can now again activate and deactivate the desktop effects without problems. (In the meantime I have also updated KDE 4.9 to beta2) Effectively, I can no longer reproduce the crash and therefore I can not test your fix with KDE trunk. Probably I just need to wait until the crash happens again... Feel free to close this entry.
sum up: *this* bug is invalid (installed "wrong" driver) but there's a remaining random crash. Ideally check whether there's a debug package for your proper driver and whenever you encounter the original crash again, please feel free to open a new report. (In reply to comment #8) > Whyever ... I did a reboot (man that hurts ;-) ) and now the Xorg server is > doing fine again with DRI i'm not sure whether it's actually possible to switch between UMS & KMS at runtime by just replacing the kernel modules (if you did so ;-)
For the records: I got the crash again and reported it to freedesktop.org https://bugs.freedesktop.org/show_bug.cgi?id=51376