Bug 10156 - Reversed cube mapping on Radeon 9000 with DRI enabled
Summary: Reversed cube mapping on Radeon 9000 with DRI enabled
Status: RESOLVED FIXED
Alias: None
Product: Mesa
Classification: Unclassified
Component: Drivers/DRI/r200 (show other bugs)
Version: 6.5
Hardware: x86 (IA32) Linux (All)
: medium minor
Assignee: Default DRI bug account
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-03-02 04:47 UTC by Woundorf
Modified: 2007-03-03 06:48 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Woundorf 2007-03-02 04:47:26 UTC
Overview Description:

When doing cube mapping with DRI enabled, reflections are on the opposite side of where they should be. You can see this in the following images:

This is with DRI on:
http://img488.imageshack.us/my.php?image=cubemapdrinv4.png

This is with DRI off:
http://img90.imageshack.us/my.php?image=cubemapnodricr4.png

The second image is the correct result. It can be obtained also in the same computer on Windows with ATI official drivers and on other computers on Linux with NVIDIA official drivers.



Steps to Reproduce:

0) Have DRI enabled.

1) Execute any application performing cube mapping. (You can find the application from which I took the screenshots at http://xivis.viladelpingui.net/cubemap.zip . It's not mine, but I don't remember where I got it from.)



Actual Results:

An image like the first one above.



Expected Results:

An image like the second one above.



Build Date & Platform:

OpenGL renderer string: Mesa DRI R200 20060602 AGP 1x x86/MMX/SSE2 TCL
OpenGL version string: 1.3 Mesa 6.5.1
Package by Fedora: mesa-libGL.i386.6.5.1-9.fc6
Build Time   : Wed Jan 24 22:24:02 2007
On Fedora Core 6, with a Radeon 9000 graphics card.



Additional Builds and Platforms:

Any previous release for Fedora Core 6, on the same system.
Comment 1 Alan Swanson 2007-03-02 05:44:47 UTC
The mesa/progs/demos/cubemap test works correctly from mesa 6.5.2 upto current git with R200 and rv250 chips. I'd suggest you upgrade to xorg 7.2 with mesa 6.5.2 and retest.
Comment 2 Roland Scheidegger 2007-03-02 08:29:07 UTC
This looks like fixed by cb08dcbbf29dfa82128c8302f7aa69e90478a5ea, since this demo exactly hits that case (GL_REFLECTION_MAP_ARB texgen and lighting disabled).
It works for me (though due to texsubimage it's slower than software rendering...).
Comment 3 Woundorf 2007-03-03 06:48:43 UTC
Now it's working with xorg 7.2 and Mesa 6.5.2. Thank you!


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.