bkacjios / m-overlay

A controller input display/overlay for Dolphin
MIT License
165 stars 44 forks source link

High GPU Usage #178

Open SuperCrackBros opened 1 year ago

SuperCrackBros commented 1 year ago

Describe the bug High GPU Usage

Desktop (please complete the following information):

To Reproduce Steps to reproduce the behavior:

  1. Open game
  2. Open M'Overlay
  3. Full Screen Dolphin Game

Expected behavior Causing High GPU usage near 80% when gaming with only Melee Music & causing the game to stutter and red text to appear on dolphin.

Screenshots Task Manager 7_17_2023 12_52_30 PM

Debug console output

[DEBUG - 13:10:46] M'Overlay (2.1.2)
[DEBUG - 13:10:46] Love2D 11.4.0 - Mysterious Mysteries
[DEBUG - 13:10:46] Lua 5.1 (LuaJIT 2.1.0-beta3 - x64)
[DEBUG - 13:10:46] System: Windows
[DEBUG - 13:10:46] Renderer: OpenGL (3.3.0 NVIDIA 536.40)
[DEBUG - 13:10:46] Graphics: NVIDIA Corporation (NVIDIA GeForce RTX 4090/PCIe/SSE2)
[INFO  - 13:10:52] [DOLPHIN] Hooked
[DEBUG - 13:10:56] [DOLPHIN] Watching ram address: 0x7FFF0000 [32.00 MB]
[INFO  - 13:10:57] [DOLPHIN] Game: GALE01 revision 2
[INFO  - 13:10:57] [DOLPHIN] Loaded game config: GALE01-2
[INFO  - 13:10:57] [MEMORY] Mapped game memory structure
[DEBUG - 13:10:57] [MEMORY] [0x8046B6A5  = 0x00000000] match.info.playing = false
[DEBUG - 13:10:57] [MEMORY] [0x8046B6AE  = 0x00000000] match.info.finished = false
[DEBUG - 13:10:57] [MEMORY] [0x8043208F  = 0x00000021] player.1.select.character = 33
[DEBUG - 13:10:57] [MEMORY] [0x80432097  = 0x00000021] player.2.select.character = 33
[DEBUG - 13:10:57] [MEMORY] [0x8043209F  = 0x00000021] player.3.select.character = 33
[DEBUG - 13:10:57] [MEMORY] [0x804320A7  = 0x00000021] player.4.select.character = 33
[DEBUG - 13:10:59] [MEMORY] [0x80479D30  = 0x00000028] scene.major = 40
[DEBUG - 13:10:59] [MEMORY] [0x80479D30  = 0x00000001] scene.major = 1
[DEBUG - 13:10:59] [RANDOM] Obtained seed "0x64B5A053" from the system time
[INFO  - 13:10:59] [MUSIC] Found 5 songs in "Melee/Menu Music"
[INFO  - 13:10:59] [MUSIC] Playing track #1 for menu ("Melee/Menu Music/Menu 2 (Melee).flac")

Additional context

bkacjios commented 1 year ago

If you run melee and m-overlay and enter the konami code via your controller (up, up, down, down, left, right, left, right, B, A, start) some rendering debug info should start to display. Mind sending a screenshot of that? Use the d-pad for up/down/left/right by the way.

SuperCrackBros commented 1 year ago

If you run melee and m-overlay and enter the konami code via your controller (up, up, down, down, left, right, left, right, B, A, start) some rendering debug info should start to display. Mind sending a screenshot of that? Use the d-pad for up/down/left/right by the way.

Screenshot 2023-07-17 15-51-35

bkacjios commented 1 year ago

360 FPS is odd. Is your monitor 360hz by chance?

SuperCrackBros commented 1 year ago

360 FPS is odd. Is your monitor 360hz by chance?

Yes. Capped it at 144hz but still get the issue which is also odd.

bkacjios commented 1 year ago

Strange. I have a 144hz monitor, NVIDIA GTX 3070 TI (with the same driver version as you) and task manager shows m-overlay only using around 3% to 5% GPU. The debug render info looks pretty normal to me as well. I'm really not sure what's going on here.. Does closing OBS or disabling music help at all?

image

SuperCrackBros commented 1 year ago

Strange. I have a 144hz monitor, NVIDIA GTX 3070 TI (with the same driver version as you) and task manager shows m-overlay only using around 3% to 5% GPU. The debug render info looks pretty normal to me as well. I'm really not sure what's going on here.. Does closing OBS or disabling music help at all?

image

Still bugging out idk? Even reset PC to fix it earlier... Disabled Music too. Used the portable version and does the same thing.

Screenshot 2023-07-17 163017

bkacjios commented 1 year ago

I'm curious if the new NVIDIA driver that just dropped (536.67) helps at all? I just have to assume this a 40 series issue, since both my 3070 and 2070 work fine.

SuperCrackBros commented 1 year ago

Updated driver & still high gpu usage atm