New: r600g/evergreen: Incorrect rendering of some effects in doom3
https://bugs.freedesktop.org/show_bug.cgi?id=38145
Summary: r600g/evergreen: Incorrect rendering of some effects
in doom3
Product: Mesa
Version: git
Platform: x86-64 (AMD64)
OS/Version: Linux (All)
Status: NEW
Severity: normal
Priority: medium
Component: Drivers/Gallium/r600
AssignedTo: [email protected]
ReportedBy: [email protected]
Created an attachment (id=47801)
--> (https://bugs.freedesktop.org/attachment.cgi?id=47801)
screenshot of fire rendering
Some doom3 effects like slightly warped objects behind the fire and glass windows aren't rendered correctly on evergreen with r600g (high quality effects should be enabled in the game settings to reproduce). It was not very noticeable before the commit d1b8f8e8b3b41ab6092fa3f18a4891a0198f64de "r600g:
don't lookup a vs semantic for position/face", but after that commit it is much more visible.
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.
[Bug 38145] r600g/evergreen: Incorrect rendering of some effects in doom3
https://bugs.freedesktop.org/show_bug.cgi?id=38145
--- Comment #1 from Vadim <[email protected]> 2011-06-10 03:06:00 PDT --- Created an attachment (id=47802)
--> (https://bugs.freedesktop.org/attachment.cgi?id=47802)
output from running with "R600_DUMP_SHADERS=true"
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.
[Bug 38145] r600g/evergreen: Incorrect rendering of some effects in doom3
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=38145
Alex Deucher <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #47802|text/x-log |text/plain
mime type| |
Attachment #47802|0 |1
is patch| |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.
[Bug 38145] r600g/evergreen: Incorrect rendering of some effects in doom3
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=38145
--- Comment #2 from Alex Deucher <[email protected]> 2011-06-10 08:15:39 PDT --- evergreen+ asics don't support FS_COLOR0_WRITES_ALL_CBUFS yet. It needs to be emulated in the shader rather than set as state.
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.
[Bug 38145] r600g/evergreen: Incorrect rendering of some effects in doom3
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=38145
--- Comment #3 from Alex Deucher <[email protected]> 2011-06-10 12:17:37 PDT --- Created an attachment (id=47824)
View: https://bugs.freedesktop.org/attachment.cgi?id=47824
Review: https://bugs.freedesktop.org/review?bug=38145&attachment=47824
add support for multiwrites on eg+
Does this patch fix the issue?
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.
[Bug 38145] r600g/evergreen: Incorrect rendering of some effects in doom3
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=38145
--- Comment #4 from Vadim <[email protected]> 2011-06-10 13:47:09 PDT --- (In reply to comment #3)
Quoted 1 line
Created an attachment (id=47824)
View: https://bugs.freedesktop.org/attachment.cgi?id=47824
Review: https://bugs.freedesktop.org/review?bug=38145&attachment=47824
Quoted 3 lines
add support for multiwrites on eg+
Does this patch fix the issue?
No, rendering of the effects is not changed with that patch. The only change afaics is the huge performance drop (2-8x) even in the game menu.
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.
[Bug 38145] r600g/evergreen: Incorrect rendering of some effects in doom3
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=38145
--- Comment #5 from Vadim <[email protected]> 2011-06-10 15:10:48 PDT --- BTW, If you don't have the game then there is linux doom3 demo (460mb) available to download from idsoftware ftp site - ftp://ftp.idsoftware.com/idstuff/doom3/linux/doom3-linux-1.1.1286-demo.x86.run -but it was very slow download when i tried it, so you would probably want to find it somewhere else to download faster. This issue is reproducible with the demo too.
Also, I don't know if it would help, but IIRR there were shader sources with descriptive filenames and comments somewhere in the pk4 data files (probably pak000.pk4 in the full game, and in the demo there is only one pk4 file. pk4 files are zip archives).
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.
[Bug 38145] r600g/evergreen: Incorrect rendering of some effects in doom3
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=38145
--- Comment #6 from Vadim <[email protected]> 2011-06-12 19:55:44 PDT --- Created an attachment (id=47878)
--> (https://bugs.freedesktop.org/attachment.cgi?id=47878)
testcase (for piglit vpfp-generic test)
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.
[Bug 38145] r600g/evergreen: Incorrect rendering of some effects in doom3
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=38145
--- Comment #7 from Vadim <[email protected]> 2011-06-12 20:02:27 PDT --- Created an attachment (id=47879)
View: https://bugs.freedesktop.org/attachment.cgi?id=47879
Review: https://bugs.freedesktop.org/review?bug=38145&attachment=47879
patch
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.
[Bug 38145] r600g/evergreen: Incorrect rendering of some effects in doom3
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=38145
Vadim <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXEDSignature · 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.