Bugzilla – Bug 558447
kwin crash at start if no found 3d/acceleration
Last modified: 2009-12-10 10:16:51 UTC
User-Agent: Opera/9.80 (X11; Linux i686; U; en) Presto/2.2.15 Version/10.01 kwin crash at start if no found 3d/acceleration glxinfo name of display: :0.0 X Error of failed request: BadRequest (invalid request code or no such operation) Major opcode of failed request: 135 (GLX) Minor opcode of failed request: 19 (X_GLXQueryServerString) Serial number of failed request: 14 Current serial number in output stream: 14 but metacity(GNOME WM) - work good, and i think kwin also must work without 3d/acceleration kdebase4-workspace-debuginfo - is installed, but backtrace: Application: KWin (kwin), signal: Aborted [KCrash Handler] #6 0xffffe430 in __kernel_vsyscall () #7 0xb5d2d990 in raise () from /lib/libc.so.6 #8 0xb5d2f2c8 in abort () from /lib/libc.so.6 #9 0xb5d2678e in __assert_fail () from /lib/libc.so.6 #10 0xb60d048b in _XRead () from /usr/lib/libX11.so.6 #11 0xb60082b9 in __glXGetStringFromServer () from /usr/X11R6/lib/libGL.so.1 #12 0x00000040 in ?? () Backtrace stopped: previous frame inner to this frame (corrupt stack?) Reproducible: Always Steps to Reproduce: often when I restart (or start new instance) of Xorg-server - it start without any acceleration, in this case - kwin crash at start
Created attachment 329515 [details] part of dmesg also, line like: Assertion failed in ../../../../../../../../drivers/2d/lnx/fgl/drm/kernel/hal_rs780.c at line: 53 always in dmesg if I switch any VT
Created attachment 329518 [details] Xorg.0.log
rpm -q kdebase4-workspace-debuginfo kdebase4-workspace-debuginfo-4.3.3-2.2 rpm -q kwin kwin-4.3.3-2.2
Did you try with a clean user? Where did you get the ATI driver from? I guess this is a driver issue which causes the lack of accelleration and a kwin issue since it still tries to use it. I have seen it before that only removing kwinrc or disabling effects via a text-editor helped. What you can do to get a better kwin backtrace is open a konsole via ALT+F2 and start kwin with gdb.
Reproducible: Always - kwin crash at start if no found 3d/acceleration Reproducible: Sometimes - X-server start without 3d/acceleration I use X11:XOrg repository, after last update (but I not sure what cause in this) it possible run second X with 3d, but third and next X start without 3d: ------------------------------------------------------ ... (WW) fglrx: No matching Device section for instance (BusID PCI:0@0:20:5) found (WW) fglrx: No matching Device section for instance (BusID PCI:0@1:5:1) found (EE) fglrx(0): Failed to allocate primary surface (frame buffer)! fglrx: QS connection has not been initialized (EE) fglrx(0): XMM failed to open CMMQS connection. [glesx] __glESXExtensionInit: No GL ES2.0 capable screen found! (EE) fglrx(0): firegl_SetSuspendResumeState FAILED -9. (EE) fglrx(0): firegl_GetSuspendResumeState FAILED -9. (EE) fglrx(0): firegl_SetSuspendResumeState FAILED -9. (EE) fglrx(0): firegl_GetSuspendResumeState FAILED -9. (EE) fglrx(0): firegl_SetSuspendResumeState FAILED -9. ------------------------------------------------------ (X-server 3d/acceleration bug hardly to reproduce - it have different behavior in different times (before last update: second X-server start sometimes with 3d, sometimes without)) ------------------------------------------------------ glxinfo name of display: :2.0 X Error of failed request: BadRequest (invalid request code or no such operation) Major opcode of failed request: 135 (GLX) Minor opcode of failed request: 19 (X_GLXQueryServerString) Serial number of failed request: 17 Current serial number in output stream: 17 ------------------------------------------------------ I tried start kwin with gdb, but also get corrupt stack: ------------------------------------------------------ gdb /usr/bin/kwin GNU gdb (GDB; openSUSE 11.1) 6.8.50.20081120-cvs Copyright (C) 2008 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "i586-suse-linux". For bug reporting instructions, please see: <http://bugs.opensuse.org/>... (gdb) run --replace Starting program: /usr/bin/kwin --replace [Thread debugging using libthread_db enabled] kwin: xcb_io.c:542: _XRead: Assertion `dpy->xcb->reply_data != ((void *)0)' failed. Program received signal SIGABRT, Aborted. 0xffffe430 in __kernel_vsyscall () (gdb) where #0 0xffffe430 in __kernel_vsyscall () #1 0xb6477990 in raise () from /lib/libc.so.6 #2 0xb64792c8 in abort () from /lib/libc.so.6 #3 0xb647078e in __assert_fail () from /lib/libc.so.6 #4 0xb681a48b in _XRead () from /usr/lib/libX11.so.6 #5 0xb67522b9 in __glXGetStringFromServer () from /usr/X11R6/lib/libGL.so.1 #6 0x00000040 in ?? () Backtrace stopped: previous frame inner to this frame (corrupt stack?) ------------------------------------------------------ (or maybe need to make something else? - I am newbie in gdb) I get the ATI driver from repositary: http://www2.ati.com/suse/11.1 I also tried start kwin at new user, after this - without kwinrc file - have no effect in any case - kwin crashed
check again: currently, second X-server(and next) start without 3d/acceleration
For a good backtrace you need - Mesa-debuginfo - xorg-x11-*-debuginfo packages installed. They are also included in X11:XOrg repo. Things with "X11" are mostly XOrg bugs...
install this packages: zypper in xorg-x11-*-debuginfo Mesa-debuginfo but still cannot get backtrace
It could also be possible that AMD/ATI builds only against base or base/update repo. (But I do not know...) Maybe there are changes in packages from 'X11:XOrg' repo that fglrx cannot handle... Do you have enough bandwidth for removing 'X11:XOrg' repo and downgrading all files? -debuginfo packages for base/update repos are here: http://download.opensuse.org/debug/distribution/11.1/repo/oss/suse/ http://download.opensuse.org/debug/update/11.1/rpm/ Try also installing 'xorg-x11-debuginfo' package. I forgot it in my last post... We should try all possibilities before involving XOrg team.
I downgrade xorg* mesa* libdrm packages from 11.1 repositaries ( with http://download.opensuse.org/debug/distribution/11.1/repo/oss/suse/ and http://download.opensuse.org/debug/update/11.1/ ) displays 0, 1 and 2 - work with 3d, but "display: :3.0" start without 3d: (and after this, if restart display displays 0, 1 or 2 - it alsa start without 3d) glxinfo name of display: :3.0 X Error of failed request: BadRequest (invalid request code or no such operation) Major opcode of failed request: 143 (GLX) Minor opcode of failed request: 19 (X_GLXQueryServerString) Serial number of failed request: 15 Current serial number in output stream: 15 grep EE /var/log/Xorg.3.log (WW) warning, (EE) error, (NI) not implemented, (??) unknown. (II) Loading extension MIT-SCREEN-SAVER (EE) fglrx(0): Failed to allocate primary surface (frame buffer)! (EE) fglrx(0): XMM failed to open CMMQS connection. (EE) fglrx(0): firegl_SetSuspendResumeState FAILED -9. (EE) fglrx(0): firegl_GetSuspendResumeState FAILED -9. (EE) fglrx(0): firegl_SetSuspendResumeState FAILED -9. (EE) fglrx(0): firegl_GetSuspendResumeState FAILED -9. (EE) fglrx(0): firegl_SetSuspendResumeState FAILED -9. (EE) fglrx(0): firegl_GetSuspendResumeState FAILED -9. (EE) fglrx(0): firegl_SetSuspendResumeState FAILED -9. (EE) fglrx(0): firegl_GetSuspendResumeState FAILED -9. (EE) fglrx(0): firegl_SetSuspendResumeState FAILED -9. rpm -qa "*Mesa*" MesaGLw-devel-7.2-1.25 MesaGLw-7.2-1.25 Mesa-7.2-10.3.6 Mesa-debuginfo-7.2-10.3.6 Mesa-devel-7.2-10.3.6 rpm -qa "*xorg*" |sort xorg-x11-7.4-8.20.1 xorg-x11-Xvnc-7.4-17.6.1 xorg-x11-debuginfo-7.4-8.20.1 xorg-x11-devel-7.4-8.1 xorg-x11-doc-7.4-1.38 xorg-x11-driver-input-7.4-11.6.1 xorg-x11-driver-input-debuginfo-7.4-11.6.1 xorg-x11-driver-video-7.4-19.8.2 xorg-x11-driver-video-debuginfo-7.4-19.8.2 xorg-x11-driver-video-radeonhd-1.3.0_20091124_6387ab4-15.5 xorg-x11-driver-video-radeonhd-debuginfo-1.3.0_20091124_6387ab4-15.5 xorg-x11-driver-video-unichrome-20091117-1.2 xorg-x11-driver-video-unichrome-debuginfo-20091117-3.4 xorg-x11-fonts-7.4-1.32 xorg-x11-fonts-core-7.4-1.32 xorg-x11-fonts-devel-7.4-1.23 xorg-x11-libICE-7.4-1.24 xorg-x11-libICE-devel-7.4-1.24 xorg-x11-libSM-7.4-1.26 xorg-x11-libSM-devel-7.4-1.26 xorg-x11-libX11-7.4-1.25 xorg-x11-libX11-devel-7.4-1.25 xorg-x11-libXau-7.4-1.23 xorg-x11-libXau-devel-7.4-1.23 xorg-x11-libXdmcp-7.4-1.23 xorg-x11-libXdmcp-devel-7.4-1.23 xorg-x11-libXext-7.4-1.25 xorg-x11-libXext-devel-7.4-1.25 xorg-x11-libXfixes-7.4-1.24 xorg-x11-libXfixes-devel-7.4-1.24 xorg-x11-libXmu-7.4-1.26 xorg-x11-libXmu-devel-7.4-1.26 xorg-x11-libXp-7.4-1.25 xorg-x11-libXp-devel-7.4-1.25 xorg-x11-libXpm-7.4-1.27 xorg-x11-libXpm-devel-7.4-1.27 xorg-x11-libXprintUtil-7.4-1.26 xorg-x11-libXprintUtil-devel-7.4-1.26 xorg-x11-libXrender-7.4-1.24 xorg-x11-libXrender-devel-7.4-1.24 xorg-x11-libXt-7.4-1.26 xorg-x11-libXt-devel-7.4-1.26 xorg-x11-libXv-7.4-1.25 xorg-x11-libXv-devel-7.4-1.25 xorg-x11-libfontenc-7.4-1.23 xorg-x11-libfontenc-devel-7.4-1.23 xorg-x11-libs-7.4-8.1 xorg-x11-libxcb-7.4-1.29.1 xorg-x11-libxcb-debuginfo-7.4-1.29.1 xorg-x11-libxcb-devel-7.4-1.29.1 xorg-x11-libxkbfile-7.4-1.25 xorg-x11-libxkbfile-devel-7.4-1.25 xorg-x11-proto-devel-7.4-1.27 xorg-x11-server-7.4-17.6.1 xorg-x11-server-debuginfo-7.4-17.6.1 xorg-x11-server-dmx-7.3.99-8.5 xorg-x11-server-extra-7.4-17.6.1 xorg-x11-server-rdp-7.3.99-2.21 xorg-x11-server-sdk-7.4-17.6.1 xorg-x11-util-devel-7.4-1.22 xorg-x11-xauth-7.4-8.20.1 xorg-x11-xtrans-devel-7.4-4.12 libdrm-2.4.1-1.8
Created attachment 331478 [details] full Xorg.3.log what start without 3d
not sure is it important, but after this downgrade, if I start X by using: "xinit -- :№" it start without xterm (this fixed in Xorg:X11 repo)
Created attachment 331479 [details] xinit - X start without xterm
also: slill corrupt stack of kwin crash: >>displays 0, 1 and 2 - work with 3d, but "display: :3.0" start without 3d: >>(and after this, if restart display displays 0, 1 or 2 - it alsa start without 3d) fixed: displays 0, 1 and 2 - work with 3d, but "display: :3.0" start without 3d, (and after started display without 3d - all displays begin starting without 3d )
Assign to Stefan Dirsch / X.Org
Unfortunately we can't track any fglrx driver bugs filed against openSUSE in Novell's bugzilla. Please complain directly to ATI. Thanks.
ok, but where good place for this bug? http://ati.cchtml.com/ ?? or something else?
(In reply to comment #17) > ok, but where good place for this bug? > http://ati.cchtml.com/ ?? or something else? Yes, that's the usual place to report fglrx driver bugs.
thanks.