Summary: | Failed assertion in piglit test 'bin/fbo-flushing -auto' with RV790 | ||
---|---|---|---|
Product: | Mesa | Reporter: | Chris Rankin <rankincj> |
Component: | Drivers/DRI/R600 | Assignee: | Default DRI bug account <dri-devel> |
Status: | RESOLVED WORKSFORME | QA Contact: | |
Severity: | normal | ||
Priority: | medium | ||
Version: | git | ||
Hardware: | x86-64 (AMD64) | ||
OS: | Linux (All) | ||
Whiteboard: | |||
i915 platform: | i915 features: |
Description
Chris Rankin
2010-03-17 15:51:36 UTC
This test is failing for r600_dri.so because glCheckFramebufferStatusEXT() is returning GL_FRAMEBUFFER_UNSUPPORTED. The reason that it returns "GL_FRAMEBUFFER_UNSUPPORTED" is because the radeonIsFormatRenderable() function in radeon_texture.c seems only to understand the following formats: - MESA_FORMAT_Z16 - MESA_FORMAT_S8_Z24 - _dri_texformat_argb8888 - _dri_texformat_rgb565 - _dri_texformat_argb1555 - _dri_texformat_argb4444 This is _considerably_ fewer than the number of formats listed in r300IsFormatRenderable(). For reference, the piglit test needs MESA_FORMAT_RGBA8888_REV. This prevents blender 2.5's "OpenGL render image", and "OpenGL render animation" from working. It says it failed to create OpenGL offscreen buffer: GPUFrameBuffer: framebuffer incomplete error 36061 Unsupported framebuffer format. By looking at ./source/blender/gpu/intern/gpu_extensions.c in blender I see it needs these: type = GL_UNSIGNED_BYTE; format = GL_DEPTH_COMPONENT; internalformat = GL_DEPTH_COMPONENT; type = GL_UNSIGNED_BYTE; format = GL_RGBA; internalformat = GL_RGBA8; Note: classic r600 driver has been abandoned. works correctly with r600g (gallium driver) on my rv770 tested with mesa git master e81ee67b51651e99e7e8e52c1ccafc66835d57cd and mesa 8.0.4 |
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.