Summary: | kwin crash when activating desktop effects | ||
---|---|---|---|
Product: | [Plasma] kwin | Reporter: | Martin Koller <kollix> |
Component: | general | Assignee: | KWin default assignee <kwin-bugs-null> |
Status: | RESOLVED NOT A BUG | ||
Severity: | crash | Flags: | mgraesslin:
Intel+
|
Priority: | NOR | ||
Version: | 4.8.80 | ||
Target Milestone: | --- | ||
Platform: | openSUSE | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Martin Koller
2012-06-19 07:11:41 UTC
> 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 |