[Bug 36952] segfault in crackberg xscreensaver on ATI RS482 in mesa git running kms & gallium
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Mon May 16 06:49:15 PDT 2011
https://bugs.freedesktop.org/show_bug.cgi?id=36952
--- Comment #13 from dri tester <writemeanddie at hotmail.com> 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.
More information about the dri-devel
mailing list