Bug 23865 - pixel shaders are reporting inverted values
Summary: pixel shaders are reporting inverted values
Status: RESOLVED WONTFIX
Alias: None
Product: Mesa
Classification: Unclassified
Component: Drivers/DRI/r300 (show other bugs)
Version: git
Hardware: Other All
: medium normal
Assignee: xf86-video-ati maintainers
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords:
: 25156 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-09-11 10:29 UTC by Paulo Dias
Modified: 2014-07-07 16:43 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
activated pixel shader, inverted values (59.61 KB, image/jpeg)
2009-09-11 10:33 UTC, Paulo Dias
Details
pixel shaders disabled but some corruption seen now (57.39 KB, image/jpeg)
2009-09-11 10:35 UTC, Paulo Dias
Details

Description Paulo Dias 2009-09-11 10:29:06 UTC
same old evil rs485, latest mesa/ddx/drm and linus 2.6.31-rc9 kernel.

if i activate pixel shader in wine, the wow (game) entrance is inverted (upside down), but correctly rendered. if i deactivate pixel shaders, i get correct display but some corruption of the rendering.

see image 1 and 2 for inverted and correct (but with rendering errors).

can i use any other test app to check if pixel shaders are reporting inverted values?

best regards
Comment 1 Paulo Dias 2009-09-11 10:33:35 UTC
Created attachment 29423 [details]
activated pixel shader, inverted values

resized to fit size requirement
Comment 2 Paulo Dias 2009-09-11 10:35:03 UTC
Created attachment 29424 [details]
pixel shaders disabled but some corruption seen now

resized to fit size requirement
Comment 3 Alex Deucher 2009-09-11 10:55:52 UTC
Is this a regression?  If so, can you bisect mesa to see when it broke?
Comment 4 Paulo Dias 2009-09-11 11:04:59 UTC
(In reply to comment #3)
> Is this a regression?  If so, can you bisect mesa to see when it broke?
> 

Hi alex, its not a regression because WoW wasn't since the dri2/kms migration from the old code. only today i figured i could give another go, and behold it worked, but with this bug i reported. 

i believe that wine + wow exposes a pixel shader bug that didn' show up before because maybe no one was looking/using it?

is there any mesa test apps i could run to confirm the inverted shader problem?
Comment 5 Maciej Cencora 2009-09-23 14:29:47 UTC
(In reply to comment #4)
> (In reply to comment #3)
> > Is this a regression?  If so, can you bisect mesa to see when it broke?
> > 
> 
> Hi alex, its not a regression because WoW wasn't since the dri2/kms migration
> from the old code. only today i figured i could give another go, and behold it
> worked, but with this bug i reported. 
> 
> i believe that wine + wow exposes a pixel shader bug that didn' show up before
> because maybe no one was looking/using it?
> 
> is there any mesa test apps i could run to confirm the inverted shader problem?
> 

I can reproduce this problem on my RV535 card.

As a temporary solution disable "Full screen glow effect" in game options.
I believe the problems is with inverted coordinates when rendering to texture with FBOs. I hope to get it fixed before mesa 7.6 release.
Comment 6 Maciej Cencora 2009-11-18 14:26:22 UTC
*** Bug 25156 has been marked as a duplicate of this bug. ***
Comment 7 Andreas Boll 2014-07-07 16:43:30 UTC
The classic r300 driver has been abandoned long ago.
It was replaced by the Gallium driver r300g.

If you have issues with r300g please file a new bug report with component Drivers/Gallium/r300

Thanks.


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.