Bug 89909 - [radeonsi][bisected] Cities: Skylines black rooftops
Summary: [radeonsi][bisected] Cities: Skylines black rooftops
Status: RESOLVED FIXED
Alias: None
Product: Mesa
Classification: Unclassified
Component: Drivers/Gallium/radeonsi (show other bugs)
Version: unspecified
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Default DRI bug account
QA Contact: Default DRI bug account
URL:
Whiteboard:
Keywords: bisected
Depends on:
Blocks:
 
Reported: 2015-04-05 16:10 UTC by John Brooks
Modified: 2015-10-19 01:21 UTC (History)
2 users (show)

See Also:
i915 platform:
i915 features:


Attachments

Description John Brooks 2015-04-05 16:10:13 UTC
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=f9fd0c4a55afd97fd34d0e846000c75f5f6ecac2) to be the culprit. Mesa was compiled with llvm 3.6 from the Ubuntu repositories.
Comment 1 Michel Dänzer 2015-04-14 07:18:32 UTC
Marek/Tom, any ideas?
Comment 2 Marek Olšák 2015-04-14 09:11:17 UTC
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.
Comment 3 Tom Stellard 2015-04-14 14:55:51 UTC
Can you run the program with the environment variables:

MESA_GLSL=dump PIGLIT_PLATFORM=gbm R600_DEBUG=ps,vs,gs


And post the output.
Comment 4 Marek Olšák 2015-10-17 17:26:29 UTC
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.
Comment 5 John Brooks 2015-10-19 01:21:49 UTC
No longer seems to be happening as of 11.0.3 (914966befcd57764941405707d8f57d3e7e7f768)

Thank you to the development team.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.