[ATI R6xx and above] X fails to start up after mesa+git update - gdm loops after logging in

Bug #419126 reported by Tuomas Aavikko
218
This bug affects 33 people
Affects Status Importance Assigned to Milestone
mesa (Ubuntu)
Fix Released
High
Alberto Milone
Karmic
Fix Released
High
Alberto Milone
xserver-xorg-video-ati (Ubuntu)
Invalid
High
Unassigned
Karmic
Invalid
High
Unassigned

Bug Description

Binary package hint: gdm

After mornings updates, gdm just loops over and over again.
xterm session works
TTY's fails to launch...
Checking the logs and uploading them soon....

Kernel version doesn't matter.
radeon driver in use.

Code:
/etc/gdm/Xsession: Beginning session setup...
Setting IM through im-switch for locale=en_US.
Start IM through /etc/X11/xinit/xinput.d/all_ALL linked to /etc/X11/xinit/xinput.d/default.
Code:
/etc/gdm/Xsession: Beginning session setup...
Setting IM through im-switch for locale=en_US.
Start IM through /etc/X11/xinit/xinput.d/all_ALL linked to /etc/X11/xinit/xinput.d/default.
GNOME_KEYRING_SOCKET=/tmp/keyring-lna850/socket
SSH_AUTH_SOCK=/tmp/keyring-lna850/socket.ssh

(gnome-settings-daemon:3306): GLib-CRITICAL **: g_propagate_error: assertion `src != NULL' failed

(gnome-settings-daemon:3306): GLib-CRITICAL **: g_propagate_error: assertion `src != NULL' failed
Checking for Xgl: not present.
xset q doesn't reveal the location of the log file. Using fallback /var/log/Xorg.0.log
Detected PCI ID for VGA:
Checking for texture_from_pixmap: not present.
Trying again with indirect rendering:
Checking for texture_from_pixmap: present.
Checking for non power of two support: present.
Checking for Composite extension: present.
Checking screen 1Comparing resolution (1280x800) to maximum 3D texture size (4096): Passed.
Checking for Software Rasterizer: Not present.
Checking for nVidia: not present.
Checking for FBConfig: present.
Checking for Xgl: not present.
/usr/bin/compiz.real (core) - Warn: Plugin 'core' already active
gnome-settings-daemon: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.0.
XIO: fatal IO error 104 (Connection reset by peer) on X server ":0.0"
      after 28 requests (27 known processed) with 0 events remaining.
gnome-panel: 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.
XIO: fatal IO error 104 (Connection reset by peer) on X server ":0.0"
      after 1138 requests (1131 known processed) with 0 events remaining.
Window manager error: Unable to open X display :0.0

ProblemType: Bug
Architecture: amd64
Date: Wed Aug 26 12:19:40 2009
DistroRelease: Ubuntu 9.10
Package: gdm 2.27.90-0ubuntu1
ProcEnviron:
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-7.27-generic
SourcePackage: gdm
Uname: Linux 2.6.31-7-generic x86_64

[lspci]
01:00.0 VGA compatible controller [0300]: ATI Technologies Inc Mobility Radeon HD 3400 Series [1002:95c4]
     Subsystem: Hewlett-Packard Company Device [103c:3600]

Related branches

Revision history for this message
Tuomas Aavikko (taavikko) wrote :
description: updated
Revision history for this message
Tuomas Aavikko (taavikko) wrote :

Latest upgrades attached.
Could the issue be with newest mesa/libdrm ?

Revision history for this message
Tuomas Aavikko (taavikko) wrote :

The correct aptitude log file.

Revision history for this message
Kazade (kazade) wrote :

Last week I added the xorg-edgers PPA, this installed a new package: libdrm-radeon1 and I experienced this bug.

Downgrading the packages and removing the PPA fixed it. My guess is that some changes from xorg-edgers have filtered down to vanilla Karmic and the bug has come down with it. I haven't updated my Karmic install yet, but I think it quite likely when I do I'll hit this bug again. I'll report back after updating. My GPU is an ATI HD3200.

Revision history for this message
Anders Norgaard (anders-norgaard) wrote :

Happened to me yesterday when I enabled the xorg-edgers PPA. Happened again when I did a clean re-install of Karmic today.

Revision history for this message
Tuomas Aavikko (taavikko) wrote :
Revision history for this message
Tuomas Aavikko (taavikko) wrote :
Kazade (kazade)
Changed in gdm (Ubuntu):
status: New → Confirmed
status: Confirmed → New
Revision history for this message
Bryce Harrington (bryce) wrote :

From comments, sounds likely to have broken due to the new mesa, which includes the radeon-rewrite branch for -ati.

Please run the command 'apport-collect 419126'

affects: gdm (Ubuntu) → xserver-xorg-video-ati (Ubuntu)
Revision history for this message
Tuomas Aavikko (taavikko) wrote : apport-collect data

Architecture: amd64
DistroRelease: Ubuntu 9.10
MachineType: Hewlett-Packard HP Pavilion dv5 Notebook PC
Package: xserver-xorg-video-ati 1:6.12.99+git20090629.f39cafc5-0ubuntu6
PackageArchitecture: amd64
PccardctlIdent:

PccardctlStatus:

ProcCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.31-6-generic root=UUID=57a680cf-a8c4-44d6-8406-f0261fe03570 ro quiet splash
ProcEnviron:
 SHELL=/bin/bash
 LANG=en_US.UTF-8
ProcVersionSignature: Ubuntu 2.6.31-6.26-generic
RelatedPackageVersions:
 xserver-xorg 1:7.4+3ubuntu5
 libgl1-mesa-glx 7.6.0~git20090817.7c422387-0ubuntu2
 libdrm2 2.4.12+git20090801.45078630-0ubuntu1
 xserver-xorg-video-intel 2:2.8.0-0ubuntu2
 xserver-xorg-video-ati 1:6.12.99+git20090629.f39cafc5-0ubuntu6
Uname: Linux 2.6.31-6-generic x86_64
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare
XorgConf: Error: [Errno 2] No such file or directory: '/etc/X11/xorg.conf'
dmi.bios.date: 07/06/2009
dmi.bios.vendor: Hewlett-Packard
dmi.bios.version: F.35
dmi.board.asset.tag: Base Board Asset Tag
dmi.board.name: 3600
dmi.board.vendor: Quanta
dmi.board.version: 98.35
dmi.chassis.type: 10
dmi.chassis.vendor: Quanta
dmi.chassis.version: N/A
dmi.modalias: dmi:bvnHewlett-Packard:bvrF.35:bd07/06/2009:svnHewlett-Packard:pnHPPaviliondv5NotebookPC:pvrRev1:rvnQuanta:rn3600:rvr98.35:cvnQuanta:ct10:cvrN/A:
dmi.product.name: HP Pavilion dv5 Notebook PC
dmi.product.version: Rev 1
dmi.sys.vendor: Hewlett-Packard
fglrx: Not loaded
system:
 distro: Ubuntu
 architecture: x86_64kernel: 2.6.31-6-generic

Revision history for this message
Tuomas Aavikko (taavikko) wrote : Re: gdm loops after logging in
Revision history for this message
Tuomas Aavikko (taavikko) wrote :
Revision history for this message
Tuomas Aavikko (taavikko) wrote :
Revision history for this message
Tuomas Aavikko (taavikko) wrote :
Revision history for this message
Tuomas Aavikko (taavikko) wrote :
Revision history for this message
Tuomas Aavikko (taavikko) wrote :
Revision history for this message
Tuomas Aavikko (taavikko) wrote :
Revision history for this message
Tuomas Aavikko (taavikko) wrote :
Revision history for this message
Tuomas Aavikko (taavikko) wrote :
Revision history for this message
Tuomas Aavikko (taavikko) wrote :
Revision history for this message
Tuomas Aavikko (taavikko) wrote :
Revision history for this message
Tuomas Aavikko (taavikko) wrote :
Revision history for this message
Tuomas Aavikko (taavikko) wrote :
Revision history for this message
Tuomas Aavikko (taavikko) wrote :
Revision history for this message
Tuomas Aavikko (taavikko) wrote :
Revision history for this message
Tuomas Aavikko (taavikko) wrote :
Revision history for this message
Tuomas Aavikko (taavikko) wrote :
Revision history for this message
Tuomas Aavikko (taavikko) wrote :
tags: added: apport-collected
Revision history for this message
Tuomas Aavikko (taavikko) wrote :

Apparently was running with previous kernel (rc6), due to hangdown bug with rc7. but running kernel makes no difference.

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

Hi Tuomas, thanks for that. Could you also attach your gdm log files (in /var/log/gdm/)? It seems the apport collector failed to collect those, which should reveal why X isn't starting.

Changed in xserver-xorg-video-ati (Ubuntu):
importance: Undecided → High
status: New → Confirmed
tags: added: karmic regression
Bryce Harrington (bryce)
summary: - gdm loops after logging in
+ X fails to start up after mesa+git update - gdm loops after logging in
Revision history for this message
Bryce Harrington (bryce) wrote : Re: X fails to start up after mesa+git update - gdm loops after logging in

@Kazade, it's interesting that you saw this against xorg-edgers. For future reference, we provide xorg-edgers for testing purposes, so it is a good idea if you report bugs you find there, so we have a chance at dealing with them (or even skip doing the update) before the bugs get into the release. (I know reporting bugs can be a pain but I did go through mesa and xorg-edgers bug reports with a fine toothed comb before doing this update, so it would have definitely been of benefit in this case.)

Fwiw, I am planning on updating us to the -ati git snapshot such as the one in xorg-edgers currently. It would be helpful if you guys could confirm if this bug still occurs when running with that git snapshot. I'm guessing it will, but if you can confirm it, then I can get that bug reported upstream (and maybe try chasing down a patch, although time is short) before moving Karmic to this new -ati.

Revision history for this message
Tuomas Aavikko (taavikko) wrote :

Here's few of the logs, will attach more if needed?
permissions seems kind of sneaky to me?

Revision history for this message
Tuomas Aavikko (taavikko) wrote :
Revision history for this message
Tuomas Aavikko (taavikko) wrote :
Revision history for this message
Tuomas Aavikko (taavikko) wrote :
Revision history for this message
Tuomas Aavikko (taavikko) wrote :

Bryce Harrington wrote:
"It seems the apport collector failed to collect those"

Tuomas Aavikko wrote:
"permissions seems kind of sneaky to me?"

The /var/log/gdm permissions are
drwxrwx--T root gdm

Revision history for this message
Kiwinote (kiwinote) wrote :

@Bryce
Were you meaning the -ati package in this ppa?

https://launchpad.net/~xorg-edgers/+archive/drivers-only

Revision history for this message
Kiwinote (kiwinote) wrote :

If the only steps required were:
-add above ppa to sources.list
-apt-get update
-apt-get install xserver-xorg-video-ati
-restart,
then the issue is not resolved in the newer version. If I missed any steps, please let me know.

Revision history for this message
Tuomas Aavikko (taavikko) wrote : Re: [Bug 419126] Re: X fails to start up after mesa+git update - gdm loops after logging in

2009/8/26 Bryce Harrington <email address hidden>

>
> Fwiw, I am planning on updating us to the -ati git snapshot such as the
> one in xorg-edgers currently. It would be helpful if you guys could
> confirm if this bug still occurs when running with that git snapshot.
> I'm guessing it will, but if you can confirm it, then I can get that bug
> reported upstream (and maybe try chasing down a patch, although time is
> short) before moving Karmic to this new -ati.
>

The one in xorg-edgers/drivers-only *ati-fc74e119 doesn't fix this.

Revision history for this message
Kazade (kazade) wrote : Re: X fails to start up after mesa+git update - gdm loops after logging in

@bryce, I'm really sorry I didn't report it sooner. I'd been fiddling with a bunch of other stuff (compiling from git etc.) so I figured it was just me. Soon after I managed to compile the 3D R600 branch and I've been using that since. It was only when I saw the comment in the Karmic forums that I realized it wasn't something I'd done.

Revision history for this message
Bryce Harrington (bryce) wrote : Re: [Bug 419126] Re: X fails to start up after mesa+git update - gdm loops after logging in

On Wed, Aug 26, 2009 at 06:14:14PM -0000, Kiwinote wrote:
> @Bryce
> Were you meaning the -ati package in this ppa?
>
> https://launchpad.net/~xorg-edgers/+archive/drivers-only

Correct

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

On Wed, Aug 26, 2009 at 07:55:54PM -0000, Kazade wrote:
> @bryce, I'm really sorry I didn't report it sooner. I'd been fiddling
> with a bunch of other stuff (compiling from git etc.) so I figured it
> was just me. Soon after I managed to compile the 3D R600 branch and I've
> been using that since. It was only when I saw the comment in the Karmic
> forums that I realized it wasn't something I'd done.

No prob, the extra confirmation is still useful. Sounds like this one
is ready to go upstream next.

Revision history for this message
Greg Adams (adamsgn) wrote : apport-collect data

Architecture: amd64
DistroRelease: Ubuntu 9.10
MachineType: Hewlett-Packard HP Pavilion dv5 Notebook PC
Package: xserver-xorg-video-ati 1:6.12.99+git20090629.f39cafc5-0ubuntu6
PackageArchitecture: amd64
PccardctlIdent:

PccardctlStatus:

ProcCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.31-7-generic root=UUID=73eac681-83a6-4486-9560-cf6e320a534a ro quiet
ProcEnviron:
 SHELL=/bin/bash
 PATH=(custom, user)
 LANG=en_US.UTF-8
ProcVersionSignature: Ubuntu 2.6.31-7.27-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.0-0ubuntu2
 xserver-xorg-video-ati 1:6.12.99+git20090629.f39cafc5-0ubuntu6
Uname: Linux 2.6.31-7-generic x86_64
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare
dmi.bios.date: 01/19/2009
dmi.bios.vendor: Hewlett-Packard
dmi.bios.version: F.31
dmi.board.asset.tag: Base Board Asset Tag
dmi.board.name: 30F2
dmi.board.vendor: HP
dmi.board.version: 98.32
dmi.chassis.type: 10
dmi.chassis.vendor: Quanta
dmi.chassis.version: N/A
dmi.modalias: dmi:bvnHewlett-Packard:bvrF.31:bd01/19/2009:svnHewlett-Packard:pnHPPaviliondv5NotebookPC:pvrRev1:rvnHP:rn30F2:rvr98.32:cvnQuanta:ct10:cvrN/A:
dmi.product.name: HP Pavilion dv5 Notebook PC
dmi.product.version: Rev 1
dmi.sys.vendor: Hewlett-Packard
fglrx: Not loaded
system:
 distro: Ubuntu
 architecture: x86_64kernel: 2.6.31-7-generic

Revision history for this message
Greg Adams (adamsgn) wrote : Re: X fails to start up after mesa+git update - gdm loops after logging in
Revision history for this message
Greg Adams (adamsgn) wrote :
Revision history for this message
Greg Adams (adamsgn) wrote :
Revision history for this message
Greg Adams (adamsgn) wrote :
Revision history for this message
Greg Adams (adamsgn) wrote :
Revision history for this message
Greg Adams (adamsgn) wrote :
Revision history for this message
Greg Adams (adamsgn) wrote :
Revision history for this message
Greg Adams (adamsgn) wrote :
Revision history for this message
Greg Adams (adamsgn) wrote :
Revision history for this message
Greg Adams (adamsgn) wrote :
Revision history for this message
Greg Adams (adamsgn) wrote :
Revision history for this message
Greg Adams (adamsgn) wrote :
Revision history for this message
Greg Adams (adamsgn) wrote :
Revision history for this message
Greg Adams (adamsgn) wrote :
Revision history for this message
Greg Adams (adamsgn) wrote :
Revision history for this message
Greg Adams (adamsgn) wrote :
Revision history for this message
Greg Adams (adamsgn) wrote :
Revision history for this message
Greg Adams (adamsgn) wrote :
Revision history for this message
Greg Adams (adamsgn) wrote :
Revision history for this message
Tuomas Aavikko (taavikko) wrote :

If setting DRI is off in xorg.conf
Option "DRI" "0"
I can login to gnome.

Is #419352 dublicate.

Revision history for this message
Kazade (kazade) wrote :

#419352 is almost certainly a duplicate, I've marked it as such.

Revision history for this message
Chad Waters (chad) wrote :

I'm getting the same gdm issue in i386. its not a 64 bit specific issue. I'm also not using any PPAs: just straight up karmic and a few medibuntu packages.

My work around is using a xfce session from via xubuntu-desktop

-C

Revision history for this message
Kazade (kazade) wrote :

I've just upgraded to the broken DRM and new kernel (rc8) then I copied my previously self-compiled drm.ko from the previous kernel modules and lo and behold I can log in with DRI!

I compiled with this patch: http://www.botchco.com/alex/xorg/0001-radeon-drm-Add-3D-support-on-r6xx-r7xx-chips.patch

So I'm guessing either GIT HEAD or something in that patch fixes it.

Revision history for this message
Kazade (kazade) wrote :

So, I just rebuilt drm.ko, radeon.ko and ttm.ko using the Ubuntu kernel source + the above patch, and it works perfectly, with 3D acceleration as well. So something in the patch fixes the GDM issue.

Revision history for this message
Matt Drake (mattduckman) wrote :

i can confirm that this patch fixes the gdm logic issue.

regarding 3d acceleration though, I get a lot of display issues such as artifacts when using compiz. metacity works fine though.

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

[This is an automatic notification.]

A new version of the -ati driver is now available in Karmic.

This is a significant update to -ati which brings in kernel mode-setting
(currently disabled) and scores of fixes for DRI2, EXA, etc.

I've posted the new version of this driver to the following PPA,
would you mind testing it and seeing if it resolves the bug you
reported?

  https://edge.launchpad.net/~bryceharrington/+archive/ppa/+sourcepub/709908/+listing-archive-extra

If you're not running this release of Ubuntu, you can try booting the Karmic
LiveCD and loading the PPA onto it, and then log out/in to restart X.
ISOs are available at http://cdimages.ubuntu.com/releases/

After testing Karmic, report back here whether it's still an issue or not,
and if it is please post a fresh Xorg.0.log and 'dmesg' output.

Note there could be new bugs... please file these as new reports using
the command 'ubuntu-bug xorg'.

Changed in xserver-xorg-video-ati (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Tuomas Aavikko (taavikko) wrote : Re: [Bug 419126] 1:6.12.99+git20090825.fc74e119-0ubuntu1

On Sat, 2009-08-29 at 09:26 +0000, Bryce Harrington wrote:
> [This is an automatic notification.]
>
> A new version of the -ati driver is now available in Karmic.
>
> This is a significant update to -ati which brings in kernel mode-setting
> (currently disabled) and scores of fixes for DRI2, EXA, etc.
>
> I've posted the new version of this driver to the following PPA,
> would you mind testing it and seeing if it resolves the bug you
> reported?

manually installed the new version,
apt-cache policy xserver-xorg-video-ati
xserver-xorg-video-ati:
  Installed: 1:6.12.99+git20090825.fc74e119-0ubuntu1
  Candidate: 1:6.12.99+git20090825.fc74e119-0ubuntu1
  Version table:
 *** 1:6.12.99+git20090825.fc74e119-0ubuntu1 0
        100 /var/lib/dpkg/status
     1:6.12.99+git20090629.f39cafc5-0ubuntu6 0
        500 http://archive.ubuntu.com karmic/main Packages

gdm loops is still an issue.
Only adding DRI 0 to xorg.conf enables login.

attaching dmesg to this post.
Will do another fresh start with clean xorg.conf and then supplying the
Xorg.0.log

Bryce Harrington (bryce)
Changed in xserver-xorg-video-ati (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
Tuomas Aavikko (taavikko) wrote : Re: X fails to start up after mesa+git update - gdm loops after logging in

Seems that evolution lost the mail somewhere...

On Sat, 2009-08-29 at 12:53 +0300, taavikko wrote:
> Will do another fresh start with clean xorg.conf and then supplying the
> Xorg.0.log
>

Yes, only disabling DRI will work at the moment.
Why does X start on tty9?

Revision history for this message
Tuomas Aavikko (taavikko) wrote :

The newest xorg.log

Revision history for this message
Kiwinote (kiwinote) wrote : Re: [Bug 419126] Re: X fails to start up after mesa+git update - gdm loops after logging in

The xserver-xorg-video-ati - 1:6.12.99+git20090829.39dfac41-0ubuntu0tormod
<https://launchpad.net/%7Exorg-edgers/+archive/drivers-only/+sourcepub/710528/+listing-archive-extra>package
available in the ppa also does not yet fix this issue.

On Sat, Aug 29, 2009 at 12:26 PM, Tuomas Aavikko <email address hidden> wrote:

> The newest xorg.log
>
> ** Attachment added: "Xorg.0.log"
> http://launchpadlibrarian.net/30964283/Xorg.0.log
>
> --
> X fails to start up after mesa+git update - gdm loops after logging in
> https://bugs.launchpad.net/bugs/419126
> You received this bug notification because you are a direct subscriber
> of the bug.
>

Revision history for this message
Ranferi Meza (remiksaskani) wrote : Re: X fails to start up after mesa+git update - gdm loops after logging in

I found this problem also in Jaunty/i386. I just checked all updates (so libdrm, mesa and ati driver where synced) and is still no go. I found this in two of my GDM logs:

/usr/X11R6/bin/X: symbol lookup error: /usr/lib/xorg/modules/drivers//radeon_drv.so: undefined symbol: radeon_bo_is_busy

I have no idea about coding, but could this be just a typo or something, or is far more complex than that.

Anything I can do to help...

Revision history for this message
Ranferi Meza (remiksaskani) wrote :

Oh, I almost forgot: in order to login, I just add "nomodeset" to my boot options. I'm using mainline kernel 2.6.31rc7, and X was working flawlessly until this update.

Revision history for this message
Ranferi Meza (remiksaskani) wrote :

Update: new xorg-ati drivers in edgers ppa. Problem solved (I can log in with mode setting enabled), video output and openGL apps work as they should. Check if the update is good for you all as well.

Revision history for this message
Greg Adams (adamsgn) wrote :

The new xorg-ati drivers did not work for me. I have a Radeon HD 3000.

Revision history for this message
Ranferi Meza (remiksaskani) wrote :

As far as I know, the Radeon HD 3000 is based on the R600 chip, ergo, it requires the R600 microcode to work properly. My question for you is: have you been using this chip with KMS or without. If you have, try issuing "nomodeset" to kernel at boot just to make sure it is not a problem related to the experimental R600 code in radeon-drm.
My GPU is a RS480 (Radeon Xpress 1100), and it worked 100%, but it is based in the R300 microcode, and apparently only R200 - R500 chips are fully supported with xserver-sorg-video-ati.
My guess: you need the radeonhd driver, wnich is a work in progress. Check all this, please.

Revision history for this message
Kazade (kazade) wrote :

@Ranferi, I think the bug you had was a different bug... all of us in this report have R600 based cards :) Also, KMS is disabled in Karmic on R600 so that's not the issue.

Revision history for this message
Alex Ivasyuv (industral) wrote :

Confirm, it's not working for me as well.
HD3400, "radeon" or "radeonhd" driver.

https://edge.launchpad.net/~bryceharrington/+archive/ppa/
or
https://launchpad.net/~xorg-edgers/+archive/drivers-only

repo.

Tested with "nomodeset".

Revision history for this message
Ranferi Meza (remiksaskani) wrote :

@Kazade;
Fair enough, sorry, maybe I lost track of what chipset you all were using. Just tryong to help you, I foound this on xorg-edgers PPA, about new update for mesa:

Publishing details

    * Published 15 hours ago

Changelog

mesa (7.6.0+git20090831.c4a3e036-0ubuntu0tormod) karmic; urgency=low

  * Checkout from git 20090831 (master branch) up to commit
    c4a3e036ed1c755a291018251c4f55c45ac17079
  * Only added debian/ tree from origin/ubuntu
  * hook: Drop 107_glxgears_is_not_a_benchmark.patch (testing)
  * hook: Drop 108_bo_assertion.patch (applied upstream)
  * + Enable r600 driver. Note that it requires separate drm modules
      not provided in this PPA or in Ubuntu, and also does not work
      with KMS yet. See https://launchpad.net/~xorg-edgers/+archive/radeon
  * + Require at least libdrm_2.4.12+git20090825

Hope it helps.

Revision history for this message
liamdawe (liamdawe) wrote :

Just adding in a "me too" it will get to the loading screen, the white bars will keep going up, screen flickers and then it goes back to that loading screen only it is completely frozen.

Revision history for this message
Alex Ivasyuv (industral) wrote :

yep, same symptoms. Loading bar completely frozen with all X.

Revision history for this message
Ranferi Meza (remiksaskani) wrote :

NEW drivers for Karmic in PPA. Also check the update for mesa. Perhaps that's the solution. There's a note saying that this mesa for the R600 requires a different DRM libraries, which are not in the PPA. In my previous comment I pasted the exact text from the repo, so you can follow the link and test.
Hoping that helps you all.

Revision history for this message
Jeffrey Baker (jwbaker) wrote :

Whatever is in the PPA right now (xorg edgers + radeon) solves the problem. However, my display is now full of glitches (for example, I cannot see what I am typing in this box).

So this bug solved, others opened :)

Revision history for this message
Ranferi Meza (remiksaskani) wrote :

Glad it solved the first bug. Sorry it didn't work 100%. And sorry for not being more helpful, but I'm officially out of ideas. Too bad I'm not a real coder or a full techie... Hope all other issues are solved soon.

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

Tuomas, can you confirm Jeff's finding that today's xorg-edgers solves the crashing issue? If not, the next step would be sending this upstream.

Jeff, if you don't mind and haven't already please report the glitches bug as a new bug, we should get that forwarded upstream as well.

Thanks everyone for your hard work testing this stuff. -ati is in a pretty major transition at the moment as it moves towards KMS, so hopefully once we all get through these bugs it'll be nice and solid again.

Changed in xserver-xorg-video-ati (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Jeffrey Baker (jwbaker) wrote :

Bryce: #423507 for the corruption I'm seeing.

Revision history for this message
Tuomas Aavikko (taavikko) wrote :

>bryce Harrington wrote:
>Tuomas, can you confirm Jeff's finding that today's xorg-edgers solves the crashing issue? If not, the next step >would be sending this upstream.

It indeed fixes the login issue.

mesa/libdrm upgrade made it happen, drivers only didn't cure it.
But it seems that now we have the r600_dri.so missing:

tta@dv5:~$ locate r600_dri
/usr/lib/dri/r600_dri.so
tta@dv5:~$ sudo updatedb
tta@dv5:~$ locate r600_dri
tta@dv5:~$

(EE) AIGLX error: dlopen of /usr/lib/dri/r600_dri.so failed (/usr/lib/dri/r600_dri.so: cannot open shared object file: No such file or directory)
(EE) AIGLX: reverting to software rendering
(II) AIGLX: Loaded and initialized /usr/lib/dri/swrast_dri.so
(II) GLX: Initialized DRISWRAST GL provider for screen 0

OpenGL vendor string: Mesa Project
OpenGL renderer string: Software Rasterizer
OpenGL version string: 2.1 Mesa 7.6-devel
OpenGL shading language version string: 1.20

Revision history for this message
Kazade (kazade) wrote :

Perhaps then the bug wasn't really fixed by the update... just the missing r600_dri.so was disabling DRI and so not hitting the bug at all (same as disabling DRI in xorg.conf avoids the issue).

Revision history for this message
Tuomas Aavikko (taavikko) wrote : Re: [Bug 419126] Re: X fails to start up after mesa+git update - gdm loops after logging in

2009/9/3 Kazade <email address hidden>

> Perhaps then the bug wasn't really fixed by the update... just the
> missing r600_dri.so was disabling DRI and so not hitting the bug at all
> (same as disabling DRI in xorg.conf avoids the issue).
>
>
Yep, just postphoning it, until the r600_dri.so emerges once again.

Revision history for this message
Jeffrey Baker (jwbaker) wrote : Re: X fails to start up after mesa+git update - gdm loops after logging in

I don't believe that's correct. I have r600_dri.so. Did you forget to run sudo module-assistant -t auto-install drm-modules according to the directions at https://launchpad.net/~xorg-edgers/+archive/radeon ? My DRI is definitely working. Without it, or with DRI disabled, the display is insanely slow.

Revision history for this message
Kazade (kazade) wrote :

Actually, I can confirm the latest PPA fixes everything, just upgraded (replacing my self compiled stuff) it's running like a dream :D

Revision history for this message
Tuomas Aavikko (taavikko) wrote : Re: [Bug 419126] Re: X fails to start up after mesa+git update - gdm loops after logging in

2009/9/3 Jeffrey Baker <email address hidden>

> I don't believe that's correct. I have r600_dri.so. Did you forget to
> run sudo module-assistant -t auto-install drm-modules according to the
> directions at https://launchpad.net/~xorg-edgers/+archive/radeon ? My
> DRI is definitely working. Without it, or with DRI disabled, the
> display is insanely slow.
>
>
The version of libgl1-mesa-dri in xorg-edgers doesn't provide r600_dri.so
If downgrading to the one in karmic repos, it's there again (simple build
failure?)

Revision history for this message
Saivann Carignan (oxmosys) wrote : Re: X fails to start up after mesa+git update - gdm loops after logging in

Same bug for ATI Technologies Inc RV710 [Radeon HD 4350] [1002:954f]
Fixed with xorg-edgers modules.

Revision history for this message
Tom Pino (metalsmith-rangeweb) wrote :

I have this problem too, pretty much with my 64bit installations. All have DRI turned off and while the GDM no longer loops it is because the buggers just won't boot at all.

I do have my 2 9.04 upgrades to 9.10 working with - driver "vesa" in xorg.confg. The clean installs (A4 updated and A5) appear to currently be toast.

Message that I need to mount the kernal first.

Revision history for this message
PataSenko (patasenko) wrote :

Have the same problem running Karmic Alpha 5 live cd both 32 and 64 bit. Kubuntu works fine.

Revision history for this message
Greg Adams (adamsgn) wrote :

The instructions at https://launchpad.net/~xorg-edgers/+archive/radeon fixed my problem.

Revision history for this message
Alex Ivasyuv (industral) wrote :

Installing via this instruction https://launchpad.net/~xorg-edgers/+archive/radeon
Now, X not freeze on login, but dri still not working:

[ 22.498338] radeon: disagrees about version of symbol drm_open
[ 22.498342] radeon: Unknown symbol drm_open
[ 22.498415] radeon: disagrees about version of symbol drm_fasync
[ 22.498417] radeon: Unknown symbol drm_fasync
[ 22.498492] radeon: disagrees about version of symbol drm_poll
[ 22.498494] radeon: Unknown symbol drm_poll
[ 22.498567] radeon: disagrees about version of symbol drm_get_resource_len
[ 22.498569] radeon: Unknown symbol drm_get_resource_len
[ 22.498663] radeon: disagrees about version of symbol drm_core_get_reg_ofs
[ 22.498665] radeon: Unknown symbol drm_core_get_reg_ofs
[ 22.498761] radeon: Unknown symbol drm_calloc
[ 22.498852] radeon: disagrees about version of symbol drm_irq_uninstall
[ 22.498853] radeon: Unknown symbol drm_irq_uninstall
[ 22.498935] radeon: disagrees about version of symbol drm_get_dev
[ 22.498936] radeon: Unknown symbol drm_get_dev
[ 22.499018] radeon: disagrees about version of symbol drm_ioctl
[ 22.499020] radeon: Unknown symbol drm_ioctl
[ 22.499093] radeon: disagrees about version of symbol drm_exit
[ 22.499095] radeon: Unknown symbol drm_exit
[ 22.499168] radeon: disagrees about version of symbol drm_getsarea
[ 22.499170] radeon: Unknown symbol drm_getsarea
[ 22.499340] radeon: disagrees about version of symbol drm_core_ioremapfree
[ 22.499342] radeon: Unknown symbol drm_core_ioremapfree
[ 22.499416] radeon: disagrees about version of symbol drm_core_get_map_ofs
[ 22.499418] radeon: Unknown symbol drm_core_get_map_ofs
[ 22.499491] radeon: disagrees about version of symbol drm_init
[ 22.499493] radeon: Unknown symbol drm_init
[ 22.499571] radeon: disagrees about version of symbol drm_addmap
[ 22.499573] radeon: Unknown symbol drm_addmap
[ 22.499694] radeon: disagrees about version of symbol drm_get_resource_start
[ 22.499696] radeon: Unknown symbol drm_get_resource_start
[ 22.499770] radeon: disagrees about version of symbol drm_handle_vblank
[ 22.499771] radeon: Unknown symbol drm_handle_vblank
[ 22.499856] radeon: Unknown symbol drm_cleanup_pci
[ 22.499932] radeon: disagrees about version of symbol drm_ati_pcigart_init
[ 22.499934] radeon: Unknown symbol drm_ati_pcigart_init
[ 22.500047] radeon: disagrees about version of symbol drm_vblank_init
[ 22.500049] radeon: Unknown symbol drm_vblank_init
[ 22.500152] radeon: disagrees about version of symbol drm_core_ioremap_wc
[ 22.500154] radeon: Unknown symbol drm_core_ioremap_wc
[ 22.500241] radeon: disagrees about version of symbol drm_mmap
[ 22.500243] radeon: Unknown symbol drm_mmap
[ 22.500397] radeon: disagrees about version of symbol drm_ati_pcigart_cleanup
[ 22.500399] radeon: Unknown symbol drm_ati_pcigart_cleanup
[ 22.500503] radeon: disagrees about version of symbol drm_core_reclaim_buffers
[ 22.500505] radeon: Unknown symbol drm_core_reclaim_buffers
[ 22.500591] radeon: disagrees about version of symbol drm_release
[ 22.500593] radeon: Unknown symbol drm_release

Revision history for this message
d2kx (d2kxweb) wrote :

I can confirm this bug with my AMD Radeon HD 4850 1GB and it is fixed with xorg-edgers. Please update Mesa/radeon in karmic.

Revision history for this message
Jeffrey Baker (jwbaker) wrote : Re: [Bug 419126] Re: X fails to start up after mesa+git update - gdm loops after logging in

On Sat, Sep 5, 2009 at 2:38 AM, Alex Ivasyuv<email address hidden> wrote:
> Installing via this instruction https://launchpad.net/~xorg-edgers/+archive/radeon
> Now, X not freeze on login, but dri still not working:

You need to update your initrd, according to the instructions under "debugging".

Revision history for this message
Tormod Volden (tormodvolden) wrote : Re: X fails to start up after mesa+git update - gdm loops after logging in

> The version of libgl1-mesa-dri in xorg-edgers doesn't provide r600_dri.so

Sorry I forgot to add the r600 support in the last mesa packages. Uploaded mesa_7.6.0+git20090906.97787317-0ubuntu0tormod now, with r600.

Revision history for this message
Alex Ivasyuv (industral) wrote :

> You need to update your initrd, according to the instructions under "debugging".
Strange, I ran "sudo module-assistant -t auto-install drm-modules" before.. Anyway, confirm, it works now.
Maybe, it's time to merge this PPA to karmic?

Revision history for this message
Kazade (kazade) wrote :

I just updated to the latest xorg-edgers upload, and I can log in + DRI works but if I run glxgears (which before worked in software) I now get this:

luke@hydrogen:~$ glxgears
IRQ's not enabled, falling back to busy waits: 2 18
drmRadeonCmdBuffer: -22

and it crashes, same with any other GL program :(

Revision history for this message
Kazade (kazade) wrote :

Sorry for the noise. Ignore the last message, I just need to learn to read! All fixed now.

Revision history for this message
Neil Wilson (neil-aldur) wrote :

Shouldn't this bug be with the mesa package rather than the ati package?

Bryce Harrington (bryce)
Changed in mesa (Ubuntu):
status: New → Confirmed
Revision history for this message
Tuomas Aavikko (taavikko) wrote : Re: [Bug 419126] Re: X fails to start up after mesa+git update - gdm loops after logging in
  • 0.log Edit (49.2 KiB, text/x-log; name="0.log"; charset="UTF-8")
  • 0.log.1 Edit (66.2 KiB, text/plain; name="0.log.1"; charset="UTF-8")
  • greeter.log Edit (11.7 KiB, text/x-log; name="greeter.log"; charset="UTF-8")
  • greeter.log.1 Edit (11.2 KiB, text/x-emacs-lisp; name="greeter.log.1"; charset="UTF-8")
  • slave.log Edit (29.3 KiB, text/x-log; name="slave.log"; charset="UTF-8")
  • Xorg.0.log Edit (62.1 KiB, text/x-log; name="Xorg.0.log"; charset="UTF-8")

Using xorg-edgers, fully up-to-date, GDM looping is still an issue.
With or without nomodeset, only way to login, is to disable DRI in
xorg.conf

Revision history for this message
Tuomas Aavikko (taavikko) wrote :
  • 0.log Edit (49.2 KiB, text/x-log; name="0.log"; charset="UTF-8")
  • 0.log.1 Edit (66.2 KiB, text/plain; name="0.log.1"; charset="UTF-8")
  • greeter.log Edit (11.7 KiB, text/x-log; name="greeter.log"; charset="UTF-8")
  • greeter.log.1 Edit (11.2 KiB, text/x-emacs-lisp; name="greeter.log.1"; charset="UTF-8")
  • slave.log Edit (29.3 KiB, text/x-log; name="slave.log"; charset="UTF-8")
  • Xorg.0.log Edit (62.1 KiB, text/x-log; name="Xorg.0.log"; charset="UTF-8")

Using xorg-edgers PPA, GDM loop is still an issue.
With or without nomodeset, only way to login is to disable DRI in
xorg.conf.

Revision history for this message
marmuta (marmuta) wrote : Re: X fails to start up after mesa+git update - gdm loops after logging in

Works for me after some iterations. I needed
https://launchpad.net/~xorg-edgers/+archive/ppa
https://launchpad.net/~xorg-edgers/+archive/radeon
sudo apt-get install drm-modules-source
sudo module-assistant -t auto-install drm-modules
sudo update-initramfs -u

Glxgears and compiz work, but there are some graphical glitches with menus, buttons and typing text. Also busy windows become solid grey boxes. I'll see if I can catch all that in screen shots and file bugs (radeon HD4670).

Revision history for this message
Neil Wilson (neil-aldur) wrote :

When I delete the /usr/lib/dri/r600_dri.so file from the stock Alpha-5 libgl1-mesa-dri package (7.6.0~git20090817.7c422387-0ubuntu3) then X will start up correctly with DRI enabled using both the Radeon and Radeon HD drivers.

AIGLX reverts to software rendering as expected.

Acer Aspire 5536 with a Radeon HD 3200 card.

Revision history for this message
Tuomas Aavikko (taavikko) wrote : Re: [Bug 419126] Re: X fails to start up after mesa+git update - gdm loops after logging in

2009/9/6 taavikko <email address hidden>

> Using xorg-edgers PPA, GDM loop is still an issue.
> With or without nomodeset, only way to login is to disable DRI in
> xorg.conf.
>

Sorry for double post (evolution mixup)
Was wrong, even disabling DRI in xorg.conf will result in GDM loop.
previous logs should suffice.

Revision history for this message
Neil Wilson (neil-aldur) wrote : Re: X fails to start up after mesa+git update - gdm loops after logging in

Tested the Xorg edgers system.

With the xserver-xorg-video-ati driver, the microcode works and fixes the drmCommandBuffer: -22 fault but I can't see what I am typing in the terminal window so there is a rendering flaw there.

With the xserver-xorg-video-radeonhd driver, everything seems fine including the rendering of typing in a terminal window.

radeonhd seems somewhat slower at rendering glxgears than radeon. Both drivers report "IRQ's not enabled, falling back to busy waits: 2 18" while running the program and the gears image always stays in front - overwriting any window you move over it.

Progress from my point of view.

Revision history for this message
Neil Wilson (neil-aldur) wrote :

Note that I was following the instructions in #109. I updated DRM as well and it is that which fixes the X server crash issue.

Revision history for this message
Daniel Letzeisen (dtl131) wrote :

[QUOTE]Glxgears and compiz work, but there are some graphical glitches with menus, buttons and typing text. Also busy windows become solid grey boxes. I'll see if I can catch all that in screen shots and file bugs[/QUOTE]

[QUOTE]
radeonhd seems somewhat slower at rendering glxgears than radeon. Both drivers report "IRQ's not enabled, falling back to busy waits: 2 18" while running the program[/QUOTE]

The upstream developers already know about a lot of these issues. Graphical glitches for R600/700 3D are expected right now. See: http://www.x.org/wiki/radeonhd%3Aexperimental_3D The key word is EXPERIMENTAL ;) I'm not sure how much more the code will stabilize before the Karmic code freeze. I'm guessing that Ubuntu will configure mesa with software rendering on R600/700 if they want things to be stable, even though it's slow.

Revision history for this message
executorvs (executorvs) wrote :

I encountered what appears to be this bug with todays daily-live disc on a hp pavilion tx2500 series tablet. could not generate log files as I couldn't get it to boot and can't install karmic on the machine right now.

Revision history for this message
Benny Källström (benny-k) wrote : apport-collect data

Architecture: i386
DistroRelease: Ubuntu 9.10
MachineType: Hewlett-Packard HP Compaq 6830s
Package: xserver-xorg-video-ati 1:6.12.99+git20090629.f39cafc5-0ubuntu5
PackageArchitecture: i386
ProcCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.31-5-generic root=UUID=8618aa23-bc13-4875-b70e-3dcfa3cf0261 ro quiet splash
ProcEnviron:
 SHELL=/bin/bash
 LANG=sv_FI.UTF-8
ProcVersionSignature: Ubuntu 2.6.31-5.24-generic
RelatedPackageVersions:
 xserver-xorg 1:7.4+3ubuntu5
 libgl1-mesa-glx 7.5-1ubuntu1
 libdrm2 2.4.12-1ubuntu1
 xserver-xorg-video-intel 2:2.8.0-0ubuntu2
 xserver-xorg-video-ati 1:6.12.99+git20090629.f39cafc5-0ubuntu5
Uname: Linux 2.6.31-5-generic i686
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare
XorgConf: Error: [Errno 2] No such file or directory: '/etc/X11/xorg.conf'
dmi.bios.date: 03/12/2009
dmi.bios.vendor: Hewlett-Packard
dmi.bios.version: 68PZD Ver. F.0C
dmi.board.name: 30E9
dmi.board.vendor: Hewlett-Packard
dmi.board.version: KBC Version 95.1C
dmi.chassis.asset.tag: CNU9202RW6
dmi.chassis.type: 10
dmi.chassis.vendor: Hewlett-Packard
dmi.modalias: dmi:bvnHewlett-Packard:bvr68PZDVer.F.0C:bd03/12/2009:svnHewlett-Packard:pnHPCompaq6830s:pvrF.0C:rvnHewlett-Packard:rn30E9:rvrKBCVersion95.1C:cvnHewlett-Packard:ct10:cvr:
dmi.product.name: HP Compaq 6830s
dmi.product.version: F.0C
dmi.sys.vendor: Hewlett-Packard
fglrx: Not loaded
system:
 distro: Ubuntu
 architecture: i686kernel: 2.6.31-5-generic

Revision history for this message
Benny Källström (benny-k) wrote :

Architecture: i386
DistroRelease: Ubuntu 9.10
MachineType: Hewlett-Packard HP Compaq 6830s
Package: xserver-xorg-video-ati 1:6.12.99+git20090629.f39cafc5-0ubuntu5
PackageArchitecture: i386
ProcCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.31-5-generic root=UUID=8618aa23-bc13-4875-b70e-3dcfa3cf0261 ro quiet splash
ProcEnviron:
 PATH=(custom, no user)
 LANG=sv_FI.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-5.24-generic
RelatedPackageVersions:
 xserver-xorg 1:7.4+3ubuntu5
 libgl1-mesa-glx 7.5-1ubuntu1
 libdrm2 2.4.12-1ubuntu1
 xserver-xorg-video-intel 2:2.8.0-0ubuntu2
 xserver-xorg-video-ati 1:6.12.99+git20090629.f39cafc5-0ubuntu5
Uname: Linux 2.6.31-5-generic i686
UserGroups:

XorgConf: Error: [Errno 2] No such file or directory: '/etc/X11/xorg.conf'
dmi.bios.date: 03/12/2009
dmi.bios.vendor: Hewlett-Packard
dmi.bios.version: 68PZD Ver. F.0C
dmi.board.name: 30E9
dmi.board.vendor: Hewlett-Packard
dmi.board.version: KBC Version 95.1C
dmi.chassis.asset.tag: CNU9202RW6
dmi.chassis.type: 10
dmi.chassis.vendor: Hewlett-Packard
dmi.modalias: dmi:bvnHewlett-Packard:bvr68PZDVer.F.0C:bd03/12/2009:svnHewlett-Packard:pnHPCompaq6830s:pvrF.0C:rvnHewlett-Packard:rn30E9:rvrKBCVersion95.1C:cvnHewlett-Packard:ct10:cvr:
dmi.product.name: HP Compaq 6830s
dmi.product.version: F.0C
dmi.sys.vendor: Hewlett-Packard
fglrx: Not loaded
system:
 distro: Ubuntu
 architecture: i686kernel: 2.6.31-5-generic

Revision history for this message
Benny Källström (benny-k) wrote :

Architecture: i386
DistroRelease: Ubuntu 9.10
MachineType: Hewlett-Packard HP Compaq 6830s
Package: xserver-xorg-video-ati 1:6.12.99+git20090629.f39cafc5-0ubuntu5
PackageArchitecture: i386
ProcCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.31-5-generic root=UUID=8618aa23-bc13-4875-b70e-3dcfa3cf0261 ro quiet splash
ProcEnviron:
 SHELL=/bin/bash
 LANG=sv_FI.UTF-8
ProcVersionSignature: Ubuntu 2.6.31-5.24-generic
RelatedPackageVersions:
 xserver-xorg 1:7.4+3ubuntu5
 libgl1-mesa-glx 7.5-1ubuntu1
 libdrm2 2.4.12-1ubuntu1
 xserver-xorg-video-intel 2:2.8.0-0ubuntu2
 xserver-xorg-video-ati 1:6.12.99+git20090629.f39cafc5-0ubuntu5
Uname: Linux 2.6.31-5-generic i686
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare
XorgConf: Error: [Errno 2] No such file or directory: '/etc/X11/xorg.conf'
dmi.bios.date: 03/12/2009
dmi.bios.vendor: Hewlett-Packard
dmi.bios.version: 68PZD Ver. F.0C
dmi.board.name: 30E9
dmi.board.vendor: Hewlett-Packard
dmi.board.version: KBC Version 95.1C
dmi.chassis.asset.tag: CNU9202RW6
dmi.chassis.type: 10
dmi.chassis.vendor: Hewlett-Packard
dmi.modalias: dmi:bvnHewlett-Packard:bvr68PZDVer.F.0C:bd03/12/2009:svnHewlett-Packard:pnHPCompaq6830s:pvrF.0C:rvnHewlett-Packard:rn30E9:rvrKBCVersion95.1C:cvnHewlett-Packard:ct10:cvr:
dmi.product.name: HP Compaq 6830s
dmi.product.version: F.0C
dmi.sys.vendor: Hewlett-Packard
fglrx: Not loaded
system:
 distro: Ubuntu
 architecture: i686kernel: 2.6.31-5-generic

Revision history for this message
executorvs (executorvs) wrote : Re: X fails to start up after mesa+git update - gdm loops after logging in

Apparently some people with Nvidia cards are encountering this bug as well. there comments are at http://ubuntuforums.org/showthread.php?p=7927173

Revision history for this message
Neil Wilson (neil-aldur) wrote :

What's incomplete about the xserver-xorg-video-ati part of this bug?

Revision history for this message
executorvs (executorvs) wrote :

some people on the forums claim to have encountered this problem while not using xserver-xorg-video-ati driver, or ati hardware for that matter. so you have to prove it is part of the problem and not just present along side the problem.

Revision history for this message
Jeffrey Baker (jwbaker) wrote :

Would love to know what's incomplete about this so I can help finish it off. Still having this problem with Karmic archive today, still able to fix it by building xorg-edgers + radeon crack.

Revision history for this message
Adam (adam-k-92) wrote :

Hmmm clearing all the xorg.conf and just running apt-get xorg-driver-fglrx and rebooting for some reason seems to fix the problem for me. I'm real linux noob so sorry if this isn't helpful :)

Revision history for this message
Johannes Maibaum (jmaibaum) wrote :

That does only show that the problem seems to be in xserver-xorg-video-ati and people using the proprietary fglrx driver are not affected. Apparently, this does not solve the problem, since everybody with an ATI r6xx-based video card trying to boot from the Live-CD will be bound to the free radeon driver first. At the moment, those people won't be able to install karmic from the Live-CD.

Revision history for this message
d2kx (d2kxweb) wrote :

Will xserver-xorg-video-ati/radeon + Mesa 7.6 branch get updated in karmic anytime soon so we can use it again?

Revision history for this message
Neil Wilson (neil-aldur) wrote : Re: [Bug 419126] Re: X fails to start up after mesa+git update - gdm loops after logging in

AIUI The maintainer is on paternity leave at the moment.

2009/9/15 d2kx <email address hidden>:
> Will xserver-xorg-video-ati/radeon + Mesa 7.6 branch get updated in
> karmic anytime soon so we can use it again?
>
> --
> X fails to start up after mesa+git update - gdm loops after logging in
> https://bugs.launchpad.net/bugs/419126
> You received this bug notification because you are a direct subscriber
> of a duplicate bug.
>

--
Neil Wilson

Changed in mesa (Ubuntu):
assignee: nobody → Alberto Milone (albertomilone)
importance: Undecided → High
status: Confirmed → In Progress
Martin Pitt (pitti)
tags: added: regression-potential
removed: regression
summary: - X fails to start up after mesa+git update - gdm loops after logging in
+ [ATI R6xx] X fails to start up after mesa+git update - gdm loops after
+ logging in
Changed in mesa (Ubuntu Karmic):
milestone: none → ubuntu-9.10
milestone: ubuntu-9.10 → ubuntu-9.10-beta
Revision history for this message
Martin Pitt (pitti) wrote : Re: [ATI R6xx] X fails to start up after mesa+git update - gdm loops after logging in

I tried https://edge.launchpad.net/~albertomilone/+archive/x-testing on a live system (new mesa), and I still have the same problem.

When I remove /usr/lib/dri/r600_dri.so, GNOME session starts up, but with metacity. So that would be a regression compared to Jaunty, where I didn't get 3D acceleration on the r6xx, but at least compositing and Xv worked.

Revision history for this message
Someone561 (someone561) wrote :

This bug is not only for r6xx chip sets. My HD 3200 has this bug also. As far I know the HD 3200 has the RS780 chip set.

Revision history for this message
Martin Pitt (pitti) wrote :

Sorry, I misremembered. Jaunty didn't have compositing on this card, so it's not a regression.

Revision history for this message
Neil Wilson (neil-aldur) wrote : Re: [Bug 419126] Re: [ATI R6xx] X fails to start up after mesa+git update - gdm loops after logging in

Me to, but the RS780 in the HD 3200 uses the r600 microcode.

2009/9/16 Someone561 <email address hidden>:
> This bug is not only for r6xx chip sets. My HD 3200 has this bug also.
> As far I know the HD 3200 has the RS780 chip set.
>
> --
> [ATI R6xx] X fails to start up after mesa+git update - gdm loops after logging in
> https://bugs.launchpad.net/bugs/419126
> You received this bug notification because you are a direct subscriber
> of a duplicate bug.
>

--
Neil Wilson

Revision history for this message
Alberto Milone (albertomilone) wrote : Re: [ATI R6xx] X fails to start up after mesa+git update - gdm loops after logging in

@Martin:
Revision ubuntu5+ppa1 should not have r600_dri.so.

@Someone561:
As far as I know, despite its name, r600_dri.so is used for both r600 and r700.

Martin Pitt (pitti)
summary: - [ATI R6xx] X fails to start up after mesa+git update - gdm loops after
- logging in
+ [ATI R6xx and above] X fails to start up after mesa+git update - gdm
+ loops after logging in
Changed in xserver-xorg-video-ati (Ubuntu Karmic):
status: Incomplete → Invalid
Revision history for this message
Alberto Milone (albertomilone) wrote :

The attached debdiff disables r600

Revision history for this message
liamdawe (liamdawe) wrote :

So from the milestone, this won't be fixed until the 1st of october for the beta? That is far too long to keep such a bug around!

Revision history for this message
Pauli (paniemin) wrote : Re: [Bug 419126] Re: [ATI R6xx and above] X fails to start up after mesa+git update - gdm loops after logging in

In #radeon irc channel we found solution for gentoo users with similar
problems. It was caused by commit a381287759b2b65e7de9fb35801c781cab016f10
(log: "drm/radeon/kms/r600: use blit for BO moves") in drm-next branch of
Airlied's kernele tree.

Reverting solves the problem until blit copy code is fixed.

On Wed, Sep 16, 2009 at 6:53 PM, Alberto Milone <
<email address hidden>> wrote:

> The attached debdiff disables r600
>
> ** Attachment added: "mesa_7.6.0~git20090817.7c422387-0ubuntu5.debdiff"
>
> http://launchpadlibrarian.net/31904627/mesa_7.6.0%7Egit20090817.7c422387-0ubuntu5.debdiff
>
> --
> [ATI R6xx and above] X fails to start up after mesa+git update - gdm loops
> after logging in
> https://bugs.launchpad.net/bugs/419126
> You received this bug notification because you are subscribed to
> xserver-xorg-video-ati in ubuntu.
>

Revision history for this message
executorvs (executorvs) wrote :

the milestone simply indicates that they hope to have a fix in by the beta release(a development milestone release). It could be in a daily build this weekend, or prove difficult enough to fix that it misses the milestone. Time will tell.. I'm hoping for this weekend.

Revision history for this message
Neil Wilson (neil-aldur) wrote :

Fixing is straightforward. Remove the /usr/lib/dri/r600_dri.so file.

2009/9/16 executorvs <email address hidden>:
> the milestone simply indicates that they hope to have a fix in by the
> beta release(a development milestone release). It could be in a daily
> build this weekend, or prove difficult enough to fix that it misses the
> milestone. Time will tell.. I'm hoping for this weekend.
>
> --
> [ATI R6xx and above] X fails to start up after mesa+git update - gdm loops after logging in
> https://bugs.launchpad.net/bugs/419126
> You received this bug notification because you are a direct subscriber
> of a duplicate bug.
>

--
Neil Wilson

Revision history for this message
liamdawe (liamdawe) wrote :

I am pretty sure that file actually has a purpose simply removing it i doubt is a sane option for "fixing" the bug. That would be a temporary solution for people until the fix is out (which i am download a daily iso to test to see if that actually works).

Revision history for this message
Johannes Maibaum (jmaibaum) wrote :

Actually, deleting the file will solve this problem, so that people with an r6xx or above will again be able to use karmic. Of course, this cannot be a longtime solution, since the mentioned filed has the purpose to enable DRI for r6xx based video cards (which is still in development and not quite stable as we all can see). However, since this is no regression in comparison to jaunty (were DRI did not work either on r6xx and above), I personally prefer a "working" system without DRI over a non-working system.

Revision history for this message
Alberto Milone (albertomilone) wrote :

Just a clarification on the issue:

Removing the 3D driver (/usr/lib/dri/r600_dri.so) is a valid workaround and the debdiff that I attached in comment 132 prevents mesa from building that driver.

We are still looking into the possibility to get a working 3D driver for r600 in time for Karmic. I can't promise anything though.

Revision history for this message
Pauli (paniemin) wrote :

On Thu, Sep 17, 2009 at 1:13 PM, Alberto Milone <
<email address hidden>> wrote:

> Just a clarification on the issue:
>
> Removing the 3D driver (/usr/lib/dri/r600_dri.so) is a valid workaround
> and the debdiff that I attached in comment 132 prevents mesa from
> building that driver.
>
> We are still looking into the possibility to get a working 3D driver for
> r600 in time for Karmic. I can't promise anything though.
>
>
You should co-operate more with upstream when you try to get still in
development code to work. It would be nice to know what kernel modules code
you are using and what extra patches etc. People will be coming to complain
to upstream anyway so fixing bugs is easier there if there is more knowledge
what you are doing.

Did you try to revert the patch that hooked in blit to kernel copy
operation? It is known to be buggy in some hw still so better not to ship
that kind of change in Ubuntu until most of problems with blit code is
fixed.

Revision history for this message
marmuta (marmuta) wrote :

Why disable r600 dri when there is already a capable driver in the xorg-edgers PPAs? To add a datapoint (HD4670), I've been using them for the last 10 days with great success. Compiz works well and is smooth, XVideo is there with the usual 16 textured video adapters, and even some dated 3d games I tried are surprisingly playable (Supertuxcart, wine+Age of Mythology). All without a single freeze or X crash yet.

Of the glitches I described in #109 there is only bug #425303 left, The busy window bug #425334 has been fixed already. I think it would be really sad to have r600 dri disabled at this point. Are there any blockers holding up the transition from xorg-edgers to the repos?

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

This bug was fixed in the package mesa - 7.6.0~git20090817.7c422387-0ubuntu5

---------------
mesa (7.6.0~git20090817.7c422387-0ubuntu5) karmic; urgency=low

  * debian/rules: Disable r600: Disable r600 as 3D support is still
    experimental and causes problems with the gnome session when
    compiz is enabled (LP: #419126).

 -- Alberto Milone <email address hidden> Wed, 16 Sep 2009 17:43:59 +0200

Changed in mesa (Ubuntu Karmic):
status: In Progress → Fix Released
Revision history for this message
Alberto Milone (albertomilone) wrote :

After discussing with upstream, I have disabled the 3D driver for r600 in Mesa.

We will provide packages with the 3D driver (with the fixes from upstream) in a PPA so that you can try the experimental driver if you want.

Revision history for this message
liamdawe (liamdawe) wrote :

Okay thanks for that, maybe for next ubuntu release it will be ready but as you said it's not a step backwards as we didn't have it before.

So i take it the daily cd for the 19th will have this fix right?

Revision history for this message
Graham Lavender (glavender) wrote :

I tried the Sept 25 daily image and had the same experience as Chris - plain white Ubuntu logo, then text prompt, and after hitting enter:

Ubuntu karmic (development branch) ubuntu tty1

ubuntu login:

Chris wrote 10 hours ago: #20

I have tried the September 24 snapshot per Robbie Williamson's request. It does make a difference but not in the way I would like to see. The splash screen is now black with the Ubuntu logo (circle only) showing in white in the centre of the screen. After about 15 seconds the screen changes to just a binking underscore on a black background. If I hit the enter key at that point I get a console with 'Ubuntu login:' as prompt.

Can you let me know the number of the original bug report if you want to continue to receive comments there?

tags: added: iso-testing
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.