DenchiSoft / VTubeStudio

VTube Studio API Development Page
MIT License
861 stars 80 forks source link

80-90% GPU usage when playing mildly graphics intensive games #87

Open cowsLUL opened 2 months ago

cowsLUL commented 2 months ago

image GPU: 2047MB NVIDIA GeForce GTX 1660 Ti one log: https://pastebin.com/u8V6zQcd so basically if a game gets to about 50% usage vtube studio will get stuck on hogging 80-90% of the GPU even when the game goes to like a main menu I tried everything and nothing works, I replicated this by accident when playing lollipop chainsaw, I thought it was a game but I guess once there's a bunch of stuff on the screen to bump the GPU usage up it triggers this happens with any modernish game even on low settings someone said that it's Unity being weird about resources messing with priorities in task manager or setting the GPU priority didn't do anything neither did turning off physics or switching models

Vtube studio's FPS will tank to like 8-10 (it shows it in the log right before I closed it) however the games are usually OK with a moderate FPS drop

cowsLUL commented 1 month ago

oh yeah I've read other logs before, it wouldn't say anything interesting just that it's recording the FPS being really low

YatsukiRenka commented 1 month ago

I encountered the same issue with the following steps:

  1. Launch OBS.
  2. Start Vtube Studio.
  3. Start the game.
  4. Begin streaming.

At this point, Vtube Studio consumes about 10% GPU. However, once I click to start the game and enter the game scene, the GPU usage of Vtube Studio jumps to 60%-70%. After closing the game, the stream, and OBS, Vtube Studio still occupies 60%-70% of GPU resources.

I have tried the following solutions, but none have improved the situation:

  1. Using the Spout2 plugin.
  2. Lowering the model resolution and frame rate.
  3. Changing NVIDIA Broadcast's face tracking to the default level 4.
  4. Decreasing the game resolution and locking the frame rate at 60 fps.
  5. Roll back the graphics card driver.

My computer specifications :

CPU: i5-12600KF GPU: NVIDIA RTX 4060Ti 8GB RAM: 64GB DDR5 6000 System: Windows 11 23H2 22631.4169

cowsLUL commented 1 month ago

I MIGHT have figured out what causes this maybe I updated my model in live2d Cubism and noticed that it was chugging my GPU in the editor until I closed and opened and saved it, forgot what I did but it was something like that then once I exported it to live2d studio the next two streams were completely fine, no high GPU usage even when the game was demanding