Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

How can I increase the priority of VLC to some realtime level? The realtime setting inside of VLC does not seem to have any effect. I figure it nowerdays (on a modern Linux system, not a from scratch system) involves rtkit.

I have already tried using vlc-wrapper and setting this to +s.

Plus I figure that most of the time my system is "sluggish", this involes heavy memory usage. Is there any way to priorize memory for VLC?

Any pointers?

share|improve this question
Can you expand on heavy memory usage? I have a hard time believing that memory access would is the weakest link slowing you system down. Unless you run out of memory and are using swap. – Hennes Jun 8 '12 at 17:12
I have had some issue with VLC lagging out on an older computer. Increasing buffersize solved it for me – Bruno9779 Jun 8 '12 at 17:35
It's only happening when e.g. a web browser eats a lot of memory. So yes, unless I'm multitasking it is fine. No issues when just watching TV. And yes, the computer may need to swap, I only have 1 GB, and today web browsers are darn memory hungry. If I weren't multitasking I would not need to increase the priority. But I want VLC to get priority over all other stuff (and no, I don't want to put "nice" in front of every other command). – Anony-Mousse Jun 8 '12 at 19:48

Have you tried changing nice level with the nice command?

nice -0 vlc

if it works you can put it in a bash-script and create an alias to vlc, so it will always start with nice 0

share|improve this answer
You can't go above 0 with this, unless you are root. And running all this as root is not recommended. Which is exactly what rtkit is meant to solve. – Anony-Mousse Jun 8 '12 at 19:45

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.