[Bug 634305] New: Kwin 4.5 crashes with VSync enabled with KMS and intel driver
https://bugzilla.novell.com/show_bug.cgi?id=634305 https://bugzilla.novell.com/show_bug.cgi?id=634305#c0 Summary: Kwin 4.5 crashes with VSync enabled with KMS and intel driver Classification: openSUSE Product: openSUSE 11.3 Version: Final Platform: Other OS/Version: Other Status: NEW Severity: Critical Priority: P5 - None Component: KDE4 Workspace AssignedTo: kde-maintainers@suse.de ReportedBy: mvyskocil@novell.com QAContact: qa@suse.de CC: llunak@novell.com, sndirsch@novell.com Found By: Development Blocker: --- When querying which desktop effect might cause the X server freeze tracked in bnc#597078 when using KMS and intel driver, I found the workaround - enable VSync. With this option no freeze appears, but the kwin crashes every time I push Apply button (I assume this crash maybe prevents the X freeze ;-)) in systemsettings. Installed related packages kwin-4.5.0-493.4.x86_64 (KDE:KDE4:Factory:Desktop) xorg-x11-server-7.5_1.8.0-10.3.1.x86_64 (11.3-update-test) kernel-desktop-2.6.35.1-3.1.x86_64 (Kernel:HEAD) This is a trace from kwin - not sure if it's kwin or Xorg related Application: KWin (kwin), signal: Segmentation fault [KCrash Handler] #6 dri2DrawableGetMSC (psc=0x7f3214001370, pdraw=0x0, ust=0x7fff4a77e318, msc=0x7fff4a77e310, sbc=0x7fff4a77e308) at dri2_glx.c:226 #7 0x00007f322e34a185 in __glXGetVideoSyncSGI (count=0x7fff4a77e35c) at glxcmds.c:2317 #8 0x00007f323089dc21 in KWin::SceneOpenGL::waitSync (this=<value optimized out>) at /usr/src/debug/kdebase-workspace-4.5.0/kwin/scene_opengl.cpp:781 #9 0x00007f32308b1570 in KWin::SceneOpenGL::flushBuffer (this=0x740b60, mask=<value optimized out>, damage=...) at /usr/src/debug/kdebase-workspace-4.5.0/kwin/scene_opengl.cpp:830 #10 0x00007f32308fb530 in KWin::SceneOpenGL::paint (this=0x740b60, damage=..., toplevels=<value optimized out>) at /usr/src/debug/kdebase-workspace-4.5.0/kwin/scene_opengl.cpp:761 #11 0x00007f32308dc3f9 in KWin::Workspace::performCompositing (this=0x7f3214008a50) at /usr/src/debug/kdebase-workspace-4.5.0/kwin/composite.cpp:454 #12 0x00007f3230909c15 in KWin::Workspace::qt_metacall (this=0x7f3214008a50, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff4a77e7a0) at /usr/src/debug/kdebase-workspace-4.5.0/build/kwin/workspace.moc:583 #13 0x00007f322cef9a1f in QMetaObject::activate (sender=0x7f3214008f18, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x0) at kernel/qobject.cpp:3295 #14 0x00007f322cef722e in QObject::event (this=0x7f3214008f18, e=0x7fff4a77ef40) at kernel/qobject.cpp:1212 #15 0x00007f322c0ba4d4 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4 #16 0x00007f322c0c2aca in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4 #17 0x00007f323004e0b6 in KApplication::notify(QObject*, QEvent*) () from /usr/lib64/libkdeui.so.5 #18 0x00007f322cee5e4c in QCoreApplication::notifyInternal (this=0x7fff4a77f450, receiver=0x7f3214008f18, event=0x7fff4a77ef40) at kernel/qcoreapplication.cpp:726 #19 0x00007f322cf110c9 in sendEvent (this=0x6341a0) at kernel/qcoreapplication.h:215 #20 QTimerInfoList::activateTimers (this=0x6341a0) at kernel/qeventdispatcher_unix.cpp:618 #21 0x00007f322cf118c0 in QEventDispatcherUNIX::processEvents (this=0x612010, flags=...) at kernel/qeventdispatcher_unix.cpp:939 #22 0x00007f322c15bcbc in ?? () from /usr/lib64/libQtGui.so.4 #23 0x00007f322cee5292 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149 #24 0x00007f322cee5495 in QEventLoop::exec (this=0x7fff4a77f390, flags=...) at kernel/qeventloop.cpp:201 #25 0x00007f322cee988b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1003 #26 0x00007f3230908314 in kdemain (argc=<value optimized out>, argv=0x7fff4a77f450) at /usr/src/debug/kdebase-workspace-4.5.0/kwin/main.cpp:531 #27 0x00007f32304ffb7d in __libc_start_main () from /lib64/libc.so.6 #28 0x0000000000400699 in _start () at ../sysdeps/x86_64/elf/start.S:113 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=634305
https://bugzilla.novell.com/show_bug.cgi?id=634305#c1
--- Comment #1 from Michal Vyskocil
Installed related packages kwin-4.5.0-493.4.x86_64 (KDE:KDE4:Factory:Desktop) xorg-x11-server-7.5_1.8.0-10.3.1.x86_64 (11.3-update-test) kernel-desktop-2.6.35.1-3.1.x86_64 (Kernel:HEAD)
I forgot - the reason why I have newest x server and kernel is I wanted to check if more recent versions do not contain a fix for this bug. If you think the reproducer on clean 11.3 (+ KDE 4.5) is needed, please let me know. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=634305
https://bugzilla.novell.com/show_bug.cgi?id=634305#c2
Lubos Lunak
https://bugzilla.novell.com/show_bug.cgi?id=634305
https://bugzilla.novell.com/show_bug.cgi?id=634305#c3
Stefan Dirsch
https://bugzilla.novell.com/show_bug.cgi?id=634305
https://bugzilla.novell.com/show_bug.cgi?id=634305#c
Stefan Dirsch
https://bugzilla.novell.com/show_bug.cgi?id=634305
https://bugzilla.novell.com/show_bug.cgi?id=634305#c4
--- Comment #4 from Stefan Dirsch
https://bugzilla.novell.com/show_bug.cgi?id=634305
https://bugzilla.novell.com/show_bug.cgi?id=634305#c5
--- Comment #5 from Stefan Dirsch
https://bugzilla.novell.com/show_bug.cgi?id=634305
https://bugzilla.novell.com/show_bug.cgi?id=634305#c6
--- Comment #6 from Stefan Dirsch
https://bugzilla.novell.com/show_bug.cgi?id=634305
https://bugzilla.novell.com/show_bug.cgi?id=634305#c7
Michal Vyskocil
https://bugzilla.novell.com/show_bug.cgi?id=634305
https://bugzilla.novell.com/show_bug.cgi?id=634305#c8
Michal Vyskocil
https://bugzilla.novell.com/show_bug.cgi?id=634305
https://bugzilla.novell.com/show_bug.cgi?id=634305#c9
--- Comment #9 from Stefan Dirsch
Installed related packages kwin-4.5.0-493.4.x86_64 (KDE:KDE4:Factory:Desktop)
project doesn't exist. I've updated KDE4 to 4.5 from KDE:Distro:Factory/openSUSE_11.3 instead. --> kwin-4.5.0-493.4.i586
xorg-x11-server-7.5_1.8.0-10.3.1.x86_64 (11.3-update-test)
xorg-x11-server-7.5_1.8.0-10.3.1.i586
kernel-desktop-2.6.35.1-3.1.x86_64 (Kernel:HEAD)
Meanwhile no longer available. 2.6.36-rc2 give me a blank screen (KMS broken?), so I've installed the update kernel for 11.3 instead. kernel-desktop-2.6.34.4-0.1.1.i586 Anyway, I can't reproduce that issue at all on my GM45 machine. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=634305
https://bugzilla.novell.com/show_bug.cgi?id=634305#c10
--- Comment #10 from Stefan Dirsch
http://lists.freedesktop.org/archives/mesa-dev/2010-July/001604.html
The patch is for a later Mesa version. For now I'm going to apply my patch and provide you a package for testing, since I can't reproduce the issue. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=634305
https://bugzilla.novell.com/show_bug.cgi?id=634305#c11
--- Comment #11 from Michal Vyskocil
Meanwhile no longer available. 2.6.36-rc2 give me a blank screen (KMS broken?), so I've installed the update kernel for 11.3 instead.
I have this problem in .36 from Kernel:HEAD too. It's independent on kernel/X version.
kernel-desktop-2.6.34.4-0.1.1.i586
Anyway, I can't reproduce that issue at all on my GM45 machine.
That's sad (In reply to comment #10)
(In reply to comment #8)
http://lists.freedesktop.org/archives/mesa-dev/2010-July/001604.html
The patch is for a later Mesa version. For now I'm going to apply my patch and provide you a package for testing, since I can't reproduce the issue.
OK, I'll retest it asap. Thanks a lot. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=634305
https://bugzilla.novell.com/show_bug.cgi?id=634305#c12
Stefan Dirsch
https://bugzilla.novell.com/show_bug.cgi?id=634305
https://bugzilla.novell.com/show_bug.cgi?id=634305#c13
Michal Vyskocil
https://bugzilla.novell.com/show_bug.cgi?id=634305
https://bugzilla.novell.com/show_bug.cgi?id=634305#c14
Stefan Dirsch
https://bugzilla.novell.com/show_bug.cgi?id=634305
https://bugzilla.novell.com/show_bug.cgi?id=634305#c15
Christian Trippe
https://bugzilla.novell.com/show_bug.cgi?id=634305
https://bugzilla.novell.com/show_bug.cgi?id=634305#c16
Stephen Dunn
participants (1)
-
bugzilla_noreply@novell.com