Reply to topic

Desktop effects not working in 4.11.3

User avatar tassos
Registered Member
Posts
32
Karma
0
OS
After an upgrade in debian testing yesterday desktop effects stopped working. The message in system's settings is rather obscure saying: "Failed to load 20 effects". Kwin is crashing if I enable desktop effects and click apply. The same is true if I enable desktop effects and run kwin --replace. When trying to logout the system hangs and I have to switch to a tty, kill kdm and then run shutdown -h now.

My system is shown below:
Code: Select all
00:02.0 VGA compatible controller [0300]: Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller (primary) [8086:2a02] (rev 0c)
        Subsystem: Lenovo ThinkPad T61/R61 [17aa:20b5]
        Kernel driver in use: i915


Running
Code: Select all
glxinfo | grep -i direct
results in:
Code: Select all
direct rendering: Yes


Running kwin --replace with the desktop effects on gives:
Code: Select all
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:                   Intel Open Source Technology Center
OpenGL renderer string:                 Mesa DRI Intel(R) 965GM x86/MMX/SSE2
OpenGL version string:                  2.1 Mesa 9.2.2
OpenGL shading language version string: 1.20
Driver:                                 Intel
GPU class:                              i965
OpenGL version:                         2.1
GLSL version:                           1.20
Mesa version:                           9.2.2
X server version:                       1.15
Linux kernel version:                   3.12
Direct rendering:                       yes
Requires strict binding:                no
GLSL shaders:                           yes
Texture NPOT support:                   yes
Virtual Machine:                        no
Application::crashHandler() called with signal 11; recent crashes: 1
KCrash: Application 'kwin' crashing...
KCrash: Attempting to start /usr/lib/kde4/libexec/drkonqi from kdeinit
sock_file=/home/mr/.kde/socket-pixie/kdeinit4__0
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:                   Intel Open Source Technology Center
OpenGL renderer string:                 Mesa DRI Intel(R) 965GM x86/MMX/SSE2
OpenGL version string:                  2.1 Mesa 9.2.2
OpenGL shading language version string: 1.20
Driver:                                 Intel
GPU class:                              i965
OpenGL version:                         2.1
GLSL version:                           1.20
Mesa version:                           9.2.2
X server version:                       1.15
Linux kernel version:                   3.12
Direct rendering:                       yes
Requires strict binding:                no
GLSL shaders:                           yes
Texture NPOT support:                   yes
Virtual Machine:                        no
Application::crashHandler() called with signal 11; recent crashes: 2
KCrash: Application 'kwin' crashing...
KCrash: Attempting to start /usr/lib/kde4/libexec/drkonqi from kdeinit
sock_file=/home/mr/.kde/socket-pixie/kdeinit4__0


If I switch my rendering method to XRender I am able to load some of the effects. What can I do to get my normal workflow back?
mgraesslin
KDE Developer
Posts
572
Karma
7
OS
There should be DrKonqi opening providing additional information. Please provide that
luebking
Karma
0
Likely bug https://bugs.kde.org/show_bug.cgi?id=327310
call (in konsole)
Code: Select all
kwriteconfig --file kwinrc --group Compositing --key GLCore false

Then reboot (really, reboot) and see what happens.
User avatar tassos
Registered Member
Posts
32
Karma
0
OS
luebking wrote:Likely bug https://bugs.kde.org/show_bug.cgi?id=327310
call (in konsole)
Code: Select all
kwriteconfig --file kwinrc --group Compositing --key GLCore false

Then reboot (really, reboot) and see what happens.


Nothing happens, after calling your command at the command line I rebooted. I then went to systems settings, checked the "enable desktop effects" option and the system informed me that "20 plugin failed to load".

mgraesslin wrote:There should be DrKonqi opening providing additional information. Please provide that


Martin, there isn't any aditional information. When I crash kwin manually but then all sorts of wierd behaviour is happening that does not allow me to click on windows etc. Do you have anything in particular that I could run that will provide a trace or something?
User avatar tassos
Registered Member
Posts
32
Karma
0
OS
As a follow up after the above (having run the command luebking suggested) I stoped kdm and run dpkg-reconfigure on xserver-xorg-video-intel. When I started kdm again and loged in, kwin informed that it has crashed and I managed to get the bug report assistant. The trace is included below:

Code: Select all
Application: KWin (kwin), signal: Segmentation fault
Using host libthread_db library "/lib/i386-linux-gnu/i686/cmov/libthread_db.so.1".
[KCrash Handler]
#6  0xad583fcb in ?? () from /usr/lib/i386-linux-gnu/dri/i965_dri.so
#7  0xad53fc44 in ?? () from /usr/lib/i386-linux-gnu/dri/i965_dri.so
#8  0xacecacf8 in ?? () from /usr/lib/i386-linux-gnu/libdricore9.2.2.so.1
#9  0xacecaef1 in ?? () from /usr/lib/i386-linux-gnu/libdricore9.2.2.so.1
#10 0xb6402051 in KWin::GLVertexBuffer::draw(QRegion const&, unsigned int, int, int, bool) () from /usr/lib/libkwinglutils.so.1abi2
#11 0xb64055fe in KWin::GLVertexBuffer::render(QRegion const&, unsigned int, bool) () from /usr/lib/libkwinglutils.so.1abi2
#12 0xb640567c in KWin::GLVertexBuffer::render(unsigned int) () from /usr/lib/libkwinglutils.so.1abi2
#13 0xb765667e in ?? () from /usr/lib/kde4/libkdeinit/libkdeinit4_kwin.so
#14 0xb765a066 in ?? () from /usr/lib/kde4/libkdeinit/libkdeinit4_kwin.so
#15 0xb7648041 in ?? () from /usr/lib/kde4/libkdeinit/libkdeinit4_kwin.so
#16 0xb7645827 in ?? () from /usr/lib/kde4/libkdeinit/libkdeinit4_kwin.so
#17 0xb766d3d3 in ?? () from /usr/lib/kde4/libkdeinit/libkdeinit4_kwin.so
#18 0xb764826c in ?? () from /usr/lib/kde4/libkdeinit/libkdeinit4_kwin.so
#19 0xb765d9a7 in ?? () from /usr/lib/kde4/libkdeinit/libkdeinit4_kwin.so
#20 0xb763e740 in ?? () from /usr/lib/kde4/libkdeinit/libkdeinit4_kwin.so
#21 0xb763fbae in ?? () from /usr/lib/kde4/libkdeinit/libkdeinit4_kwin.so
#22 0xb75b9968 in ?? () from /usr/lib/kde4/libkdeinit/libkdeinit4_kwin.so
#23 0xb5f00347 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#24 0xb5f4d1d5 in QFutureWatcherBase::finished() () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#25 0xb5dc745c in ?? () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#26 0xb5dc7733 in QFutureWatcherBase::event(QEvent*) () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#27 0xb53f1936 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/i386-linux-gnu/libQtGui.so.4
#28 0xb53f8463 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/i386-linux-gnu/libQtGui.so.4
#29 0xb6b29004 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#30 0xb75ee5b9 in ?? () from /usr/lib/kde4/libkdeinit/libkdeinit4_kwin.so
#31 0xb5eeb0ec in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#32 0xb5eee9d5 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#33 0xb5f1e293 in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#34 0xb54a3d2b in ?? () from /usr/lib/i386-linux-gnu/libQtGui.so.4
#35 0xb5ee9a93 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#36 0xb5ee9dc9 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#37 0xb5eefbee in QCoreApplication::exec() () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#38 0xb53efdc4 in QApplication::exec() () from /usr/lib/i386-linux-gnu/libQtGui.so.4
#39 0xb75ef95e in kdemain () from /usr/lib/kde4/libkdeinit/libkdeinit4_kwin.so
#40 0x0804856b in ?? ()
#41 0xb73d78c5 in __libc_start_main (main=0x8048550, argc=3, ubp_av=0xbf867a04, init=0x8048670 <__libc_csu_init>, fini=0x80486e0 <__libc_csu_fini>, rtld_fini=0xb77350c0 <_dl_fini>, stack_end=0xbf8679fc) at libc-start.c:276
#42 0x0804858e in _start ()


Hope that helps
luebking
Karma
0
lacks backtrace symbols - you need to install lib*gl*-mesa-dev and kde-workspace-dev packages

All one can say so far is that it crashes in the GL driver, for more information, one would need to know where in the driver code precisely (though it really looks a hell like the bugs around glXCreateContextAttribsARB and xcb)

if you restart kwin from konsole
Code: Select all
kwin --replace &

do you get output like
[xcb] Unknown sequence number while processing queue
User avatar tassos
Registered Member
Posts
32
Karma
0
OS
Without having desktop effects enabled it gives me

Code: Select all
[email protected]:~$ kwin --replace &
[1] 11808
[email protected]:~$ 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


If I try to enable desktop effects then kwin crashes 3 or 4 times in a row with the trace that I posted before.
luebking
Karma
0
The question is, wheter it prints
[xcb] Unknown sequence number while processing queue

to konsole when it crashes - otherwise debug symbols will be mandatory.
User avatar tassos
Registered Member
Posts
32
Karma
0
OS
Should I file a bug then ?
luebking
Karma
0
A bug report on that backtrace is close to pointless (say that it crashes "somewhere" in the driver after "some" GL call in kwin)
If you however get that output, it (very likely) is bug #327310 - just the additional info would be that just using createContextARB (GL3 or not) could cause this.

 
Reply to topic

Bookmarks



Who is online

Registered users: Baidu [Spider], Bing [Bot], CRN110, Google [Bot], kaiso, marvarideabi, mcoudert, rblackwell, robstenger, sergei_franco, Sogou [Bot], Will_S., Yahoo [Bot]