Bug 5095 - Lock-ups with radeon 9600
Summary: Lock-ups with radeon 9600
Status: RESOLVED WORKSFORME
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/other (show other bugs)
Version: unspecified
Hardware: x86 (IA32) Linux (All)
: high major
Assignee: Xorg Project Team
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-11-19 07:23 UTC by Ralph Loader
Modified: 2006-05-06 13:29 UTC (History)
2 users (show)

See Also:
i915 platform:
i915 features:


Attachments
Xorg log file. (47.15 KB, text/plain)
2005-11-19 07:24 UTC, Ralph Loader
no flags Details

Description Ralph Loader 2005-11-19 07:23:28 UTC
I'm experiencing lock-ups with a Radeon 9600 with Fedora Rawhide, rpm versions

xorg-x11-drv-ati-6.5.7-1
xorg-x11-drv-keyboard-1.0.1-1
xorg-x11-drv-mouse-1.0.1-1
xorg-x11-drv-vesa-1.0.1-1
xorg-x11-server-Xorg-0.99.3-6

Typically logs up within an hour of logging in.

The lock-up usually appears to occur on mouse or network activity (interrupt
problems?)

Seems that the machine has frozen completely - looking at my router LEDs it
appears that it is no longer responding on the network.

The machine was perfectly stable before upgrading to modular X, and is perfectly
stable without X running.

Will attach X logs, let me know if you want any other info.
Comment 1 Ralph Loader 2005-11-19 07:24:32 UTC
Created attachment 3844 [details]
Xorg log file.
Comment 2 Ralph Loader 2005-11-20 04:46:38 UTC
Turning acceleration off seems to stop the lock-up from happening.
Comment 3 Michel Dänzer 2005-11-21 19:54:06 UTC
(In reply to comment #0)
> 
> The machine was perfectly stable before upgrading to modular X, [...]

What version of X were you running before? It'd be very helpful if you could try
and isolate the CVS commit or at least the snapshot version where this problem
was introduced.
Comment 4 Ralph Loader 2005-11-22 14:38:49 UTC
Previous running 6.8.2...

I'll do my best to divide-and-conquer on the CVS commits.
Comment 5 Ralph Loader 2005-12-24 08:11:15 UTC
This no longer happens to me with the 7.0 release.
Comment 6 Ralph Loader 2006-02-18 09:54:39 UTC
This is now happening again...

The bug is dri related - with DRI enabled, the machine locks up typically after
a few minutes if I have a network client (e.g., bittorrent) running.

If DRI is enabled, and there is little network traffic, then the machine is more
stable but typically locks up after an hour or so.

With DRI disable, the machine is perfectly stable.

The short period in which I had DRI running without lock-ups corresponds more or
 less to the period in which the kernel had

commit 281ab031a8c9e5b593142eb4ec59a87faae8676a
Author: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Date:   Fri Dec 16 16:52:22 2005 +1100

applied (that was reverted in 392c14beaca2ee85a98d0c6b453501be67423a20, 29-Dec).
Comment 7 Ralph Loader 2006-02-18 18:40:23 UTC
I tried kernels identical apart from the patch below & locked up without the
patch but not with it.

diff --cc drivers/char/drm/radeon_cp.c
index 9bb8ae0,b517ae5..0000000
@@@ -1510,11 -1523,16 +1511,16 @@@
                                          + dev_priv->fb_location) >> 10));

        dev_priv->gart_size = init->gart_size;
-       dev_priv->gart_vm_start = dev_priv->fb_location
-           + RADEON_READ(RADEON_CONFIG_APER_SIZE);
+
+       mem_size = RADEON_READ(RADEON_CONFIG_MEMSIZE);
+       if (mem_size == 0)
+               mem_size = 0x800000;
+       aper_size = max(RADEON_READ(RADEON_CONFIG_APER_SIZE), mem_size);
+
+       dev_priv->gart_vm_start = dev_priv->fb_location + aper_size;

  #if __OS_HAS_AGP
 -      if (!dev_priv->is_pci)
 +      if (dev_priv->flags & CHIP_IS_AGP)
                dev_priv->gart_buffers_offset = (dev->agp_buffer_map->offset
                                                 - dev->agp->base
                                                 + dev_priv->gart_vm_start);
Comment 8 Sérgio M. Basto 2006-02-19 10:42:38 UTC
I had Lookups with one ATI Mobile Radeon 9700SE on xorg-6.9.0 
I just test it with last kernel from Fedora 2.6.15-1.1831_FC4

disable Load dri module work arround the problem  

Comment 9 Sérgio M. Basto 2006-03-15 04:13:14 UTC
(In reply to comment #8)
> 
> disable Load dri module work arround the problem  
> 

Afer use X some seconds, lockups , even with dri disable. 
 
Comment 10 Benjamin Herrenschmidt 2006-03-23 13:15:47 UTC
can you try with ati-1-0-branch X-side driver and the kernel DRM from the drm CVS ?

Comment 11 Ralph Loader 2006-05-07 06:29:10 UTC
I'm no longer locking up with a recent kernel and DRM. Resolving as worksforme.



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.