Xorg seg fault

Bug #776543 reported by Wes W
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
fglrx-installer (Ubuntu)
Expired
High
Unassigned

Bug Description

Binary package hint: xorg

I recently upgraded to natty narwhal and lost X. I have been using the OSS radeon driver in the meantime, but prior to the upgrade, I was happily using FGLRX via the ATI Catalyst Driver. After the upgrade, X wouldn't launch and there is a seg fault in the Xorg log file (attached). Any extra information can be provided as the crash is easily reproducable (for me).

ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: xorg 1:7.6+4ubuntu3
ProcVersionSignature: Ubuntu 2.6.38-8.42-generic 2.6.38.2
Uname: Linux 2.6.38-8-generic x86_64
NonfreeKernelModules: fglrx
Architecture: amd64
CompizPlugins: No value set for `/apps/compiz-1/general/screen0/options/active_plugins'
Date: Tue May 3 12:18:59 2011
DistUpgraded: Log time: 2011-04-29 09:48:31.816060
DistroCodename: natty
DistroVariant: ubuntu
DkmsStatus: fglrx, 8.840, 2.6.38-8-generic, x86_64: installed
GraphicsCard:
 ATI Technologies Inc RV610 [Radeon HD 2400 XT] [1002:94c1] (prog-if 00 [VGA controller])
   Subsystem: ATI Technologies Inc Device [1002:0d02]
JockeyStatus: xorg:fglrx - ATI/AMD proprietary FGLRX graphics driver (Proprietary, Enabled, In use)
MachineType: Hewlett-Packard HP Compaq dc7900 Convertible Minitower
ProcEnviron:
 PATH=(custom, user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcKernelCmdLine: root=UUID=39ec0709-3260-4cd1-a4bb-33084a8dcefd ro quiet splash nomodeset vga=769 mtrr=3,scroll=ywrap
Renderer: Unknown
SourcePackage: xorg
Symptom: display
Title: Xorg freeze
UpgradeStatus: Upgraded to natty on 2011-04-29 (3 days ago)
dmi.bios.date: 03/05/2009
dmi.bios.vendor: Hewlett-Packard
dmi.bios.version: 786G1 v01.16
dmi.board.asset.tag: MXL9130PG8
dmi.board.name: 3032h
dmi.board.vendor: Hewlett-Packard
dmi.chassis.asset.tag: MXL9130PG8
dmi.chassis.type: 6
dmi.chassis.vendor: Hewlett-Packard
dmi.modalias: dmi:bvnHewlett-Packard:bvr786G1v01.16:bd03/05/2009:svnHewlett-Packard:pnHPCompaqdc7900ConvertibleMinitower:pvr:rvnHewlett-Packard:rn3032h:rvr:cvnHewlett-Packard:ct6:cvr:
dmi.product.name: HP Compaq dc7900 Convertible Minitower
dmi.sys.vendor: Hewlett-Packard
version.compiz: compiz 1:0.9.4+bzr20110415-0ubuntu2
version.fglrx-installer: fglrx-installer N/A
version.ia32-libs: ia32-libs 20090808ubuntu13
version.libdrm2: libdrm2 2.4.23-1ubuntu6
version.libgl1-mesa-dri: libgl1-mesa-dri 7.10.2-0ubuntu2
version.libgl1-mesa-dri-experimental: libgl1-mesa-dri-experimental N/A
version.libgl1-mesa-glx: libgl1-mesa-glx 7.10.2-0ubuntu2
version.xserver-xorg: xserver-xorg 1:7.6+4ubuntu3
version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:6.14.0-0ubuntu4
version.xserver-xorg-video-intel: xserver-xorg-video-intel 2:2.14.0-4ubuntu7.1
version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:0.0.16+git20110107+b795ca6e-0ubuntu7

Revision history for this message
Wes W (wesw) wrote :
Revision history for this message
Aaron Murray (xornot) wrote :

Why don't you give me the output of the following (typed into the terminal):

LIBGL_DEBUG=verbose glxinfo | grep render

NOTE: The first time you try the above command it may require you to install "glxinfo". YOu can do this by:

sudo apt-get install mesa-utils

Also, the output of ...

/usr/lib/nux/unity_support_test -p

Thanks.

Revision history for this message
Wes W (wesw) wrote :

I am not sure if I made it clear, but the X server does not launch, at all... When I have fglrx installed and I have X configured to use the fglrx driver, I can only get a text console. If I type those commands into the console, I only get "Cannot open display."

With X configured to use the radeon driver, and fglrx "purged" (using `dpkg --purge`), I can get into X. So, using the radeon driver, the output of those commands is as follows -

:: LIBGL_DEBUG=verbose glxinfo | grep render ::
libGL: XF86DRIGetClientDriverName: 4.3.0 r600 (screen 0)
libGL: OpenDriver: trying /usr/lib/dri/tls/r600_dri.so
libGL: OpenDriver: trying /usr/lib/dri/r600_dri.so
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 4, (OK)
drmOpenByBusid: Searching for BusID pci:0000:01:00.0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 4, (OK)
drmOpenByBusid: drmOpenMinor returns 4
drmOpenByBusid: Interface 1.4 failed, trying 1.1
drmOpenByBusid: drmGetBusid reports pci:0000:01:00.0
libGL error: Calling driver entry point failedlibGL error: reverting to software direct rendering
libGL: OpenDriver: trying /usr/lib/dri/tls/swrast_dri.so
libGL: OpenDriver: trying /usr/lib/dri/swrast_dri.so
direct rendering: Yes
OpenGL renderer string: Software Rasterizer
    GL_NV_conditional_render, GL_NV_depth_clamp, GL_NV_fragment_program,

:: /usr/lib/nux/unity_support_test -p ::

OpenGL vendor string: Mesa Project
OpenGL renderer string: Software Rasterizer
OpenGL version string: 2.1 Mesa 7.10.2

Not software rendered: no
Not blacklisted: yes
GLX fbconfig: yes
GLX texture from pixmap: no
GL npot or rect textures: yes
GL vertex program: yes
GL fragment program: yes
GL vertex buffer object: yes
GL framebuffer object: yes
GL version is 1.4+: yes

Unity supported: no

Revision history for this message
Bryce Harrington (bryce) wrote :

Please collect a full backtrace on this crash - see http://wiki.ubuntu.com/X/Backtracing for guidance.

Changed in xorg (Ubuntu):
importance: Undecided → High
status: New → Incomplete
Revision history for this message
Wes W (wesw) wrote :
Download full text (3.9 KiB)

GNU gdb (Ubuntu/Linaro 7.2-1ubuntu11) 7.2
Copyright (C) 2010 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 "x86_64-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/bin/Xorg...Reading symbols from /usr/lib/debug/usr/bin/Xorg...done.
done.
(gdb) run -keeptty -dumbSched
Starting program: /usr/bin/Xorg -keeptty -dumbSched
[Thread debugging using libthread_db enabled]

X.Org X Server 1.10.1
Release Date: 2011-04-15
X Protocol Version 11, Revision 0
Build Operating System: Linux 2.6.24-29-server x86_64 Ubuntu
Current Operating System: Linux cdo-dt030396 2.6.38-8-generic #42-Ubuntu SMP Mon Apr 11 03:31:24 UTC 2011 x86_64
Kernel command line: root=UUID=39ec0709-3260-4cd1-a4bb-33084a8dcefd vga=867 ro single
Build Date: 19 April 2011 03:40:45PM
xorg-server 2:1.10.1-1ubuntu1 (For technical support please see http://www.ubuntu.com/support)
Current version of pixman: 0.20.2
 Before reporting problems, check http://wiki.x.org
 to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
 (++) from command line, (!!) notice, (II) informational,
 (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Wed May 4 13:00:09 2011
(==) Using config file: "/etc/X11/xorg.conf"
(==) Using system config directory "/usr/share/X11/xorg.conf.d"

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff0a723a2 in ?? () from /usr/lib/xorg/extra-modules/modules/glesx.so
(gdb)
(gdb) backtrace full
#0 0x00007ffff0a723a2 in ?? () from /usr/lib/xorg/extra-modules/modules/glesx.so
No symbol table info available.
#1 0x00007ffff0a70633 in ?? () from /usr/lib/xorg/extra-modules/modules/glesx.so
No symbol table info available.
#2 0x00007ffff0a6f74a in esutAddSrcSurf () from /usr/lib/xorg/extra-modules/modules/glesx.so
No symbol table info available.
#3 0x00007ffff0a67fa0 in ?? () from /usr/lib/xorg/extra-modules/modules/glesx.so
No symbol table info available.
#4 0x00007ffff3cd99b4 in ?? () from /usr/lib/xorg/extra-modules/modules/drivers/fglrx_drv.so
No symbol table info available.
#5 0x00007ffff3cd939a in ?? () from /usr/lib/xorg/extra-modules/modules/drivers/fglrx_drv.so
No symbol table info available.
#6 0x00007ffff3cefeb4 in xdl_xs110_swlDriBlockHandler () from /usr/lib/xorg/extra-modules/modules/drivers/fglrx_drv.so
No symbol table info available.
#7 0x00000000004321dd in BlockHandler (pTimeout=0x7fffffffe068, pReadmask=0x7f23e0) at ../../dix/dixutils.c:389
        i = <value optimized out>
        j = <value optimized out>
#8 0x000000000045c6ed in WaitForSomething (pClientsReady=0xf2b240) at ../../os/WaitFor.c:219
        i = <value optimized out>
        waittime = {tv_sec = 600, tv_usec = 0}
        wt = 0x7fffffffe050
        timeout = <value optimized out>
        clientsReadable = {fds_bits = {0 <repeats 16 time...

Read more...

Bryce Harrington (bryce)
affects: xorg (Ubuntu) → fglrx-installer (Ubuntu)
Changed in fglrx-installer (Ubuntu):
status: Incomplete → Triaged
Revision history for this message
Felix Kuehling (felix-kuehling) wrote :

Please try this after installing fglrx:

* Uninstall fglrx if it's still installed
* rm -rf /etc/ati
* Install fglrx again
* Reboot

Does X start successfully after this?

Revision history for this message
Wes W (wesw) wrote :

I don't have an "/etc/ati" folder... In fact, when I produced that stack trace above, I had uninstalled fglrx via:

sudo dpkg --purge fglrx fglrx-dev fglrx-amdcccle

and then I reinstalled by downloading the debs directly from the ubuntu repository and installing them (just in case a prior attempt at installing debs generated from the ATI-provided catalyst download [ati-driver-installer-11-4-x86.x86_64.run] had confused my apt database).

Then following the previously-linked directions for launching X in gdb.

I can go through it again, but the fact that this crash happens consistently is the reason I filed the bug.

Revision history for this message
Wes W (wesw) wrote :

I am not sure if I should close this bug, but I downloaded and installed the catalyst driver from here -
http://support.amd.com/us/gpudownload/linux/Pages/radeon_linux.aspx?type=2.4.1&product=2.4.1.3.42&lang=English

The version number on that page was 11.5, after having it build packages for natty, the following files were created -

fglrx_8.850-0ubuntu1_amd64.deb
fglrx-amdcccle_8.850-0ubuntu1_amd64.deb
fglrx-dev_8.850-0ubuntu1_amd64.deb
fglrx-installer_8.850-0ubuntu1_amd64.changes

After installing them, I am now able to launch X with 3d acceleration sufficient for running unity!

The only reason that I am not closing this issue is that I am not sure if maintainers are planning on moving to this new version of catalyst as well. If the bug should be closed, let me know or just close it. Thanks again guys!

Revision history for this message
Bryce Harrington (bryce) wrote :

Hey wesw,

You filed this bug report against natty, but I see it's still open and
doesn't appear to have much activity recently. So, now that oneiric
is released and stable, this may be a good point for you to upgrade
and re-test if this issue is still present there.

If it's solved in the new release and you think it's worth backporting
the fix, please indicate that. Or if having the fix in the new release
is good enough, feel free to close out the bug (or let us know and we'll
close it.)

If it's not solved, leave the bug report open. I can't promise we'll
get to it (we get way more bugs filed than we can usually get to), but
your testing and feedback can help out if and when we do.

Changed in fglrx-installer (Ubuntu):
status: Triaged → Incomplete
Revision history for this message
Wes W (wesw) wrote :

Bryce, I haven't upgraded (yet) past natty, but I don't think the fix is worth backporting... As mentioned in a prior comment, building debs from the catalyst driver downloaded directly from ATI fixed the problem months ago and I haven't had to worry since. I am not sure what status that leaves this issue... whether unconfirmed, fix released, or simply letting it stay at incomplete until it expires on its own. I'd rather leave it up to you guys to mark it appropriately so that it is out of your hair. If/when I upgrade, if I have further problems I can always reopen or create a new issue. Thanks again for the work you guys do!

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for fglrx-installer (Ubuntu) because there has been no activity for 60 days.]

Changed in fglrx-installer (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.