All of lore.kernel.org
 help / color / mirror / Atom feed
* [Bug 40034] New: E-350 misprocesses shader
@ 2011-08-12  8:13 bugzilla-daemon
  2011-08-12  8:14 ` [Bug 40034] " bugzilla-daemon
                   ` (10 more replies)
  0 siblings, 11 replies; 12+ messages in thread
From: bugzilla-daemon @ 2011-08-12  8:13 UTC (permalink / raw)
  To: dri-devel

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

           Summary: E-350 misprocesses shader
           Product: Mesa
           Version: git
          Platform: x86 (IA32)
        OS/Version: Linux (All)
            Status: NEW
          Severity: normal
          Priority: medium
         Component: Drivers/Gallium/r600
        AssignedTo: dri-devel@lists.freedesktop.org
        ReportedBy: curaga@operamail.com


Created an attachment (id=50154)
 --> (https://bugs.freedesktop.org/attachment.cgi?id=50154)
Screenshot of the failure

If you pull from my e350bug branch (
http://cgit.freedesktop.org/~cand/mesa/log/?h=e350bug ) and execute
"pp_jimenezmlaa=8 glxgears", you should see a fully white window. What actually
happens on the E-350 is attached.


The gist is "a long shader; output = white;", which should always create white,
since the shader has no kilp/discard. While this would rarely happen in
practise (the glsl compiler would eliminate dead code), this is a clear bug,
and I believe this is causing me other grief.

While the branch is based on ~4 weeks old master, the bug is present when
merged with today's master.

The kernel I'm on is 3.0.1.

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

* [Bug 40034] E-350 misprocesses shader
  2011-08-12  8:13 [Bug 40034] New: E-350 misprocesses shader bugzilla-daemon
@ 2011-08-12  8:14 ` bugzilla-daemon
  2011-08-16 11:21 ` bugzilla-daemon
                   ` (9 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: bugzilla-daemon @ 2011-08-12  8:14 UTC (permalink / raw)
  To: dri-devel

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

--- Comment #1 from Lauri Kasanen <curaga@operamail.com> 2011-08-12 01:14:48 PDT ---
This test succeeds on both softpipe and llvmpipe.

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

* [Bug 40034] E-350 misprocesses shader
  2011-08-12  8:13 [Bug 40034] New: E-350 misprocesses shader bugzilla-daemon
  2011-08-12  8:14 ` [Bug 40034] " bugzilla-daemon
@ 2011-08-16 11:21 ` bugzilla-daemon
  2011-08-16 11:50 ` bugzilla-daemon
                   ` (8 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: bugzilla-daemon @ 2011-08-16 11:21 UTC (permalink / raw)
  To: dri-devel

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

--- Comment #2 from Lauri Kasanen <curaga@operamail.com> 2011-08-16 04:21:46 PDT ---
I have isolated this to the loops. Commenting out all BGNLOOP, ENDLOOP, and BRK
instructions lets the card produce white.

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

* [Bug 40034] E-350 misprocesses shader
  2011-08-12  8:13 [Bug 40034] New: E-350 misprocesses shader bugzilla-daemon
  2011-08-12  8:14 ` [Bug 40034] " bugzilla-daemon
  2011-08-16 11:21 ` bugzilla-daemon
@ 2011-08-16 11:50 ` bugzilla-daemon
  2011-08-16 12:04 ` bugzilla-daemon
                   ` (7 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: bugzilla-daemon @ 2011-08-16 11:50 UTC (permalink / raw)
  To: dri-devel

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

--- Comment #3 from Lauri Kasanen <curaga@operamail.com> 2011-08-16 04:50:15 PDT ---
Tracking further, the bug only shows when there's more than one break inside a
loop.

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

* [Bug 40034] E-350 misprocesses shader
  2011-08-12  8:13 [Bug 40034] New: E-350 misprocesses shader bugzilla-daemon
                   ` (2 preceding siblings ...)
  2011-08-16 11:50 ` bugzilla-daemon
@ 2011-08-16 12:04 ` bugzilla-daemon
  2011-08-16 12:52 ` bugzilla-daemon
                   ` (6 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: bugzilla-daemon @ 2011-08-16 12:04 UTC (permalink / raw)
  To: dri-devel

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

--- Comment #4 from Lauri Kasanen <curaga@operamail.com> 2011-08-16 05:04:11 PDT ---
Scratch that, it appears with only one break too (depends on which break you
comment out :P)

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

* [Bug 40034] E-350 misprocesses shader
  2011-08-12  8:13 [Bug 40034] New: E-350 misprocesses shader bugzilla-daemon
                   ` (3 preceding siblings ...)
  2011-08-16 12:04 ` bugzilla-daemon
@ 2011-08-16 12:52 ` bugzilla-daemon
  2011-11-04 16:27 ` bugzilla-daemon
                   ` (5 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: bugzilla-daemon @ 2011-08-16 12:52 UTC (permalink / raw)
  To: dri-devel

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

--- Comment #5 from Lauri Kasanen <curaga@operamail.com> 2011-08-16 05:52:55 PDT ---
Created an attachment (id=50268)
 View: https://bugs.freedesktop.org/attachment.cgi?id=50268
 Review: https://bugs.freedesktop.org/review?bug=40034&attachment=50268

Proposed patch

The attached patch fixes this bug. It also lets MLAA work, showing that there
are no other showstoppers for it on r600g / e-350.

Note I'm not at all sure this is the right approach, but hey, it works.

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

* [Bug 40034] E-350 misprocesses shader
  2011-08-12  8:13 [Bug 40034] New: E-350 misprocesses shader bugzilla-daemon
                   ` (4 preceding siblings ...)
  2011-08-16 12:52 ` bugzilla-daemon
@ 2011-11-04 16:27 ` bugzilla-daemon
  2011-11-07  9:19 ` bugzilla-daemon
                   ` (4 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: bugzilla-daemon @ 2011-11-04 16:27 UTC (permalink / raw)
  To: dri-devel

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

--- Comment #6 from Lauri Kasanen <curaga@operamail.com> 2011-11-04 09:27:15 PDT ---
This bug doesn't seem to affect r700 - at least my HD4350 works perfectly with
all effects on current master (7.12-devel (git-f800a29))

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

* [Bug 40034] E-350 misprocesses shader
  2011-08-12  8:13 [Bug 40034] New: E-350 misprocesses shader bugzilla-daemon
                   ` (5 preceding siblings ...)
  2011-11-04 16:27 ` bugzilla-daemon
@ 2011-11-07  9:19 ` bugzilla-daemon
  2011-11-08 13:06 ` bugzilla-daemon
                   ` (3 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: bugzilla-daemon @ 2011-11-07  9:19 UTC (permalink / raw)
  To: dri-devel

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

--- Comment #7 from Michel Dänzer <michel@daenzer.net> 2011-11-07 09:19:59 UTC ---
Please send the patch to the mesa-dev mailing list for review, preferably with
git send-email or at least generated by git format-patch.

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

* [Bug 40034] E-350 misprocesses shader
  2011-08-12  8:13 [Bug 40034] New: E-350 misprocesses shader bugzilla-daemon
                   ` (6 preceding siblings ...)
  2011-11-07  9:19 ` bugzilla-daemon
@ 2011-11-08 13:06 ` bugzilla-daemon
  2012-01-24 13:58 ` bugzilla-daemon
                   ` (2 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: bugzilla-daemon @ 2011-11-08 13:06 UTC (permalink / raw)
  To: dri-devel

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

--- Comment #8 from Lauri Kasanen <curaga@operamail.com> 2011-11-08 05:06:44 PST ---
I can't; the same function is used for everything from r600 on - I have no idea
whether it would break other hw. As mentioned in the comment above, the bug is
not there on a r700 dedicated card on master, which casts further doubt on the
patch.

It may simply be an issue in Evergreen loop handling elsewhere, but I really do
not understand the hw well enough to say that with any certainty.

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

* [Bug 40034] E-350 misprocesses shader
  2011-08-12  8:13 [Bug 40034] New: E-350 misprocesses shader bugzilla-daemon
                   ` (7 preceding siblings ...)
  2011-11-08 13:06 ` bugzilla-daemon
@ 2012-01-24 13:58 ` bugzilla-daemon
  2012-01-24 15:11 ` bugzilla-daemon
  2012-01-27 10:56 ` bugzilla-daemon
  10 siblings, 0 replies; 12+ messages in thread
From: bugzilla-daemon @ 2012-01-24 13:58 UTC (permalink / raw)
  To: dri-devel

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

--- Comment #9 from Alex Deucher <agd5f@yahoo.com> 2012-01-24 05:58:00 PST ---
Is this still an issue with latest git?  This commit looks relevant:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=d89c96c75dbb9c003e4643942f2cce8d6cd4995b

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

* [Bug 40034] E-350 misprocesses shader
  2011-08-12  8:13 [Bug 40034] New: E-350 misprocesses shader bugzilla-daemon
                   ` (8 preceding siblings ...)
  2012-01-24 13:58 ` bugzilla-daemon
@ 2012-01-24 15:11 ` bugzilla-daemon
  2012-01-27 10:56 ` bugzilla-daemon
  10 siblings, 0 replies; 12+ messages in thread
From: bugzilla-daemon @ 2012-01-24 15:11 UTC (permalink / raw)
  To: dri-devel

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

--- Comment #10 from Lauri Kasanen <curaga@operamail.com> 2012-01-24 07:11:39 PST ---
I can test on the weekend.

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

* [Bug 40034] E-350 misprocesses shader
  2011-08-12  8:13 [Bug 40034] New: E-350 misprocesses shader bugzilla-daemon
                   ` (9 preceding siblings ...)
  2012-01-24 15:11 ` bugzilla-daemon
@ 2012-01-27 10:56 ` bugzilla-daemon
  10 siblings, 0 replies; 12+ messages in thread
From: bugzilla-daemon @ 2012-01-27 10:56 UTC (permalink / raw)
  To: dri-devel

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

Lauri Kasanen <curaga@operamail.com> changed:

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

--- Comment #11 from Lauri Kasanen <curaga@operamail.com> 2012-01-27 02:56:11 PST ---
Yes, that commit fixes it. Doubly sure, since I had to apply it on top of
master from Dec 19 (the last version that builds without xcb).

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

end of thread, other threads:[~2012-01-27 10:56 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-08-12  8:13 [Bug 40034] New: E-350 misprocesses shader bugzilla-daemon
2011-08-12  8:14 ` [Bug 40034] " bugzilla-daemon
2011-08-16 11:21 ` bugzilla-daemon
2011-08-16 11:50 ` bugzilla-daemon
2011-08-16 12:04 ` bugzilla-daemon
2011-08-16 12:52 ` bugzilla-daemon
2011-11-04 16:27 ` bugzilla-daemon
2011-11-07  9:19 ` bugzilla-daemon
2011-11-08 13:06 ` bugzilla-daemon
2012-01-24 13:58 ` bugzilla-daemon
2012-01-24 15:11 ` bugzilla-daemon
2012-01-27 10:56 ` 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.