Board logo

标题: [新闻] 《尼尔》:国外码农用行动证明白金的渣优化,改一个参数提升最高60%帧数 [打印本页]

作者: Nemo_theCaptain    时间: 2017-3-23 13:34     标题: 《尼尔》:国外码农用行动证明白金的渣优化,改一个参数提升最高60%帧数






http://www.dsogaming.com/news/mo ... e-of-nier-automata/

对比图里上方是原版,下方是修改后
简单来说一句话:默认的GI参数过高,能效比极低
https://gist.github.com/drdaxxy/77b1ff884ecba47dc705768999e6e01d
修改后的dll代码在此,但是因为作者并没有吃透文件,修改此参数会影响其他部分,牵连出一些Bug,所以他没有直接放出dll文件
他希望白金官方能立刻跟进修正这个问题
https://steamcommunity.com/app/5 ... c135512305396253405
STCN也有人报道这事了,我顺手贴一下吧,方便别人跟进
https://steamcn.com/t257629-1-1

[ 本帖最后由 Nemo_theCaptain 于 2017-3-23 15:18 编辑 ]
作者: Nemo_theCaptain    时间: 2017-3-23 13:39

According to DrDaxxy, NieR: Automata uses a super expensive Global Illumination solution. Its GI compute shader is an array it loops over, which by default has 128 elements. DrDaxxy cut the number of elements to 16, which is the minimum as only values divisible by 16 are allowed.

As such, the overall performance has been significantly increased at the cost of a simpler GI solution. DrDaxxy has provided some comparison screenshots and as we can see, there are some slight differences between them.

Still, we strongly believe that PlatinumGames should offer such option for those facing performance issues (or at least include it in the game’s Low preset setting).

DrDaxxy has not released yet a mod with this fix, though those interested can download and add/use his code in a DLL.

https://gist.github.com/drdaxxy/77b1ff884ecba47dc705768999e6e01d

/u/lolTyler says:
1080p: 30-60fps to 60fps
4k: 12fps to 22fps to 40-50fps
Yes, I went from 12fps at 4k to about 56fps maximum.

Kaldaien said, while testing the mod at 4K resolution with a GTX1080:
That same scene before the fix was 43 FPS, now it's running at a steady 60 FPS.

DrDaxxy said, in his post about discovering this method of improving the game's performance:
I've asked a friend of mine how it runs on his mobile GPU, and apparently this more than doubles his average framerate there.

On the impact this has on the game's visual quality, Kaldaien says
16 is a very noticable graphics downgrade in many places, 32 is a good middle-ground, 64 appears no different, 128 is where the game was set before we touched any of this stuff.

https://www.reddit.com/r/nier/co ... es_framerate_on_pc/

[ 本帖最后由 Nemo_theCaptain 于 2017-3-23 13:48 编辑 ]
作者: cooboo    时间: 2017-3-23 13:40

这游戏有中文版不?
作者: alucardx2004    时间: 2017-3-23 13:41

posted by wap, platform: Galaxy S6 EDGE+
这画面在普通PS4上都不能跑1080p实在难以理解
作者: Nemo_theCaptain    时间: 2017-3-23 13:41

引用:
原帖由 cooboo 于 2017-3-23 13:40 发表
这游戏有中文版不?
4月才出PS4中文版
PC国区也是4月解锁,可能会更新中文
作者: achen126    时间: 2017-3-23 13:47

白金变黑金!
作者: 昵称无效    时间: 2017-3-23 13:57

posted by wap, platform: Android
黄老板怒了
作者: 共谍常凯申    时间: 2017-3-23 14:03

日厂是这样的,要求别太高
作者: mieumieu    时间: 2017-3-23 14:10

posted by wap
yy下,不排除是某个美指说就得128,然后自认能看得出和16的区别

霓虹人有时候就是怪怪的
作者: u571    时间: 2017-3-23 14:13

posted by wap, platform: Chrome
引用:
原帖由 @昵称无效  于 2017-3-23 13:57 发表
黄老板怒了
这游戏PC上对A卡优化也没好到哪去
作者: 清风拂晓    时间: 2017-3-23 14:13

posted by wap, platform: Android
能用预演算做过场,就说明帧数很难控制不得不这样做
作者: 洒家又回来了    时间: 2017-3-23 14:14

posted by wap, platform: Chrome
我估计就是故意这样设置的,在主机上可以刻意拉开PS4普通版和PRO的差距,移植到PC时原封不动的没有处理而已。
作者: Nemo_theCaptain    时间: 2017-3-23 14:16

引用:
原帖由 洒家又回来了 于 2017-3-23 14:14 发表
posted by wap, platform: Chrome
我估计就是故意这样设置的,在主机上可以刻意拉开PS4普通版和PRO的差距,移植到PC时原封不动的没有处理而已。
问题是主机上没拉开差距啊
普通版900p
Pro版1080p,AA开高点,狗牙少点,特效多点,就这样了
作者: bazinga    时间: 2017-3-23 16:06

posted by wap, platform: Android
只是不想花精力时间优化罢了
作者: 脆骨    时间: 2017-3-23 16:14

posted by wap, platform: iPhone
白金也快死了
作者: 再来一发    时间: 2017-3-23 16:33

引用:
原帖由 bazinga 于 2017-3-23 16:06 发表
posted by wap, platform: Android
只是不想花精力时间优化罢了
感觉就是这样,现在的游戏,都赶着发货日期,能保证做完,没大bug就不错了

还优化,感觉根本没这个精力
作者: Nemo_theCaptain    时间: 2017-3-23 16:39

引用:
原帖由 再来一发 于 2017-3-23 16:33 发表
感觉就是这样,现在的游戏,都赶着发货日期,能保证做完,没大bug就不错了
还优化,感觉根本没这个精力
我可以很严肃的说
涉及多种特效负荷压榨帧率的时候是可以这么解释的

这一个参数差距就如此之大
只能是9L所说的那种可能——特效组自己都不知道这些参数的背后细节,拍脑袋就上了
白金干脆就不适应当代游戏开发

龙鳞化身被彻底取消,一个未证实的传言就是,这个游戏从来就没在X1上跑起来过,从头到尾都是顶配PC的录像
到了最后也没解决,一次又一次延期给他们时间也没有解决,游戏本身又不怎么好玩,只能砍掉

[ 本帖最后由 Nemo_theCaptain 于 2017-3-23 16:40 编辑 ]
作者: esking    时间: 2017-3-23 16:47

技术的白金
作者: kelaredbull    时间: 2017-3-23 16:51

posted by wap, platform: Chrome
引用:
原帖由 @mieumieu  于 2017-3-23 14:10 发表
yy下,不排除是某个美指说就得128,然后自认能看得出和16的区别

霓虹人有时候就是怪怪的
我觉得可能性最大的是忘了改默认参数,第二是故意写高点为了回头优化的时候留个坑,第三就是你这个点……
作者: jun4rui    时间: 2017-3-23 17:42

posted by wap, platform: Samsung
引用:
原帖由 @kelaredbull  于 2017-3-22 20:51 发表
我觉得可能性最大的是忘了改默认参数,第二是故意写高点为了回头优化的时候留个坑,第三就是你这个点……
从各类日版PC游戏来看,恐怕技术不行的可能高达九成
作者: moyanljx    时间: 2017-3-23 17:45

多请点中东和三哥程序员啊:D
作者: krewella    时间: 2017-3-23 17:47

posted by wap, platform: Chrome
当初黑暗之魂1也是这样的,技术的日厂
作者: Nemo_theCaptain    时间: 2017-3-23 17:56

引用:
原帖由 moyanljx 于 2017-3-23 17:45 发表
多请点中东和三哥程序员啊:D
日本那边没三哥程序员
三哥多的是美帝,比如微软
但是床破上台后宣布低级码农不给技术签证了,限制三哥数量
作者: 超越神的牛肉人    时间: 2017-3-23 18:01

这帮智障还是适合卡通渲染的……
反正都是大色块,又不要啥光照阴影,反正可以画上去
作者: XboxW    时间: 2017-3-23 19:30

白金工作室的部分工作人员是体育专业毕业的?

[ 本帖最后由 XboxW 于 2017-3-23 19:36 编辑 ]
作者: kelaredbull    时间: 2017-3-23 20:17

posted by wap
引用:
原帖由 @jun4rui  于 2017-3-23 17:42 发表
从各类日版PC游戏来看,恐怕技术不行的可能高达九成
看不懂SDK肯定是常态,但是128这个数太刻意了啊…
作者: 讴歌123    时间: 2017-3-23 20:25

posted by wap, platform: iPhone
引用:
原帖由 @Nemo_theCaptain  于 2017-3-23 16:39 发表
我可以很严肃的说
涉及多种特效负荷压榨帧率的时候是可以这么解释的

这一个参数差距就如此之大
只能是9L所说的那种可能——特效组自己都不知道这些参数的背后细节,拍脑袋就上了
白金干脆就不适应当代游戏开发

龙鳞化身被彻底取消,一个未证实的传言就是,这个游戏从来就没在X1上跑起来过,从头到尾都是顶配PC的录像
到了最后也没解决,一次又一次延期给他们时间也没有解决,游戏本身又不怎么好玩,只能砍掉
UE4很成熟的引擎了,而且scalebound几次实机演示都是帧数感人,应该是X1版,高配PC怎么可能是这种表现
作者: Nemo_theCaptain    时间: 2017-3-23 20:34

引用:
原帖由 讴歌123 于 2017-3-23 20:25 发表
posted by wap, platform: iPhone
UE4很成熟的引擎了,而且scalebound几次实机演示都是帧数感人,应该是X1版,高配PC怎么可能是这种表现
就顶楼这稀里糊涂的优化,我觉得还真有可能
UE4成不成熟跟白金掌握的好不好是两码事啊
作者: bazinga    时间: 2017-3-23 20:44

posted by wap, platform: Android
优化差些问题不大,pc可以换配置,主机求个稳定即可。关键还是游戏做的如何,虽然本帖讨论的是技术问题

白金的代工游戏功底还是很出色的,技术力日厂就那样了。
作者: mieumieu    时间: 2017-3-23 20:49

posted by wap
引用:
原帖由 @kelaredbull  于 2017-3-23 16:51 发表
我觉得可能性最大的是忘了改默认参数,第二是故意写高点为了回头优化的时候留个坑,第三就是你这个点……
就改个参数就能做的优化,在做优化的时候是第一要考虑的,所以我觉得第一点不太可能

我之所以觉得第三个有可能是因为我见过,哈哈
作者: 板砖砸篮    时间: 2017-3-23 20:53

这游戏本身就是破烂。
玩起来无聊透顶
作者: 板砖砸篮    时间: 2017-3-23 20:57

白金那动作都复制黏贴。到这游戏更是可以用一塌糊涂来形容。
一个个大而空的地图跑来跑去割点机器人的草
作者: 几把贼大    时间: 2017-3-28 17:40

只是不当一回事吧




欢迎光临 TGFC Lifestyle (http://bbs.tgfcer.com/) Powered by Discuz! 6.0.0