http://bugs.freedesktop.org/show_bug.cgi?id=11980

           Summary: GL_EXT_stencil_two_side breaks shadows in warzone2100
                    since 6.5.3
           Product: Mesa
           Version: CVS
          Platform: Other
               URL: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=437465
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: Drivers/DRI/r300
        AssignedTo: dri-devel@lists.sourceforge.net
        ReportedBy: [EMAIL PROTECTED]


Bug reported by Christian Ohm yesterday on the Debian BTS. Since Mesa 6.5.3,
shadows are broken on r300 in Warzone2100 (starcrack-like game).

During the game, alt-s toggles shadows on/off. On a r300 with mesa 6.5.[12] (or
with whatever release on i945), it works fine. But 6.5.3, 7.0.1 and current
master head, it basically toggles dark/light instead, as if there were shadows
everywhere.

It's easy to reproduce: install and launch warzone2100 (you might want to pass
--window on the command line, fullscreen didn't really work here). Start a new
campaign (you may skip the text intro by pressing Esc), and press alt-s several
times when the game appears to see the shadows being toggled.

I git bissected between 6.5.2 and 6.5.3 and found the following commit:

  commit 62efc4ba3eb53ca75abbe9b52feabe49a5fd56b5
  Author: Aapo Tahkola <[EMAIL PROTECTED]>
  Date:   Thu Jan 18 05:56:13 2007 +0200

      support as much of GL_EXT_stencil_two_side as we can. untested.



I reverted it on top of 6.5.3, it fixed the problem. I tried to revert on top
of master but there are too many conflicts for me :(

Michel told me to check after disabling stencil_two_side in DRI conf, but it
didn't help unfortunately, which is kind of surprising.

Let me know if you need more debugging, for instance by reverting only part of
the above commit.

I'd be nice to fix this in mesa_7_0_branch too.

thanks,
Brice


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
--
_______________________________________________
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to