View previous topic :: View next topic |
Author |
Message |
Mxyzptlk83 n00b
Joined: 22 Apr 2006 Posts: 1
|
Posted: Sat Apr 22, 2006 10:27 am Post subject: Compiz makes Xgl segmentation fault |
|
|
When executing compiz, Xgl produces a segmentation fault and compiz says: X connection to :1.0 broken (explicit kill or server shutdown)
I've tried with glxgears and it occurs the same, but there's no problem with xterm and other non-opengl apps.
Logs doesn't show anything interesting.
I'm using ati-drivers-8.23.7 on an ati mobility radeon 9700, I don't understand very well why is this happening because kororaa's livecd works fine.
Is someone having the same problem? |
|
Back to top |
|
|
sternklang Veteran
Joined: 10 Sep 2005 Posts: 1641 Location: Somewhere in time and space
|
Posted: Sat Apr 22, 2006 1:41 pm Post subject: |
|
|
Hi,
Some more information would be helpful in figuring this out.
First, could you post your "emerge --info"?
While I assume you're running coffeebuzz's overlay, there are actually three different versions of compiz there -- the original (deprecated) version, compiz-vanilla and compiz-quinnstorm. So the revision of the overlay and the version of compiz you are running would be helpful.
Did you follow the steps in the XGL Howto in setting this up? Did you use the install.sh script to install it? Which method are you using to run it -- in a window under another X server, with startxgl from a command line, as part of a Gnome session? |
|
Back to top |
|
|
Mxyzptlk n00b
Joined: 19 Jan 2005 Posts: 8
|
Posted: Sat Apr 22, 2006 2:38 pm Post subject: |
|
|
The output of emerge --info:
Code: |
Portage 2.1_pre7-r5 (default-linux/x86/2005.1, gcc-3.4.6, glibc-2.4-r1, 2.6.16-suspend2-r2 i686)
=================================================================
System uname: 2.6.16-suspend2-r2 i686 Intel(R) Pentium(R) M processor 1500MHz
Gentoo Base System version 1.12.0_pre17
dev-lang/python: 2.3.5, 2.4.2-r1
sys-apps/sandbox: 1.2.17
sys-devel/autoconf: 2.13, 2.59-r7
sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils: 2.16.1-r2
sys-devel/libtool: 1.5.22
virtual/os-headers: 2.6.11-r5
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium-m -pipe -O2 -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/share/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium-m -pipe -O2 -fomit-frame-pointer -fvisibility-inlines-hidden -D_FILE_OFFSET_BITS=64"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LC_ALL="es_ES.UTF-8"
LINGUAS="es"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/xgl-coffee"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X aac acpi akode alsa apm arts avi bash-completion berkdb bitmap-fonts browserplugin cairo cdr cli cpdflib crypt cups dba dri dvd dvdr emboss encode foomaticdb ftp gd gd-external gdbm gif glitz gpm gstreamer hal imlib isdnlog jpeg kde libg++ libwww mad matroska mikmod mmx motif mozilla mp3 mpeg msn musicbrainz ncurses nls nptl nptlonly nsplugin offensive ogg oggvorbis opengl pam pcre pdflib perl png pppd python qt quicktime readline real reflection samba sdl session spell spl ssl svg tcpd truetype truetype-fonts type1-fonts unicode userlocales vorbis wifi win32codecs xcomposite xml2 xorg xv xvid zlib elibc_glibc input_devices_evdev input_devices_keyboard input_devices_mouse input_devices_synaptics kernel_linux linguas_es userland_GNU video_cards_radeon video_cards_ati video_cards_fglrx video_cards_vesa video_cards_vga"
Unset: ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LDFLAG
|
I'm running coffebuzz's overlay (revision 165, the last one), I've tried vanilla and quinnstorm, but now the version installed is vanilla(0.0.9_p20060416)
I have followed the steps in the howto, tried to install with the provided script install.sh and also by hand. The method I use to run it is in a window another X server with startxgl and by hand.
The problem must be in something related to glx, because I can't even execute glxinfo from a xterm inside Xgl.
Hope this will help, and thanks |
|
Back to top |
|
|
zietbukuel l33t
Joined: 30 Dec 2005 Posts: 607
|
Posted: Sat Apr 22, 2006 3:50 pm Post subject: |
|
|
Try compiz-quinnstorm(works fine in my system), compiz-vanilla has some problems... |
|
Back to top |
|
|
Mxyzptlk n00b
Joined: 19 Jan 2005 Posts: 8
|
Posted: Sat Apr 22, 2006 5:22 pm Post subject: |
|
|
I've already tried it, but it occurs the same, that's why I think it's something related with glx. |
|
Back to top |
|
|
Mxyzptlk n00b
Joined: 19 Jan 2005 Posts: 8
|
Posted: Sat Apr 22, 2006 11:14 pm Post subject: |
|
|
This is what I get from stracing XGL command:
Code: |
ioctl(0, FIONREAD, [0]) = 0
select(256, [0 4 5 7], NULL, NULL, {586, 173000}) = 1 (in [7], left {586, 173000})
ioctl(0, FIONREAD, [0]) = 0
gettimeofday({1145754639, 806468}, NULL) = 0
read(7, "\223\24^\0\1\0\0\0\2\0\0\0e\1\0\0GL_ARB_imaging G"..., 4096) = 412
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGSEGV +++
Process 23763 detached
|
And this is from compiz:
Code: |
writev(4, [{"7\0\4\0\3\0 \0\2\0 \0\0\0\0\0H\1\7\0\2\0 \0\3\0 \0\1\0"..., 116}, {"GLX", 3}, {"\0", 1}], 3) = 120
read(4, "\1\0{\0\0\0\0\0\1\223X\231\0\0\0\0\f\0\0\0\7\0\0\0\230"..., 32) = 32
write(4, "\223\7\3\0\1\0\0\0\2\0\0\0", 12) = 12
read(4, "\1\0|\0\0\0\0\0\1\0\0\0\2\0\0\0008\247T\10\0\0\0\0H\0\0"..., 32) = 32
writev(4, [{"b\7\5\0\v\0\0\0", 8}, {"XFree86-DRI", 11}, {"\0", 1}], 3) = 20
read(4, "\1\0}\0\0\0\0\0\0\0\0\0\1\0\0\0\24\0\0\0\7\0\0\0\230ST"..., 32) = 32
write(4, "\223\16\2\0\0\0\0\0", 8) = 8
read(4, "\1\0~\0\230\0\0\0\4\0\0\0&\0\0\0ppT\10C\206\307\2674\235"..., 32) = 32
read(4, ",\0\0\0\4\0\0\0\1\0\0\0\10\0\0\0\10\0\0\0\10\0\0\0\10\0"..., 152) = 152
read(4, "-\0\0\0\4\0\0\0\1\0\0\0\10\0\0\0\10\0\0\0\10\0\0\0\10\0"..., 152) = 152
read(4, ".\0\0\0\4\0\0\0\1\0\0\0\10\0\0\0\10\0\0\0\10\0\0\0\10\0"..., 152) = 152
read(4, "/\0\0\0\4\0\0\0\1\0\0\0\10\0\0\0\10\0\0\0\10\0\0\0\10\0"..., 152) = 152
mmap2(NULL, 266240, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7b77000
write(4, "\223\24^\0\1\0\0\0\2\0\0\0e\1\0\0GL_ARB_imaging G"..., 412) = 412
read(4, "", 32) = 0
write(2, "X connection to :1.0 broken (exp"..., 65X connection to :1.0 broken (explicit kill or server shutdown).
) = 65
exit_group(1) = ?
Process 23772 detached
|
|
|
Back to top |
|
|
sternklang Veteran
Joined: 10 Sep 2005 Posts: 1641 Location: Somewhere in time and space
|
Posted: Sun Apr 23, 2006 12:13 am Post subject: |
|
|
It really does look like GLX, and since you seem to be running ATI (video_cards_fglrx) perhaps a change in driver version would help? Are you running the latest masked version, 8.24.8? |
|
Back to top |
|
|
Mxyzptlk n00b
Joined: 19 Jan 2005 Posts: 8
|
Posted: Sun Apr 23, 2006 8:50 am Post subject: |
|
|
No, I'm running 8.23.7 and it has opengl USE flag, trying without it... |
|
Back to top |
|
|
Mxyzptlk n00b
Joined: 19 Jan 2005 Posts: 8
|
Posted: Sun Apr 23, 2006 10:33 am Post subject: |
|
|
I've tried without opengl USE flag and with ati-drivers-8.24.8 but the same result
¿Maybe it's a problem with xorg and/or mesa? I've already recompiled it a few times |
|
Back to top |
|
|
Mxyzptlk n00b
Joined: 19 Jan 2005 Posts: 8
|
Posted: Wed Apr 26, 2006 1:24 pm Post subject: |
|
|
More information... when I recompile ati-drivers, the output says:
Code: |
QA Notice: the following files contain runtime text relocations
Text relocations force the dynamic linker to perform extra
work at startup, waste system resources, and may pose a security
risk. On some architectures, the code may not even function
properly, if at all.
For more information, see http://hardened.gentoo.org/pic-fix-guide.xml
Please include this file in your report:
/var/tmp/portage/ati-drivers-8.24.8/temp/scanelf-textrel.log
TEXTREL usr/lib/opengl/ati/lib/libGL.so.1.2
TEXTREL usr/lib/xorg/modules/dri/atiogl_a_dri.so
TEXTREL usr/lib/xorg/modules/dri/fglrx_dri.so
TEXTREL usr/lib/xorg/modules/drivers/fglrx_drv.so
QA Notice: the following files contain executable stacks
Files with executable stacks will not work properly (or at all!)
on some architectures/operating systems. A bug should be filed
at http://bugs.gentoo.org/ to make sure the file is fixed.
For more information, see http://hardened.gentoo.org/gnu-stack.xml
Please include this file in your report:
/var/tmp/portage/ati-drivers-8.24.8/temp/scanelf-execstack.log
RWX --- --- usr/lib/opengl/ati/lib/libGL.so.1.2
RWX --- --- usr/lib/xorg/modules/dri/fglrx_dri.so
|
I don't understand very well this, ¿someone knows anything about it? I'll read the guide on how to fix it... |
|
Back to top |
|
|
infirit l33t
Joined: 11 Jan 2003 Posts: 778 Location: Hoofddorp / The Netherlands
|
Posted: Thu Apr 27, 2006 11:41 am Post subject: |
|
|
Mxyzptlk, you can ignore those qa messages.
Better read the xgl thread and if you still have not found the solution ask there and not in a new thread. _________________ EASY TO INSTALL = Difficult to install, but instruction manual has pictures.
Join the adopt an unanswered post initiative today |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|