(xorg-edgers) Compiz broken on radeon mobility

Bug #686164 reported by EricDHH
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
xserver-xorg-video-ati (Ubuntu)
Won't Fix
Undecided
Unassigned

Bug Description

Binary package hint: compiz

Description: Ubuntu natty (development branch)
Release: 11.04

I updated my thinkpad t42 to help debugging 11.04 for get a stable desktop in next april.

DRI is running fine with radeon kernel module and kms. Glxgears runs well with this driver

eric@calliope:~$ glxinfo | more
name of display: :0.0
display: :0 screen: 0
direct rendering: Yes
server glx vendor string: SGI
server glx version string: 1.4
server glx extensions:

The unity desktop sessions comes up with the "sorry, you don't have 3d support" I get the gnome desktop after a few seconds, so fallback works well. In compiz the module unity depends on composite and this depends on opengl, so i get all 3 switched on. But then compiz is not starting anymore.

[ 4739.676] drmOpenByBusid: Interface 1.4 failed, trying 1.1
[ 4739.676] drmOpenByBusid: drmGetBusid reports pci:0000:01:00.0
[ 4739.676] (EE) AIGLX error: dlopen of /usr/lib/dri/r300c_dri.so failed (/usr/lib/dri/r300c_dri.so: cannot open shared object file: No such file or directory)
[ 4739.676] (EE) AIGLX: reverting to software rendering
[ 4739.679] (II) AIGLX: Loaded and initialized /usr/lib/dri/swrast_dri.so

eric@calliope:~$ compiz --replace
Backend : gconf
Integration : true
Profile : unity
Adding plugins
Initializing core options...done
Initializing bailer options...done
Initializing detection options...done
Initializing composite options...done
compiz (opengl) - Fatal: GLX_EXT_texture_from_pixmap is missing
compiz (opengl) - Fatal: Software rendering detected
compiz (bailer) - Info: Ensuring a shell for your session

It looks i have hardware gl support without havin it, a bit shizo......

ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: compiz 1:0.9.2.1+glibmainloop2-0ubuntu4
ProcVersionSignature: Ubuntu 2.6.37-7.19-genusername 2.6.37-rc3
Uname: Linux 2.6.37-7-generic i686
Architecture: i386
CompizPlugins: [shift,wobbly]
Date: Mon Dec 6 21:38:32 2010
EcryptfsInUse: Yes
Lsusb:
 Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
 Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
 Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
 Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
MachineType: IBM 2373L77
PackageArchitecture: all
PccardctlIdent:
 Socket 0:
   no product info available
 Socket 1:
   no product info available
PccardctlStatus:
 Socket 0:
   no card
 Socket 1:
   no card
PciDisplay: 01:00.0 VGA compatible controller [0300]: ATI Technologies Inc RV350 [Mobility Radeon 9600 M10] [1002:4e50] (prog-if 00 [VGA controller])
ProcEnviron:
 LANGUAGE=de_DE:de:en_GB:en
 LANG=de_DE.UTF-8
 SHELL=/bin/bash
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.37-7-genusername root=UUID=500337c2-bb74-4ebb-8670-f5104edca052 ro scheduler=noop quiet scheduler=noop splash
RelatedPackageVersions:
 xserver-xorg 1:7.5+6+xserver1.9
 libgl1-mesa-glx 7.10.0+git20101020.28990043-0ubuntu0sarvatt
 libdrm2 2.4.22+git20101012.09b10626-0ubuntu0sarvatt
 xserver-xorg-video-intel 2:2.13.901-2ubuntu1
 xserver-xorg-video-ati 1:6.13.2-1ubuntu2
SourcePackage: compiz
XorgConf: Error: [Errno 2] Datei oder Verzeichnis nicht gefunden: '/etc/X11/xorg.conf'
dmi.bios.date: 06/18/2007
dmi.bios.vendor: IBM
dmi.bios.version: 1RETDRWW (3.23 )
dmi.board.name: 2373L77
dmi.board.vendor: IBM
dmi.board.version: Not Available
dmi.chassis.asset.tag: No Asset Information
dmi.chassis.type: 10
dmi.chassis.vendor: IBM
dmi.chassis.version: Not Available
dmi.modalias: dmi:bvnIBM:bvr1RETDRWW(3.23):bd06/18/2007:svnIBM:pn2373L77:pvrThinkPadT42:rvnIBM:rn2373L77:rvrNotAvailable:cvnIBM:ct10:cvrNotAvailable:
dmi.product.name: 2373L77
dmi.product.version: ThinkPad T42
dmi.sys.vendor: IBM
system: distro = Ubuntu, architecture = i686, kernel = 2.6.37-7-generic

Revision history for this message
EricDHH (ericdhh) wrote :
Revision history for this message
Travis Watkins (amaranth) wrote :

If you look at the glxinfo.txt attachment you can see the full output of glxinfo and see that compiz is quite right, you lack proper support for the GLX_EXT_texture_from_pixmap and are using the Software Rasterizer (check the renderer string). I don't know if this is a configuration issue on your system or a bug in the driver so I've reassigned to the radeon driver. Please run `apport-collect 686164` to collect any additional data needed for a complete report for the driver.

affects: compiz (Ubuntu) → xserver-xorg-video-ati (Ubuntu)
Revision history for this message
Robert Hooker (sarvatt) wrote :

We have switched to r300g by default in natty which requires KMS. Are you blocking KMS via a modprobe .conf? grep -R modeset /etc/modprobe.d/ to find out.

Bryce Harrington (bryce)
Changed in xserver-xorg-video-ati (Ubuntu):
status: New → Incomplete
Revision history for this message
Robert Hooker (sarvatt) wrote :

Ah ok, the problem here is that you are using xorg-edgers which I haven't updated to handle the r300c DRI name used when UMS is used in natty so the fallback to classic mesa isn't working. That's to be expected at the moment, I have uploaded a new ati that doesn't include that logic but you will still get swrast and no compiz until you stop disabling KMS.

description: updated
Bryce Harrington (bryce)
summary: - Compiz broken on radeon mobility
+ (xorg-edgers) Compiz broken on radeon mobility
Revision history for this message
EricDHH (ericdhh) wrote :

Lots of problems here, okay i found a radeon-kms blocker and have deleted it now.

Now there is no error box but something crash and the wallpaper with icons stays in hourglass forever.

[ 28.701156] radeon 0000:01:00.0: object_init failed for (15396864, 0x00000006)
[ 28.701168] [drm:radeon_gem_object_create] *ERROR* Failed to allocate GEM object (15396864, 6, 4096, -12)
[ 28.701931] radeon 0000:01:00.0: object_init failed for (15396864, 0x00000006)
[ 28.701938] [drm:radeon_gem_object_create] *ERROR* Failed to allocate GEM object (15396864, 6, 4096, -12)
[ 28.712218] radeon 0000:01:00.0: object_init failed for (15396864, 0x00000006)
[ 28.712227] [drm:radeon_gem_object_create] *ERROR* Failed to allocate GEM object (15396864, 6, 4096, -12)
[ 28.712848] radeon 0000:01:00.0: object_init failed for (15396864, 0x00000006)
[ 28.712854] [drm:radeon_gem_object_create] *ERROR* Failed to allocate GEM object (15396864, 6, 4096, -12)
[ 28.758154] show_signal_msg: 9 callbacks suppressed
[ 28.758161] compiz[1532]: segfault at 1d ip 0425a5d6 sp bfa4edf0 error 4 in r300_dri.so[40eb000+2f2000]

I have to remove edgers or replace it with the natty packages. Tryin to do that.

Revision history for this message
EricDHH (ericdhh) wrote :

Yes now it is working, rollbacked every sarvatt package to the natty version and get the unity desktop. Looks a bit slower than unity 10.10 on thinkpad x41 with intel i915 but it is running. Thank you

bugbot (bugbot)
tags: added: edgers
Revision history for this message
Bryce Harrington (bryce) wrote :

Okay thanks for confirming that. Since xorg-edgers is for testing, and not something we directly support, I'll close the bug out here.

Changed in xserver-xorg-video-ati (Ubuntu):
status: Incomplete → Won't Fix
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.