Summary: | Kubuntu 12.04 with backports with ATI FirePro 2260 => update to KDE SC 4.11 => Opengl Problem | ||
---|---|---|---|
Product: | [Plasma] kwin | Reporter: | André Herrmann <am.herrmann> |
Component: | scene-opengl | Assignee: | KWin default assignee <kwin-bugs-null> |
Status: | RESOLVED DUPLICATE | ||
Severity: | crash | ||
Priority: | NOR | ||
Version: | 4.11.0 | ||
Target Milestone: | --- | ||
Platform: | Ubuntu | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: | This is the (german) message which comes up when I try to switch composite type to opengl |
Description
André Herrmann
2013-08-23 14:43:54 UTC
Created attachment 81875 [details]
This is the (german) message which comes up when I try to switch composite type to opengl
you're likely running into bug #323553 and friends. Please run "kwin --replace" from konsole (ensure to have kwin debug output active) and compare the output about failing to initialize OpenGL1 Why (a very basic) indirect context (and OpenGL1) setup does not work, is atm. not clear. -> Just enforce direct rendering (and OpenGL2) but be aware that it was initially blacklisted for random crashes. There's also been reports that after "aticonfig --initial" things started to "mystically" work again, but there's no guarantee on that. Hi Thomas, i could not find some options for debug or verbose mode for kwin-replace, but after doing kwin-replace commandline gave me some output. After kwin-replace I tried the following (just to compare with my output) 1. In system Settings Composite: Opengl version 2.0 native 2. In system Settings Composite: Opengl version 2.0 raster 3. Same with Opengl 3.1 in same order Heres what I got: andre@andre-Precision-T1500:~$ kwin --replace QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave. QCoreApplication::sendPostedEvents: Cannot send posted events for objects in another thread QCoreApplication::sendPostedEvents: Cannot send posted events for objects in another thread QCoreApplication::sendPostedEvents: Cannot send posted events for objects in another thread QCoreApplication::sendPostedEvents: Cannot send posted events for objects in another thread file:///usr/share/kde4/apps/kwin/tabbox/thumbnails/contents/ui/main.qml:139:9: QML Image: Bilddaten können nicht geholt werden: image://client/-1/-1406457435-0 OpenGL vendor string: ATI Technologies Inc. OpenGL renderer string: ATI FirePro 2260 OpenGL version string: 2.1 (3.3.11627 Compatibility Profile Context) OpenGL shading language version string: Driver: Catalyst Driver version: 2.1 GPU class: Unknown OpenGL version: 2.1 GLSL version: 0.0 X server version: 1.11.3 Linux kernel version: 3.2 Direct rendering: no Requires strict binding: yes GLSL shaders: yes Texture NPOT support: yes Virtual Machine: no kwin(18402) KWin::checkGLError: GL error ( Init ): "GL_INVALID_ENUM" kwin(18402): OpenGL 1 compositing setup failed QObject::connect: Cannot connect (null)::resetCompositing() to KWin::Compositor::restart() kwin(18402): Failed to initialize compositing, compositing disabled kwin(18402): Consult http://techbase.kde.org/Projects/KWin/4.0-release-notes#Setting_up QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave. QCoreApplication::sendPostedEvents: Cannot send posted events for objects in another thread QCoreApplication::sendPostedEvents: Cannot send posted events for objects in another thread QCoreApplication::sendPostedEvents: Cannot send posted events for objects in another thread QCoreApplication::sendPostedEvents: Cannot send posted events for objects in another thread andre@andre-Precision-T1500:~$ andre@andre-Precision-T1500:~$ andre@andre-Precision-T1500:~$ QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave. QCoreApplication::sendPostedEvents: Cannot send posted events for objects in another thread QCoreApplication::sendPostedEvents: Cannot send posted events for objects in another thread QCoreApplication::sendPostedEvents: Cannot send posted events for objects in another thread QCoreApplication::sendPostedEvents: Cannot send posted events for objects in another thread OpenGL vendor string: ATI Technologies Inc. OpenGL renderer string: ATI FirePro 2260 OpenGL version string: 2.1 (3.3.11627 Compatibility Profile Context) OpenGL shading language version string: Driver: Catalyst Driver version: 2.1 GPU class: Unknown OpenGL version: 2.1 GLSL version: 0.0 X server version: 1.11.3 Linux kernel version: 3.2 Direct rendering: no Requires strict binding: yes GLSL shaders: yes Texture NPOT support: yes Virtual Machine: no kwin(18438) KWin::checkGLError: GL error ( Init ): "GL_INVALID_ENUM" kwin(18438): OpenGL 1 compositing setup failed QObject::connect: Cannot connect (null)::resetCompositing() to KWin::Compositor::restart() kwin(18438): Failed to initialize compositing, compositing disabled kwin(18438): Consult http://techbase.kde.org/Projects/KWin/4.0-release-notes#Setting_up QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave. QCoreApplication::sendPostedEvents: Cannot send posted events for objects in another thread QCoreApplication::sendPostedEvents: Cannot send posted events for objects in another thread QCoreApplication::sendPostedEvents: Cannot send posted events for objects in another thread QCoreApplication::sendPostedEvents: Cannot send posted events for objects in another thread QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave. QCoreApplication::sendPostedEvents: Cannot send posted events for objects in another thread QCoreApplication::sendPostedEvents: Cannot send posted events for objects in another thread QCoreApplication::sendPostedEvents: Cannot send posted events for objects in another thread QCoreApplication::sendPostedEvents: Cannot send posted events for objects in another thread Thanks for your answer. I will consider the magic aticonfig --initial solution and will report about it. As said upgrading driver seems to be not good for me due ati is not supporting my card after version 8.98 Ok I tried the aticonfig --initial thing but it did not change anything for my situation :-( ok, is same bug. export KWIN_DIRECT_GL=1 export KWIN_COMPOSE=O2 kwin --replace & if that works, put the two exports into an executable #!/bin/sh in ~/.kde/env *** This bug has been marked as a duplicate of bug 323527 *** I can confirm, that this did the trick. But putting this into an executable in kde/env is not working wether with or without kwin --replace command. I will figure out a way that will automatically set the variables needed tomorrow and will report about it. Thanks for yourmquick help :-) Try "kcmshell4 autostart" (gui to add env scripts) Notice that the script has to be executable and of course contain a usable shebang ------- snip ------------ #!/bin/sh export export KWIN_DIRECT_GL=1 export KWIN_COMPOSE=O2 # do *not* kwin --replace here! ------- /snip ------------ chmod +x /path/to/script copy 'n paste is evil. ------- snip ------------ #!/bin/sh export KWIN_DIRECT_GL=1 export KWIN_COMPOSE=O2 # do *not* kwin --replace here! ------- /snip ------------ :-) Of course I made it executable (This is why I called it an executable) and gave it a shebang line. First I just put in the export commands and if this was not working, I added th kwin-replace. I consider putting those variables in a global scope or in rc.local. Currently I cannot try this due I'm not at work. I will report tommorow what I achieved. Best |