Created attachment 69224 [details] dmesg There were some errors even before this commit but the test passed. There sre also some error messages in dmesg (attached). Regression caused by e6eaa85a43616ba6f431276ab94a3b19dd524986 Author: Brian Paul <brianp@vmware.com> Date: Sat Sep 15 10:30:20 2012 -0600 mesa: rework texture size error checking ./bin/max-texture-size -auto r300: DRM version: 2.24.0, Name: ATI RV530, ID: 0x71c5, GB: 1, Z: 2 r300: GART size: 509 MB, VRAM size: 256 MB r300: AA compression RAM: YES, Z compression RAM: YES, HiZ RAM: YES GL_PROXY_TEXTURE_1D, Internal Format = GL_RGBA8, Largest Texture Size = 4096 GL_PROXY_TEXTURE_1D, Internal Format = GL_RGBA16, Largest Texture Size = 4096 GL_PROXY_TEXTURE_1D, Internal Format = GL_RGBA32F, Largest Texture Size = 4096 GL_PROXY_TEXTURE_2D, Internal Format = GL_RGBA8, Largest Texture Size = 4096 GL_PROXY_TEXTURE_2D, Internal Format = GL_RGBA16, Largest Texture Size = 4096 GL_PROXY_TEXTURE_2D, Internal Format = GL_RGBA32F, Largest Texture Size = 4096 GL_PROXY_TEXTURE_RECTANGLE, Internal Format = GL_RGBA8, Largest Texture Size = 4096 GL_PROXY_TEXTURE_RECTANGLE, Internal Format = GL_RGBA16, Largest Texture Size = 4096 GL_PROXY_TEXTURE_RECTANGLE, Internal Format = GL_RGBA32F, Largest Texture Size = 4096 GL_PROXY_TEXTURE_CUBE_MAP, Internal Format = GL_RGBA8, Largest Texture Size = 4096 GL_PROXY_TEXTURE_CUBE_MAP, Internal Format = GL_RGBA16, Largest Texture Size = 4096 GL_PROXY_TEXTURE_CUBE_MAP, Internal Format = GL_RGBA32F, Largest Texture Size = 3347 GL_PROXY_TEXTURE_3D, Internal Format = GL_RGBA8, Largest Texture Size = 645 GL_PROXY_TEXTURE_3D, Internal Format = GL_RGBA16, Largest Texture Size = 512 GL_PROXY_TEXTURE_3D, Internal Format = GL_RGBA32F, Largest Texture Size = 406 GL_TEXTURE_1D, Internal Format = GL_RGBA8, Largest Texture Size = 4096 GL_TEXTURE_1D, Internal Format = GL_RGBA16, Largest Texture Size = 4096 GL_TEXTURE_1D, Internal Format = GL_RGBA32F, Largest Texture Size = 4096 GL_TEXTURE_2D, Internal Format = GL_RGBA8, Largest Texture Size = 4096 GL_TEXTURE_2D, Internal Format = GL_RGBA16, Largest Texture Size = 4096 GL_TEXTURE_2D, Internal Format = GL_RGBA32F, Largest Texture Size = 4096 r300: CS space validation failed. (not enough memory?) Skipping rendering. GL_TEXTURE_RECTANGLE, Internal Format = GL_RGBA8, Largest Texture Size = 4096 GL_TEXTURE_RECTANGLE, Internal Format = GL_RGBA16, Largest Texture Size = 4096 GL_TEXTURE_RECTANGLE, Internal Format = GL_RGBA32F, Largest Texture Size = 4096 GL_TEXTURE_CUBE_MAP, Internal Format = GL_RGBA8, Largest Texture Size = 4096 r300: CS space validation failed. (not enough memory?) Skipping rendering. r300: CS space validation failed. (not enough memory?) Skipping rendering. r300: CS space validation failed. (not enough memory?) Skipping rendering. r300: CS space validation failed. (not enough memory?) Skipping rendering. r300: CS space validation failed. (not enough memory?) Skipping rendering. r300: CS space validation failed. (not enough memory?) Skipping rendering. GL_TEXTURE_CUBE_MAP, Internal Format = GL_RGBA16, Largest Texture Size = 4096 radeon: Failed to allocate a buffer: radeon: size : 805306368 bytes radeon: alignment : 2048 bytes radeon: domains : 6 radeon: Failed to allocate a buffer: radeon: size : 805306368 bytes radeon: alignment : 2048 bytes radeon: domains : 6 Mesa: User error: GL_OUT_OF_MEMORY in glTexImage Mesa: User error: GL_OUT_OF_MEMORY in glTexImage2D radeon: Failed to allocate a buffer: radeon: size : 805306368 bytes radeon: alignment : 2048 bytes radeon: domains : 6 radeon: Failed to allocate a buffer: radeon: size : 805306368 bytes radeon: alignment : 2048 bytes radeon: domains : 6 Mesa: User error: GL_OUT_OF_MEMORY in glTexImage Mesa: User error: GL_OUT_OF_MEMORY in glTexImage2D radeon: Failed to allocate a buffer: radeon: size : 805306368 bytes radeon: alignment : 2048 bytes radeon: domains : 6 radeon: Failed to allocate a buffer: radeon: size : 805306368 bytes radeon: alignment : 2048 bytes radeon: domains : 6 Mesa: User error: GL_OUT_OF_MEMORY in glTexImage Mesa: User error: GL_OUT_OF_MEMORY in glTexImage2D radeon: Failed to allocate a buffer: radeon: size : 805306368 bytes radeon: alignment : 2048 bytes radeon: domains : 6 radeon: Failed to allocate a buffer: radeon: size : 805306368 bytes radeon: alignment : 2048 bytes radeon: domains : 6 Mesa: User error: GL_OUT_OF_MEMORY in glTexImage Mesa: User error: GL_OUT_OF_MEMORY in glTexImage2D radeon: Failed to allocate a buffer: radeon: size : 805306368 bytes radeon: alignment : 2048 bytes radeon: domains : 6 radeon: Failed to allocate a buffer: radeon: size : 805306368 bytes radeon: alignment : 2048 bytes radeon: domains : 6 Mesa: User error: GL_OUT_OF_MEMORY in glTexImage Mesa: User error: GL_OUT_OF_MEMORY in glTexImage2D radeon: Failed to allocate a buffer: radeon: size : 805306368 bytes radeon: alignment : 2048 bytes radeon: domains : 6 radeon: Failed to allocate a buffer: radeon: size : 805306368 bytes radeon: alignment : 2048 bytes radeon: domains : 6 Mesa: User error: GL_OUT_OF_MEMORY in glTexImage Mesa: User error: GL_OUT_OF_MEMORY in glTexImage2D Mesa: User error: GL_OUT_OF_MEMORY in glTexSubImage GL_TEXTURE_CUBE_MAP, Internal Format = GL_RGBA32F, Largest Texture Size = 4096 Mesa: User error: GL_OUT_OF_MEMORY in glTexImage2D(image too large) Mesa: User error: GL_OUT_OF_MEMORY in glTexImage2D(image too large) Mesa: User error: GL_OUT_OF_MEMORY in glTexImage2D(image too large) Mesa: User error: GL_OUT_OF_MEMORY in glTexImage2D(image too large) Mesa: User error: GL_OUT_OF_MEMORY in glTexImage2D(image too large) Mesa: User error: GL_OUT_OF_MEMORY in glTexImage2D(image too large) Mesa: User error: GL_OUT_OF_MEMORY in glTexSubImage GL_TEXTURE_3D, Internal Format = GL_RGBA8, Largest Texture Size = 4096 Mesa: User error: GL_OUT_OF_MEMORY in glTexImage3D(image too large) Mesa: User error: GL_INVALID_OPERATION in glTexSubImage3D(invalid texture image) Unexpected GL error: 0x502 GL_TEXTURE_3D, Internal Format = GL_RGBA16, Largest Texture Size = 4096 Mesa: User error: GL_OUT_OF_MEMORY in glTexImage3D(image too large) Mesa: User error: GL_INVALID_OPERATION in glTexSubImage3D(invalid texture image) Unexpected GL error: 0x502 GL_TEXTURE_3D, Internal Format = GL_RGBA32F, Largest Texture Size = 4096 Mesa: User error: GL_OUT_OF_MEMORY in glTexImage3D(image too large) Mesa: User error: GL_INVALID_OPERATION in glTexSubImage3D(invalid texture image) Unexpected GL error: 0x502 PIGLIT: {'result': 'fail' } GPU:RV530 Kernel: 3.6.2-4.fc17.i686 mesa: 96ed6c90eff58ce030c39c2b4db6daf512586b34
Looks like the driver's failing to allocate a 4Kx4K RGBA32F texture, which would need 256MB of memory. Maybe that exceeds some HW limit. The driver probably needs to implement the pipe_screen::can_create_resource() function.
All max-texture-size tests now either pass or skip.
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.