You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With blank main.lua the lovr process consumes 12% of my CPU.
Turning off the t.modules.audio = false brings it under the 1%.
Here's the callgrind output showing how the ALSA miniaudio backend spends it's time:
Switching miniaudio backend to PulseAudio has a similar effect on CPU utilization to disabling the audio module.
I've tested the PulseAudio audio to work correctly in lovr, but this was with PipeWire which has interface for PulseAudio. I can re-test on actual PulseAudio in few days. @bjorn you mentioned some issues with PA you had before, let me know what so I can test that specifically.
Edit: above profiling is done with valgrind --tool=callgrind ./lovr . on the debug build, and visualized through kcachegrind.
The text was updated successfully, but these errors were encountered:
Strange that I'm the only one seeing this as it really heats up the laptop. I'm happy with using the PulseAudio backend, feel free to close the ticket.
With blank
main.lua
the lovr process consumes 12% of my CPU.Turning off the
t.modules.audio = false
brings it under the 1%.Here's the callgrind output showing how the ALSA miniaudio backend spends it's time:
Switching miniaudio backend to PulseAudio has a similar effect on CPU utilization to disabling the audio module.
I've tested the PulseAudio audio to work correctly in lovr, but this was with PipeWire which has interface for PulseAudio. I can re-test on actual PulseAudio in few days. @bjorn you mentioned some issues with PA you had before, let me know what so I can test that specifically.
Edit: above profiling is done with
valgrind --tool=callgrind ./lovr .
on the debug build, and visualized through kcachegrind.The text was updated successfully, but these errors were encountered: