Jump to content
  • 0
Oblio

Bodhi - Real Time Kernel?

Question

Hello Community,

 

I have been attempting to setup a DAW on my Bodhi system and have been reading about using a real time kernel or some type of "overlay" - does anyone have experience with this and does Bodhi support it?  Playing with the kernel is not something I do on the regs.

 

That said, basically I'm experiencing a fair amount of Xruns in Qjackctl and am trying to eliminate them.  There are about 10k different "opinions" for things to try from adjusting buffers, sample rate, to not using USB 3.0 ports with USB 2.0 interfaces, to running a real time kernel, locking out memory, setting pulse audio not to run, routing jack through ALSA, etc, etc, etc....nothing very concrete I am afraid. 

 

Any suggestions would be phenomenal!  Thank you all!

Share this post


Link to post
Share on other sites

8 answers to this question

Recommended Posts

  • 0

If you search the package manager you will find all the kernel options Ubuntu provides there - including builds with "real time" enabled.

Share this post


Link to post
Share on other sites
  • 0

A real time kernel is not necessary to avoid xruns. Go to

 

kernel.ubuntu.com/~kernel-ppa/mainline/

and download a fairly recent low-latency kernel. Real time kernels are not listed there since a long time ago because they are used only for very specific purposes, music production is not currently one of them.

  • Like 1

Share this post


Link to post
Share on other sites
  • 0

Is this something safe/practical to do?  How likely is this to break my current setup?  I don't really have much experience messing with kernels beyond making sure I am up to date...

Share this post


Link to post
Share on other sites
  • 0

No need to use a ppa IMHO. Bodhi ships with a LTS kernel 4.4.0-36. The same longterm supported kernel has a lowlatency variant in the repos. The most recent of those can be installed easily:

sudo apt-get install linux-image-4.4.0-59-lowlatency

Reboot and your grub will show this kernel as first choice. Try it and test it out, your previous kernel will still be available and your setup won't change. But risks are that some candies not work as expected as a stock Bodhi uses the extra - generic kernel version. Again, no harm done.

Whenever you feel the need to return to the "old" kernel you only need to reboot and use grub (maybe you need to look into the advanced line) and boot into the earlier kernel. In case the new one does not please you it is easy to remove it, as long as you are not running it.

 

Enjoy,

Charles

  • Like 1

Share this post


Link to post
Share on other sites
  • 0

Thank you, Charles - I'll give that a try tonight.  Would you recommend keeping the "old" kernel regardless, or if I am satisfied, remove it?

Share this post


Link to post
Share on other sites
  • 0

My $0.005 (My lack of knowledge keeps my opinion from being worth the typical 2 cents.). Keep the other kernel for a backup. It is a handful of MB in size. If you don't have the spare space on your system for the other kernel, I would imagine you are in need of more storage space anyway. :)

  • Like 1

Share this post


Link to post
Share on other sites
  • 0

My $0.005 (My lack of knowledge keeps my opinion from being worth the typical 2 cents.). Keep the other kernel for a backup. It is a handful of MB in size. If you don't have the spare space on your system for the other kernel, I would imagine you are in need of more storage space anyway. :)

That sounds like a solid!  Thank you for the feedback!

Share this post


Link to post
Share on other sites
  • 0

Update!

 

An interesting thing is that I was suspecting a bottleneck in my system's performance due to running a powerful system but using integrated graphics...now that I have installed a video card, like magic, my XRuns are gone!

 

I was able to play guitar through Guitarix for roughly an hour last night with nary an XRun!

 

There is some chance that my XRuns were related to the segfault issue, but I'm not thinking so as I wouldn't be actively moving/resizing windows when the XRuns would occur.

 

Happy Happy!

  • Like 1

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×