Bug 42085 - Maximizing glxgears -> texture_desc_init: The buffer is not large enough
Summary: Maximizing glxgears -> texture_desc_init: The buffer is not large enough
Status: RESOLVED MOVED
Alias: None
Product: xorg
Classification: Unclassified
Component: Driver/Radeon (show other bugs)
Version: git
Hardware: x86 (IA32) Linux (All)
: medium normal
Assignee: xf86-video-ati maintainers
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-21 01:58 UTC by Lauri Kasanen
Modified: 2019-11-19 07:32 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
DRI2: Align buffer width/height for tiling on all cards. (2.52 KB, patch)
2013-01-10 08:15 UTC, Michel Dänzer
no flags Details | Splinter Review

Description Lauri Kasanen 2011-10-21 01:58:03 UTC
Originally filed as a mesa bug here:
https://bugs.freedesktop.org/show_bug.cgi?id=42050

Running -git ati (856583dbca9) and maximizing glxgears, the DDX gives too small a buffer to Mesa:

r300: I got a pre-allocated buffer to use it as a texture storage, but the buffer is too small. I'll use the buffer anyway, because I can't crash here, but it's dangerous. This can be a DDX bug. Got: 5083136B, Need: 5087232B, Info:
r300: texture_desc_init: Macro:  NO, Micro: YES, Pitch: 1472, Dim: 1438x863x1, LastLevel: 0, Size: 5087232, Format: x8z24_unorm
Comment 1 Michel Dänzer 2013-01-10 08:15:09 UTC
Created attachment 72772 [details] [review]
DRI2: Align buffer width/height for tiling on all cards.

Does this patch fix the problem?
Comment 2 Lauri Kasanen 2013-01-10 10:46:59 UTC
Sorry, I don't have the laptop anymore where this bug was found.

I haven't seen it on any other hw.
Comment 3 Marek Olšák 2013-01-10 12:06:58 UTC
The error won't show up with Mesa master, because it mentions the x8z24_unorm format and depth buffers are not allocated by the DDX anymore. It's also weird that the DDX didn't enable macrotiling for the depth buffer, not that it matters now.
Comment 4 Martin Peres 2019-11-19 07:32:41 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/xorg/driver/xf86-video-ati/issues/24.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.