From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 36952] segfault in crackberg xscreensaver on ATI RS482 in mesa git running kms & gallium Date: Mon, 16 May 2011 06:49:15 -0700 (PDT) Message-ID: <20110516134915.897B913004F@annarchy.freedesktop.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from annarchy.freedesktop.org (annarchy.freedesktop.org [131.252.210.176]) by gabe.freedesktop.org (Postfix) with ESMTP id A17AB9E9CC for ; Mon, 16 May 2011 06:49:15 -0700 (PDT) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org Errors-To: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org https://bugs.freedesktop.org/show_bug.cgi?id=36952 --- Comment #13 from dri tester 2011-05-16 06:49:15 PDT --- (In reply to comment #12) > (In reply to comment #11) > > It would be better to experiment with the patch and try smaller buffer sizes. > > Please let me know when you find a size which works. > > The current mesa-git value for the R300_MAX_DRAW_VBO_SIZE is 1024 * 1024 and > your patch dropped it down to 512 * 1024. I tried with 64 * 1024 (which is the > value that worked before the commit that I bisected above) and crackberg works, > the animation is smooth and the cpu usage is 50% on one cpu, but it segfaults > after 13-18 seconds. I really think there is another bug being uncovered here. > I do not know which buffer size to recommend for R300_MAX_DRAW_VBO_SIZE, 512 * > 1024 as per your attached patch worked as well as 64 * 1024. I assume that the > value must be a power of 2, or are there some other values to test? Should I > test the values between 64 and 512 for completeness? Disregard my last comment above, I was totally incorrect. A value for R300_MAX_DRAW_VBO_SIZE of 32 * 1024 fixed crackberg completely for me. I will attach the working patch as 0003-r300g-allocate-smaller-upload-buffers.patch. Thanks Marek. -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.