Summary: | Transparency glitches in native Civilization 5 (Civ5) port | ||
---|---|---|---|
Product: | Mesa | Reporter: | mikelnx |
Component: | Drivers/Gallium/radeonsi | Assignee: | Default DRI bug account <dri-devel> |
Status: | RESOLVED FIXED | QA Contact: | |
Severity: | normal | ||
Priority: | medium | CC: | paulo.miguel.dias |
Version: | git | ||
Hardware: | x86-64 (AMD64) | ||
OS: | Linux (All) | ||
URL: | http://www.reddit.com/r/linux_gaming/comments/28199a/steams_opengl_version_info_misleading_for_aspyrs/ | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Attachments: |
CivV.png
patch |
Description
mikelnx
2014-06-14 07:53:14 UTC
Created attachment 101079 [details]
CivV.png
Confirming this, happens on Radeon 8400 too.
Created attachment 101111 [details] [review] patch It seems the game relies on specific behavior of inversesqrt, which is undefined when x <= 0 according to GLSL spec. The attached patch uses V_RSQ_CLAMP_F32 instead of V_RSQ_LEGACY_F32 for int_AMDGPU_rsq, this fixed the issue for me. *** Bug 80071 has been marked as a duplicate of this bug. *** (In reply to comment #2) > Created attachment 101111 [details] [review] [review] > patch > > It seems the game relies on specific behavior of inversesqrt, which is > undefined when x <= 0 according to GLSL spec. The attached patch uses > V_RSQ_CLAMP_F32 instead of V_RSQ_LEGACY_F32 for int_AMDGPU_rsq, this fixed > the issue for me. Thanks Vadim, that fixed it for me too :). confirmed fix too when running Civ5 in wine Fixed in Mesa: b9f501bc6bc52c25bef86a24b49fda4e92fcd924 I have the same withe glitch on Civ5 shown on the CivV.png with AMD radeonsi open source driver. I don't have the problem with Intel open source drivers. I use Debian Jessie with mesa 10.2.6 (In reply to comment #8) > I have the same withe glitch on Civ5 shown on the CivV.png with AMD radeonsi > open source driver. > I don't have the problem with Intel open source drivers. > I use Debian Jessie with mesa 10.2.6 Fix is there for upstream 10.2 but it only aplay if mesa is bulded against llvm 3.5, Debian Jessie version is currently builded against llvm-3.4. So i think you can request that on Debian bugzilla. |
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.