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: dri-devel@lists.freedesktop.org ReportedBy: pavel.ondracka@email.cz
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
https://bugs.freedesktop.org/show_bug.cgi?id=34206
--- Comment #1 from Pavel Ondračka pavel.ondracka@email.cz 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
https://bugs.freedesktop.org/show_bug.cgi?id=34206
--- Comment #2 from Pavel Ondračka pavel.ondracka@email.cz 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.
https://bugs.freedesktop.org/show_bug.cgi?id=34206
--- Comment #3 from Tom Stellard tstellar@gmail.com 2011-02-12 08:07:00 PST --- Is this a regression? Any chance you can bisect it?
https://bugs.freedesktop.org/show_bug.cgi?id=34206
--- Comment #4 from Pavel Ondračka pavel.ondracka@email.cz 2011-02-12 08:29:56 PST --- (In reply to comment #3)
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.
https://bugs.freedesktop.org/show_bug.cgi?id=34206
--- Comment #5 from Marek Olšák maraeo@gmail.com 2011-02-12 10:25:31 PST --- I don't think it ever worked.
https://bugs.freedesktop.org/show_bug.cgi?id=34206
--- Comment #6 from Pavel Ondračka pavel.ondracka@email.cz 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.
https://bugs.freedesktop.org/show_bug.cgi?id=34206
--- Comment #7 from Marek Olšák maraeo@gmail.com 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.
https://bugs.freedesktop.org/show_bug.cgi?id=34206
Pavel Ondračka pavel.ondracka@email.cz changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED
--- Comment #8 from Pavel Ondračka pavel.ondracka@email.cz 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.
dri-devel@lists.freedesktop.org