GPU makes noises even though it shouldn't be drawing anything
Posted: Tue Dec 19, 2017 10:54 pm
Hey there,
I modified LÖVE's love.run() function such that it only calls love.draw() when a global variable called "dodraw" is true, which is then immediately set to false. This way, I can make sure that LÖVE only draws things when I want it to, thus saving resources. However, my new laptop has a somewhat loud GPU and I can actually hear it when it draws things. When I scroll in a web browser, for example, I can hear it making noises until I stop scrolling. When my LÖVE application is running, though, it is always making those noises, thus suggesting that it is always drawing something, even when nothing is actually supposed to be drawn.
Why is my GPU drawing things when I am not calling love.draw? There really shouldn't be much to draw, should there?
- ThePC007
I modified LÖVE's love.run() function such that it only calls love.draw() when a global variable called "dodraw" is true, which is then immediately set to false. This way, I can make sure that LÖVE only draws things when I want it to, thus saving resources. However, my new laptop has a somewhat loud GPU and I can actually hear it when it draws things. When I scroll in a web browser, for example, I can hear it making noises until I stop scrolling. When my LÖVE application is running, though, it is always making those noises, thus suggesting that it is always drawing something, even when nothing is actually supposed to be drawn.
Why is my GPU drawing things when I am not calling love.draw? There really shouldn't be much to draw, should there?
- ThePC007