1
\$\begingroup\$

Even though I set ue4editor.exe to use integrated graphics on my laptop, it somehow ends up using the discrete nvidia gpu; is there a way to set the preferred gpu with the unreal suite?

\$\endgroup\$
4
  • \$\begingroup\$ This sounds like a tech support question to direct to the makers of this software, who don't necessarily monitor this website. \$\endgroup\$
    – DMGregory
    Commented Aug 14, 2019 at 19:15
  • \$\begingroup\$ @DMGregory Maybe some user encountered the same problem and there may be a configuration parameter somewhere(I am new to unreal engine) \$\endgroup\$
    – Vectorizer
    Commented Aug 14, 2019 at 20:12
  • \$\begingroup\$ Perhaps this may help you answers.unrealengine.com/questions/12727/… \$\endgroup\$ Commented Aug 15, 2019 at 3:34
  • \$\begingroup\$ @ColdSteel Thanks for the info. That explains it; they are using the higher spec gpu regardless of optimus setting. \$\endgroup\$
    – Vectorizer
    Commented Aug 15, 2019 at 4:20

2 Answers 2

1
\$\begingroup\$

there is a console variable for that: r.GraphicsAdapter

you can set in Engine.ini or DefaultEngine.ini

\$\endgroup\$
1
  • \$\begingroup\$ Someone know where exactly ? I put it to Config\DefaultEngine.ini at the beginning of the file. But that doesn't do anything. \$\endgroup\$ Commented Sep 3, 2021 at 11:20
1
\$\begingroup\$

You need to set the r.GraphicsAdapter=1 ( Choosing device 1 ) to <Your Unreal Projects Folder>\Unreal Projects\MyProject5\Config\DefaultEngine.ini inside the section [/Script/Engine.RendererSettings].

Eg.:

Unreal Projects\MyProject5\Config\DefaultEngine.ini
[/Script/HardwareTargeting.HardwareTargetingSettings]
; quality settings
TargetedHardwareClass=Desktop
AppliedTargetedHardwareClass=Desktop
DefaultGraphicsPerformance=Maximum
AppliedDefaultGraphicsPerformance=Maximum


[/Script/Engine.RendererSettings]
r.GraphicsAdapter=1
; exposure control and tone mapping settings
r.Tonemapper.Sharpen=2
r.TemporalAA.Upsampling=True
...
\$\endgroup\$
2
  • \$\begingroup\$ Seems not to work always. Is there a magic trick to see which GPU is used inside Unreal Editor ? \$\endgroup\$ Commented Oct 17, 2021 at 20:22
  • \$\begingroup\$ Found out it is easiest to use the Task manager Performance View and check there the performance usage of the different GPUs. \$\endgroup\$ Commented Oct 18, 2021 at 10:45

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .