All of lore.kernel.org
 help / color / mirror / Atom feed
* [Bug 26123] New: Rendering to offscreen depth-texture fails
@ 2010-01-19 23:20 bugzilla-daemon
  2010-01-19 23:30 ` [Bug 26123] " bugzilla-daemon
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: bugzilla-daemon @ 2010-01-19 23:20 UTC (permalink / raw)
  To: dri-devel

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

           Summary: Rendering to offscreen depth-texture fails
           Product: Mesa
           Version: git
          Platform: Other
               URL: http://fabiensanglard.net/shadowmapping/index.php
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: Drivers/DRI/R600
        AssignedTo: dri-devel@lists.sourceforge.net
        ReportedBy: pavel@rojtberg.net


driver: r300g, latest git on ubuntu lucid. (Kernel 2.6.32)

when executing the linked demo, the shadowmap is being misrendered and on the
console there is a lot of vomit in the style of:

Pkt3 at 306 :
    PACKET3_3D_LOAD_VBPNTR:
        0x00000001
        0x00000603
        0x000004B0
Pkt3 at 310 :
    PACKET3_NOP:
        0x00000004
Pkt0 at 312 (1 dwords):
    0x0003AAAA -> 0x4278
Pkt0 at 314 (1 dwords):
    0x00000000 -> 0x2138
Pkt0 at 316 (1 dwords):
    0x00000017 -> 0x2134
Pkt3 at 318 :
    PACKET3_3D_DRAW_VBUF_2:
        0x0018002D
...

If I change the code and add a COLOR_ATTACHMENT texture to the FBO the vomit
goes away, but the shadowmap is still misrendered.


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

------------------------------------------------------------------------------
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
--

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

* [Bug 26123] Rendering to offscreen depth-texture fails
  2010-01-19 23:20 [Bug 26123] New: Rendering to offscreen depth-texture fails bugzilla-daemon
@ 2010-01-19 23:30 ` bugzilla-daemon
  2010-03-19 23:36 ` bugzilla-daemon
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: bugzilla-daemon @ 2010-01-19 23:30 UTC (permalink / raw)
  To: dri-devel

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


Alex Deucher <agd5f@yahoo.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|Drivers/DRI/R600            |Drivers/DRI/r300




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

------------------------------------------------------------------------------
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
--

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

* [Bug 26123] Rendering to offscreen depth-texture fails
  2010-01-19 23:20 [Bug 26123] New: Rendering to offscreen depth-texture fails bugzilla-daemon
  2010-01-19 23:30 ` [Bug 26123] " bugzilla-daemon
@ 2010-03-19 23:36 ` bugzilla-daemon
  2010-03-20 11:08 ` bugzilla-daemon
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: bugzilla-daemon @ 2010-03-19 23:36 UTC (permalink / raw)
  To: dri-devel

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


Corbin Simpson <MostAwesomedude@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |MostAwesomedude@gmail.com
             Status|NEW                         |ASSIGNED




--- Comment #1 from Corbin Simpson <MostAwesomedude@gmail.com>  2010-03-19 16:36:57 PST ---
Try again with current git?


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

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
--

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

* [Bug 26123] Rendering to offscreen depth-texture fails
  2010-01-19 23:20 [Bug 26123] New: Rendering to offscreen depth-texture fails bugzilla-daemon
  2010-01-19 23:30 ` [Bug 26123] " bugzilla-daemon
  2010-03-19 23:36 ` bugzilla-daemon
@ 2010-03-20 11:08 ` bugzilla-daemon
  2010-03-20 11:09 ` bugzilla-daemon
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: bugzilla-daemon @ 2010-03-20 11:08 UTC (permalink / raw)
  To: dri-devel

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





--- Comment #2 from Pavel Rojtberg <pavel@rojtberg.net>  2010-03-20 04:08:55 PST ---
Created an attachment (id=34252)
 --> (http://bugs.freedesktop.org/attachment.cgi?id=34252)
rendering errors with shadowmap


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

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
--

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

* [Bug 26123] Rendering to offscreen depth-texture fails
  2010-01-19 23:20 [Bug 26123] New: Rendering to offscreen depth-texture fails bugzilla-daemon
                   ` (2 preceding siblings ...)
  2010-03-20 11:08 ` bugzilla-daemon
@ 2010-03-20 11:09 ` bugzilla-daemon
  2010-03-26 13:12 ` bugzilla-daemon
  2010-04-12  2:55 ` bugzilla-daemon
  5 siblings, 0 replies; 7+ messages in thread
From: bugzilla-daemon @ 2010-03-20 11:09 UTC (permalink / raw)
  To: dri-devel

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





--- Comment #3 from Pavel Rojtberg <pavel@rojtberg.net>  2010-03-20 04:09:24 PST ---
the vomit went away when the drm in lucid was updated to 2.6.33. With the
current mesa git the shadowmap is rendered correctly, but the final picture is
still misrendered. (see screenshot)


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

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
--

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

* [Bug 26123] Rendering to offscreen depth-texture fails
  2010-01-19 23:20 [Bug 26123] New: Rendering to offscreen depth-texture fails bugzilla-daemon
                   ` (3 preceding siblings ...)
  2010-03-20 11:09 ` bugzilla-daemon
@ 2010-03-26 13:12 ` bugzilla-daemon
  2010-04-12  2:55 ` bugzilla-daemon
  5 siblings, 0 replies; 7+ messages in thread
From: bugzilla-daemon @ 2010-03-26 13:12 UTC (permalink / raw)
  To: dri-devel

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





--- Comment #4 from Corbin Simpson <MostAwesomedude@gmail.com>  2010-03-26 06:12:55 PST ---
Created an attachment (id=34478)
 --> (http://bugs.freedesktop.org/attachment.cgi?id=34478)
Failed shadowmap CS


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

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
--

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

* [Bug 26123] Rendering to offscreen depth-texture fails
  2010-01-19 23:20 [Bug 26123] New: Rendering to offscreen depth-texture fails bugzilla-daemon
                   ` (4 preceding siblings ...)
  2010-03-26 13:12 ` bugzilla-daemon
@ 2010-04-12  2:55 ` bugzilla-daemon
  5 siblings, 0 replies; 7+ messages in thread
From: bugzilla-daemon @ 2010-04-12  2:55 UTC (permalink / raw)
  To: dri-devel

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|Drivers/DRI/r300            |Mesa core
         AssignedTo|dri-devel@lists.sourceforge |mesa3d-dev@lists.sourceforg
                   |.net                        |e.net

--- Comment #5 from Marek Olšák <maraeo@gmail.com> 2010-04-11 19:55:17 PDT ---
The demo more or less works here with latest kernel and libdrm (2.6.32 is too
old), but I think Mesa doesn't like the way shadow samplers are used here as it
fails with gallium/softpipe too. I am changing the component to Mesa core.

In the meantime, please use the sampler type sampler2DShadow and the fetching
function shadow2D. That should work.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
--
_______________________________________________
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel

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

end of thread, other threads:[~2010-04-12  2:55 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-01-19 23:20 [Bug 26123] New: Rendering to offscreen depth-texture fails bugzilla-daemon
2010-01-19 23:30 ` [Bug 26123] " bugzilla-daemon
2010-03-19 23:36 ` bugzilla-daemon
2010-03-20 11:08 ` bugzilla-daemon
2010-03-20 11:09 ` bugzilla-daemon
2010-03-26 13:12 ` bugzilla-daemon
2010-04-12  2:55 ` 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.