Bug 89909

Summary: [radeonsi][bisected] Cities: Skylines black rooftops
Product: Mesa Reporter: John Brooks <bugs.freedesktop>
Component: Drivers/Gallium/radeonsiAssignee: Default DRI bug account <dri-devel>
Status: RESOLVED FIXED QA Contact: Default DRI bug account <dri-devel>
Severity: normal    
Priority: medium CC: maraeo, tstellar
Version: unspecifiedKeywords: bisected
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
i915 platform: i915 features:

Description John Brooks 2015-04-05 16:10:13 UTC
Here's a screenshot of the bug:


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:


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.