All of lore.kernel.org
 help / color / mirror / Atom feed
* [Bug 47765] New: Corrupt rendering to a window between 57 and 63 pixels high
@ 2012-03-23 12:50 bugzilla-daemon
  2012-03-23 14:49 ` [Bug 47765] " bugzilla-daemon
                   ` (13 more replies)
  0 siblings, 14 replies; 15+ messages in thread
From: bugzilla-daemon @ 2012-03-23 12:50 UTC (permalink / raw)
  To: dri-devel

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

             Bug #: 47765
           Summary: Corrupt rendering to a window between 57 and 63 pixels
                    high
    Classification: Unclassified
           Product: Mesa
           Version: git
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: Drivers/Gallium/r600
        AssignedTo: dri-devel@lists.freedesktop.org
        ReportedBy: tvrtko.ursulin@onelan.co.uk


We are seeing render corruption when rendering a texture to a window between 57
and 63 pixels high. glViewport being set to window dimensions.

Texture vertices do not seem to matter. If I render to the full viewport, or to
a subset of a viewport, always the whole viewport gets corrupt (so including
the area outside texture vertices).

Texture size does not seem to matter.

Rendering is done with glDrawArray GL_TRIANGLE_FAN and the destination window
is RGBA.

Environment:

00:01.0 VGA compatible controller: ATI Technologies Inc AMD Radeon HD 6310
GraphicsATI

Kernel 3.3.0 + 0001-drm-radeon-add-support-for-evergreen-ni-tiling-infor.patch

It does not happen without this patch - so it is probably tiling related.

xorg-drivers-ati, mesa and libdrm from yesterday's git. Last one is in fact a
bit older, but I applied a single interesting patch
(9b3ad51ae5fd9654df8ef75de845a519015150bb) by hand to make it up to date.

-- 
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] 15+ messages in thread

* [Bug 47765] Corrupt rendering to a window between 57 and 63 pixels high
  2012-03-23 12:50 [Bug 47765] New: Corrupt rendering to a window between 57 and 63 pixels high bugzilla-daemon
@ 2012-03-23 14:49 ` bugzilla-daemon
  2012-03-23 15:22 ` bugzilla-daemon
                   ` (12 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: bugzilla-daemon @ 2012-03-23 14:49 UTC (permalink / raw)
  To: dri-devel

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

--- Comment #1 from Jerome Glisse <glisse@freedesktop.org> 2012-03-23 07:49:55 PDT ---
Does any of the mesa demo reproduce the bug ?

-- 
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] 15+ messages in thread

* [Bug 47765] Corrupt rendering to a window between 57 and 63 pixels high
  2012-03-23 12:50 [Bug 47765] New: Corrupt rendering to a window between 57 and 63 pixels high bugzilla-daemon
  2012-03-23 14:49 ` [Bug 47765] " bugzilla-daemon
@ 2012-03-23 15:22 ` bugzilla-daemon
  2012-03-23 15:28 ` bugzilla-daemon
                   ` (11 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: bugzilla-daemon @ 2012-03-23 15:22 UTC (permalink / raw)
  To: dri-devel

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

--- Comment #2 from Tvrtko Ursulin <tvrtko.ursulin@onelan.co.uk> 2012-03-23 08:22:20 PDT ---
(In reply to comment #1)
> Does any of the mesa demo reproduce the bug ?

/usr/lib64/mesa/tri shows it if you resize the window right.

-- 
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] 15+ messages in thread

* [Bug 47765] Corrupt rendering to a window between 57 and 63 pixels high
  2012-03-23 12:50 [Bug 47765] New: Corrupt rendering to a window between 57 and 63 pixels high bugzilla-daemon
  2012-03-23 14:49 ` [Bug 47765] " bugzilla-daemon
  2012-03-23 15:22 ` bugzilla-daemon
@ 2012-03-23 15:28 ` bugzilla-daemon
  2012-03-27 16:30 ` bugzilla-daemon
                   ` (10 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: bugzilla-daemon @ 2012-03-23 15:28 UTC (permalink / raw)
  To: dri-devel

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

--- Comment #3 from Tvrtko Ursulin <tvrtko.ursulin@onelan.co.uk> 2012-03-23 08:28:01 PDT ---
Created attachment 58939
  --> https://bugs.freedesktop.org/attachment.cgi?id=58939
Screenshot showing corrupted mesa-demos/tri rendering

-- 
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] 15+ messages in thread

* [Bug 47765] Corrupt rendering to a window between 57 and 63 pixels high
  2012-03-23 12:50 [Bug 47765] New: Corrupt rendering to a window between 57 and 63 pixels high bugzilla-daemon
                   ` (2 preceding siblings ...)
  2012-03-23 15:28 ` bugzilla-daemon
@ 2012-03-27 16:30 ` bugzilla-daemon
  2012-03-27 18:49 ` bugzilla-daemon
                   ` (9 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: bugzilla-daemon @ 2012-03-27 16:30 UTC (permalink / raw)
  To: dri-devel

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

--- Comment #4 from Jerome Glisse <glisse@freedesktop.org> 2012-03-27 09:30:15 PDT ---
Please attach patch corresponding to 9b3ad51ae5fd9654df8ef75de845a519015150bb

-- 
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] 15+ messages in thread

* [Bug 47765] Corrupt rendering to a window between 57 and 63 pixels high
  2012-03-23 12:50 [Bug 47765] New: Corrupt rendering to a window between 57 and 63 pixels high bugzilla-daemon
                   ` (3 preceding siblings ...)
  2012-03-27 16:30 ` bugzilla-daemon
@ 2012-03-27 18:49 ` bugzilla-daemon
  2012-03-28  1:17 ` bugzilla-daemon
                   ` (8 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: bugzilla-daemon @ 2012-03-27 18:49 UTC (permalink / raw)
  To: dri-devel

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

--- Comment #5 from Jerome Glisse <glisse@freedesktop.org> 2012-03-27 11:49:06 PDT ---
Created attachment 59126
  --> https://bugs.freedesktop.org/attachment.cgi?id=59126
use linear aligned

Does this patch against ddx help ?

-- 
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] 15+ messages in thread

* [Bug 47765] Corrupt rendering to a window between 57 and 63 pixels high
  2012-03-23 12:50 [Bug 47765] New: Corrupt rendering to a window between 57 and 63 pixels high bugzilla-daemon
                   ` (4 preceding siblings ...)
  2012-03-27 18:49 ` bugzilla-daemon
@ 2012-03-28  1:17 ` bugzilla-daemon
  2012-04-04 13:40 ` bugzilla-daemon
                   ` (7 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: bugzilla-daemon @ 2012-03-28  1:17 UTC (permalink / raw)
  To: dri-devel

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

--- Comment #6 from Tvrtko Ursulin <tvrtko.ursulin@onelan.co.uk> 2012-03-28 01:17:21 UTC ---
(In reply to comment #5)
> Created attachment 59126 [details] [review]
> use linear aligned
> 
> Does this patch against ddx help ?

No, still the same corruption.

-- 
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] 15+ messages in thread

* [Bug 47765] Corrupt rendering to a window between 57 and 63 pixels high
  2012-03-23 12:50 [Bug 47765] New: Corrupt rendering to a window between 57 and 63 pixels high bugzilla-daemon
                   ` (5 preceding siblings ...)
  2012-03-28  1:17 ` bugzilla-daemon
@ 2012-04-04 13:40 ` bugzilla-daemon
  2012-04-04 13:57 ` bugzilla-daemon
                   ` (6 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: bugzilla-daemon @ 2012-04-04 13:40 UTC (permalink / raw)
  To: dri-devel

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

--- Comment #7 from Alex Deucher <agd5f@yahoo.com> 2012-04-04 06:40:43 PDT ---
Does this patch help?
http://people.freedesktop.org/~agd5f/0001-drm-radeon-kms-Fixup-backendmap-on-6xx-9xx.patch

-- 
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] 15+ messages in thread

* [Bug 47765] Corrupt rendering to a window between 57 and 63 pixels high
  2012-03-23 12:50 [Bug 47765] New: Corrupt rendering to a window between 57 and 63 pixels high bugzilla-daemon
                   ` (6 preceding siblings ...)
  2012-04-04 13:40 ` bugzilla-daemon
@ 2012-04-04 13:57 ` bugzilla-daemon
  2012-04-04 15:43 ` bugzilla-daemon
                   ` (5 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: bugzilla-daemon @ 2012-04-04 13:57 UTC (permalink / raw)
  To: dri-devel

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

--- Comment #8 from Tvrtko Ursulin <tvrtko.ursulin@onelan.co.uk> 2012-04-04 06:57:36 PDT ---
(In reply to comment #7)
> Does this patch help?
> http://people.freedesktop.org/~agd5f/0001-drm-radeon-kms-Fixup-backendmap-on-6xx-9xx.patch

Unfortunately not, still the same behaviour.

-- 
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] 15+ messages in thread

* [Bug 47765] Corrupt rendering to a window between 57 and 63 pixels high
  2012-03-23 12:50 [Bug 47765] New: Corrupt rendering to a window between 57 and 63 pixels high bugzilla-daemon
                   ` (7 preceding siblings ...)
  2012-04-04 13:57 ` bugzilla-daemon
@ 2012-04-04 15:43 ` bugzilla-daemon
  2012-04-04 21:13 ` bugzilla-daemon
                   ` (4 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: bugzilla-daemon @ 2012-04-04 15:43 UTC (permalink / raw)
  To: dri-devel

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

Jerome Glisse <glisse@freedesktop.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #59494|0                           |1
        is obsolete|                            |

--- Comment #11 from Jerome Glisse <glisse@freedesktop.org> 2012-04-04 15:43:39 UTC ---
Created attachment 59495
  --> https://bugs.freedesktop.org/attachment.cgi?id=59495
Fix pixmap.height < 64 case

Sorry attached wrong patch, ignore previous patch

-- 
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] 15+ messages in thread

* [Bug 47765] Corrupt rendering to a window between 57 and 63 pixels high
  2012-03-23 12:50 [Bug 47765] New: Corrupt rendering to a window between 57 and 63 pixels high bugzilla-daemon
                   ` (8 preceding siblings ...)
  2012-04-04 15:43 ` bugzilla-daemon
@ 2012-04-04 21:13 ` bugzilla-daemon
  2012-04-04 22:14 ` bugzilla-daemon
                   ` (3 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: bugzilla-daemon @ 2012-04-04 21:13 UTC (permalink / raw)
  To: dri-devel

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

--- Comment #9 from Jerome Glisse <glisse@freedesktop.org> 2012-04-04 14:13:45 PDT ---
Created attachment 59494
  --> https://bugs.freedesktop.org/attachment.cgi?id=59494
Fix pixmap.height < 64 case

This should fix your issue (patch against ddx xf86-video-ati)

-- 
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] 15+ messages in thread

* [Bug 47765] Corrupt rendering to a window between 57 and 63 pixels high
  2012-03-23 12:50 [Bug 47765] New: Corrupt rendering to a window between 57 and 63 pixels high bugzilla-daemon
                   ` (9 preceding siblings ...)
  2012-04-04 21:13 ` bugzilla-daemon
@ 2012-04-04 22:14 ` bugzilla-daemon
  2012-04-04 23:08 ` bugzilla-daemon
                   ` (2 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: bugzilla-daemon @ 2012-04-04 22:14 UTC (permalink / raw)
  To: dri-devel

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

--- Comment #10 from Andy Furniss <lists@andyfurniss.entadsl.com> 2012-04-04 15:14:53 PDT ---
(In reply to comment #9)
> Created attachment 59494 [details] [review]
> Fix pixmap.height < 64 case
> 
> This should fix your issue (patch against ddx xf86-video-ati)

Doesn't help on my rv790 - I am testing just this patch not the kernel one.

FWIW I only see this when swapbufferswait is off, looks like most/any mesa demo
will show it.

-- 
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] 15+ messages in thread

* [Bug 47765] Corrupt rendering to a window between 57 and 63 pixels high
  2012-03-23 12:50 [Bug 47765] New: Corrupt rendering to a window between 57 and 63 pixels high bugzilla-daemon
                   ` (10 preceding siblings ...)
  2012-04-04 22:14 ` bugzilla-daemon
@ 2012-04-04 23:08 ` bugzilla-daemon
  2012-04-05  8:03 ` bugzilla-daemon
  2012-04-05 20:37 ` bugzilla-daemon
  13 siblings, 0 replies; 15+ messages in thread
From: bugzilla-daemon @ 2012-04-04 23:08 UTC (permalink / raw)
  To: dri-devel

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

--- Comment #12 from Andy Furniss <lists@andyfurniss.entadsl.com> 2012-04-04 16:08:37 PDT ---
(In reply to comment #11)
> Created attachment 59495 [details] [review]
> Fix pixmap.height < 64 case
> 
> Sorry attached wrong patch, ignore previous patch

This one works for me.

-- 
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] 15+ messages in thread

* [Bug 47765] Corrupt rendering to a window between 57 and 63 pixels high
  2012-03-23 12:50 [Bug 47765] New: Corrupt rendering to a window between 57 and 63 pixels high bugzilla-daemon
                   ` (11 preceding siblings ...)
  2012-04-04 23:08 ` bugzilla-daemon
@ 2012-04-05  8:03 ` bugzilla-daemon
  2012-04-05 20:37 ` bugzilla-daemon
  13 siblings, 0 replies; 15+ messages in thread
From: bugzilla-daemon @ 2012-04-05  8:03 UTC (permalink / raw)
  To: dri-devel

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

--- Comment #13 from Tvrtko Ursulin <tvrtko.ursulin@onelan.co.uk> 2012-04-05 01:03:46 PDT ---
(In reply to comment #11)
> Created attachment 59495 [details] [review]
> Fix pixmap.height < 64 case
> 
> Sorry attached wrong patch, ignore previous patch

Works lovely, thank you!

Interestingly we were on a similar track here trying to force something similar
but in libdrm. But I am not surprised since I cannot say I picked up what
component does what (kernel, libdrm, mesa, ddx) in the few weeks I've been in
this code.

-- 
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] 15+ messages in thread

* [Bug 47765] Corrupt rendering to a window between 57 and 63 pixels high
  2012-03-23 12:50 [Bug 47765] New: Corrupt rendering to a window between 57 and 63 pixels high bugzilla-daemon
                   ` (12 preceding siblings ...)
  2012-04-05  8:03 ` bugzilla-daemon
@ 2012-04-05 20:37 ` bugzilla-daemon
  13 siblings, 0 replies; 15+ messages in thread
From: bugzilla-daemon @ 2012-04-05 20:37 UTC (permalink / raw)
  To: dri-devel

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

Jerome Glisse <glisse@freedesktop.org> changed:

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

--- Comment #14 from Jerome Glisse <glisse@freedesktop.org> 2012-04-05 13:37:55 PDT ---
Closing pushed

-- 
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] 15+ messages in thread

end of thread, other threads:[~2012-04-05 20:37 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-03-23 12:50 [Bug 47765] New: Corrupt rendering to a window between 57 and 63 pixels high bugzilla-daemon
2012-03-23 14:49 ` [Bug 47765] " bugzilla-daemon
2012-03-23 15:22 ` bugzilla-daemon
2012-03-23 15:28 ` bugzilla-daemon
2012-03-27 16:30 ` bugzilla-daemon
2012-03-27 18:49 ` bugzilla-daemon
2012-03-28  1:17 ` bugzilla-daemon
2012-04-04 13:40 ` bugzilla-daemon
2012-04-04 13:57 ` bugzilla-daemon
2012-04-04 15:43 ` bugzilla-daemon
2012-04-04 21:13 ` bugzilla-daemon
2012-04-04 22:14 ` bugzilla-daemon
2012-04-04 23:08 ` bugzilla-daemon
2012-04-05  8:03 ` bugzilla-daemon
2012-04-05 20:37 ` 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.