Skip to contentSkip to conversation

New: [r300g] Unigine Sanctuary: glow around fires is distorted and displaced

Bug 34206 [email protected] 1 participant 9 messages Feb 12, 2011 – Apr 12, 2011

lore
Share & tools
lore
#0 lore raw

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

Summary: [r300g] Unigine Sanctuary: glow around fires is
distorted and displaced
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: [email protected]
ReportedBy: [email protected]

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

There should be roughly spherical glow around candles and fires in Unigine Sanctuary (at least that is how it looks with NVIDIA when the same settings is used), but with r300g it is distorted and displaced and can only be viewed from some angles. Also it is completely gone when RADEON_DEBUG=noopt or RADEON_NO_TCL=1 is used.

GPU: RV530
mesa: a6b7393eb8b4ef14c0d9ba8d64e57ed8ca82a9f7

Sanctuary version: 2.3
Unigine settings: all options disabled or set to lowest possible

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#1 lore raw

[Bug 34206] [r300g] Unigine Sanctuary: glow around fires is distorted and displaced

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

--- Comment #2 from Pavel Ondračka <[email protected]> 2011-02-12 03:48:53 PST --- Created an attachment (id=43293)
--> (https://bugs.freedesktop.org/attachment.cgi?id=43293)
screenshot with NVIDIA driver

This is how it looks like with proprietary drivers when the same settings are used.

Signature · 7 lines
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
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
#2 lore raw

[Bug 34206] [r300g] Unigine Sanctuary: glow around fires is distorted and displaced

In reply to [email protected]

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

--- Comment #1 from Pavel Ondračka <[email protected]> 2011-02-12 03:44:22 PST --- Created an attachment (id=43292)
--> (https://bugs.freedesktop.org/attachment.cgi?id=43292)
output of RADEON_DEBUG=fp,vp and RADEON_DEBUG=fp,vp,noopt

Signature · 7 lines
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
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
#3 lore raw

[Bug 34206] [r300g] Unigine Sanctuary: glow around fires is distorted and displaced

In reply to [email protected]

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

--- Comment #3 from Tom Stellard <[email protected]> 2011-02-12 08:07:00 PST --- Is this a regression? Any chance you can bisect it?

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#4 lore raw

[Bug 34206] [r300g] Unigine Sanctuary: glow around fires is distorted and displaced

In reply to [email protected]

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

--- Comment #4 from Pavel Ondračka <[email protected]> 2011-02-12 08:29:56 PST --- (In reply to comment #3)

Quoted 1 line

Is this a regression? Any chance you can bisect it?

No, I don't think so, I suppose this bug is present since Sanctuary 2.3 is working (73e8a2738743035e1347571ba630747d2ec33a2d). I haven't spot this before because this distorted glow wasn't present in the 2.2 version (the glow wasn't present there at all like now when running with RADEON_DEBUG=noopt and there were some others much more visible bugs at that time).

However I'll try to manually apply 73e8a2738743035e1347571ba630747d2ec33a2d to some older mesa versions to see if it was better at some time.

Signature · 7 lines
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
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
#5 lore raw

[Bug 34206] [r300g] Unigine Sanctuary: glow around fires is distorted and displaced

In reply to [email protected]

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

--- Comment #5 from Marek Olšák <[email protected]> 2011-02-12 10:25:31 PST --- I don't think it ever worked.

Signature · 7 lines
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
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
#6 lore raw

[Bug 34206] [r300g] Unigine Sanctuary: glow around fires is distorted and displaced

In reply to [email protected]

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

--- Comment #6 from Pavel Ondračka <[email protected]> 2011-02-12 11:26:59 PST --- The distorted glow is present since "r300/compiler: use peephole and constant folding for vertex shaders too", there was no glow at all before. So I suppose this explains why there is no glow with noopt.

Signature · 7 lines
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
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
#7 lore raw

[Bug 34206] [r300g] Unigine Sanctuary: glow around fires is distorted and displaced

In reply to [email protected]

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

--- Comment #7 from Marek Olšák <[email protected]> 2011-03-29 16:59:52 PDT --- I think the glow is broken because the WPOS input is unassigned. Glow is a screen-space effect and as such must either use (or emulate) gl_FragCoord.

Signature · 7 lines
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
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
#8 lore raw

[Bug 34206] [r300g] Unigine Sanctuary: glow around fires is distorted and displaced

In reply to [email protected]

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

Pavel Ondračka <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

--- Comment #8 from Pavel Ondračka <[email protected]> 2011-04-12 13:41:34 PDT --- No glow at all with current mesa master and working glow with floating2 branch. I consider this fixed.

Signature · 7 lines
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
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel