View Full Version : Unlocking Extra Features of UDK
Phopojijo
11-08-2009, 05:12 PM
Decided to unlock some extra features of the UDK (through INI tweaks), such as DX10 mode (and consequently, MSAA) -- seen in Gears of War PC, but not UT3.
http://img.photobucket.com/albums/v342/Phopojijo/DX10UT_01thumb.jpg (http://img.photobucket.com/albums/v342/Phopojijo/DX10UT_01.jpg)
http://img.photobucket.com/albums/v342/Phopojijo/DX10UT_02thumb.jpg (http://img.photobucket.com/albums/v342/Phopojijo/DX10UT_02.jpg)
http://img.photobucket.com/albums/v342/Phopojijo/DX10UT_03thumb.jpg (http://img.photobucket.com/albums/v342/Phopojijo/DX10UT_03.jpg)
You all should poke through the INIs, see what else has yet to be turned on.
Oddly enough even DX10-based Antialiasing seems to have problems antialiasing between two very-different-intensity (sub)pixels.
ambershee
11-08-2009, 05:48 PM
I have to admit, some of those tweaks do make a fair bit of difference :)
in which .ini's did you find these tweaks
Phopojijo
11-08-2009, 05:56 PM
UTGame/Config/
The graphics stuff I played with is in UTEngine.ini -- but there might be more elsewhere.
micahpharoh
11-08-2009, 06:13 PM
what did you actually change?
Phopojijo
11-08-2009, 06:15 PM
Not a whole lot... I turned DX10 on... I turned on MSAA to max 8x... I turned Aniso up to 16x... changed the resolution... made it fullscreen... changed some detail levels and internal resolutions... maybe more I forgot about... There's a lot more I could do.
micahpharoh
11-08-2009, 06:20 PM
specifically, what was the exact line you changed to turn on DX10?
i think ill stick to my dx9 cus as soon as i changed the entry my game lagged so much :P
Keyframe
11-08-2009, 06:27 PM
@micahpharoh He probably changed AllowD3D10=False to True in Config\UTEngine.ini
Phopojijo
11-08-2009, 06:29 PM
Yeah that's exactly what I did... sorry for not defining that.
micahpharoh
11-08-2009, 06:37 PM
thanks for that. Lots of good stuff in here. Now all we need is DirectX 11 :p
elmuerte
11-08-2009, 07:32 PM
Just add AllowD3D11=True
Henrik
11-08-2009, 11:38 PM
baaa ha
Yeah turning on d3d10 brings my FPS grinding to a standstill. I need to figure out why...
Phopojijo
11-09-2009, 12:32 AM
It did that to all three of us thusfar... it's probably the implementation itself. Makes sense, given that they turned it off by default.
ambershee
11-09-2009, 12:35 AM
I wouldn't be surprised if it's the anti-aliasing technique that does it; from what I gather it can be a pretty expensive operation the way it is implemented in UE3.
micahpharoh
11-09-2009, 01:52 AM
turning on DX10 didn't have a negative effect for me. Don't know why it got you guys so bad, unless you're on XP, which doesn't support it.
Havoc89
11-09-2009, 02:41 AM
Yeah dx10 didnt slow my game down, it was antialiasing that made my machine crawl.
micahpharoh
11-09-2009, 02:47 AM
I didn't touch antialiasing yet. (Honestly I didn't know what property to change :p )
Henrik
11-09-2009, 12:18 PM
I don't think it is the antialiasing simply because this occurs even with it set to off and maxmultisamples set to 1 in the ini. I also saw plenty of "jaggies".. BUT it is consistent with the effects of a high AA setting in DX9. The difference is in dx10 the stutter occurs even when playing bink videos.
well it probably is anti aliasing because i boosted that as soon as i turned on dx10 :P but overall my performance in Windows 7 is worse so i think my grinding hault was drivers or something :mad:
Phopojijo
11-09-2009, 08:00 PM
A couple other things you guys might want to tweak with is bSmoothFrameRate and bDisablePhysXHardwareSupport -- both of which are set to true... and might benefit from being set to false in both cases...
One caps your framerate (in a good way... but still will be bad if you want to see exactly how many frames your PC is pushing...), the other disables nVidia PhysX cards and GPUs (if present).
Oh the fun that will be had when making a settings menu :p
Henrik
11-09-2009, 09:10 PM
I doubt it has anything to do with it... my framerate problems were on an entirely different level trust me... I was getting probably 1 frame every 2 seconds lol.
It's okay though, I don't need D3D10 anyway, because I only wanted it for antialiasing - I figured out how to get it working in DX9 with Nhancer.
Phopojijo
11-09-2009, 09:35 PM
Nonono, I just mean in general... sub 62FPS is not frame-smoothed to any reasonable amount -- and there really isn't much PhysX in the UDK demos... it's just for your real games where they MIGHT become issues.
Blade[UG]
11-10-2009, 12:23 AM
I doubt it has anything to do with it... my framerate problems were on an entirely different level trust me... I was getting probably 1 frame every 2 seconds lol.
It's okay though, I don't need D3D10 anyway, because I only wanted it for antialiasing - I figured out how to get it working in DX9 with Nhancer.
All versions of unreal do this to my PC when I turn on AA at any level.
Henrik
11-10-2009, 07:41 AM
well AA works fine in DX9 for me even at higher settings. it's a tad below what I'd like framerate wise but still completely useable for what I need compared to DX10.
Kornswag
11-22-2009, 02:30 AM
well AA works fine in DX9 for me even at higher settings. it's a tad below what I'd like framerate wise but still completely useable for what I need compared to DX10.
may I ask how you are able to turn on AA with DX9? Thanks a bunch!
Henrik
11-26-2009, 12:18 PM
download the Nhancer app for Nvidia cards and set up a profile for UDK, UT3 or whatever.
eAlex79
12-03-2009, 01:16 PM
Actually.. are you quite sure the settings did anything at all?
If I switch AllowD3D10 to true, the logs do not change, nor the graphics or anything:
Init: PixelShaderVersion: 3
Init: VertexShaderVersion: 3
Init: VRAMQuantity: 512
Init: DedicatedVRAM: 495
Same as for bDisablePhysXHardwareSupport. If I change that to False the Log still says:
Log: Primary PhysX scene will be in software.
Log: Creating Primary PhysX Scene.
Though I don't know if this log entry is just for the server.
What you say? Do I interprete these wrong or is the engine just not switching the features on?
I've got a 9800GTX+, so DX10 and PhysX are fully working.
micahpharoh
12-03-2009, 03:18 PM
are you sure you're editing the correct file? I know it sounds dumb, but you'd be surprised how often it's something simple.
eAlex79
12-03-2009, 03:43 PM
Oh yes I tried all three just for the exact reason, to be sure the settings get picked up ;-) I am new to the whole engine (didn't even play UT).
According to the log the settings are set, but it uses ShaderModel 3 and software PhysX anyways.
But the engine makes the GPU Device Level 3. Maybe that's the hickup?
badkangaroo
12-03-2009, 11:15 PM
It looks like the aliasing is actually happening between Dept Priority Sort Groups, since the weapon is drawn as foreground it doesn't know how to blend against the world since that happened on a different pass.
very nice!
eAlex79
12-05-2009, 01:47 AM
I actually got it sorted. At least half. I had nHancer enhance my UDK.exe.... when I deleted the nHancer settings for UDK it switched happily to DX10 mode.
Still I'm not sure if PhysX are hardware in DX10.
Any suggestions how I can make *sure* (so not guess by performance or something like that) if it's hard- or software physx?
elmuerte
12-05-2009, 06:03 AM
afaik PhysX will use hardware when available, you can disable GPU usage through the control pannel
eAlex79
12-09-2009, 12:20 PM
Performance is identically wether the hardware physx switch is on or not in the nvidia Panel. So I'm puzzled. How to switch on hardware PhysX in UDK and make sure it is? :-)
eAlex79
12-09-2009, 01:54 PM
Found it... well... baaaad. ;-) Noobish...
Just had to switch on "Cloth use Compartment".
*hide*
lol. Sorry ;)
So to get DX10 look at your nHancer (if it's there) if UDK doesn't switch to DX10, and on PhysX.. check the Options of the objects.
For me none of the settings work...
I've changed MaxMultisamples to 8, MaxAnisotropy to 16 and nothing.. I went to nVidia panel control and chose to override application's settings and changed anti-aliasing to 8, and nothing.. I downloaded nHancer.. it already detected a profile for udk.exe and anti-aliasing was already set to 8..
No matter what I do I always end up with disabled anti-aliasing. I even set UTEngine.ini to read-only to make sure UDK doesn't overwrite it..
Does anyone know what else I can do to use anti-aliasing?
I'm using XP.
Phopojijo
12-24-2009, 02:14 PM
Hmm... well -- the nVidia drivers SHOULD antialias using their traditional hacky ways no problems... so why driver overrides aren't working is a mystery to me...
But to properly antialias in UnrealEngine3 you need DirectX 10... which means Vista or Windows 7.
Though to be frank I think the driver's hacky way looks just as good...
It works fine with other applications/games but for some reason doesn't work with UE3. I was hoping to use UDK as renderer since it has some nice rendering features which are easy and quick to set up.
I guess, I'll have to live with pixelated edges.
Mightylink
12-25-2009, 01:34 AM
nice job on finding aa, it doesnt work in ut3 in dx10 but you seem to got both working in udk.
HRuivo
12-25-2009, 11:31 AM
One Noobish question:
Why do I have a performance drop while using DX10 instead of DX9, shouldn't I have more performace on DX10? :S
johanz
12-25-2009, 03:16 PM
One Noobish question:
Why do I have a performance drop while using DX10 instead of DX9, shouldn't I have more performace on DX10? :S
No, dx10 is more demanding
Phopojijo
12-25-2009, 03:28 PM
Not necessarily... DirectX10 cut out a lot of deprecated functions... the drivers at launch just couldn't provide a performance boost though. Later on they started to... under certain circumstances.
Long story short -- it's a big "depends"... usually not a performance boost though.
InhexSTER
02-19-2010, 01:47 PM
When i try to enable dx10 in February beta. Editor and game just crash, but changing some other options like resolution and fullscreen works fine
Chaosrik
02-19-2010, 04:09 PM
Yeah, a lot of ppl including me are having this problem, hopefully Epic will fix it soon.
micahpharoh
02-19-2010, 04:35 PM
You'd think that since Epic and Nvidia have worked so closely together in the past, and since the Unreal Engine is used in so many game, Nvidia would make it a priority to make sure it runs smoothly with their drivers.
anyone have 3d glasses and willing to try out the 3d view? I would love to know if that actually worked.
CoffeeGrunt
08-29-2010, 10:05 AM
My rig can't even run normal UDK full screen with a stable fps...
I need a new GFX card probably, but need the money first... :S
Boebi
08-29-2010, 12:10 PM
When 'allowing' dx10, what would happen on dx9 machines when you run the game?
(Someone on XP for instance)
Will the engine adapt or will the game just crash?
Blade[UG]
08-29-2010, 03:37 PM
When 'allowing' dx10, what would happen on dx9 machines when you run the game?
(Someone on XP for instance)
Will the engine adapt or will the game just crash?
nothing, it just goes on along as normal.
Enabling DX10 turns off postprocessing, makes it run slower, and look worse, though, in my opinion.
kaotrix
08-31-2010, 01:35 PM
If only I knew which lines you changed in the INI (you weren't very clear)....
leviatan1001
11-17-2010, 05:31 AM
Mmm, enabling Dx10 make my map to crash. Included maps runs. Maybe it just run ok in cooked maps? Yes, my video card supports dx10 and i use 7. I run crysis on high ;)
Any tips?
ambershee
11-17-2010, 06:16 AM
Dx10 isn't officially supported, as far as I'm aware.
DAOWAce
12-20-2010, 09:43 AM
I just enabled DX10 and DX11 to find.. this (http://daow.net/images/UDKNightDayIssue.png).
Have not actually done troubleshooting yet.
Elude
12-20-2010, 10:23 AM
You can enable AA for dx9 simply by changing the UDK.exe to UT3.exe and then opening the ati catalyst control center to force AA from there.
The game runs fine, launches fine, and I even think the AA looks better personally then the exclusive Dx10 AA from Gears of War PC.
micahpharoh
12-20-2010, 05:18 PM
I just enabled DX10 and DX11 to find.. this (http://daow.net/images/UDKNightDayIssue.png).
Have not actually done troubleshooting yet.
It's kinda funny, because enabling DX10 and DX11 fixes some of the issues when I run the Night and Day map.
Powered by vBulletin® Version 4.1.6 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.