Summary: | Crusader Kings 2 - Loading bars, siege bars, morale bars, etc. do not render correctly | ||
---|---|---|---|
Product: | Mesa | Reporter: | xicronical |
Component: | Drivers/Gallium/radeonsi | Assignee: | Default DRI bug account <dri-devel> |
Status: | RESOLVED FIXED | QA Contact: | Default DRI bug account <dri-devel> |
Severity: | normal | ||
Priority: | medium | CC: | gustav.palmqvist |
Version: | git | ||
Hardware: | x86-64 (AMD64) | ||
OS: | Linux (All) | ||
URL: | https://bugs.llvm.org/show_bug.cgi?id=32001 | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Attachments: | Picture showcasing issue. Bars should always be rectangles. |
Can you try recording an apitrace which reproduces the issue? Thanks! You can see the issue in the progress bar on the main loading screen: https://drive.google.com/open?id=0B-f68fD4PtpBZmx0M2VPUU1oRms The game requests a compatibility profile but its using OpenGL features from 3.1+. Overriding the version doesn't fix the issue, so may be related, may not. (In reply to Timothy Arceri from comment #3) > The game requests a compatibility profile but its using OpenGL features from > 3.1+. Overriding the version doesn't fix the issue, so may be related, may > not. Umm. I'm not sure what made me think this is using 3.1+ but I don't think that is correct. Also running the trace on i965 produces correct output. Running Mesa master with llvm 3.8 (instead of 5.0 from git) resolves the problem. (In reply to Timothy Arceri from comment #5) > Running Mesa master with llvm 3.8 (instead of 5.0 from git) resolves the > problem. Be aware that llvm 3.8 degrades OpenGL support for radeonsi. Just check your glxinfo output. Bisected the llvm regression to a change in llvm 4.0 commit f991e38d156c4c10c609ca8425a7c31b951ecbed Author: James Molloy <james.molloy@arm.com> Date: Thu Sep 1 10:44:35 2016 +0000 [SimplifyCFG] Change the algorithm in SinkThenElseCodeToEnd However the output from R600_DEBUG=vs,fs is identical apart from the value of code_size reported for one of the shaders. Adding llvm bug report. A possible fix here https://reviews.llvm.org/D30609. Just pushed a workaround for this issue in Mesa. https://cgit.freedesktop.org/mesa/mesa/commit/?id=7751ed39e40e08e5aa0633d018c9f25ad17f9bb0 |
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.
Created attachment 129084 [details] Picture showcasing issue. Bars should always be rectangles. In game there are often bars to represent loading percentage, unit morale, etc. They render fine at 100%, but once combat or sieging drops them to a lower value, they begin rendering insanely and it is impossible to tell how full the bar actually is just by looking at it. Picture attached showcasing issue. The game renders correctly in AMDGPU-PRO.