Unity 3D desktop crashes in Oneiric using ATI Mobility Radeon X1600

Bug #888872 reported by Chascon
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Compiz
Invalid
Undecided
Unassigned
Unity
Invalid
Undecided
Unassigned
unity (Ubuntu)
Invalid
Undecided
Unassigned
xserver-xorg-video-ati (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

Summary: Unity 3D desktop crashes in Oneiric using ATI Mbility Radeon X1600

Problem:
There doesn't seem to be rhyme or reason to this, be it having Firefox running, opening a link in Chromium to open in a new tab or watching a .flv video clip, using the subcontextual menus of Thunderbird, or watching videos in Totem. The desktop crashes bringing one to the login screen. Sometimes the desktop crashes as it's appearing.

The last thing one sees is a black screen with text, and something about Pulseaudio, but I'm not sure it's an error as I see no red text (just white), and there's no time to read it before the login screen appears.

Steps to reproduce:
Login using Unity 3d.
Use your system.

Results
The desktop crashes
Login screen appears

Expected results:
No crashes.

Comments:
At one point I thought the problem was due to indicator-weather, but I removed it, and although crashes became less frequent, they increased drastically two days ago (after updating).

This behaviour was non-existent in Natty.

I went a whole day without this behaviour by logging in using Unity 2D, and went along using all the above apps to no crashes.

I noticed there is a history of problems with Radeon video drivers, but they didn't describe this type of crash, and they seemed to be fixed in Natty, which makes me think it might not be a regression.

The only other issue I can think of that might be related is that turning compiz plugins on and off (Widgets Layer, and Zoom Desktop), presumably the non-default one, crashes Unity. I looked into it and sources say that this could be an issue with my video card, which I find outrageous considering it's only a few years old (well within the 5 year margin for compiz support), which points to a faulty driver and/or lack of proper driver support.

System Info lists my graphics support as Gallium 0.4 on ATI RV530. I found that odd. Wikipedia says that the my video card, although based on the RV530, is NOT the ATI RV530. So, I don't know if it's a matter of the wrong driver being assigned and there's no longer a Xorg.conf file to check, so I'm at a loss.

Software
Release
Description: Ubuntu 11.10
Release: 11.10

Compiz
Installed: 1:0.9.6+bzr20110929-0ubuntu5

compiz-plugins-main
Installed: 1:0.9.6+bzr20110929-0ubuntu5

uname -r
3.0.0-12-generic

Hardware
First generation (2006) Intel MacBook Pro (Intel Core Duo, aka Yonah based processor) with an ATI Mbility Radeon X1600 video card.
---
.tmp.unity.support.test.0:

ApportVersion: 1.23-0ubuntu4
Architecture: i386
CompizPlugins: [core,bailer,detection,composite,opengl,decor,resize,imgpng,gnomecompat,place,session,compiztoolbox,snap,move,vpswitch,staticswitcher,regex,mousepoll,wall,animation,expo,fade,workarounds,scale,unityshell]
CompositorRunning: None
DistUpgraded: Log time: 2011-10-14 01:51:13.254265
DistroCodename: oneiric
DistroRelease: Ubuntu 11.10
DistroVariant: ubuntu
GraphicsCard:
 ATI Technologies Inc M56P [Radeon Mobility X1600] [1002:71c5] (prog-if 00 [VGA controller])
   Subsystem: Apple Computer Inc. MacBook Pro [106b:0080]
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release i386 (20110427.1)
MachineType: Apple Computer, Inc. MacBookPro1,1
Package: xserver-xorg-video-ati 1:6.14.99~git20110811.g93fc084-0ubuntu1
PackageArchitecture: i386
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.0.0-13-generic root=UUID=9c44e3b1-d6d1-4ca7-a621-c0142ded125a ro quiet splash vt.handoff=7
ProcVersionSignature: Ubuntu 3.0.0-13.22-generic 3.0.6
Tags: oneiric ubuntu regression-update
Uname: Linux 3.0.0-13-generic i686
UpgradeStatus: Upgraded to oneiric on 2011-10-14 (43 days ago)
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare
dmi.bios.date: 10/12/06
dmi.bios.vendor: Apple Computer, Inc.
dmi.bios.version: MBP11.88Z.0055.B08.0610121325
dmi.board.asset.tag: Base Board Asset Tag
dmi.board.name: Mac-F425BEC8
dmi.board.vendor: Apple Computer, Inc.
dmi.board.version: PVT
dmi.chassis.asset.tag: Asset Tag
dmi.chassis.type: 8
dmi.chassis.vendor: Apple Computer, Inc.
dmi.chassis.version: Mac-F425BEC8
dmi.modalias: dmi:bvnAppleComputer,Inc.:bvrMBP11.88Z.0055.B08.0610121325:bd10/12/06:svnAppleComputer,Inc.:pnMacBookPro1,1:pvr1.0:rvnAppleComputer,Inc.:rnMac-F425BEC8:rvrPVT:cvnAppleComputer,Inc.:ct8:cvrMac-F425BEC8:
dmi.product.name: MacBookPro1,1
dmi.product.version: 1.0
dmi.sys.vendor: Apple Computer, Inc.
version.compiz: compiz 1:0.9.6+bzr20110929-0ubuntu6
version.libdrm2: libdrm2 2.4.26-1ubuntu1
version.libgl1-mesa-dri: libgl1-mesa-dri 7.11-0ubuntu3
version.libgl1-mesa-dri-experimental: libgl1-mesa-dri-experimental N/A
version.libgl1-mesa-glx: libgl1-mesa-glx 7.11-0ubuntu3
version.xserver-xorg: xserver-xorg 1:7.6+7ubuntu7
version.xserver-xorg-input-evdev: xserver-xorg-input-evdev 1:2.6.0-1ubuntu13
version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:6.14.99~git20110811.g93fc084-0ubuntu1
version.xserver-xorg-video-intel: xserver-xorg-video-intel 2:2.15.901-1ubuntu2.1
version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:0.0.16+git20110411+8378443-1

Revision history for this message
Chascon (chascone) wrote :

By the way, Widgets Layer, and Zoom Desktop are both off. And the extra non-default compiz plugins are not being used at all, although installed.

Revision history for this message
Chascon (chascone) wrote :

Last thing, the Window Rules plugin in the CompizConfig Settings Manager was enabled, with the rule "title=Dash" for the Above match. I'm disabling it, because I don't need it.

Revision history for this message
Phil. V (philip.v) wrote :

Thanks for your bug report. I believe xorg is the correct package to report this against, as it involves the user being thrown back to the login screen (https://wiki.ubuntu.com/Bugs/FindRightPackage#Graphical_Environment), but the fact that the problem doesn't occur in an Ubuntu-2d session would seem to suggest Compiz may be at fault. I'm going to file this against xorg for now, though, per the wiki page. Please run the following command in a terminal in order to get additional information relevant to your system attached to this report:
apport-collect 888872

affects: compiz-plugins-main (Ubuntu) → xorg (Ubuntu)
Revision history for this message
Chascon (chascone) wrote :

apport-collect 888872

All I get is a Invalid OpenID transaction message.

Revision history for this message
Phil. V (philip.v) wrote :

Could you please try clearing the cache and cookies of your default browser and trying the command again?

bugbot (bugbot)
affects: xorg (Ubuntu) → xserver-xorg-video-ati (Ubuntu)
bugbot (bugbot)
tags: added: crash
tags: added: 3d
Chascon (chascone)
summary: - Unity 3D desktop crashes in Oneiric using ATI Mbility Radeon X1600
+ Unity 3D desktop crashes in Oneiric using ATI Mobility Radeon X1600
Revision history for this message
Chascon (chascone) wrote :

I was hoping that the new compiz upgrade would have taken care of the issue I'm describing, but it doesn't.

I don't think it's an X11 issue or else I'd have the same problem with 2d Unity and certainly with Gnome shell or any of the other Gnome desktops (3D or 3D). From my testing, mostly Gnome shell, it's not an issue on any of the Gnome environments. So it stands to reason the problem is with the Unity plugin itself.

The only possible sign of an X issue is when logging out, my screen goes black and momentarily shows a terminal/console before *DM kicks in. I'm not sure if that should happen and if it isn't supposed to it's an instance of X crashing. Having said that, even if this black out is a valid X issue, I don't think it's related to the bug at hand because the bug at hand behaviour does NOT occur in Gnome shell + (as well as not occurring under Unity 2D).

It's clearly a Unity 3D bug.

Revision history for this message
Chascon (chascone) wrote :

To avoid confusion, allow me to clarify ...

The possible X bug, NOT the focus of this bug report, occurs while logging out, shutting down, or rebooting.

The bug at hand behaviour is a crash that occurs during normal operation within an running desktop environment, Unity 3D.

Revision history for this message
Phil. V (philip.v) wrote :

It's strange that this problem only manifests itself in a Unity 3d session, yes. However this fits the description of an X problem as described in the Wiki quite well, so I still think we should keep a report against xorg open. When the Unity maintainers get around to looking at this report they can make a final decision regarding what is at fault.

Revision history for this message
Chascon (chascone) wrote : BootDmesg.txt

apport information

tags: added: apport-collected oneiric regression-update ubuntu
description: updated
Revision history for this message
Chascon (chascone) wrote : BootLog.gz

apport information

Revision history for this message
Chascon (chascone) wrote : CurrentDmesg.txt

apport information

Revision history for this message
Chascon (chascone) wrote : Dependencies.txt

apport information

Revision history for this message
Chascon (chascone) wrote : DpkgLog.txt

apport information

Revision history for this message
Chascon (chascone) wrote : GconfCompiz.txt

apport information

Revision history for this message
Chascon (chascone) wrote : Lspci.txt

apport information

Revision history for this message
Chascon (chascone) wrote : Lsusb.txt

apport information

Revision history for this message
Chascon (chascone) wrote : MonitorsUser.xml.txt

apport information

Revision history for this message
Chascon (chascone) wrote : ProcCpuinfo.txt

apport information

Revision history for this message
Chascon (chascone) wrote : ProcEnviron.txt

apport information

Revision history for this message
Chascon (chascone) wrote : ProcInterrupts.txt

apport information

Revision history for this message
Chascon (chascone) wrote : ProcModules.txt

apport information

Revision history for this message
Chascon (chascone) wrote : UdevDb.txt

apport information

Revision history for this message
Chascon (chascone) wrote : UdevLog.txt

apport information

Revision history for this message
Chascon (chascone) wrote : UnitySupportTest.txt

apport information

Revision history for this message
Chascon (chascone) wrote : XorgLog.txt

apport information

Revision history for this message
Chascon (chascone) wrote : XorgLogOld.txt

apport information

Revision history for this message
Chascon (chascone) wrote : Xrandr.txt

apport information

Revision history for this message
Chascon (chascone) wrote : xdpyinfo.txt

apport information

Revision history for this message
Chascon (chascone) wrote :

@ Phil. V (philip.v)

I found that LIBGL_DEBUG=verbose glxinfo reports some errors:

libGL: OpenDriver: trying /usr/lib/i386-linux-gnu/dri/tls/r300_dri.so
libGL: OpenDriver: trying /usr/lib/i386-linux-gnu/dri/r300_dri.so
libGL: Can't open configuration file /etc/drirc: No such file or directory.
libGL: Can't open configuration file /home/user/.drirc: No such file or directory.
libGL: Can't open configuration file /etc/drirc: No such file or directory.
libGL: Can't open configuration file /home/user/.drirc: No such file or directory.

I did some digging around and found that http://dri.freedesktop.org/wiki/glxinfo mentions "Surrounding these lines there may be additional messages indicating errors. In particular, if the driver is not found in the mentioned path, OpenGL will try to fall back to the software renderer called swrast_dri.so. This is an indication that the DRI drivers are not installed correctly."

So it seems, although I don't know if it's related to the problem at hand, Ubuntu has a problem correctly installing DRI drivers. If it's not related I could open a bug on the matter.

glxinfo | grep render

direct rendering: Yes
OpenGL renderer string: Gallium 0.4 on ATI RV530
    GL_NV_conditional_render, GL_ARB_draw_elements_base_vertex,

uname -r
3.0.0-13-generic

Revision history for this message
Phil. V (philip.v) wrote :

@Chascon

Huh, it's possible that's related, but to be honest I just don't know enough about the affected systems to determine if those two issues are related, I'm just a bug triager. Feel free to open another report regarding the problem with installing DRI drivers and mention this bug, and hopefully someone more informed can make the determination as to whether these two problems are related. Sorry I couldn't be of more help.

Revision history for this message
Omer Akram (om26er) wrote :

if its a crash you should look into /var/crash directory and look for the file including the name 'compiz' in it, double click it and follow the onscreen instructions to report a new crash report which hopefully will have logs about the crash and could possible turn out to be a duplicate of an already reported crash report.

Changed in xserver-xorg-video-ati (Ubuntu):
status: New → Incomplete
Changed in unity:
status: New → Incomplete
Revision history for this message
Chascon (chascone) wrote :

I found and tried out a fix and made up my own version of it.

I noticed that Xorg.0.log.old gave the following.
Segmentation fault at address 0xb6211008
Caught signal 11 (Segmentation fault). Server aborting

Googling for "Caught signal 11 (Segmentation fault). Server aborting" shows that Archlinux has had this issue too (https://bbs.archlinux.org/viewtopic.php?id=119442). Based on that, the following work-around works for me.

Create /usr/share/X11/xorg.conf.d/10-modules.conf with the following content.

Section "Module"
             Disable "record"
EndSection

Otherwise (my way)
Log out,
then from a tty, kill lightdm, and
issue sudo Xorg -configure or sudo X -configure.

In the resulting xorg.conf, make sure to Disable "record" rather than just comment the line out.
Copy it to /etc/X11/
Restart lightdm
Log into X (although it didn't take for me till I logged out and back into X yet again, so you may just want to reboot).

The result: no more crashes and X seems a little more responsive, although this may be in my mind. There's an error pop up at the start of the X session about the record function not working, but that is expected. So I assume that may the the problematic software.

I also noticed that Xorg.0.log and other logs give me the following error.
(EE) Failed to load module "fglrx" (module does not exist, 0)

I thought it might be unimportant if it weren't for a segmentation fault linked to fglrx reported at http://phoronix.com/forums/showthread.php?22972-Ubuntu-10.04-fglrx-seg-fault.

 I'll write it up as a separate bug, anyway since Ubuntu borked my fglrx install .

So how's that for incomplete? A workaround and potential sources of the bug are ID'd.

Revision history for this message
Chascon (chascone) wrote :

A little more on that error popup. It's from GoldenDict and tehy've been aware of Record being broken for sometime now, although from 2009 (so this might not be applicable or it might indicate a regression):
https://github.com/gennady/goldendict/commit/230ab47891283216d3abd43fbb66b8f27125ec1b

There is a fix noted in https://bbs.archlinux.org/viewtopic.php?id=120240
that suggests increasing nproc limits to 1500 (hard). I haven't tried this as I'm not sure what nproc to change. I have various nprocs with low figures listed in/etc/security/limits.conf and I don't know which one to edit, student, faculty or ftp (I doubt it would be this ftp).

In any case, I doubt changing the limits would help considering that the Gnome shell doesn't crash using the same file limits file.

Bryce Harrington (bryce)
Changed in xserver-xorg-video-ati (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
Omer Akram (om26er) wrote :

thanks for your bug report. Is that still an issue in Ubuntu 12.04? Can you please test that and let us know?

Changed in unity (Ubuntu):
status: New → Incomplete
Changed in compiz:
status: New → Incomplete
Changed in xserver-xorg-video-ati (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
bugbot (bugbot) wrote :

We're closing this bug since there has not been a response from the original reporter. However, the issue still exists please feel free to reopen with the requested information. If you're not the original reporter, we'd prefer you file a new bug report.

Some tips:

  * Report X.org bugs via the command: `ubuntu-bug xorg`

  * Test against the latest development Ubuntu. http://cdimage.ubuntu.com/daily-live/
    Bugs marked as affecting the development version tend to get priority attention.

  * The `xdiagnose` utility has functionality for enabling debugging and
    analyzing a few common X problems.

  * Tag your bugs with the Ubuntu versions you have reproduced the issue in.

  * See https://wiki.ubuntu.com/X/Reporting for tips on writing good bug reports.

Changed in xserver-xorg-video-ati (Ubuntu):
status: Incomplete → Expired
Revision history for this message
Eleni Maria Stea (hikiko) wrote :

We couldn't reproduce this bug + oneiric is not supported anymore, therefore I set the status to Invalid. If you experience the same issue in any of the supported Ubuntu releases please feel free to reopen the bug and update the description. Thank you.

Changed in compiz:
status: Incomplete → Invalid
Changed in unity:
status: Incomplete → Invalid
Changed in unity (Ubuntu):
status: Incomplete → Invalid
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.