Bug 23666

Summary: [Xpress 200] X Freeze switching from terminal to Xorg
Product: xorg Reporter: Bryce Harrington <bryce>
Component: Driver/RadeonAssignee: xf86-video-ati maintainers <xorg-driver-ati>
Status: RESOLVED DUPLICATE QA Contact: Xorg Project Team <xorg-team>
Severity: major    
Priority: high CC: matthijs, mmbossoni
Version: 7.4 (2008.09)   
Hardware: All   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
lspci.txt
none
Xorg.0.log none

Description Bryce Harrington 2009-09-02 18:25:28 UTC
Forwarding this bug from Ubuntu reporter mmbossoni:
http://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-ati/+bug/418970

[Problem]
X Freezes switching from terminal to X session - I cannot use keyboard or mouse.

[Original Description]
If I switch to a terminal (Ctrl+Alt+F1) and then switch back to the X server the system crashes and I need to manually reboot.
VGA compatible controller: ATI Technologies Inc RS482 [Radeon Xpress 200]
I'm using Karmic alpha 4 + updates
Package version: 1:6.12.99+git20090629.f39cafc5-0ubuntu6

I have no customized xorg.conf
Comment 1 Bryce Harrington 2009-09-02 18:26:19 UTC
Created attachment 29146 [details]
lspci.txt
Comment 2 Bryce Harrington 2009-09-02 18:26:35 UTC
Created attachment 29147 [details]
Xorg.0.log
Comment 3 Alex Deucher 2009-09-02 22:31:17 UTC
probably a dupe of bug 23623.  Does KMS work any better?
Comment 4 Marcelo Bossoni 2009-09-05 15:57:55 UTC
Hi,
Enabling the KMS support make impossible to X to goes up.
Not even the logon screen appear
Comment 5 Marcelo Bossoni 2009-09-21 20:11:25 UTC
Hi,
FYI, I've updated the package to the latest version available from my distribution (6.12.99+git20090825.fc74e119-0ubuntu2) and everything worked well.
Comment 6 Marcelo Bossoni 2009-09-21 20:12:41 UTC
I forgot to mention that worked with both KMS and the X way.
Comment 7 Bryce Harrington 2009-10-13 14:47:46 UTC
From the downstream bug:

Marcelo Bossoni writes:
"Hi, appear the bug came back with the beta release.
radeon.modeset=1 keep things working well, but the X way keeps freezing."
Comment 8 Alex Deucher 2009-10-13 14:50:18 UTC
(In reply to comment #7)
> From the downstream bug:
> 
> Marcelo Bossoni writes:
> "Hi, appear the bug came back with the beta release.
> radeon.modeset=1 keep things working well, but the X way keeps freezing."
> 

What version or commit id ended up in the beta release?
Comment 9 Bryce Harrington 2009-10-15 19:01:11 UTC
The beta release was 6.12.99+git20090825.fc74e119,  so up to commit fc74e119.

For the release we are targeting 6.12.99+git20090929.7968e1fb.

Marcelo, it would be helpful if you could update to the latest -ati in Karmic and confirm the bug is still occurring with that version.
Comment 10 Marcelo Bossoni 2009-10-16 10:34:57 UTC
Updated to 6.12.99+git20090929.7968e1fb
Everything seems to work correctly now.
KMS with AC: OK
KMS without AC: OK
No KMS with AC: OK
No KMS withtout AC: OK
Comment 11 Bryce Harrington 2009-10-19 16:02:30 UTC
Thanks for verifying that.
Comment 12 Matthijs Kooijman 2009-10-23 02:59:41 UTC
I've been experiencing the same problem, and for me the problem is _almost_ gone (it's at least very workable right now, unlike before. Thanks for that.). I've tested the git revision mentioned below (7968e1fb) and the 6.12-branch of a few days ago (0db4b1708). Both versions show the same behaviour. I've only tested without KMS, I haven't got KMS set up yet.

I'm still seeing this problem (or at least a problem with the same symptoms) when I pull out or plug in the AC connector at the same time as switching from the terminal to X. The problem does not occur when switching from X to the terminal while changing the AC connection. This problem seems to occur pretty reliably (though not every time), so it seems the timing is not super critical.

This problem also occurs when I unplug the AC connector while the laptop is suspended to disk (e.g., when it's off). As soon as it desuspends and tries to restore X, it freezes. It seems that the kernel realizes the AC adapter is unplugged immediately after desuspending, and at the same time X is being restored. This does not happen when I manually switch to text mode before suspension and switch back manually (a while) after desuspending.

Marcelo, could you perhaps see if you can reproduce this?
Comment 13 Matthijs Kooijman 2009-12-02 11:56:07 UTC
It seems this bug is really a duplicate of 22140 (and is not entirely fixed yet).

*** This bug has been marked as a duplicate of bug 22140 ***

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.