Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 78190 - xorg-x11-6.8.1.902 crashes when starting opengl apps
Summary: xorg-x11-6.8.1.902 crashes when starting opengl apps
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 All
: High normal
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-01-16 02:26 UTC by Christian Hartmann (RETIRED)
Modified: 2005-06-11 21:04 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Christian Hartmann (RETIRED) gentoo-dev 2005-01-16 02:26:15 UTC
xorg-x11-6.8.1.901 worked fine. But whenever I start a opengl app in 6.8.1.902 the xserver crashes. I've found nothing suspicious in the logs. The xserver just goes up in smoke and restarts.

Some info that hopefully might help:

x11-base/xorg-x11-6.8.1.902 -3dfx -3dnow +bitmap-fonts -cjk -debug -dlloader -dmx +doc -font-server -hardened -insecure-drivers -ipv6 -minimal +mmx +nls +opengl +pam -sdk +sse -static +truetype-fonts -type1-fonts (-uclibc) -xprint +xv

0000:00:02.0 VGA compatible controller: Intel Corp. 82852/855GM Integrated Graphics Device (rev 02)

Section "Module"
   Load   "dbe"
   SubSection   "extmod"
      Option   "omit xfree86-dga"
   EndSubSection
   Load   "type1"
   Load   "freetype"
   Load   "ddc"
   Load   "vbe"
   Load   "glx"
   Load   "synaptics"
EndSection

Section "Device"
   Identifier   "I855GM"
   Driver      "i810"
   VideoRam    16384
EndSection
Comment 1 Donnie Berkholz (RETIRED) gentoo-dev 2005-01-16 19:26:36 UTC
ls -l /usr/X11R6/ and emerge info, please. Also if you'd like to check xc/ChangeLog for entries potentially related to Intel drivers since 6.8.1.901, that'd be cool.
Comment 2 Christian Hartmann (RETIRED) gentoo-dev 2005-01-17 09:31:11 UTC
Looks like changes have been made to the driver itself:
http://freedesktop.org/cgi-bin/viewcvs.cgi/xorg/xc/ChangeLog?r1=1.642&r2=1.643

The info you requested:
$ ls -l /usr/X11R6/
total 8
drwxr-xr-x  2 root root 4096 Jan 15 13:10 bin
drwxr-xr-x  8 root root  102 Jan 15 13:10 include
lrwxrwxrwx  1 root root    6 Jan 15 13:10 lib -> ../lib
drwxr-xr-x  6 root root   62 Oct 17 02:48 man
drwxr-xr-x  2 root root   29 Oct 24 13:49 share

Portage 2.0.51-r12 (default-linux/x86/2004.2, gcc-3.4.3, glibc-2.3.4.20040808-r1, 2.6.10-gentoo-r4 i686)
=================================================================
System uname: 2.6.10-gentoo-r4 i686 Intel(R) Pentium(R) M processor 1400MHz
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.3.4 [2.3.4 (#1, Oct 20 2004, 03:23:59)]
ccache version 2.3 [enabled]
dev-lang/python:     2.3.4
sys-devel/autoconf:  2.59-r5
sys-devel/automake:  1.8.5-r1
sys-devel/binutils:  2.15.92.0.2-r1
sys-devel/libtool:   1.5.2-r7
virtual/os-headers:  2.6.8.1-r1, 2.6.8.1-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=pentium-m -fomit-frame-pointer -ftracer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=pentium-m -fomit-frame-pointer -ftracer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync1.de.gentoo.org/gentoo-portage"
USE="x86 X aalib acpi acpi4linux apache2 arts artswrappersuid avi bitmap-fonts crypt cups divx4linux doc dvd dvdr dvdread ethereal flash gd gif innodb jpeg jpeg2k kde mmx mng moznocompose moznoirc moznomail mozsvg mp3 mpeg mplayer mysql ncurses nls nptl oggvorbis opengl pam pdflib perl php png prelude qt quicktime real samba sse sse2 ssl svg tiff truetype truetype-fonts unicode usb vhosts wifi winbind wmf xine xscreensaver xv xvid"
Comment 3 Donnie Berkholz (RETIRED) gentoo-dev 2005-01-17 09:40:48 UTC
You need to be looking at 6_8-branch, not HEAD.
Comment 4 Andreas Vinsander 2005-01-21 07:36:06 UTC
My xorg (6.8.1.902) hangs when I try to start glxgears

Hw: ATI Radeon 7500 Mobility (Radeon Mobility M7) in a Compaq Evo N800v laptop

The only way of regaining control of the console is to do a hard reset. Killing X via ssh won't let me access the textconsole. Doing a 'shutdown -r now' won't reboot the machine.

Seems like the issues is not Intel specific...
Comment 5 Andreas Vinsander 2005-01-21 13:13:09 UTC
The same problem can be seen on 6.8.1.901 for me... maybe this is tied to something else... like kernel version? (I'm running gentoo-dev-sources-2.6.10-r6, the whole gentoo installation is ~x86)

I will try the latest stable version as well and report here as soon as I get back to work (probably monday)
Comment 6 Christian Hartmann (RETIRED) gentoo-dev 2005-01-23 03:44:45 UTC
I did some more testing. I was wrong. --- Same problem with 901 on several machines w/ different gfx-cards. (E.g. Matrox) When enabling the glx-Extension and starting an OpenGL application (e.g. xscreensaver) the xserver immediately crashes.
Comment 7 clemenswaechter 2005-01-23 08:09:28 UTC
I am having the same problem with xorg-x11 6.8.0-r4 and the ati drivers.
Starting any program using opengl crashes x11. Using opengl-update to switch
back and forth between xorg-x11 and ati implementations doesn't change anything. So I don't think that it has anything to do with the driver.
The Server crashes with signal 11.
The funny thing is: the same thing occurs when I try to start openoffice, I haven't tried firefox yet.
Comment 8 Arthur I. 2005-01-24 02:50:55 UTC
same problem with xscreensaver and matrox gfx ..
i'm use mgadrivers from matrox 
Comment 9 Donnie Berkholz (RETIRED) gentoo-dev 2005-05-24 01:18:04 UTC
Is this still a problem with 6.8.2 and 6.8.99.x? Please reopen when you reply.
Comment 10 Donnie Berkholz (RETIRED) gentoo-dev 2005-06-10 15:56:07 UTC
I got a private email from clemenswaechter that this bug was unreproduceable.
Comment 11 Donnie Berkholz (RETIRED) gentoo-dev 2005-06-10 15:56:34 UTC
Works in 6.8.2
Comment 12 MAL 2005-06-11 14:40:03 UTC
I'm seeing this with xorg-x11-6.8.2-r1 and an nvidia card.

The X server segfaults:

Fatal server error:
Caught signal 11.  Server aborting


Please consult the The X.Org Foundation support 
         at http://wiki.X.Org
 for help. 
Please also check the log file at "/var/log/Xorg.0.log" for additional information.

(II) Screen 0 shares mem & io resources
(II) Screen 1 shares mem & io resources


I'm not sure what's with the "shares mem & io resources" bit - I have 2 screens,
one on a matrox and one on the nvidia.

This setup has been working fine for OpenGL apps - I last updated X.org on April
12th.

I have tried remerging xorg-x11, nvidia-glx, nvidia-kernel and opengl-update.


emerge info:

Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.3.5-20050130,
glibc-2.3.4.20041102-r1, 2.6.11-gentoo-r9 i686)
=================================================================
System uname: 2.6.11-gentoo-r9 i686 AMD Athlon(tm) XP 1700+
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.2.3-r5,dev-lang/python-2.3.5 [2.3.5 (#1,
Apr 28 2005, 13:04:07)]
distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
dev-lang/python:     2.2.3-r5, 2.3.5
sys-apps/sandbox:    [Not Present]
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.5, 1.7.9-r1, 1.6.3, 1.9.5, 1.4_p6, 1.8.5-r3
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.16
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-xp -mcpu=athlon-xp -O2 -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env
/usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config
/usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/
/usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-xp -mcpu=athlon-xp -O2 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms strict userpriv
usersandbox"
GENTOO_MIRRORS="http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/
http://gentoo.blueyonder.co.uk http://mirror.datapipe.net/gentoo
http://mirror.uni-c.dk/gentoo/ http://ftp.ntua.gr/pub/linux/gentoo/"
LANG="en_GB.UTF-8"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j1"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://192.168.0.254/gentoo-portage"
USE="x86 3dnow 3dnowext S3TC X X509 a52 aac aalib acpi alsa amd amuled apm avi
berkdb bitmap-fonts bluetooth bonobo bzip2 bzlib cdda cddb cdio cdr chroot
clamav crypt cscope cups curl dga directfb disablexmb divx4linux dmx dv dvd dvdr
dvdread edl eds emboss encode esd ethereal faac faad fam fb fbcon ffmpeg fla
flac fmod foomaticdb freetype gb gd gdbm geoip gif gimpprint gmail gnokii
gphoto2 gpm gstreamer gtk gtk2 gtkhtml guile imagemagick imap imlib imlib2 jack
java jpeg jpeg2k lcms libcaca libg++ libgda libwww live lua lzo lzw lzw-tiff mad
maildir mailwrapper matroska matrox md5sum mikmod mjpeg mmx mmxext mng monkey
motif mozcalendar mozdevelop mozilla mozp3p mozsvg mozxmlterm mp3 mpeg mpeg2
mpeg4 mplayer msn mysql nas ncurses network nls nptl nptlonly ntlm nvidia oav
ogg oggvorbis opengl operanom2 oss pam pcntl pcre pdf pdflib perl pic png ppds
python qt quicktime readline real remote rtc ruby samba sasl scanner sdl slang
slp sms speex spell sse ssl stencil-buffer stream svg tcpd tga theora tiff
truetype truetype-fonts type1 type1-fonts unicode usb utf8 v4l v4l2 vcd vidix
vlm vorbis wmf wxgtk1 wxwindows xanim xface xine xinerama xml xml2 xmms xosd xpm
xprint xrandr xv xvid xvmc yahoo yv12 zlib video_cards_nvidia video_cards_matrox
userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CBUILD, CTARGET, LC_ALL, LINGUAS
Comment 13 Donnie Berkholz (RETIRED) gentoo-dev 2005-06-11 21:04:08 UTC
File a new bug please, there are many reasons this particular symptom can come
up and this particular one is considered fixed.

Before you file it, please check whether you can reproduce with the "nv" driver.