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
Created attachment 72772 [details] [review] DRI2: Align buffer width/height for tiling on all cards. Does this patch fix the problem?
Sorry, I don't have the laptop anymore where this bug was found. I haven't seen it on any other hw.
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.
-- 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.