Registered Member
|
Debian Jessie + KWin: QDBusConnection error
I have problems running kwin on a brand new Jessie installation for an older computer. When I run kwin --replace, I get the following errors:
My configuration:
PS: On the same computer (different partitions), Ubuntu 12.04 LTS with Compiz+3d acceleration runs fine. I am currently using Mate as my desktop. I have also tried different desktops: - Kwin with XFCE : same errors. - KDE+Kwin and same errors as well. How do I resolve this? Thank you. |
|
Meaningless. Caused by KUniqueApplication and is rather shameful, but not known to ever have caused problems on any KUniqueApplication in KDE/4 (kwin's by far not the only one) The rest is caused by an sycoca update and has no relation to KWin (other that it caused an sycoca update) If you don't have any actual problems, you can simply ignore all this. Otherwise please explain what doesn't work. The two effects aren't loaded (most likely) because you're using xrender compositing ("kcmshell4 kwincompositing" opens the config dialog for this) |
Registered Member
|
Thank you for the fast response.
What is the sycoca update issue? I tried to search for it but not much came out. How do I resolve this? Regarding compositing, I did set it up for OpenGL. For OpenGL I can choose among versions 1.2, 2.0 and 3.1. My version of OpenGL is 1.3 ... Not sure if that would cause a problem. Anyway, I tried selecting all OpenGL versions, but in all 3 cases, same desktop effects fail to load after I hit Apply. If I use the "KDE System Settings" GUI, 2 effects fail to load. I just tried to use "kcmshell4 kwincompositing" instead as suggested, but then 20 effects fail to load. Seems to be the same window as System Settings; not sure why there is a difference for the number of failures. In addition the compositing type is not saved permanently. If I click APPLY, OpenGL is still selected for the compositing type -- a warning about the desktop effects failing to load is also displayed. But if I close the System Settings window and reopen it, XRender is selected again. How do I make OpenGL stick and what causes the desktop effect load failure? Thank you |
|
sycoca is the database of desktop services, applications, plugins, ...
There's nothing to resolve here. > How do I make OpenGL stick and what causes the desktop effect load failure? Apparently something is broken in your OpenGL stack. Please paste the output of "glxinfo" and ideally also "qdbus org.kde.KWin /KWin supportInformation" You're not using OpenGL compositing ever - you *want* to use it, kwin fails/refuses to set it and resorts to xrender. The twenty failures are a red herring, you called the dialog while the compositor wasn't active. This was a bug ages ago, so debian has probably meanwhile reached it |
Registered Member
|
Here is my glxinfo
I am still figuring out a way to get "qdbus org.kde.KWin /KWin supportInformation" under Mate. I have installed plasma-runners-addons to get krunner but so far no success. |
|
> I am still figuring out a way to get "qdbus org.kde.KWin /KWin supportInformation"
konsole/xterm/gnome-terminal/... If kwin is running, it should not print an error message. You should have qdbus, but it may be named qdbus4 or similar and you can also use dbus-send. Only OpenGL 1.3 can work on your GPU - and it will not be fast. Blurring is not supported (lacks GL_ARB_fragment_program, we didn't query and hadn't support for GL_ATI_fragment_shader) - don't know about the startupfeedback, but it's no feature loss, it just accelerated the bouncing cursor you get anyway. |
Registered Member
|
OK I (re) installed qdbus.
I ran "qdbus org.kde.KWin /KWin supportInformation": I get : service 'org.kde.KWin /KWin' is not a valid name. Actually I got the same message before, I also tried - "qdbus org.kde.kwin /KWin supportInformation" and same message I have OpenGL 1.3 on Ubuntu and it is fine for most of the desktop effects (I use Compiz there). I am just trying to get the same with KWin. Right now I just have Wobbly Windows as a test and they are not working. The Cube would be another effect that is also not working. |
|
Neither cube nor wobbly windows can work with xrender compositing.
It will be necessary to figure why OpenGL is prevented. > I get : service 'org.kde.KWin /KWin' is not a valid name. Literally:
The blank between KWin and /KWin is important and must not be escaped or quoted (it's three parameters to qdbus. Service, object and method) |
Registered Member
|
Same result.
Service 'org.kde.KWin /KWin" does not exist. I had the space before /KWin the first time as well. Not sure whether it is case sensitive, but also tried "org.kde.kwin /KWin"
Last edited by blinux on Wed Sep 02, 2015 10:54 pm, edited 1 time in total.
|
|
check the output of only "qdbus" on whether anything remotely looking like kwin is listed there and "ps ax | grep kwin" on whether KWin is actually running (dbus is IPC and talks to the running KWin process. No process, no talk
|
Registered Member
|
My bad, this time around I had not issued the "kwin --replace" command, so kwin wasn't running.
Sorry about this. Now I get:
|
Registered Member
|
Any chance we can resolve this?
Thank you |
|
Sorry, missed your last post.
Run "KWIN_COMPOSE=O1 kwin --replace &", this will enforce using the OpenGL compositor (so we can see whether it works in principal - it's O1 like OpenGL1, not! zero-one) Do not try to change the compositing mode while not running kwin, there's a test whether it worked and if kwin's not running that usually means it crashed and things are set back. You'll have to edit ~/.kwin/share/config/kwinrc by hand it you want to bypass that
ensure there're no duplicate entries (I don't know which one's resolved by kconfig in case) |
Registered Member
|
Thank you so much.
This seems to have resolved the problem. Wobbly Windows and the Cube now work. Here is the output of running "KWIN_COMPOSE=O1 kwin --replace &"
Remaining errors are about the "blur effect" and virtuoso but doesn't seem to impact other effects. Just trying to understand what's going on. Is the command forcing Kwin to use OpenGL? Is there any difference in choosing OpenGL 1.2, 2.0 or 3.1 for the compositing type once in Kwin Settings? In ~/.kde/share/config/kwinrc, only two lines differed. Changed GLLegacy=false to GLLegacy=true Added OpenGLIsUnsafe0=false Will this allow to remove the "KWIN_COMPOSE=O1" prefix before "kwin --replace" in the future? Thank you again so much for all your help. |
|
Virtuoso error is irrelevant (kwin doesn't use anything from nepomuk, it however means that semantic desktop features are not available)
Blurring will not work on your hardware, sorry > Is the command forcing Kwin to use OpenGL? Yes. > Is there any difference in choosing OpenGL 1.2, 2.0 or 3.1 for the compositing type once in Kwin Settings? Your hardware doesn't support OpenGL 2 or 3 - they would bring more features (and we mandate OpenGL 2.0 for KWin/5) KWin should however detect that you cannot use GL2 and fallback to GL1 > Will this allow to remove the "KWIN_COMPOSE=O1" prefix before "kwin --replace" in the future? No. Just looked up code - the recommended backend for R200 chips is XRender. You need to forcefully override that, however: ~/.kde/env/force_kwin_gl.sh
chmod +x ~/.kde/env/force_kwin_gl.sh "~/.kde" may be "~/.kde4" on debian, no idea. |
Registered users: bartoloni, Bing [Bot], Evergrowing, Google [Bot], ourcraft