well im not 100% on the when, but when im playing OSU, at seemingly random times the audio will sort of… “break”? in-game, in the menu…
similarly i was on call with a friend on discord, all normal, then loaded a pretty heavy game, and the exact same breaking was happening, and my friends voice was robotic and my game sounds crackily. not 100% of the time. sometimes it felt like it was responding to heavier demands of the game.
never used to happen. and today it happened just when listening to music when first loading it up! so i godda fix it. It’s not my hardware. this does not happen with my amp/speakers are connected to my CD player or phone. never has on my pc before either.
woha, thats some sherlock-level looking magic to me.
anyway.
at first i thought this solved it, as osu played without issues. but it can do that sometimes.
but after launching the demanding game, which has the unfortunate disposition of being a Silver rated on steamProton (so does suffer anyway) and going back on call, my friends voice is still broken 90% of the time.
The skips in frames and jittering are almost always consistent with audio glitches. but it does not explain why the independent discord sounds are messed up, right?
thank you for being so prompt! amazing
Well my guess is just that the “demanding game” runs at normal priority 0 like discord. Now the scheduler handles them both equal. If not enough cpu is left, then it will do such things… Soo put discord on a higher priority. Also note that running a game with gamemoderun could have an negative effect on discord.
i see okay doke. I didnt super understand you explanation of “nice” and whatnot above. How would I change priority of different applications from here?
$ nice --help
Usage: nice [OPTION] [COMMAND [ARG]...]
Run COMMAND with an adjusted niceness, which affects process scheduling.
With no COMMAND, print the current niceness. Niceness values range from
-20 (most favorable to the process) to 19 (least favorable to the process).
Mandatory arguments to long options are mandatory for short options too.
-n, --adjustment=N add integer N to the niceness (default 10)
--help display this help and exit
--version output version information and exit
NOTE: your shell may have its own version of nice, which usually supersedes
the version described here. Please refer to your shell's documentation
for details about the options it supports.
GNU coreutils online help: <https://www.gnu.org/software/coreutils/>
Report any translation bugs to <https://translationproject.org/team/>
Full documentation <https://www.gnu.org/software/coreutils/nice>
or available locally via: info '(coreutils) nice invocation'
However… you can set it anytime in your favorite taskmanager, just like on Windows.
okay doke thank you.
not… still not sure how i would priotize one application over the other with nice, or what we done by manually setting a nice value within the pipewire settings though