From owner-freebsd-current@FreeBSD.ORG Tue Apr 27 14:13:23 2010 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F096D106566B for ; Tue, 27 Apr 2010 14:13:23 +0000 (UTC) (envelope-from rnoland@FreeBSD.org) Received: from gizmo.2hip.net (gizmo.2hip.net [64.74.207.195]) by mx1.freebsd.org (Postfix) with ESMTP id B00428FC13 for ; Tue, 27 Apr 2010 14:13:23 +0000 (UTC) Received: from [10.170.20.44] (nat-170-142-177-44.tn.gov [170.142.177.44]) (authenticated bits=0) by gizmo.2hip.net (8.14.3/8.14.3) with ESMTP id o3REDLVN075677 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 27 Apr 2010 10:13:21 -0400 (EDT) (envelope-from rnoland@FreeBSD.org) Message-ID: <4BD6F0F0.6000204@FreeBSD.org> Date: Tue, 27 Apr 2010 09:13:04 -0500 From: Robert Noland Organization: FreeBSD User-Agent: Thunderbird 2.0.0.19 (X11/20090218) MIME-Version: 1.0 To: Alex Keda References: <4BD6CBE6.9030303@lissyara.su> <4BD6ECBA.6010408@FreeBSD.org> <4BD6EF69.6000105@lissyara.su> In-Reply-To: <4BD6EF69.6000105@lissyara.su> Content-Type: multipart/mixed; boundary="------------090901090906020604070806" X-Spam-Status: No, score=0.8 required=5.0 tests=AWL, BAYES_00, FH_DATE_PAST_20XX, RDNS_DYNAMIC,SPF_SOFTFAIL autolearn=no version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on gizmo.2hip.net Cc: current@freebsd.org Subject: Re: xorg hangs after last commits X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Apr 2010 14:13:24 -0000 This is a multi-part message in MIME format. --------------090901090906020604070806 Content-Type: text/plain; charset=windows-1251; format=flowed Content-Transfer-Encoding: 8bit Alex Keda wrote: > 27.04.2010 17:55, Robert Noland пишет: >> >> >> Alex Keda wrote: >>> Following recent changes in dri, xorg server freezes after 20-30 >>> seconds of work. mouse works, but the image does not change. >>> process xorg get 100% cpu >>> if I delete/rename drm.ko - all OK (but, very slow) >>> >>> >>> vgapci0@pci0:1:5:0: class=0x030000 card=0x12ff103c >>> chip=0x791e1002 rev=0x00 hdr=0x00 >>> vendor = 'ATI Technologies Inc. / Advanced Micro Devices, Inc.' >>> device = 'ATI RADEON X1200 Series (RS690)' >>> class = display >>> subclass = VGA >>> bar [10] = type Prefetchable Memory, range 64, base 0xd0000000, >>> size 134217728, enabled >>> bar [18] = type Memory, range 64, base 0xd8500000, size 65536, >>> enabled >>> bar [20] = type I/O Port, range 32, base 0x1100, size 256, enabled >>> bar [24] = type Memory, range 32, base 0xd8400000, size >>> 1048576, enabled >>> cap 01[50] = powerspec 2 supports D0 D1 D2 D3 current D0 >>> cap 05[80] = MSI supports 1 message, 64 bit >> >> Ok, does this patch help? > yes. I work without freeze more than 3 minutes =)) How about this one? robert. > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" --------------090901090906020604070806 Content-Type: text/x-patch; name="ati_pcigart-2.diff" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="ati_pcigart-2.diff" Index: ati_pcigart.c =================================================================== --- ati_pcigart.c (revision 207069) +++ ati_pcigart.c (working copy) @@ -220,6 +220,8 @@ ret = 1; done: + if (gart_info->gart_reg_if == DRM_ATI_GART_IGP) + DRM_MEMORYBARRIER(); gart_info->addr = address; gart_info->bus_addr = bus_address; return ret; --------------090901090906020604070806--