All of lore.kernel.org
 help / color / mirror / Atom feed
* [Bug 37652] New: [r300g] No texture shadow in ogre3d
@ 2011-05-27  5:54 bugzilla-daemon
  2011-05-27  5:55 ` [Bug 37652] " bugzilla-daemon
                   ` (9 more replies)
  0 siblings, 10 replies; 11+ messages in thread
From: bugzilla-daemon @ 2011-05-27  5:54 UTC (permalink / raw)
  To: dri-devel

https://bugs.freedesktop.org/show_bug.cgi?id=37652

           Summary: [r300g] No texture shadow in ogre3d
           Product: Mesa
           Version: git
          Platform: x86-64 (AMD64)
        OS/Version: Linux (All)
            Status: NEW
          Severity: normal
          Priority: medium
         Component: Drivers/Gallium/r300
        AssignedTo: dri-devel@lists.freedesktop.org
        ReportedBy: sh@lutzhaase.com


Using r300g, I'm unable to get texture shadows using the ogre3d graphics
engine. Mesa texture shadow demos work fine. In fact, in the ogre3d texture
shadow showcase demo I can see a very distorted texture shadow on the side of
the base plane. In my own scenes, I get no shadows at all. Stencil shadows work
just fine.

In order to pin down the problem, I ran a few tests. As it turns out, the
problem really only exists in r300g (as far as I could test). It works fine in
r600g and gallium3d llvmpipe. For reference, it also works in the NVIDIA and
AMD proprietary drivers.

I also reported the problem in the ogre3d forums
(http://www.ogre3d.org/forums/viewtopic.php?f=4&t=64781) but it appears to be
the wrong audience to post this issue in. 

Due to the abstract nature of ogre3d, it is hard for me to create a minimal
case without ogre3d.

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

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Bug 37652] [r300g] No texture shadow in ogre3d
  2011-05-27  5:54 [Bug 37652] New: [r300g] No texture shadow in ogre3d bugzilla-daemon
@ 2011-05-27  5:55 ` bugzilla-daemon
  2011-05-27  5:56 ` bugzilla-daemon
                   ` (8 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: bugzilla-daemon @ 2011-05-27  5:55 UTC (permalink / raw)
  To: dri-devel

https://bugs.freedesktop.org/show_bug.cgi?id=37652

--- Comment #1 from Sven-Hendrik Haase <sh@lutzhaase.com> 2011-05-26 22:55:05 PDT ---
Created an attachment (id=47204)
 --> (https://bugs.freedesktop.org/attachment.cgi?id=47204)
r300g glxinfo

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

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Bug 37652] [r300g] No texture shadow in ogre3d
  2011-05-27  5:54 [Bug 37652] New: [r300g] No texture shadow in ogre3d bugzilla-daemon
  2011-05-27  5:55 ` [Bug 37652] " bugzilla-daemon
@ 2011-05-27  5:56 ` bugzilla-daemon
  2011-05-27  5:58 ` bugzilla-daemon
                   ` (7 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: bugzilla-daemon @ 2011-05-27  5:56 UTC (permalink / raw)
  To: dri-devel

https://bugs.freedesktop.org/show_bug.cgi?id=37652

--- Comment #2 from Sven-Hendrik Haase <sh@lutzhaase.com> 2011-05-26 22:56:03 PDT ---
Created an attachment (id=47205)
 --> (https://bugs.freedesktop.org/attachment.cgi?id=47205)
r300g ogrelog

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

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Bug 37652] [r300g] No texture shadow in ogre3d
  2011-05-27  5:54 [Bug 37652] New: [r300g] No texture shadow in ogre3d bugzilla-daemon
  2011-05-27  5:55 ` [Bug 37652] " bugzilla-daemon
  2011-05-27  5:56 ` bugzilla-daemon
@ 2011-05-27  5:58 ` bugzilla-daemon
  2011-05-27  5:58 ` bugzilla-daemon
                   ` (6 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: bugzilla-daemon @ 2011-05-27  5:58 UTC (permalink / raw)
  To: dri-devel

https://bugs.freedesktop.org/show_bug.cgi?id=37652

--- Comment #3 from Sven-Hendrik Haase <sh@lutzhaase.com> 2011-05-26 22:58:18 PDT ---
Created an attachment (id=47206)
 --> (https://bugs.freedesktop.org/attachment.cgi?id=47206)
llvmpipe glxinfo

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

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Bug 37652] [r300g] No texture shadow in ogre3d
  2011-05-27  5:54 [Bug 37652] New: [r300g] No texture shadow in ogre3d bugzilla-daemon
                   ` (2 preceding siblings ...)
  2011-05-27  5:58 ` bugzilla-daemon
@ 2011-05-27  5:58 ` bugzilla-daemon
  2011-05-27  6:05 ` bugzilla-daemon
                   ` (5 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: bugzilla-daemon @ 2011-05-27  5:58 UTC (permalink / raw)
  To: dri-devel

https://bugs.freedesktop.org/show_bug.cgi?id=37652

--- Comment #4 from Sven-Hendrik Haase <sh@lutzhaase.com> 2011-05-26 22:58:35 PDT ---
Created an attachment (id=47207)
 --> (https://bugs.freedesktop.org/attachment.cgi?id=47207)
llvmpipe ogrelog

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

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Bug 37652] [r300g] No texture shadow in ogre3d
  2011-05-27  5:54 [Bug 37652] New: [r300g] No texture shadow in ogre3d bugzilla-daemon
                   ` (3 preceding siblings ...)
  2011-05-27  5:58 ` bugzilla-daemon
@ 2011-05-27  6:05 ` bugzilla-daemon
  2011-05-27 14:10 ` bugzilla-daemon
                   ` (4 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: bugzilla-daemon @ 2011-05-27  6:05 UTC (permalink / raw)
  To: dri-devel

https://bugs.freedesktop.org/show_bug.cgi?id=37652

--- Comment #5 from Sven-Hendrik Haase <sh@lutzhaase.com> 2011-05-26 23:05:34 PDT ---
The warnings about libtxc_dxtn.so might be irritating so I installed the
required library but to no avail. After all, it would be fairly strange if
ogre's texture shadows used S3TC compression in memory.

Further info: My distro is Arch Linux x86_64. The card is a Mobility Radeon
X2100. The logs were taken from a very recent git revision. It is not a
regression of r300g as I can't remember ever having texture shadows with this
driver. They did work back then with r300c, though.

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

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Bug 37652] [r300g] No texture shadow in ogre3d
  2011-05-27  5:54 [Bug 37652] New: [r300g] No texture shadow in ogre3d bugzilla-daemon
                   ` (4 preceding siblings ...)
  2011-05-27  6:05 ` bugzilla-daemon
@ 2011-05-27 14:10 ` bugzilla-daemon
  2011-05-28 10:01 ` bugzilla-daemon
                   ` (3 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: bugzilla-daemon @ 2011-05-27 14:10 UTC (permalink / raw)
  To: dri-devel

https://bugs.freedesktop.org/show_bug.cgi?id=37652

--- Comment #6 from Sven-Hendrik Haase <sh@lutzhaase.com> 2011-05-27 07:10:38 PDT ---
For those without ogre3d, here is an apitrace: http://ompldr.org/vOHRlOQ

The character should show a shadow on the ground. It currently doesn't on
r300g.

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

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Bug 37652] [r300g] No texture shadow in ogre3d
  2011-05-27  5:54 [Bug 37652] New: [r300g] No texture shadow in ogre3d bugzilla-daemon
                   ` (5 preceding siblings ...)
  2011-05-27 14:10 ` bugzilla-daemon
@ 2011-05-28 10:01 ` bugzilla-daemon
  2011-05-28 10:55 ` bugzilla-daemon
                   ` (2 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: bugzilla-daemon @ 2011-05-28 10:01 UTC (permalink / raw)
  To: dri-devel

https://bugs.freedesktop.org/show_bug.cgi?id=37652

--- Comment #7 from Sven-Hendrik Haase <sh@lutzhaase.com> 2011-05-28 03:01:26 PDT ---
A further, smaller, more conclusive trace in a less complex scene:
http://ompldr.org/vOHRyMQ

The planet is supposed to cast a shadow towards the camera.

Retrace call 19396 and notice how the shadow texture in texture 0 exist but at
the glDrawElements isn't actually drawn to the framebuffer.

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

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Bug 37652] [r300g] No texture shadow in ogre3d
  2011-05-27  5:54 [Bug 37652] New: [r300g] No texture shadow in ogre3d bugzilla-daemon
                   ` (6 preceding siblings ...)
  2011-05-28 10:01 ` bugzilla-daemon
@ 2011-05-28 10:55 ` bugzilla-daemon
  2011-05-28 10:56 ` bugzilla-daemon
  2011-06-13 15:21 ` bugzilla-daemon
  9 siblings, 0 replies; 11+ messages in thread
From: bugzilla-daemon @ 2011-05-28 10:55 UTC (permalink / raw)
  To: dri-devel

https://bugs.freedesktop.org/show_bug.cgi?id=37652

--- Comment #8 from Sven-Hendrik Haase <sh@lutzhaase.com> 2011-05-28 03:55:22 PDT ---
Basically the same trace as before, but now all additional (and unused) ogre3d
default materials as well as all scene materials were disabled. This removes
some error and call noise during frame 1 and cuts down the size a lot.

Also I made the shadow green and the light white so it would be easier to see.

One call of interest is at 13429.

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

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Bug 37652] [r300g] No texture shadow in ogre3d
  2011-05-27  5:54 [Bug 37652] New: [r300g] No texture shadow in ogre3d bugzilla-daemon
                   ` (7 preceding siblings ...)
  2011-05-28 10:55 ` bugzilla-daemon
@ 2011-05-28 10:56 ` bugzilla-daemon
  2011-06-13 15:21 ` bugzilla-daemon
  9 siblings, 0 replies; 11+ messages in thread
From: bugzilla-daemon @ 2011-05-28 10:56 UTC (permalink / raw)
  To: dri-devel

https://bugs.freedesktop.org/show_bug.cgi?id=37652

--- Comment #9 from Sven-Hendrik Haase <sh@lutzhaase.com> 2011-05-28 03:56:23 PDT ---
Created an attachment (id=47249)
 --> (https://bugs.freedesktop.org/attachment.cgi?id=47249)
trace ogre3d scene with texture shadow

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

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Bug 37652] [r300g] No texture shadow in ogre3d
  2011-05-27  5:54 [Bug 37652] New: [r300g] No texture shadow in ogre3d bugzilla-daemon
                   ` (8 preceding siblings ...)
  2011-05-28 10:56 ` bugzilla-daemon
@ 2011-06-13 15:21 ` bugzilla-daemon
  9 siblings, 0 replies; 11+ messages in thread
From: bugzilla-daemon @ 2011-06-13 15:21 UTC (permalink / raw)
  To: dri-devel

https://bugs.freedesktop.org/show_bug.cgi?id=37652

Marek Olšák <maraeo@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

--- Comment #10 from Marek Olšák <maraeo@gmail.com> 2011-06-13 08:21:24 PDT ---
Fixed by some of my latest r300g commits (not sure which one because I was
fixing other bugs) and the fix appears to be cherry-picked to 7.10 as well.
Closing.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2011-06-13 15:21 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-05-27  5:54 [Bug 37652] New: [r300g] No texture shadow in ogre3d bugzilla-daemon
2011-05-27  5:55 ` [Bug 37652] " bugzilla-daemon
2011-05-27  5:56 ` bugzilla-daemon
2011-05-27  5:58 ` bugzilla-daemon
2011-05-27  5:58 ` bugzilla-daemon
2011-05-27  6:05 ` bugzilla-daemon
2011-05-27 14:10 ` bugzilla-daemon
2011-05-28 10:01 ` bugzilla-daemon
2011-05-28 10:55 ` bugzilla-daemon
2011-05-28 10:56 ` bugzilla-daemon
2011-06-13 15:21 ` bugzilla-daemon

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.