[Bug 61182] r600g causes KWin crashes with kernel 3.8

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Apr 1 18:19:43 PDT 2013


https://bugs.freedesktop.org/show_bug.cgi?id=61182

--- Comment #21 from korgens at yandex.com ---
I can also confirm this bug.

Software:
Archlinux standard installation.
Linux 3.8.4-1-ARCH #1 SMP PREEMPT Wed Mar 20 22:10:25 CET 2013 x86_64 GNU/Linux
KDE: 4.10.1 (no widgets, other than the task panel)
Kwin: 4.10.1 (standard OpenGL effects installed)
Org X Server 1.14.0
Release Date: 2013-03-05
X Protocol Version 11, Revision 0
Build Operating System: Linux 3.8.2-1-ARCH x86_64 
Kernel command line: BOOT_IMAGE=/boot/vmlinuz-linux root=UUID=xyz ro
init=/usr/lib/systemd/systemd
Build Date: 09 March 2013  11:43:05AM
Current version of pixman: 0.28.2
mesa: 9.1.1-1 (standard Arch package)

I also tried a git version from AUR repository (same crashes):
OpenGL vendor string:                   X.Org
OpenGL renderer string:                 Gallium 0.4 on AMD RV770
OpenGL version string:                  3.0 Mesa 9.2.0 (git-135bb3c)
OpenGL shading language version string: 1.30
Driver:                                 R600G
GPU class:                              R700
OpenGL version:                         3.0
GLSL version:                           1.30
Mesa version:                           9.2
X server version:                       1.14
Linux kernel version:                   3.8.4
Direct rendering:                       yes
Requires strict binding:                no
GLSL shaders:                           yes
Texture NPOT support:                   yes
Virtual Machine:                        no
Application::crashHandler() called with signal 7; recent crashes: 1

Xorg.conf: empty

Hardware:
Intel i7 920
ATI RV790 [Radeon HD 4890] 1GB VRAM

Monitor 1: 1920x1200 (DVI) - image as background
Monitor 2: 1920x1080 (HDMI) - image as background
Two virtual desktops configured.

How to reproduce: just log in into KDM. When the standard KDE desktop is
displayed the first Kwin crash (caused by r600 crash) has occurred and its
errors is already being displayed. Kwin is re-spawned and everything seems to
be normal for some minutes. Then it crashes again and then again, and again
until kwin and the desktop are dead definitively.

It doesn't seem to matter what applications are being used or if the second
monitor is on or off. The crashes happens all the same.

I didn't try to downgrade either the kernel or xorg, but I'm sure those crashes
started to happen after the latest kernel upgrade to 3.8.x.

Here is the backtrace, which seems to confirm the general suspicion of a
texture-handling problem:

Thread 1 (Thread 0x7fb64bdb6780 (LWP 734)):
[KCrash Handler]
#5  0x00007fb64b59859b in __memset_sse2 () from /usr/lib/libc.so.6
#6  0x00007fb59a42b40a in r600_texture_create_object () from
/usr/lib/xorg/modules/dri/r600_dri.so
#7  0x00007fb59a42b6e7 in r600_texture_create () from
/usr/lib/xorg/modules/dri/r600_dri.so
#8  0x00007fb59a43fbb5 in dri2_allocate_textures () from
/usr/lib/xorg/modules/dri/r600_dri.so
#9  0x00007fb59a43e695 in dri_st_framebuffer_validate () from
/usr/lib/xorg/modules/dri/r600_dri.so
#10 0x00007fb59a43e8ce in dri_set_tex_buffer2 () from
/usr/lib/xorg/modules/dri/r600_dri.so
#11 0x00007fb64b989343 in KWin::GlxTexture::loadTexture(unsigned long const&,
QSize const&, int) () from /usr/lib/libkdeinit4_kwin.so
#12 0x00007fb64b9810f5 in KWin::SceneOpenGL::Window::bindTexture() () from
/usr/lib/libkdeinit4_kwin.so
#13 0x00007fb64b987a0e in KWin::SceneOpenGL::Window::performPaint(int, QRegion,
KWin::WindowPaintData) () from /usr/lib/libkdeinit4_kwin.so
#14 0x00007fb64b9804bf in
KWin::SceneOpenGL2::performPaintWindow(KWin::EffectWindowImpl*, int, QRegion,
KWin::WindowPaintData&) () from /usr/lib/libkdeinit4_kwin.so
#15 0x00007fb64b98065d in
KWin::SceneOpenGL2::finalDrawWindow(KWin::EffectWindowImpl*, int, QRegion,
KWin::WindowPaintData&) () from /usr/lib/libkdeinit4_kwin.so
#16 0x00007fb64b994275 in
KWin::EffectsHandlerImpl::drawWindow(KWin::EffectWindow*, int, QRegion,
KWin::WindowPaintData&) () from /usr/lib/libkdeinit4_kwin.so
#17 0x00007fb64b9738ea in
KWin::Scene::finalPaintWindow(KWin::EffectWindowImpl*, int, QRegion,
KWin::WindowPaintData&) () from /usr/lib/libkdeinit4_kwin.so
#18 0x00007fb64b994517 in
KWin::EffectsHandlerImpl::paintWindow(KWin::EffectWindow*, int, QRegion,
KWin::WindowPaintData&) () from /usr/lib/libkdeinit4_kwin.so
#19 0x00007fb64b9764ad in KWin::Scene::paintWindow(KWin::Scene::Window*, int,
QRegion, KWin::WindowQuadList) () from /usr/lib/libkdeinit4_kwin.so
#20 0x00007fb64b9757df in KWin::Scene::paintSimpleScreen(int, QRegion) () from
/usr/lib/libkdeinit4_kwin.so
#21 0x00007fb64b97382e in KWin::Scene::finalPaintScreen(int, QRegion,
KWin::ScreenPaintData&) () from /usr/lib/libkdeinit4_kwin.so
#22 0x00007fb64b9946e0 in KWin::EffectsHandlerImpl::paintScreen(int, QRegion,
KWin::ScreenPaintData&) () from /usr/lib/libkdeinit4_kwin.so
#23 0x00007fb64b974bc8 in KWin::Scene::paintScreen(int*, QRegion*) () from
/usr/lib/libkdeinit4_kwin.so
#24 0x00007fb64b983f4e in KWin::SceneOpenGL::paint(QRegion,
QList<KWin::Toplevel*>) () from /usr/lib/libkdeinit4_kwin.so
#25 0x00007fb64b96efcc in KWin::Compositor::performCompositing() () from
/usr/lib/libkdeinit4_kwin.so
#26 0x00007fb64b96faa0 in KWin::Compositor::slotCompositingOptionsInitialized()
() from /usr/lib/libkdeinit4_kwin.so
#27 0x00007fb6469b8b8f in QMetaObject::activate(QObject*, QMetaObject const*,
int, void**) () from /usr/lib/libQtCore.so.4
#28 0x00007fb646897487 in QFutureWatcherBase::event(QEvent*) () from
/usr/lib/libQtCore.so.4
#29 0x00007fb645b3618c in QApplicationPrivate::notify_helper(QObject*, QEvent*)
() from /usr/lib/libQtGui.so.4
#30 0x00007fb645b3a60a in QApplication::notify(QObject*, QEvent*) () from
/usr/lib/libQtGui.so.4
#31 0x00007fb64b0eb8c6 in KApplication::notify(QObject*, QEvent*) () from
/usr/lib/libkdeui.so.5
#32 0x00007fb6469a36ae in QCoreApplication::notifyInternal(QObject*, QEvent*)
() from /usr/lib/libQtCore.so.4
#33 0x00007fb6469a7011 in QCoreApplicationPrivate::sendPostedEvents(QObject*,
int, QThreadData*) () from /usr/lib/libQtCore.so.4
#34 0x00007fb645bd731c in ?? () from /usr/lib/libQtGui.so.4
#35 0x00007fb6469a23ff in
QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from
/usr/lib/libQtCore.so.4
#36 0x00007fb6469a2688 in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from
/usr/lib/libQtCore.so.4
#37 0x00007fb6469a7328 in QCoreApplication::exec() () from
/usr/lib/libQtCore.so.4
#38 0x00007fb64b925d9a in kdemain () from /usr/lib/libkdeinit4_kwin.so
#39 0x00007fb64b532a15 in __libc_start_main () from /usr/lib/libc.so.6
#40 0x0000000000400701 in _start ()

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20130402/5188f46f/attachment-0001.html>


More information about the dri-devel mailing list