엑스컴2 최적화 관련 자료를 찾다가 우연히 스팀포럼에 올라와 있는대로 설정하고나서 프레임 드랍이 확실히 많이 줄었습니다.
This WILL NOT fix choppy bink video playback as that is plugin based and not engine based. That is a different animal altogether (its very poorly coded for multi-core cpus)
THIS FIX WORKS FOR ALL UE3 BASED GAMES.(well tested)
I need to take a moment to explain that this will fix the kind of stutter that you get even on med to high-end hardware commonly called load/frame hitching. This is where your getting great Frames Per Sec (as reported by fraps or afterburner) but it "looks" choppy. Poor performace (I.E. running a game at settings you know your HW can't run well) will not see a serious decrease in hitching, though it will still help a fair bit. You can really tell the difference if you run with vsync ON and compare BEFORE FIX/AFTER FIX smoothness. It is very, very obvious. Anyhow....
ALL GAMES MUST HAVE COMPLETED FIRST RUN. (1 startup then exit)
1st Goto users yournamehere doc-uments my games gamename ...... config.
(Note: EA games sometimes use "EA Games" instead of My Games)
Make a Backup of the "engine" ini file just in case you need it.
2nd Open the "engine" ini file in notepad (or your text ed of choice) Find and change the following lines ( just use ctrl+F ) taking care to match the settings to your system where noted. Also some of these settings you may not have to change IF they already match what is given.
Here they are: (REMEMBER, READ CAREFULLY, MATCH EXACTLY)
"*"=setting
"bUseTextureStreaming=True" (these are default for most but not all UE3 games)
"bUseBackgroundLevelStreaming=True"
"MipFadeInSpeed0=0" (these even out mipmap loads and draw time)
"MipFadeOutSpeed0=0"
"MipFadeInSpeed1=0"
"MipFadeOutSpeed1=0"
"PhysXGpuHeapSize=64" (these balance physx calls even on cpu based physx titles)
"PhysXMeshCacheSize=16"
"bSmoothFrameRate=TRUE" (this really does need to be on, ignore what you've read)
"MinSmoothedFrameRate=30" (keep these right here. setting higher/lower does no good)
"MaxSmoothedFrameRate=400"
"bInitializeShadersOnDemand=True" (reduces overall shader batch call size)
"DisableATITextureFilterOptimizationChecks=False" (driver based opt is MUCH faster)
"UseMinimalNVIDIADriverShaderOptimization=False" (same here)
"PoolSize=256" or (vidmem/poolsize exmpl: 512/128, 1024/256, etc, DO NOT exceed 768)
"bAllowMultiThreadedShaderCompile=True" (should already be on by default)
"ThreadedShaderCompileThreshold=4" (formulate like this: # of cpu-cores (not threads) -2)
"onlyStreamInTextures=True" (reduces overall texture batch call size)
Check for multiple instances of these settings within this file as some games have them listed twice and you must change both (I.E Xcom:Enemy Unkown)
Now save the file, then right click it, choose properties and then set it to "read-only".
Launch your game, choose reset to defaults under that games graphics settings, then set them up how you want. These settings get saved to your profile file for that game and use the engine ini as a base. They are not saved to the ini file therefore it wont matter that it is read only. However there are a few rare exceptions (SEE NOTE BELOW)
THAT'S IT.
All other settings in the file should be left at there defaults
(Yes, even "SizeOfPermanentObjectPool". FYI This can hurt performance if set different from defaults because it can actually increase frame call time if set incorrectly)
All changes asume that you have steam cloud sync on. If not, changes you make may be overwritten if you turn on cloudsync after the fact and may need to be redone.
(SPECIAL NOTE) Some UE based game like BatmanAA or AC need to be configured how you want it 1st THEN do the fix minus the reset defaults part. You will also need to modify the "userengine" ini file in the same folder as the one above to match any relevent settings.
If you have done everything correctly YOU WILL NOTICE IT. Unlike other "fixes" the performance of this one will be VERY obvious, Especially for ATI/AMD owners. In fact the title screen loading for Dishonored is a dead giveaway (which is why I put this in here)
Special thanks to:
xbit411, lawn_dartmouth, z1g1t and the guys at the beta labs at AMD for help w/this
본문에도 있듯이 멀티코어 CPU사용하시는 분들 저를 포함해서 확실하게 효과가 있는거 같습니다.
수치를 무작정 변경하시기 전에 옆에 나와있는 작성자가 표기한 주의사항을 잘 읽어보시고 본인 시스템에 맞게 수치를 변경하세요
핵심은 C:UsersAdministrator(본인 계정명)/documents(내문서)/My games/XCOM2/XComGame/Config폴더로 가셔서 XComEngine.ini<---이 파일을 메모장이나 노트패드로 여신다음 위에 setting부분에 나와있는 설정값대로 바꿔주시면 됩니다(CTRL+F이용)
엑스컴2실행들어가시고나서 *그래픽설정에서 디폴트(보통)로 변경하시고 저장하신 다음 *반드시 전투1회*(완료 안하셔도 됨)를 실행(아무전투나 불러오기)하신후 바탕화면으로 나오기 하셔서 XComEngine.ini를 수정하신후에
수정한파일을 우클릭 속성 들어가셔서 읽기 전용으로 체크확인후 게임을 진행하셔야 합니다. 설정값만 고치고 바로 게임에 진행하시면 일부 수치가 변경이 안되네요
모든 과정을 완료하시면 쾌적한 환경에서 플레이 하실 수 있을겁니다
"ThreadedShaderCompileThreshold=4" (formulate like this: # of cpu-cores (not threads) -2)<---이 부분에 대해서 궁금해 하시는거 같아 밑에 관련내용을 첨부합니다.
For examp:
I7 4770K: 4 phys ; 4 virt =8 total. Above formula would = 2 phys ; 2 virt = 4 total.
FX 6350: 6 phys ; 0 virt =6 total. Above formula would = 4 phys ; 0 virt = 4 total.
I5 4690K: 4 phys ; 0virt =4 total. Above formula would = 2 phys ; 0 virt = 2 total.
FX 4350: 4 phys ; 0 virt =4 total. Above formula would = 2 phys ; 0 virt = 2 total.
etc..etc... you get the idea. It is significantly more complex, but I'm devolving into my CompEng professor so I'll stop there.
Now since Intels have better single thread/core performance, you would normally need an AMD with 2 extra cores to compete with an Intel for a simular in game performance. Like say the I7 4770 versus a FX 8370 which would be 4 total versus 6 total. Then you have the whole "optimized for NVIDIA, or AMD" GPU BS to deal with, but thats for another day.
요약하자면 실제 코어 갯수에서 뺀수치를 알아야 합니다 본문에도 적혀있듯이"of cpu-cores (not threads)"cpu 쓰레드가 아니라 본인 cpu를 예로들어 I7 4770K(실제코어:4개+가상코어4개=8개 계산되는데 각 코어에서 -2를 뺀수치 ---->실제코어2 + 가상코어2=4)
원본출처:http://steamcommunity.com/app/200510/discussions/0/846960628563773260/
*본문내용을 잘 읽어 보시면 대부분 궁금한 점은 원작자가 다 설명해 놨습니다. 수정했는데 잘 안되셔서 답답한 마음에 댓들다시는건 알겠는데 제가 일일이 답변드리기 힘듭니다. 정말 궁금하시면 스팀 링크에 나와있는 원본제작자에게 질문하시는게 젤 빠를거 같습니다. 읽기전용이 왜 풀리는지, 본인 CPU쓰레드값 설정때문에 너무 스트레스 받지 마시라고 제가 다른 게시물에 단 댓글 일부분을 첨부하겠습니다.
Launch your game, choose reset to defaults under that games graphics settings, then set them up how you want. These settings get saved to your profile file for that game and use the engine ini as a base. They are not saved to the ini file therefore it wont matter that it is read only. However there are a few rare exceptions (SEE NOTE BELOW)
이런 이유에서 일겁니다. 실제로 트윅을 적용하고나서 저장되는 부분은 세이브 파일 보시면 프로필파일이라고 있습니다. 세팅 내용은 그쪽에 저장되고 트윅으로 수정한 ini파일 베이스로 트윅이 구동되기 때문에 읽기파일로 고정하면 실제로 프로필파일에 수정값이 고정되는겁니다. ini파일 읽기전용 안된다고 너무 신경안쓰셔도 되구요 질문자분 사양이 CPU 2500K에 GTX970사양이시면 제가 올린 수정버전만 참고하셔도 원활하게 돌릴 수 있습니다. 제가 아는 지인은 비슷한 CPU사양에 GTX960사용하는데도 수정하고 나서 프레임 드랍이 줄어들었습니다.
그리고 CPU쓰레드 설정하는 부분은 크게 신경안쓰셔도 될거 같습니다. 저도 4로 사용중인데 2로하나 6으로하나 별차이는 없었습니다.
다른 부분만 제대로 설정하셔도 원활한 플레이 하시길 바랍니다.
참고로 제 경우엔 트윅이외에 실제 게임내에서 수직동기화랑 프레임 조절 옵션을 끄고 합니다 실제 게임에서 50-60프레임 나오구요
프레임 잘 나올경우엔 위 경우 이상도 잘 나옵니다.
I
(IP보기클릭).***.***
(IP보기클릭).***.***
(IP보기클릭).***.***
(IP보기클릭).***.***
(IP보기클릭).***.***
(IP보기클릭).***.***
(IP보기클릭).***.***
(IP보기클릭).***.***
(IP보기클릭).***.***
(IP보기클릭).***.***
(IP보기클릭).***.***
(IP보기클릭).***.***
(IP보기클릭).***.***
(IP보기클릭).***.***
(IP보기클릭).***.***
(IP보기클릭).***.***
(IP보기클릭).***.***
(IP보기클릭).***.***
(IP보기클릭).***.***
(IP보기클릭).***.***
(IP보기클릭).***
(IP보기클릭).***.***
(IP보기클릭).***.***
(IP보기클릭).***.***
(IP보기클릭).***.***
(IP보기클릭).***.***
(IP보기클릭).***.***
(IP보기클릭).***.***
(IP보기클릭).***.***
(IP보기클릭).***.***
(IP보기클릭).***.***
(IP보기클릭).***.***
(IP보기클릭).***.***
(IP보기클릭).***.***
(IP보기클릭).***.***
(IP보기클릭).***.***
(IP보기클릭).***.***
(IP보기클릭).***.***
(IP보기클릭).***.***
(IP보기클릭).***.***
(IP보기클릭).***.***
(IP보기클릭).***.***
(IP보기클릭).***.***
(IP보기클릭).***.***
(IP보기클릭).***.***
(IP보기클릭).***.***
(IP보기클릭).***.***
(IP보기클릭).***.***
(IP보기클릭).***.***
(IP보기클릭).***.***
(IP보기클릭).***.***
(IP보기클릭).***.***
(IP보기클릭)221.139.***.***
허벅지 장비 찢겨서 크래쉬 나는 경우가 있었는데. True 상태로 변경하고 없어졌습니다. 같은 문제 있는분들 참고하세요 | 18.12.18 20:21 | |
(IP보기클릭)1.236.***.***
중요한게 있습니다 이거 따라하면 리퍼 애들 옷 ㅈㄴ 늘어나고 게임 튕깁니다 미션진입도 안되다가 옵션지웠다 켰다하다가 발견함 | 21.10.19 18:21 | |
(IP보기클릭).***.***
(IP보기클릭)112.161.***.***
(IP보기클릭)116.124.***.***
(IP보기클릭)116.124.***.***
아니다... 한번 설정한 뒤로 게임내의 옵션 항목에 아예 손대지 않으니까 그대로 있는 것 같네요. | 17.03.31 12:52 | |
(IP보기클릭)116.42.***.***
(IP보기클릭)218.148.***.***
(IP보기클릭)116.42.***.***
(IP보기클릭)61.76.***.***
빼셈 | 19.01.09 18:22 | |