RetroArch 1.22.2 Using High GPU% When Paused & In Background

So ive been using RA for over a decade and I dont remember this being an issue before but maybe it just want causing issues in the past for me. However RA is using nearly 20% of my 5070 while the game is paused and in the background with the pause when menu is active and pause when in background both on.

Whats the point of pausing if its going to continue to use huge chunk of the GPU like that? What is it even trying to render? How do I get this to use 0-2%?

I was able to get it to around 8% by forcing it to window mode and fully minimizing it.

This is still ridiculous though. It should be doing absolutely nothing when minimized paused and in menus. Why is it trying to render anything when it cannot even be seen?

Is there a setting to force fps to zero when not focused? This is how pause should work or so I thought.

RA does not respect “forced” caps via the control panel either.

I tested on my computer and I am getting in background using about 18% of my CPU

Don’t Know IF that is normal or not

It seems to be normal if you have shaders going and highly bad. I cannot believe this is still a thing this far into development. When you have the game in the background why is it trying to hard to continue rendering everything? It should lower FPS to 1 or freeze rendering. This is awful.

I am not using any Shaders

Was both in-Game in in the menu

Not even using shaders and your GPU is using that much in the background for RA?

This seems like an issue. I assumed for me its becuse I have a heavy shader going, but when this stuff is in the background and paused it should be using nothing. This causes issues.

1 Like

When content is paused, shaders still go on. This is apparently some very deep architectural issue that can’t easily be fixed. It’s actually bad because there is no deterministic FrameCount, i.e. the number of frames rendered by the core does not equal the number of frames the shader sees when you pause.

Is this happening with all video drivers or just a specific one e.g. D3D12?

I’m having some odd performance issues the past month or so as well that I don’t remember from before (I run stable latest and update my cores regularly). So it seems to happen every now and again if I do alt-tab to something else, then alt-tab back to RA. It will suddenly shoot up in memory usage (not GPU for me). We are talking about going from sub 1gb to 16gb of memory and makes everything lag, it doesn’t seem to end and I’m forced to kill it in the task manager. I mostly play PS1 games using the mednafen core, so not sure if its specific to that or not. Again, mine is the RAM usage so could be completely different thing.

2 Likes

That’s strange, I just launched it with a game, the shaders are enabled, it’s not using any resources, I also have version 1.22.2 I’m using a GTX 1060 with 16GB of RAM

If you guys want to narrow down this problem I suggest including more details:

  • RA version
  • Driver
  • Core
  • Shader preset
  • Screen resolution and refresh rate
  • Whether you have VRR on or not
  • Video card

CPU%, GPU%, memory usage while paused and in background

None of the tabs your showing are for the GPU usage. You need to show that tab.

1 Like

This is not as difficult as you say. You just stop the rendering pipeline based on a condition. Its literally a few lines of code you can do the same thing in almost any game that can be moded and i have never seen a graphical related API that doesnt have countless ways to go about how its done.

Pause isnt stopping rendering its just pausing the game emulation.

RA version: 1.22.2
Driver: Ozone
Core. SNES9X 
Shader preset: Mega Bezel
Screen resolution and refresh rate: 4k 60
Whether you have VRR on or not: Off
Video card: 5070

RA is trying to render the shader regardless of if youre in menus or the emulation itself is in a paused stat. RA is not treating graphical rendering the same way as emulation and the rendering is never paused. Video card nor changing the shader should be relevant. It should be at 0-1% in a paused state reguardless. It should be no different from having no game or core loaded.

1 Like

I don’t have that option on the 1060, however it doesn’t use much on my graphics card The problem is that Mega Bezel uses a lot of resources; try a simple shader and you’ll surely see the difference.

Never mind my previous reply… I tested this on my Linux system and noticed something related. As soon as I start RetroArch without any game or core loaded in, its using up 11% of my GPU… in the main menu. If i click a submenu in RetroArch, in example information or any other, then it drops to 3%.

1 Like