DerKoun / bsnes-hd

bsnes fork that adds HD video features
GNU General Public License v3.0
624 stars 35 forks source link

High CPU Consumption on Linux #122

Open Siaok opened 1 year ago

Siaok commented 1 year ago

Tell me if it`s a CONFIG problem

I couldnt find anything that would decrease this issue Whenever i boot up a game, my CPU usage spikes to a 100% (in the process manager, it consume up to 40% to 50%) i the game runs kind of fine, but my PC obviously gets slower, i dont a reason for this to happen, i use a Radeon RX 580 and a Intel Core i5, and i just hope that if this is a bug, it gets fixed, or somebody tells me how to fix it, so, please help me.

DerKoun commented 1 year ago

I don't think this is a known issue. Does it happen at default settings? Do you use the standalone version or a libretro frontend? Does it also happen with bsnes (not hd)? What are the specs of the CPU?

sol8712 commented 1 year ago

For me and my i7-3770, in Chrono Trigger with hd7 and 2x up scaling, walking around wold map, im using 30-35% of my cpu, in smaller maps in the game im using about 20-25%, i get no sound issues everything runs perfect. All around the game uses about 40% of my RTX 3060 GPU.

I dont know if this is high or low usage i guess its all relative to the person and hardware. I also played this on my GTX 970 last year with no noticeable issues i remember.

Stand alone linux Bsnes-hd Pop OS 22.04 (Ubuntu)

DerKoun commented 1 year ago

The rendering happens entirely on the CPU and my code is not that great, so it is more CPU intensive than most people will expect, especially at higher scales. I hope this will improve at some point, but I can't make promises for when or how much. On the GPU side you can try different video backends in Settings/Drivers/Video/Driver. That may also help with CPU a bit, maybe. Also you could try RetroArch instead of standalone.