Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934460Ab2FHU2c (ORCPT ); Fri, 8 Jun 2012 16:28:32 -0400 Received: from mail-qa0-f49.google.com ([209.85.216.49]:33457 "EHLO mail-qa0-f49.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933473Ab2FHU2b (ORCPT ); Fri, 8 Jun 2012 16:28:31 -0400 MIME-Version: 1.0 X-Originating-IP: [41.212.116.88] In-Reply-To: References: From: Brian Gitonga Marete Date: Fri, 8 Jun 2012 23:28:10 +0300 Message-ID: Subject: Re: [Regression] [Radeon] Stream command failures and render problems in Evergreen (Radeon HD 5600) in kernel 3.4 To: Jerome Glisse Cc: LKML , David Airlie , Alex Deucher , Jerome Glisse Content-Type: text/plain; charset=ISO-8859-1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 3309 Lines: 77 On Fri, Jun 8, 2012 at 10:56 PM, Jerome Glisse wrote: > On Fri, Jun 8, 2012 at 6:13 AM, Brian Gitonga Marete wrote: >> On Fri, Jun 8, 2012 at 12:56 AM, Brian Gitonga Marete >> wrote: >>> On Fri, Jun 8, 2012 at 12:44 AM, Brian Gitonga Marete >>> wrote: >>>> On Thu, Jun 7, 2012 at 11:20 PM, Jerome Glisse wrote: >>>>> On Thu, Jun 7, 2012 at 3:59 PM, Brian Gitonga Marete wrote: >>>>>> On Thu, Jun 7, 2012 at 5:25 PM, Jerome Glisse wrote: >>>>>>> >>>>>>> Update your libdrm to libdrm from git should fix your issue. >>>>>> >>>>>> Hello Jerome, >>>>>> >>>>>> Thanks for looking into this. >>>>>> >>>>>> I am afraid that even with the very latest libdrm (git 93a5117d), the >>>>>> rendering is still broken. >>>>>> >>>>>> What else should I try? I would revert the patch that git-bisect >>>>>> fingered (your patch, git 285484e2d, Linux mainline) but there are >>>>>> merge problems when I try to do that, which I have not yet looked >>>>>> into. Perhaps you can see if you can help me revert that patch so that >>>>>> we can see if the problem then goes away? >>>>>> >>>>> What happen if you upgrade to xf86-video-ati from git ? >>>> >>>> Hello Jerome, >>>> >>>> Once again, thanks a lot for your help. >>>> >>>> Some progress but also a setback: Upgrading to the latest >>>> xf86-video-ati git gets rid of the stream command failures - No more >>>> error messages in dmesg(8). But then, now, rendering is completely >>>> messed up. Previously, it was mostly the window boundaries that were >>>> blurred/messed but now also entire windows and text so that you can't >>>> read anything from the desktop. (For example, the previous render >>>> problems would still allow me to use gnome-terminal even though its >>>> frames were completely blurred. Now the text withing gnome-terminal is >>>> also blurred/smudged) >>>> >>> >>> I should add that in this case rendering is completely messed up in >>> _both_ 3.3.x and 3.4. But the stream command failures in 3.4 go away >>> upon upgrading to the latext xf86-video-ati git HEAD. >> >> Ok. All is fixed in kernel v3.4 if I additionally upgrade Mesa to the >> latest git. Jerome, many thanks for your help on this! >> >> So to summarize, the 3.4 breakage in Ubuntu 11.04 (and probably other >> distributions released around the same time) is fixed by: >> >> a) Upgrade libdrm to latest GIT as of this writing (93a5117d5) >> b) Upgrade xf86-video-ati to latest GIT as of this writing (5888371) >> c) Upgrade mesa to latest GIT as of this writing (529476b) >> >> Now kernel 3.4 works on my laptop. >> >> Thanks! >> >> BGM. > > Brian can you please test patch below on 6.14.0 ddx and old mesa (ie > revert to ubuntu mesa & ddx) and report if it fix your issue. Thanks > > http://people.freedesktop.org/~glisse/0001-drm-radeon-fix-tiling-and-command-stream-checking-on.patch > OK. Will test and report back. Thanks! -- Brian Gitonga Marete Toshnix Systems - http://toshnix.com -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/