All of lore.kernel.org
 help / color / mirror / Atom feed
* [Bug 29834] New: System freeze upon X startup with KMS enabled (RV730)
@ 2010-08-27 10:35 bugzilla-daemon
  2010-08-27 16:21 ` [Bug 29834] " bugzilla-daemon
                   ` (13 more replies)
  0 siblings, 14 replies; 15+ messages in thread
From: bugzilla-daemon @ 2010-08-27 10:35 UTC (permalink / raw)
  To: dri-devel

https://bugs.freedesktop.org/show_bug.cgi?id=29834

           Summary: System freeze upon X startup with KMS enabled (RV730)
           Product: DRI
           Version: XOrg 6.7.0
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: major
          Priority: medium
         Component: DRM/Radeon
        AssignedTo: dri-devel@lists.freedesktop.org
        ReportedBy: info@noctus.net


Created an attachment (id=38216)
 --> (https://bugs.freedesktop.org/attachment.cgi?id=38216)
kern.log messages upon freeze

Trying to start X with KMS enabled on my HD4670 (RV730) card freezes the system
and I have to SysRq out of that situation. Since this only happens with the
final release of the 2.6.35 kernel I am currently stuck with the RC6 which does
not display this behavior. See the attached kern.log output in case of such
freeze.

I am running the latest Git masters of both xf86-video-ati
(5a7c9d94733a0db1d3565447acc9f0e751db5950 here ATM) as well as mesa
(f3ec111b0af9d268e6b3c6d3226a448d19e45d8c here ATM).

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

^ permalink raw reply	[flat|nested] 15+ messages in thread

* [Bug 29834] System freeze upon X startup with KMS enabled (RV730)
  2010-08-27 10:35 [Bug 29834] New: System freeze upon X startup with KMS enabled (RV730) bugzilla-daemon
@ 2010-08-27 16:21 ` bugzilla-daemon
  2010-08-27 16:22 ` bugzilla-daemon
                   ` (12 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: bugzilla-daemon @ 2010-08-27 16:21 UTC (permalink / raw)
  To: dri-devel

https://bugs.freedesktop.org/show_bug.cgi?id=29834

Alex Deucher <agd5f@yahoo.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #38216|application/octet-stream    |text/plain
          mime type|                            |
  Attachment #38216|0                           |1
           is patch|                            |

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

^ permalink raw reply	[flat|nested] 15+ messages in thread

* [Bug 29834] System freeze upon X startup with KMS enabled (RV730)
  2010-08-27 10:35 [Bug 29834] New: System freeze upon X startup with KMS enabled (RV730) bugzilla-daemon
  2010-08-27 16:21 ` [Bug 29834] " bugzilla-daemon
@ 2010-08-27 16:22 ` bugzilla-daemon
  2010-08-27 16:28 ` bugzilla-daemon
                   ` (11 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: bugzilla-daemon @ 2010-08-27 16:22 UTC (permalink / raw)
  To: dri-devel

https://bugs.freedesktop.org/show_bug.cgi?id=29834

--- Comment #1 from Alex Deucher <agd5f@yahoo.com> 2010-08-27 09:22:15 PDT ---
Can you bisect what commit is causing the issue?

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

^ permalink raw reply	[flat|nested] 15+ messages in thread

* [Bug 29834] System freeze upon X startup with KMS enabled (RV730)
  2010-08-27 10:35 [Bug 29834] New: System freeze upon X startup with KMS enabled (RV730) bugzilla-daemon
  2010-08-27 16:21 ` [Bug 29834] " bugzilla-daemon
  2010-08-27 16:22 ` bugzilla-daemon
@ 2010-08-27 16:28 ` bugzilla-daemon
  2010-08-27 17:14 ` bugzilla-daemon
                   ` (10 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: bugzilla-daemon @ 2010-08-27 16:28 UTC (permalink / raw)
  To: dri-devel

https://bugs.freedesktop.org/show_bug.cgi?id=29834

--- Comment #2 from Alex Deucher <agd5f@yahoo.com> 2010-08-27 09:28:15 PDT ---
nevermind.  I see the problem.  Yo can work around it for now by booting with
radeon.agpmode=-1

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

^ permalink raw reply	[flat|nested] 15+ messages in thread

* [Bug 29834] System freeze upon X startup with KMS enabled (RV730)
  2010-08-27 10:35 [Bug 29834] New: System freeze upon X startup with KMS enabled (RV730) bugzilla-daemon
                   ` (2 preceding siblings ...)
  2010-08-27 16:28 ` bugzilla-daemon
@ 2010-08-27 17:14 ` bugzilla-daemon
  2010-08-27 20:48 ` bugzilla-daemon
                   ` (9 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: bugzilla-daemon @ 2010-08-27 17:14 UTC (permalink / raw)
  To: dri-devel

https://bugs.freedesktop.org/show_bug.cgi?id=29834

--- Comment #3 from Alex Deucher <agd5f@yahoo.com> 2010-08-27 10:14:50 PDT ---
Created an attachment (id=38227)
 View: https://bugs.freedesktop.org/attachment.cgi?id=38227
 Review: https://bugs.freedesktop.org/review?bug=29834&attachment=38227

fix

This patch fixes the issue.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

^ permalink raw reply	[flat|nested] 15+ messages in thread

* [Bug 29834] System freeze upon X startup with KMS enabled (RV730)
  2010-08-27 10:35 [Bug 29834] New: System freeze upon X startup with KMS enabled (RV730) bugzilla-daemon
                   ` (3 preceding siblings ...)
  2010-08-27 17:14 ` bugzilla-daemon
@ 2010-08-27 20:48 ` bugzilla-daemon
  2010-08-29 21:38 ` bugzilla-daemon
                   ` (8 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: bugzilla-daemon @ 2010-08-27 20:48 UTC (permalink / raw)
  To: dri-devel

https://bugs.freedesktop.org/show_bug.cgi?id=29834

--- Comment #4 from Jerome Glisse <glisse@freedesktop.org> 2010-08-27 13:48:39 PDT ---
Mathias can you confirm the patch fix your issue ?

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

^ permalink raw reply	[flat|nested] 15+ messages in thread

* [Bug 29834] System freeze upon X startup with KMS enabled (RV730)
  2010-08-27 10:35 [Bug 29834] New: System freeze upon X startup with KMS enabled (RV730) bugzilla-daemon
                   ` (4 preceding siblings ...)
  2010-08-27 20:48 ` bugzilla-daemon
@ 2010-08-29 21:38 ` bugzilla-daemon
  2010-09-02 21:44 ` bugzilla-daemon
                   ` (7 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: bugzilla-daemon @ 2010-08-29 21:38 UTC (permalink / raw)
  To: dri-devel

https://bugs.freedesktop.org/show_bug.cgi?id=29834

--- Comment #5 from Alex Deucher <agd5f@yahoo.com> 2010-08-29 14:38:19 PDT ---
Verified in https://bugzilla.kernel.org/show_bug.cgi?id=17201

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

^ permalink raw reply	[flat|nested] 15+ messages in thread

* [Bug 29834] System freeze upon X startup with KMS enabled (RV730)
  2010-08-27 10:35 [Bug 29834] New: System freeze upon X startup with KMS enabled (RV730) bugzilla-daemon
                   ` (5 preceding siblings ...)
  2010-08-29 21:38 ` bugzilla-daemon
@ 2010-09-02 21:44 ` bugzilla-daemon
  2010-09-02 22:32 ` bugzilla-daemon
                   ` (6 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: bugzilla-daemon @ 2010-09-02 21:44 UTC (permalink / raw)
  To: dri-devel

https://bugs.freedesktop.org/show_bug.cgi?id=29834

Jerome Glisse <glisse@freedesktop.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

--- Comment #6 from Jerome Glisse <glisse@freedesktop.org> 2010-09-02 14:44:06 PDT ---
Patch queued

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

^ permalink raw reply	[flat|nested] 15+ messages in thread

* [Bug 29834] System freeze upon X startup with KMS enabled (RV730)
  2010-08-27 10:35 [Bug 29834] New: System freeze upon X startup with KMS enabled (RV730) bugzilla-daemon
                   ` (6 preceding siblings ...)
  2010-09-02 21:44 ` bugzilla-daemon
@ 2010-09-02 22:32 ` bugzilla-daemon
  2010-09-03  4:36 ` bugzilla-daemon
                   ` (5 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: bugzilla-daemon @ 2010-09-02 22:32 UTC (permalink / raw)
  To: dri-devel

https://bugs.freedesktop.org/show_bug.cgi?id=29834

--- Comment #7 from Mathias Brodala <info@noctus.net> 2010-09-02 15:32:23 PDT ---
Sorry but I cannot verify the patch ATM since that seems to require a recent
(but at least 2.6.36) kernel whereas I can only build 2.6.35 here. I’ll leave a
comment as soon as a newer version is packaged.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 15+ messages in thread

* [Bug 29834] System freeze upon X startup with KMS enabled (RV730)
  2010-08-27 10:35 [Bug 29834] New: System freeze upon X startup with KMS enabled (RV730) bugzilla-daemon
                   ` (7 preceding siblings ...)
  2010-09-02 22:32 ` bugzilla-daemon
@ 2010-09-03  4:36 ` bugzilla-daemon
  2010-09-03  8:14 ` bugzilla-daemon
                   ` (4 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: bugzilla-daemon @ 2010-09-03  4:36 UTC (permalink / raw)
  To: dri-devel

https://bugs.freedesktop.org/show_bug.cgi?id=29834

--- Comment #8 from Alex Deucher <agd5f@yahoo.com> 2010-09-02 21:36:41 PDT ---
It should apply to 2.6.35 as well.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

^ permalink raw reply	[flat|nested] 15+ messages in thread

* [Bug 29834] System freeze upon X startup with KMS enabled (RV730)
  2010-08-27 10:35 [Bug 29834] New: System freeze upon X startup with KMS enabled (RV730) bugzilla-daemon
                   ` (8 preceding siblings ...)
  2010-09-03  4:36 ` bugzilla-daemon
@ 2010-09-03  8:14 ` bugzilla-daemon
  2010-09-03 16:02 ` bugzilla-daemon
                   ` (3 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: bugzilla-daemon @ 2010-09-03  8:14 UTC (permalink / raw)
  To: dri-devel

https://bugs.freedesktop.org/show_bug.cgi?id=29834

--- Comment #9 from Mathias Brodala <info@noctus.net> 2010-09-03 01:14:14 PDT ---
(In reply to comment #8)
> It should apply to 2.6.35 as well.

Not really. The first part of the patch looks like this:

> diff --git a/drivers/gpu/drm/radeon/r600.c b/drivers/gpu/drm/radeon/r600.c
> index 667c237..5668b90 100644
> --- a/drivers/gpu/drm/radeon/r600.c
> +++ b/drivers/gpu/drm/radeon/r600.c
> @@ -3491,7 +3491,7 @@ void r600_ioctl_wait_idle(struct radeon_device *rdev, struct radeon_bo *bo)
>  	 * rather than write to HDP_REG_COHERENCY_FLUSH_CNTL
>  	 */
>  	if ((rdev->family >= CHIP_RV770) && (rdev->family <= CHIP_RV740)) {
> -		void __iomem *ptr = (void *)rdev->gart.table.vram.ptr;
> +		void __iomem *ptr = (void *)rdev->vram_scratch.ptr;
>  		u32 tmp;
>  
>  		WREG32(HDP_DEBUG1, 0);

That function looks like this here though:

> void r600_ioctl_wait_idle(struct radeon_device *rdev, struct radeon_bo *bo)
> {
> 	WREG32(R_005480_HDP_MEM_COHERENCY_FLUSH_CNTL, 0x1);
> }

Thus this hunk already fails to apply.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

^ permalink raw reply	[flat|nested] 15+ messages in thread

* [Bug 29834] System freeze upon X startup with KMS enabled (RV730)
  2010-08-27 10:35 [Bug 29834] New: System freeze upon X startup with KMS enabled (RV730) bugzilla-daemon
                   ` (9 preceding siblings ...)
  2010-09-03  8:14 ` bugzilla-daemon
@ 2010-09-03 16:02 ` bugzilla-daemon
  2010-09-05 16:01 ` bugzilla-daemon
                   ` (2 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: bugzilla-daemon @ 2010-09-03 16:02 UTC (permalink / raw)
  To: dri-devel

https://bugs.freedesktop.org/show_bug.cgi?id=29834

--- Comment #10 from Alex Deucher <agd5f@yahoo.com> 2010-09-03 09:02:29 PDT ---
Mathias, in your case it seem to be something else as the problematic patch
(812d046915f48236657f02c06d7dc47140e9ceda) was not applied until after 2.6.35. 
Any chance you could bisect?

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

^ permalink raw reply	[flat|nested] 15+ messages in thread

* [Bug 29834] System freeze upon X startup with KMS enabled (RV730)
  2010-08-27 10:35 [Bug 29834] New: System freeze upon X startup with KMS enabled (RV730) bugzilla-daemon
                   ` (10 preceding siblings ...)
  2010-09-03 16:02 ` bugzilla-daemon
@ 2010-09-05 16:01 ` bugzilla-daemon
  2010-10-04 18:46 ` bugzilla-daemon
  2010-10-04 20:23 ` bugzilla-daemon
  13 siblings, 0 replies; 15+ messages in thread
From: bugzilla-daemon @ 2010-09-05 16:01 UTC (permalink / raw)
  To: dri-devel

https://bugs.freedesktop.org/show_bug.cgi?id=29834

--- Comment #11 from Mathias Brodala <info@noctus.net> 2010-09-05 09:01:03 PDT ---
(In reply to comment #10)
> Mathias, in your case it seem to be something else as the problematic patch
> (812d046915f48236657f02c06d7dc47140e9ceda) was not applied until after 2.6.35. 
> Any chance you could bisect?

I am not really sure what you are asking me to do. Shall I apply the patch from
812d046915f48236657f02c06d7dc47140e9ceda here as well and the patch from this
report after that? Otherwise I guess I can also wait for a kernel 2.6.36 RC to
hit my package repositories.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

^ permalink raw reply	[flat|nested] 15+ messages in thread

* [Bug 29834] System freeze upon X startup with KMS enabled (RV730)
  2010-08-27 10:35 [Bug 29834] New: System freeze upon X startup with KMS enabled (RV730) bugzilla-daemon
                   ` (11 preceding siblings ...)
  2010-09-05 16:01 ` bugzilla-daemon
@ 2010-10-04 18:46 ` bugzilla-daemon
  2010-10-04 20:23 ` bugzilla-daemon
  13 siblings, 0 replies; 15+ messages in thread
From: bugzilla-daemon @ 2010-10-04 18:46 UTC (permalink / raw)
  To: dri-devel

https://bugs.freedesktop.org/show_bug.cgi?id=29834

--- Comment #12 from Mathias Brodala <info@noctus.net> 2010-10-04 11:46:16 PDT ---
(In reply to comment #11)
> Otherwise I guess I can also wait for a kernel 2.6.36 RC to
> hit my package repositories.

… is what I did now and I can start just fine. So this issue also seems fixed
for me.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 15+ messages in thread

* [Bug 29834] System freeze upon X startup with KMS enabled (RV730)
  2010-08-27 10:35 [Bug 29834] New: System freeze upon X startup with KMS enabled (RV730) bugzilla-daemon
                   ` (12 preceding siblings ...)
  2010-10-04 18:46 ` bugzilla-daemon
@ 2010-10-04 20:23 ` bugzilla-daemon
  13 siblings, 0 replies; 15+ messages in thread
From: bugzilla-daemon @ 2010-10-04 20:23 UTC (permalink / raw)
  To: dri-devel

https://bugs.freedesktop.org/show_bug.cgi?id=29834

--- Comment #13 from Alex Deucher <agd5f@yahoo.com> 2010-10-04 13:22:59 PDT ---
I think it should be fixed by this patch:
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=e488459a0e131acc9e14df093cfee740bc431953

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2010-10-04 20:23 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-08-27 10:35 [Bug 29834] New: System freeze upon X startup with KMS enabled (RV730) bugzilla-daemon
2010-08-27 16:21 ` [Bug 29834] " bugzilla-daemon
2010-08-27 16:22 ` bugzilla-daemon
2010-08-27 16:28 ` bugzilla-daemon
2010-08-27 17:14 ` bugzilla-daemon
2010-08-27 20:48 ` bugzilla-daemon
2010-08-29 21:38 ` bugzilla-daemon
2010-09-02 21:44 ` bugzilla-daemon
2010-09-02 22:32 ` bugzilla-daemon
2010-09-03  4:36 ` bugzilla-daemon
2010-09-03  8:14 ` bugzilla-daemon
2010-09-03 16:02 ` bugzilla-daemon
2010-09-05 16:01 ` bugzilla-daemon
2010-10-04 18:46 ` bugzilla-daemon
2010-10-04 20:23 ` bugzilla-daemon

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.