Bug 25008 - X server fails with DRI : drmRadeonCmdBuffer: -22
Summary: X server fails with DRI : drmRadeonCmdBuffer: -22
Status: RESOLVED FIXED
Alias: None
Product: Mesa
Classification: Unclassified
Component: Drivers/DRI/R600 (show other bugs)
Version: 7.6
Hardware: All Linux (All)
: high major
Assignee: Default DRI bug account
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on: 23664
Blocks:
  Show dependency treegraph
 
Reported: 2009-11-10 02:27 UTC by Tomasz Kołodziejczyk
Modified: 2009-11-14 08:13 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments

Description Tomasz Kołodziejczyk 2009-11-10 02:27:06 UTC
+++ This bug was initially created as a clone of Bug #23664 +++

Forwarding this bug from Ubuntu reporter Neil Wilson:
http://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-ati/+bug/419434

[Problem]
X server fails with DRI : drmRadeonCmdBuffer: -22

[Original Description]
Latest update to Karmic busts the GNOME session.

I see the new xsplash graphic. The cursor changes to waiting for a bit and then I'm back to the GDM login window.  It looks like Xorg died:

gnome-settings-daemon: Fatal IO error 104 (Connection reset by peer) on X server :0.0.
gnome-session: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.0.
-----
The application 'gnome-panel' lost its connection to the display :0.0;
most likely the X server was shut down or you killed/destroyed
the application.
XIO: fatal IO error 0 (Success) on X server ":0.0"

      after 1159 requests (1152 known processed) with 0 events remaining.

No protocol specified
Window manager error: Unable to open X display :0.0

The key issue is

drmRadeonCmdBuffer: -22

After which the X server fails. However it loads the GDM OK and will load the xterm default succesfully.

Switching off DRI on RADEONHD and ATI allows the full gnome session to load properly.

-----
Architecture: amd64
DistroRelease: Ubuntu 9.10
Lsusb:
 Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
 Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
 Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
 Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
 Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
MachineType: Acer Aspire 5536
Package: xserver-xorg-video-ati 1:6.12.99+git20090629.f39cafc5-0ubuntu6
PackageArchitecture: amd64
PccardctlIdent:

PccardctlStatus:

ProcCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.31-8-generic root=UUID=e544e0c3-bb61-4527-9393-26be9e351588 ro quiet splash
ProcEnviron:
 PATH=(custom, no user)
 LANG=en_GB.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-8.28-generic
RelatedPackageVersions:
 xserver-xorg 1:7.4+3ubuntu5
 libgl1-mesa-glx 7.6.0~git20090817.7c422387-0ubuntu3
 libdrm2 2.4.12+git20090801.45078630-0ubuntu1
 xserver-xorg-video-intel 2:2.8.1-1ubuntu1
 xserver-xorg-video-ati 1:6.12.99+git20090629.f39cafc5-0ubuntu6
Uname: Linux 2.6.31-8-generic x86_64
UserGroups: libvirtd
XorgConf: Error: [Errno 2] No such file or directory: '/etc/X11/xorg.conf'
dmi.bios.date: 02/27/2009
dmi.bios.vendor: Phoenix Technologies LTD
dmi.bios.version: V1.03
dmi.board.name: JV50PU
dmi.board.vendor: Acer
dmi.board.version: Rev
dmi.chassis.type: 10
dmi.chassis.vendor: Acer
dmi.chassis.version: N/A
dmi.modalias: dmi:bvnPhoenixTechnologiesLTD:bvrV1.03:bd02/27/2009:svnAcer:pnAspire5536:pvr0100:rvnAcer:rnJV50PU:rvrRev:cvnAcer:ct10:cvrN/A:
dmi.product.name: Aspire 5536
dmi.product.version: 0100
dmi.sys.vendor: Acer
fglrx: Not loaded
system:
 distro: Ubuntu
 architecture: x86_64kernel: 2.6.31-8-generic
Comment 1 Tomasz Kołodziejczyk 2009-11-10 02:51:53 UTC
Hi, I've made clone because I've checked that bugs is related to R600 Driver, and this is (as i think), better place for this bug

Short Additional info from my side
Since in Archlinux is new mesa/dri module for radeon this error starts occur. downgrade to older driver 7.5.1 result with inform that r600 library is needed and it runs software rendering. 

important info is that it's not connected with x86-64 but with all architectures.

I will not put additional logs, because there are mostly the same like inside bug 23664. please look for them over there


Comment 2 Tormod Volden 2009-11-10 05:00:04 UTC
Tomasz, you will need to use a newer kernel with drm support for r600. Please try a 2.6.32 kernel (currently at -rc6) and attach full logs if this does not help.
Comment 3 Tomasz Kołodziejczyk 2009-11-14 08:13:21 UTC
Upgrade to kernel 2.6.32_rc6 fixed the issue.

Thanks for help.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.