All of lore.kernel.org
 help / color / mirror / Atom feed
* [Bug 34218] New: [r300g] Unigine Sanctuary: some surfaces are reflecting too much light
@ 2011-02-12 22:22 bugzilla-daemon
  2011-02-12 22:23 ` [Bug 34218] " bugzilla-daemon
                   ` (11 more replies)
  0 siblings, 12 replies; 13+ messages in thread
From: bugzilla-daemon @ 2011-02-12 22:22 UTC (permalink / raw)
  To: dri-devel

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

           Summary: [r300g] Unigine Sanctuary: some surfaces are
                    reflecting too much light
           Product: Mesa
           Version: git
          Platform: x86 (IA32)
               URL: http://unigine.com/download/#sanctuary
        OS/Version: Linux (All)
            Status: NEW
          Severity: minor
          Priority: medium
         Component: Drivers/Gallium/r300
        AssignedTo: dri-devel@lists.freedesktop.org
        ReportedBy: pavel.ondracka@email.cz


Created an attachment (id=43305)
 --> (https://bugs.freedesktop.org/attachment.cgi?id=43305)
screenshot

Another bug I've found during my recent Sanctuary testing. Some surfaces are
way too much bright. This is a regression:

commit 68b701f5ded5f6b73a6b07cf37d862fab4836607
Author: Tom Stellard <tstellar@gmail.com>
Date:   Sat Feb 5 22:39:58 2011 -0800

    r300/compiler: Disable register rename pass on r500

    The scheduler and the register allocator are not good enough yet to deal
    with the effects of the register rename pass.  This was causing a 50%
    performance drop in Lightsmark.  The pass can be re-enabled once the
    scheduler and the register allocator are more mature.  r300 and r400
    still need this pass, because it prevents a lot of shaders from using
    too many texture indirections.

    NOTE: This is a candidate for the 7.10 branch.

BTW commit fixed shadows in Sanctuary but now it seems it simultaneously broke
another thing. I haven't seen this when testing the shadows because this is
only visible with shaders quality high. I've tried going back before register
rename pass was introduce to see if this is similar to bug 34030, however this
bug was also present there, it just wasn't much visible since shadows were
broken at that time.

RADEON_DEBUG=noopt fixes this particular problem, but there are some black
glitches when noopt is used and the wireframe problem is also much more
visible.

Sanctuary version: 2.3
shaders quality: high (low and medium works fine)
all other setting set to lowest possible or disabled
mesa: a6b7393eb8b4ef14c0d9ba8d64e57ed8ca82a9f7
GPU: RV530

So far I've done all my testing with almost lowest settings, but now when menus
are fixed it is finally possible to easily change settings and enable different
options and of course most of them doesn't work (like paralax mapping,
translucence, HDR, etc.) should I open a new separate bug for each one broken?

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

* [Bug 34218] [r300g] Unigine Sanctuary: some surfaces are reflecting too much light
  2011-02-12 22:22 [Bug 34218] New: [r300g] Unigine Sanctuary: some surfaces are reflecting too much light bugzilla-daemon
@ 2011-02-12 22:23 ` bugzilla-daemon
  2011-02-12 22:26 ` bugzilla-daemon
                   ` (10 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: bugzilla-daemon @ 2011-02-12 22:23 UTC (permalink / raw)
  To: dri-devel

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

--- Comment #1 from Pavel Ondračka <pavel.ondracka@email.cz> 2011-02-12 14:23:18 PST ---
Created an attachment (id=43306)
 --> (https://bugs.freedesktop.org/attachment.cgi?id=43306)
screenshot before 68b701f5ded5f6b73a6b07cf37d862fab4836607

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

* [Bug 34218] [r300g] Unigine Sanctuary: some surfaces are reflecting too much light
  2011-02-12 22:22 [Bug 34218] New: [r300g] Unigine Sanctuary: some surfaces are reflecting too much light bugzilla-daemon
  2011-02-12 22:23 ` [Bug 34218] " bugzilla-daemon
@ 2011-02-12 22:26 ` bugzilla-daemon
  2011-02-12 22:55 ` bugzilla-daemon
                   ` (9 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: bugzilla-daemon @ 2011-02-12 22:26 UTC (permalink / raw)
  To: dri-devel

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

--- Comment #2 from Marek Olšák <maraeo@gmail.com> 2011-02-12 14:26:16 PST ---
Could you please also test with softpipe/llvmpipe/swrast/an intel driver or
anything else non-r300 to rule out a GLSL compiler issue?

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

* [Bug 34218] [r300g] Unigine Sanctuary: some surfaces are reflecting too much light
  2011-02-12 22:22 [Bug 34218] New: [r300g] Unigine Sanctuary: some surfaces are reflecting too much light bugzilla-daemon
  2011-02-12 22:23 ` [Bug 34218] " bugzilla-daemon
  2011-02-12 22:26 ` bugzilla-daemon
@ 2011-02-12 22:55 ` bugzilla-daemon
  2011-02-12 23:47 ` bugzilla-daemon
                   ` (8 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: bugzilla-daemon @ 2011-02-12 22:55 UTC (permalink / raw)
  To: dri-devel

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

--- Comment #3 from Pavel Ondračka <pavel.ondracka@email.cz> 2011-02-12 14:55:40 PST ---
(In reply to comment #2)
> Could you please also test with softpipe/llvmpipe/swrast/an intel driver or
> anything else non-r300 to rule out a GLSL compiler issue?

Both softpipe and llvmpipe doesn't work with Sanctuary here, but I have also
one Nvidia card so I'll try nouveau tomorrow.

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

* [Bug 34218] [r300g] Unigine Sanctuary: some surfaces are reflecting too much light
  2011-02-12 22:22 [Bug 34218] New: [r300g] Unigine Sanctuary: some surfaces are reflecting too much light bugzilla-daemon
                   ` (2 preceding siblings ...)
  2011-02-12 22:55 ` bugzilla-daemon
@ 2011-02-12 23:47 ` bugzilla-daemon
  2011-02-13 12:01 ` bugzilla-daemon
                   ` (7 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: bugzilla-daemon @ 2011-02-12 23:47 UTC (permalink / raw)
  To: dri-devel

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

--- Comment #4 from Tobias Jakobi <liquid.acid@gmx.net> 2011-02-12 15:47:38 PST ---
Is Sanctuary supposed to work on i965 hardware?

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

* [Bug 34218] [r300g] Unigine Sanctuary: some surfaces are reflecting too much light
  2011-02-12 22:22 [Bug 34218] New: [r300g] Unigine Sanctuary: some surfaces are reflecting too much light bugzilla-daemon
                   ` (3 preceding siblings ...)
  2011-02-12 23:47 ` bugzilla-daemon
@ 2011-02-13 12:01 ` bugzilla-daemon
  2011-04-19  5:04 ` bugzilla-daemon
                   ` (6 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: bugzilla-daemon @ 2011-02-13 12:01 UTC (permalink / raw)
  To: dri-devel

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

--- Comment #5 from Pavel Ondračka <pavel.ondracka@email.cz> 2011-02-13 04:01:29 PST ---
llvmpipe works fine, but you need to set
MESA_EXTENSION_OVERRIDE="-GL_EXT_texture_array -GL_ARB_draw_instanced" for
Sanctuary to run properly and use the same extensions as with r300g.

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

* [Bug 34218] [r300g] Unigine Sanctuary: some surfaces are reflecting too much light
  2011-02-12 22:22 [Bug 34218] New: [r300g] Unigine Sanctuary: some surfaces are reflecting too much light bugzilla-daemon
                   ` (4 preceding siblings ...)
  2011-02-13 12:01 ` bugzilla-daemon
@ 2011-04-19  5:04 ` bugzilla-daemon
  2011-04-19  8:36 ` bugzilla-daemon
                   ` (5 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: bugzilla-daemon @ 2011-04-19  5:04 UTC (permalink / raw)
  To: dri-devel

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

--- Comment #6 from Tom Stellard <tstellar@gmail.com> 2011-04-18 22:04:20 PDT ---
Can you try this again with the latest git version of mesa (commit
ffc1d166d24532aeaa4dcf06a431e43ab7e7e315 or newer)?

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

* [Bug 34218] [r300g] Unigine Sanctuary: some surfaces are reflecting too much light
  2011-02-12 22:22 [Bug 34218] New: [r300g] Unigine Sanctuary: some surfaces are reflecting too much light bugzilla-daemon
                   ` (5 preceding siblings ...)
  2011-04-19  5:04 ` bugzilla-daemon
@ 2011-04-19  8:36 ` bugzilla-daemon
  2011-08-29  9:38 ` bugzilla-daemon
                   ` (4 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: bugzilla-daemon @ 2011-04-19  8:36 UTC (permalink / raw)
  To: dri-devel

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

--- Comment #7 from Pavel Ondračka <pavel.ondracka@email.cz> 2011-04-19 01:36:51 PDT ---
(In reply to comment #6)
> Can you try this again with the latest git version of mesa (commit
> ffc1d166d24532aeaa4dcf06a431e43ab7e7e315 or newer)?

Still broken with current git. Works fine with RADEON_DEBUG=noopt.

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

* [Bug 34218] [r300g] Unigine Sanctuary: some surfaces are reflecting too much light
  2011-02-12 22:22 [Bug 34218] New: [r300g] Unigine Sanctuary: some surfaces are reflecting too much light bugzilla-daemon
                   ` (6 preceding siblings ...)
  2011-04-19  8:36 ` bugzilla-daemon
@ 2011-08-29  9:38 ` bugzilla-daemon
  2011-08-30 12:58 ` bugzilla-daemon
                   ` (3 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: bugzilla-daemon @ 2011-08-29  9:38 UTC (permalink / raw)
  To: dri-devel

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

Pavel Ondračka <pavel.ondracka@email.cz> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |hverbeet@gmail.com

--- Comment #8 from Pavel Ondračka <pavel.ondracka@email.cz> 2011-08-29 02:38:20 PDT ---
e6c64800cc8833fb4083a556c839b51e8ac84a8b is the first bad commit
commit e6c64800cc8833fb4083a556c839b51e8ac84a8b
Author: Henri Verbeet <hverbeet@gmail.com>
Date:   Tue Aug 9 12:23:47 2011 -0500

    glsl_to_tgsi: improve assignment hack

    Fixes StarCraft 2 and Fallout 3 in Wine.

Since e6c64800cc8833fb4083a556c839b51e8ac84a8b this is getting worse. There
isn't only high shader setting affected but also low and middle shader quality
are now misrendered. This is still the same bug, RADEON_DEBUG=noopt works
around this and llvmpipe is not affected at all. CCing Henri, maybe he can
bring some light about what his change did to uncover this bug in r300g
compiler.

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

* [Bug 34218] [r300g] Unigine Sanctuary: some surfaces are reflecting too much light
  2011-02-12 22:22 [Bug 34218] New: [r300g] Unigine Sanctuary: some surfaces are reflecting too much light bugzilla-daemon
                   ` (7 preceding siblings ...)
  2011-08-29  9:38 ` bugzilla-daemon
@ 2011-08-30 12:58 ` bugzilla-daemon
  2011-09-19  7:06 ` [Bug 34218] [r300g] Unigine: " bugzilla-daemon
                   ` (2 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: bugzilla-daemon @ 2011-08-30 12:58 UTC (permalink / raw)
  To: dri-devel

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

--- Comment #9 from Henri Verbeet <hverbeet@gmail.com> 2011-08-30 05:58:18 PDT ---
(In reply to comment #8)
> around this and llvmpipe is not affected at all. CCing Henri, maybe he can
> bring some light about what his change did to uncover this bug in r300g
> compiler.
I'm afraid I won't have a lot of insights to contribute here. That commit just
disabled an optimization in some cases where it wasn't safe to do. I suppose it
may be interesting to see if disabling the entire else-if block that patch
touches makes it better or worse. Bryan Cain is much more familiar with the
glsl-to-tgsi code than I am though.

The typical way to debug things like this is to figure out which shader is
responsible for drawing the geometry in question, using something like apitrace
or your own debug hacks, and then comparing the GLSL with what gets sent to
hardware (and any intermediates).

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

* [Bug 34218] [r300g] Unigine: some surfaces are reflecting too much light
  2011-02-12 22:22 [Bug 34218] New: [r300g] Unigine Sanctuary: some surfaces are reflecting too much light bugzilla-daemon
                   ` (8 preceding siblings ...)
  2011-08-30 12:58 ` bugzilla-daemon
@ 2011-09-19  7:06 ` bugzilla-daemon
  2011-10-15  1:41 ` bugzilla-daemon
  2011-10-17 15:24 ` bugzilla-daemon
  11 siblings, 0 replies; 13+ messages in thread
From: bugzilla-daemon @ 2011-09-19  7:06 UTC (permalink / raw)
  To: dri-devel

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

Pavel Ondračka <pavel.ondracka@email.cz> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|[r300g] Unigine Sanctuary:  |[r300g] Unigine: some
                   |some surfaces are           |surfaces are reflecting too
                   |reflecting too much light   |much light

--- Comment #10 from Pavel Ondračka <pavel.ondracka@email.cz> 2011-09-19 00:06:43 PDT ---
Unigine Oilrush is also affected.

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

* [Bug 34218] [r300g] Unigine: some surfaces are reflecting too much light
  2011-02-12 22:22 [Bug 34218] New: [r300g] Unigine Sanctuary: some surfaces are reflecting too much light bugzilla-daemon
                   ` (9 preceding siblings ...)
  2011-09-19  7:06 ` [Bug 34218] [r300g] Unigine: " bugzilla-daemon
@ 2011-10-15  1:41 ` bugzilla-daemon
  2011-10-17 15:24 ` bugzilla-daemon
  11 siblings, 0 replies; 13+ messages in thread
From: bugzilla-daemon @ 2011-10-15  1:41 UTC (permalink / raw)
  To: dri-devel

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

--- Comment #11 from Tom Stellard <tstellar@gmail.com> 2011-10-14 18:41:51 PDT ---
The reg rename pass has be re-enabled, can you try again with the latest code
from git.

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

* [Bug 34218] [r300g] Unigine: some surfaces are reflecting too much light
  2011-02-12 22:22 [Bug 34218] New: [r300g] Unigine Sanctuary: some surfaces are reflecting too much light bugzilla-daemon
                   ` (10 preceding siblings ...)
  2011-10-15  1:41 ` bugzilla-daemon
@ 2011-10-17 15:24 ` bugzilla-daemon
  11 siblings, 0 replies; 13+ messages in thread
From: bugzilla-daemon @ 2011-10-17 15:24 UTC (permalink / raw)
  To: dri-devel

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

Pavel Ondračka <pavel.ondracka@email.cz> changed:

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

--- Comment #12 from Pavel Ondračka <pavel.ondracka@email.cz> 2011-10-17 08:24:41 PDT ---
(In reply to comment #11)
> The reg rename pass has be re-enabled, can you try again with the latest code
> from git.

Well, Sanctuary with low shaders seems fine, can't test other setting due to
bug 40448. Closing for now.

Some surfaces in Oilrush still seems little bit overbright, however I can't
compare because with RADEON_DEBUG=noopt both Sanctuary and Oilrush are now
completely broken. And this may be a different bug, will test more. 

BTW the optimizations are now needed for correct output or should I bisect and
report it?

Will also do some benchmarks, IIRC there were some slowdowns last time with reg
rename pass.

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

end of thread, other threads:[~2011-10-17 15:24 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-02-12 22:22 [Bug 34218] New: [r300g] Unigine Sanctuary: some surfaces are reflecting too much light bugzilla-daemon
2011-02-12 22:23 ` [Bug 34218] " bugzilla-daemon
2011-02-12 22:26 ` bugzilla-daemon
2011-02-12 22:55 ` bugzilla-daemon
2011-02-12 23:47 ` bugzilla-daemon
2011-02-13 12:01 ` bugzilla-daemon
2011-04-19  5:04 ` bugzilla-daemon
2011-04-19  8:36 ` bugzilla-daemon
2011-08-29  9:38 ` bugzilla-daemon
2011-08-30 12:58 ` bugzilla-daemon
2011-09-19  7:06 ` [Bug 34218] [r300g] Unigine: " bugzilla-daemon
2011-10-15  1:41 ` bugzilla-daemon
2011-10-17 15:24 ` 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.