Crusader Kings 2 - Loading bars, siege bars, morale bars, etc. do not render correctly
https://bugs.freedesktop.org/show_bug.cgi?id=99484
Bug ID: 99484
Summary: Crusader Kings 2 - Loading bars, siege bars, morale
bars, etc. do not render correctly
Product: Mesa
Version: git
Hardware: x86-64 (AMD64)
OS: Linux (All)
Status: NEW
Severity: normal
Priority: medium
Component: Drivers/Gallium/radeonsi
Assignee: [email protected]
Reporter: [email protected]
QA Contact: [email protected]
Created attachment 129084
--> https://bugs.freedesktop.org/attachment.cgi?id=129084&action=edit
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.
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=99484
--- Comment #1 from Samuel Pitoiset <[email protected]> --- Can you try recording an apitrace which reproduces the issue? Thanks!
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=99484
--- Comment #2 from Timothy Arceri <[email protected]> --- You can see the issue in the progress bar on the main loading screen:
https://drive.google.com/open?id=0B-f68fD4PtpBZmx0M2VPUU1oRms
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=99484
--- Comment #3 from Timothy Arceri <[email protected]> ---
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.
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=99484
--- Comment #4 from Timothy Arceri <[email protected]> --- (In reply to Timothy Arceri from comment #3)
Quoted 3 lines
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.
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=99484
--- Comment #5 from Timothy Arceri <[email protected]> --- Running Mesa master with llvm 3.8 (instead of 5.0 from git) resolves the problem.
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=99484
--- Comment #6 from Andreas Boll <[email protected]> --- (In reply to Timothy Arceri from comment #5)
Quoted 2 lines
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.
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=99484
--- Comment #7 from Timothy Arceri <[email protected]> --- Bisected the llvm regression to a change in llvm 4.0
commit f991e38d156c4c10c609ca8425a7c31b951ecbed
Author: James Molloy <[email protected]>
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.
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=99484
Timothy Arceri <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
URL| |https://bugs.llvm.org/show_ | |bug.cgi?id=32001
--- Comment #8 from Timothy Arceri <[email protected]> --- Adding llvm bug report.
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=99484
--- Comment #9 from Samuel Pitoiset <[email protected]> --- A possible fix here https://reviews.llvm.org/D30609.
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=99484
Samuel Pitoiset <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |FIXED
Status|NEW |RESOLVED--- Comment #10 from Samuel Pitoiset <[email protected]> --- Just pushed a workaround for this issue in Mesa.
https://cgit.freedesktop.org/mesa/mesa/commit/?id=7751ed39e40e08e5aa0633d018c9f25ad17f9bb0
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel