# Question about optimizing for Steam Deck and RHI\_Translate? 

**URL:** <https://forums.unrealengine.com/t/question-about-optimizing-for-steam-deck-and-rhi-translate/2666322>\
**Category:** Debugging, Optimization, & Profiling\
**Tags:** unreal-engine, question\
**Created:** [October 17, 2025, 7:16pm UTC](https://forums.unrealengine.com/t/question-about-optimizing-for-steam-deck-and-rhi-translate/2666322 "2025-10-17T19:16:19Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Xyrt2346](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Xyrt2346](https://forums.unrealengine.com/u/Xyrt2346)\
**Post date:** [October 17, 2025, 7:16pm UTC](https://forums.unrealengine.com/t/question-about-optimizing-for-steam-deck-and-rhi-translate/2666322/1 "2025-10-17T19:16:19Z")

</div>

Hello, I made a simple scene for the game, my unlocked framerate is high on SteamDeck 80-90, but I see microstutters every now and then even with locked fps to 60, so I decided to use insights,

here are the details:

-Doesn’t happen on PC (my PC is overkill tho Ryzen 7800x3D, RTX 4080, 32GB DDR5)

-screenpercentage 100%, vsync on, 60Hz

-ForwardShading

-Tried with development build and shipping, same behaviour.

-I build only for Windows, so Steam Deck is using proton (Experimental) to run the game.

-Don’t have anything to do with shader stutter, because the scene is small and I run it at least couple of times

Now this is how my frametime graph looks on Steam Deck (locked to 60fps):

 ![FrameGraph](https://d3kjluh73b9h9o.cloudfront.net/original/4X/6/2/1/6213d70341273048f90bb018fb97e91ce53f3674.png)

This is how good frame 16.7ms looks like:

 ![16ms](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/d/9/2d9579bca9233a42f560bb2dc47d624711332243.png)

And this is one of the spike frames around 31-33ms each:

 ![33ms](https://d3kjluh73b9h9o.cloudfront.net/original/4X/1/a/c/1acaa9eaf9550d46e7ab6155dacfa040b86a44a9.png)

I am new to all of this, but for me it looks like RHI\_Translate and D3D12\_Present takes too much time and thats why the game stutter? Also everytime it stutter its like the same 31-33ms range.

My goal is to achieve stable 60 fps gameplay without stutters on Steam Deck.

I don’t know if its of any help, but this is how the scene looks like now:

[https://www.youtube.com/watch?v=yMrMwOqHEy8](https://www.youtube.com/watch?v=yMrMwOqHEy8)

---

<div class="post-metadata">

**Author:** ![Xyrt2346](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Xyrt2346](https://forums.unrealengine.com/u/Xyrt2346)\
**Post date:** [October 17, 2025, 9:53pm UTC](https://forums.unrealengine.com/t/question-about-optimizing-for-steam-deck-and-rhi-translate/2666322/2 "2025-10-17T21:53:46Z")

</div>

After more testing I have some interesting observation. It seems like Steam Deck APU have problem with setting optimal CPU frequency.

Let me explain:

-t.maxfps=0, r.vsync=1, SD frame limiter disabled, 60Hz refresh.

Every CPU core frequency around 1.6GHz = stutter as seen above.

-t.maxfps=0, r.vsync=0, SD frame limiter enabled, 60Hz refresh.

Same as above

-t.maxfps=60, r.vsync=0, SD frame limiter disabled, 60Hz refresh.

Every CPU core set to around 2.5-2.7 GHz, a lot of stutters and uneven frame pacing despite showing 60 fps all the time, completely unplayable experience.

-t.maxfps=0, r.vsync=1, SD frame limiter disabled, 60Hz refresh. CPU frequency set manually to 3.5GHz

This is the best outcome, framerate is smoother, there are some spikes still but fewer.

Edit:

Today I tried to disable RHIThread and see what happens

Commands I used:

r.vsync=1  
r.GTSyncType=2  
r.OneFrameThreadLag=1  
rhi.SyncSlackMS=10  
rhi.SyncInterval=1  
r.rhicmdbypass=1

no manual CPU settings on Steam deck

Also on game run in bp execute command:

r.RHIThread.Enable 0

This is the result of good 16.7ms frame:

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/8/0/a/80ae9b689de082501a2cbd7ce275ece3515f8632.png)

And bad 31.4ms frame:

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/f/a/5/fa5f4c1a7abfcdbb3cc6bb1879e8d76dbd55aca2.png)

now everytime the game stutter D3D12\_Present takes a lot of time.

---

<div class="post-metadata">

**Author:** ![Xyrt2346](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Xyrt2346](https://forums.unrealengine.com/u/Xyrt2346)\
**Post date:** [October 18, 2025, 6:02pm UTC](https://forums.unrealengine.com/t/question-about-optimizing-for-steam-deck-and-rhi-translate/2666322/3 "2025-10-18T18:02:41Z")

</div>

I think I found the solution that works for me at least for now.

Commands:

r.Screenpercentage=100  
t.maxfps=0  
r.vsync=1  
r.GTSyncType=0  
**r.OneFrameThreadLag=0**  
rhi.SyncSlackMS=0  
rhi.SyncInterval=1  
r.rhicmdbypass=0

r.OneFrameThreadLag=0 makes the biggest difference. On 1 the game still stutter and on 0 its finally running smooth on steam deck. The downside is a little lower fps when unlocked, its mostly visible on my PC ~350→~260, on steam deck ~90→~75, but as long as I can lock to stable 60fps I’m happy with it 🙂

Now Frametime Graph looks like this:

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/8/e/8/8e8e3ca6a7cf8bcb6f0932344dd3171f93d7d8f0.png)

and one random frame:

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/f/4/4/f44f238bead7ea43205f00aadee46377bc895ea1.png)

Still I don’t think its the best solution, because from what I can see now the game uses less GPU power/resources hence lower fps. If anyone have better solution I’d gladly hear it.
