Summary: | Black screen when using compositing effects | ||
---|---|---|---|
Product: | [Plasma] kwin | Reporter: | Tommi Tervo <tommi.tervo> |
Component: | compositing | Assignee: | KWin default assignee <kwin-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | openSUSE | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | 4.7.0 | |
Sentry Crash Report: | |||
Attachments: | Screenshow of disabled effects |
Description
Tommi Tervo
2011-05-29 21:18:06 UTC
try switching to the OpenGL 1.x/GLX backend as described in http://blog.martin-graesslin.com/blog/2011/05/the-compositing-modes-of-kde-plasma-workspaces-explained/ Most likely the hardware just does not support what it claims to support. GL 1.x/GLX backend "works", but it'll disable basically all effects. > GL 1.x/GLX backend "works", but it'll disable basically all effects.
what do you mean it disables basically all effects. The only effect I know of which requires
OpenGL 2 is the invert effect. Could you be more precise in what you mean?
Created attachment 60481 [details]
Screenshow of disabled effects
Here is a screen shot of disabled effects
did you restart kwin after you applied the changes? The list might not be correct. Try starting kwin from a konsole and paste the relevant debug output. Oh, sorry. I didn't know that I'll need to restart kwin. Seems that OGL1.x/GLX doesn't work on my laptop. Restart is not successful, I'll need to disable compositing. teve@linux-jm3s:~> kwin --replace kwin(6845) KWin::Extensions::init: Extensions: shape: 0x "11" composite: 0x "4" render: 0x "b" fixes: 0x "40" kwin(6845) KWin::CompositingPrefs::detect: glx version is 1 . 4 OpenGL vendor string: X.Org R300 Project OpenGL renderer string: Gallium 0.4 on ATI RV530 OpenGL version string: 2.1 Mesa 7.10.2 OpenGL shading language version string: 1.20 Driver: R300G GPU class: R500 OpenGL version: 2.1 GLSL version: 1.20 Mesa version: 7.10.2 X server version: 1.9.3 Linux kernel version: 2.6.39 Direct rendering: yes Requires strict binding: yes GLSL shaders: limited Texture NPOT support: limited kwin(6845) KDecorationPlugins::loadPlugin: kwin : path "/usr/lib/kde4/kwin3_oxygen.so" for "kwin3_oxygen" kwin(6845) KWin::Extensions::init: Extensions: shape: 0x "11" composite: 0x "4" render: 0x "b" fixes: 0x "40" kwin(6845) KWin::Extensions::init: Extensions: shape: 0x "11" composite: 0x "4" render: 0x "b" fixes: 0x "40" kwin(6845) KWin::Workspace::setupCompositing: Initializing OpenGL compositing kwin(6845) KWin::SceneOpenGL::initBufferConfigs: Drawable visual (depth 24 ): 0x "13c" kwin(6845) KWin::SceneOpenGL::initBufferConfigs: Drawable visual (depth 32 ): 0x "66" kwin(6845) KWin::SceneOpenGL::initBuffer: Buffer visual (depth 24 ): 0x "140" kwin(6845) KWin::ShaderManager::initShaders: OpenGL Shaders disabled by config option kwin(6845) KWin::SceneOpenGL::SceneOpenGL: No Scene Shaders available kwin(6845) KWin::SceneOpenGL::SceneOpenGL: DB: true , Direct: true kwin(6845) KWin::currentRefreshRate: Refresh rate 60 Hz kwin(6845)/kdecore (KSycoca) KSycocaPrivate::openDatabase: Trying to open ksycoca from "/var/tmp/kdecache-teve/ksycoca4" kwin(6845) KWin::EffectsHandlerImpl::loadEffect: Trying to load "kwin4_effect_sheet" kwin(6845) KWin::EffectsHandlerImpl::loadEffect: Trying to load "kwin4_effect_slidingpopups" kwin(6845) KWin::EffectsHandlerImpl::loadEffect: Trying to load "kwin4_effect_blur" kwin(6845) KWin::EffectsHandlerImpl::loadEffect: Trying to load "kwin4_effect_fade" kwin(6845) KWin::EffectsHandlerImpl::loadEffect: Trying to load "kwin4_effect_desktopgrid" kwin(6845) KWin::EffectsHandlerImpl::loadEffect: Trying to load "kwin4_effect_slide" kwin(6845) KWin::EffectsHandlerImpl::loadEffect: Trying to load "kwin4_effect_presentwindows" kwin(6845) KWin::EffectsHandlerImpl::loadEffect: Trying to load "kwin4_effect_dashboard" kwin(6845) KWin::EffectsHandlerImpl::loadEffect: Trying to load "kwin4_effect_login" kwin(6845) KWin::EffectsHandlerImpl::loadEffect: Trying to load "kwin4_effect_startupfeedback" kwin(6845) KWin::EffectsHandlerImpl::loadEffect: Trying to load "kwin4_effect_outline" kwin(6845) KWin::EffectsHandlerImpl::loadEffect: Trying to load "kwin4_effect_boxswitch" kwin(6845) KWin::EffectsHandlerImpl::loadEffect: Trying to load "kwin4_effect_cube" kwin(6845) KWin::EffectsHandlerImpl::loadEffect: Trying to load "kwin4_effect_taskbarthumbnail" kwin(6845) KWin::EffectsHandlerImpl::loadEffect: Trying to load "kwin4_effect_resize" kwin(6845) KWin::EffectsHandlerImpl::loadEffect: Trying to load "kwin4_effect_logout" kwin(6845) KWin::EffectsHandlerImpl::loadEffect: Trying to load "kwin4_effect_screenshot" kwin(6845) KWin::EffectsHandlerImpl::loadEffect: Trying to load "kwin4_effect_translucency" kwin(6845) KWin::EffectsHandlerImpl::loadEffect: Trying to load "kwin4_effect_highlightwindow" kwin(6845) KWin::EffectsHandlerImpl::loadEffect: Trying to load "kwin4_effect_zoom" kwin(6845) KWin::EffectsHandlerImpl::loadEffect: Trying to load "kwin4_effect_dialogparent" kwin(6845) KWin::EffectsHandlerImpl::loadEffect: Trying to load "kwin4_effect_minimizeanimation" kwin(6845) KWin::Workspace::updateClientArea: screens: 1 desktops: 1 kwin(6845) KWin::Workspace::updateClientArea: Done. kwin(6845) KWin::Client::readUserTimeMapTimestamp: User timestamp, ASN: 7625790 kwin(6845) KWin::Client::readUserTimeMapTimestamp: User timestamp, final: 'ID: 39847367 ;WMCLASS: "plasma" : "plasma" ;Caption: "plasma-desktop" ' : 7625790 kwin(6845) KWin::Workspace::allowClientActivation: Activation: No client active, allowing kwin(6845) KWin::Workspace::updateClientArea: screens: 1 desktops: 1 kwin(6845) KWin::Workspace::updateClientArea: Done. kwin(6845) KWin::Client::readUserTimeMapTimestamp: User timestamp, ASN: 7542384 kwin(6845) KWin::Client::readUserTimeMapTimestamp: User timestamp, final: 'ID: 27263183 ;WMCLASS: "systemsettings" : "systemsettings" ;Caption: "Desktop Effects â System Settings" ' : 7542384 kwin(6845) KWin::Workspace::allowClientActivation: Activation: No client active, allowing kwin(6845) KWin::Workspace::updateClientArea: screens: 1 desktops: 1 kwin(6845) KWin::Workspace::updateClientArea: Done. kwin(6845) KWin::Workspace::createTile: Now tiling "Desktop Effects â System Settings" kwin(6845) KWin::Client::readUserTimeMapTimestamp: User timestamp, ASN: 7958311 kwin(6845) KWin::Client::readUserTimeMapTimestamp: User timestamp, final: 'ID: 83888603 ;WMCLASS: "konsole" : "konsole" ;Caption: "www :" ' : 7958311 kwin(6845) KWin::Workspace::allowClientActivation: Activation: No client active, allowing kwin(6845) KWin::Workspace::updateClientArea: screens: 1 desktops: 1 kwin(6845) KWin::Workspace::updateClientArea: Done. kwin(6845) KWin::Workspace::createTile: Now tiling "www :" kwin(6845) KWin::Client::readUserTimeMapTimestamp: User timestamp, ASN: 7952035 kwin(6845) KWin::Client::readUserTimeMapTimestamp: User timestamp, final: 'ID: kwin(6845) KWin::Workspace::allowClientActivation: Activation: No client active, allowing kwin(6845) KWin::Workspace::updateClientArea: screens: 1 desktops: 1 kwin(6845) KWin::Workspace::updateClientArea: Done. kwin(6845) KWin::Client::readUserTimeMapTimestamp: User timestamp, ASN: 7993848 kwin(6845) KWin::Client::readUserTimeMapTimestamp: User timestamp, final: 'ID: 83886266 ;WMCLASS: "konsole" : "konsole" ;Caption: "teve : bash" ' : 7993848 kwin(6845) KWin::Workspace::allowClientActivation: Activation: No client active, allowing kwin(6845) KWin::Workspace::updateClientArea: screens: 1 desktops: 1 kwin(6845) KWin::Workspace::updateClientArea: Done. kwin(6845) KWin::Workspace::createTile: Now tiling "teve : bash" kwin(6845) KWin::Client::readUserTimeMapTimestamp: User timestamp, ASN: 7631847 kwin(6845) KWin::Client::readUserTimeMapTimestamp: User timestamp, final: 'ID: 39847364 ;WMCLASS: "plasma" : "plasma" ;Caption: "plasma-desktop" ' : 7631847 kwin(6845) KWin::Workspace::allowClientActivation: Activation: No client active, allowing kwin(6845) KWin::Workspace::updateClientArea: screens: 1 desktops: 1 kwin(6845) KWin::Workspace::updateClientArea: Done. kwin(6845) KWin::Workspace::updateClientArea: screens: 1 desktops: 1 kwin(6845) KWin::Workspace::updateClientArea: Done. kwin(6845) KWin::LanczosShader::init: ARB Shader compiled, id: 2 The OpenGL 1 backend is the same as the code which was used in 4.6. Are you sure that nothing else changed? Maybe a driver update? Anyway I am pretty sure the reason for the problem is that the driver claims support for NPOT textures and it is common knowledge that the R300 series does not support NPOT textures. If possible please try the patch attached to bug #269576. I am very confident that this fixes the issue, but due to lack of hardware I cannot test. I'm using Opensuse tumbleweed repo -> I'm not sure if there was a kernel update from 2.6.38 -> 2.6.39 at the same time I upgraded KDE. I can try that patch, but that's going to take one week (I'm going to holiday) but if you have patched rpm for opensuse 11.4 I can test that today. BR, Tommi > I can try that patch, but that's going to take one week (I'm going to holiday) that's fine as well - better than no test at all :-) > but if you have patched rpm for opensuse 11.4 I can test that today. No, have not yet created the package Git commit b646e7eb9a67971d7abb8056c06016de920419f7 by Martin Gräßlin. Committed on 01/06/2011 at 18:21. Pushed by graesslin into branch 'master'. Disable Shader Scene for LimitedGLSL GPUs This was causing problems with R300G. The GPU supports only limited GLSL and seems not to be up to rendering the scene appropriate. So let's better disable the OpenGL 2 branch for such GPUs. If the user really wants to use it, there is the GLES backend which does not check for limited GLSL. BUG: 274457 CCBUG: 274607 FIXED-IN: 4.7.0 M +1 -1 kwin/libkwineffects/kwinglutils.cpp http://commits.kde.org/kde-workspace/b646e7eb9a67971d7abb8056c06016de920419f7 |