https://bugs.freedesktop.org/show_bug.cgi?id=89909
Bug ID: 89909 Summary: Cities: Skylines black rooftops Product: Mesa Version: unspecified Hardware: x86-64 (AMD64) OS: Linux (All) Status: NEW Keywords: bisected Severity: normal Priority: medium Component: Drivers/Gallium/radeonsi Assignee: dri-devel@lists.freedesktop.org Reporter: john@fastquake.com QA Contact: dri-devel@lists.freedesktop.org
Here's a screenshot of the bug:
http://i.imgur.com/DLp1dFr.png
I'm running an AMD R9 290 on Linux Mint 17.1, with kernel 4.0-rc5. I have bisected mesa commits and found commit f9fd0c4a55afd97fd34d0e846000c75f5f6ecac2 (http://cgit.freedesktop.org/mesa/mesa/commit/?id=f9fd0c4a55afd97fd34d0e84600...) to be the culprit. Mesa was compiled with llvm 3.6 from the Ubuntu repositories.
https://bugs.freedesktop.org/show_bug.cgi?id=89909
John Brooks john@fastquake.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Cities: Skylines black |[radeonsi][bisected] |rooftops |Cities: Skylines black | |rooftops
https://bugs.freedesktop.org/show_bug.cgi?id=89909
Michel Dänzer michel@daenzer.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |maraeo@gmail.com, | |tstellar@gmail.com
--- Comment #1 from Michel Dänzer michel@daenzer.net --- Marek/Tom, any ideas?
https://bugs.freedesktop.org/show_bug.cgi?id=89909
--- Comment #2 from Marek Olšák maraeo@gmail.com --- Sqrt(x) results are undefined if x < 0, so the only thing we are allowed to do is sqrt(abs(x)). That is how RSQ works.
https://bugs.freedesktop.org/show_bug.cgi?id=89909
--- Comment #3 from Tom Stellard tstellar@gmail.com --- Can you run the program with the environment variables:
MESA_GLSL=dump PIGLIT_PLATFORM=gbm R600_DEBUG=ps,vs,gs
And post the output.
https://bugs.freedesktop.org/show_bug.cgi?id=89909
--- Comment #4 from Marek Olšák maraeo@gmail.com --- Can you still reproduce this with current Mesa git?
Anyway, this is a game bug. The game generates NaNs, which produces the artifacts. The game might have been designed for DX9 or GL2 hardware, not GL3.
It shouldn't occur anymore, because NaNs are disabled by radeonsi.
https://bugs.freedesktop.org/show_bug.cgi?id=89909
John Brooks john@fastquake.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED
--- Comment #5 from John Brooks john@fastquake.com --- No longer seems to be happening as of 11.0.3 (914966befcd57764941405707d8f57d3e7e7f768)
Thank you to the development team.
dri-devel@lists.freedesktop.org