Summary: | [ilk] kwin GLSL Shaders cause hung of GPU resulting in X freeze | ||
---|---|---|---|
Product: | Mesa | Reporter: | KaiUweBroulik2 |
Component: | Drivers/DRI/i965 | Assignee: | Ian Romanick <idr> |
Status: | RESOLVED FIXED | QA Contact: | |
Severity: | critical | ||
Priority: | medium | CC: | mgraesslin |
Version: | 7.10 | ||
Hardware: | x86-64 (AMD64) | ||
OS: | Linux (All) | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Attachments: | glxinfo output |
Description
KaiUweBroulik2
2011-01-19 09:12:31 UTC
Created attachment 42199 [details]
glxinfo output
I've heard that GPU hangs in kwin have been fixed (though we don't know exactly when) as of the 7.11 stabilization branch. Could you give that a try and see if it fixes your issues? The functionality which is triggering the freeze (Lanczos filter) has been disabled downstream for 4.6 (see git commit https://projects.kde.org/projects/kde/kdebase/kde-workspace/repository/revisions/e68ced9351cb29cea4b952a1daa7bdafbf14c0ad ) when Intel driver is used. AFAIK Kai Uwe is testing from Kubuntu daily builds (project neon) so it should be possible to push a patch into a build, so that this can properly tested. Also an environment variable might be handy here in the downstream code. Sorry, forgot my password :D Just wanted to note that like Martin said, the lanczos filter has been disabled on Intel hardware to workaround this crash. @Martin: Yes, I test with Project Neon (on both my main machine and notebook with Intel where this problem occurred), so feel free to add a patch, so I can do testing. But keep in mind that it may take a day or two or three for the updated binaries to arrive on my machine *g* new environment variable KWIN_FORCE_LANCZOS available in master, set to 1 to overwrite the checks. See: http://commits.kde.org/kde-workspace/39237b44171ce65a66aaa07ec684507429d36181 So, I just tested it: KWIN_FORCE_LANCZOS=1 Scale Mode: Accurate Triggering Present Windows makes KWin crash once the transition has completed and Lanczos is going to be applied. But at least it does not make the whole system freeze anymore. Martin: A backtrace can be found here: http://bugs.kde.org/278234 Hmm, the code in that backtrace has been deleted in Mesa master. How are things now? :) oh that bug is old, I'm giving an update on how it looks in KWin right now. We activated the shader in question by default for Sandybridge or later since last release - so far everything seems fine. Current master (which will become 4.10) has a runtime check for at least Mesa 8.0, though most distribution will combine it with Mesa 9.0. So if the code in question has already been removed from Mesa 8.0 it will no longer cause problems with KWin :-) The crashy code has been deleted, and I think in the pull constant rewrite people told me they'd tested with this shader on ILKs. Feel free to reopen if it's still an issue. |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.