Ubuntu – How to set up video and audio players to use realtime (or close) priority

multimediaprocess-priorityrealtime

I use raw mplayer to play video, DeaDBeeF to play audio and Skype for VoIP. Heavy CPU-consuming processes (like rendering a website in Firefox, redrawing a Java IDE window or compilation) cause disturbances in multimedia playback processes. How to overcome this? I'd agree to those CPU-consuming processes to be a bit slower if it won't disturb multimedia playback.

Best Answer

to change a running process (as mentioned above : renice -n -20 <pid>

or viva GUI

gnome-system-monitor => Processes => RightClick => ChangePriority