-fipa-pta seems fixing some The Witcher 3 sometimes freezes with 'dxvk::DxvkError' #747 (?)The last one can be hard to reproduce on regular builds, because I'm using :
winelib builds
GCC 8.2.0 built w/ GRAPHITE support
meson --unity option enabled in ebuild
system-wide compiler/linker flags to build DXVK:
C*FLAGS: -march=native -O3 -pipe -fgraphite-identity -ftree-loop-distribution -floop-nest-optimize -fipa-pta -fuse-linker-plugin
LDFLAGS: -march=native -O3 -pipe -fgraphite-identity -ftree-loop-distribution -floop-nest-optimize -fipa-pta -fuse-linker-plugin -Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu
(duplication is not an error, it's for system-wide LTO, but -flto flag removed for DXVK)
slightly patched DXVK version, here is the list (from files/):
-march=native for me is amdfam10
Closing. Information is outdated and requires retest.
WARNING! : this issue is not about performance!
The main purpose is to collect info about the flags known to break things. About a build/compile flags, that have (or can have) negative impact on generated binary. Also about build/compile flags, that can fix issues.
Such as already known:
-falign-functions(-O2and higher) required for Overwatch-O3can cause 20% fps-drop for Trackmaniameson --unitybuilds are much slower than regular builds for some reason #386unknownMissing textures in Far Cry 5https://github.com/doitsujin/dxvk/issues/344#issuecomment-437055943