We have moved! This forum is now read only. (June 03)

New community website: https://community.snakeoil-os.net (June 03)

Join us in the new community by Creating a new account. (June 04)


[split] Real Time Kernels discussion
#11
Finally I've successfully installed the RT kernel in SO.  It only takes few steps and they are simple, fast, and straight forward as described in #6 https://www.snakeoil-os.net/forums/Threa...21#pid6321

After manually updating the OS (in the System tab of OS webui), and choosing the RT kernel in "Linux Kernel" of "SnakeOil" tab and saved, the RT kernel is not listed in the boot up grub menu and the previous using kernel is used instead.  


[Image: image.png][Image: image.png]

After using "update-grub2", "grub-install" and etc (I'm sorry that I was a bit confused here and need some senior user to clarify for me), then after reboot it works. The max latency is roughly 10 times less than lowlatency kernel, the rest are similar.

[Image: image.png][Image: image.png]

And for the sound, please allow me some more time.
Reply
#12
(16-Feb-2023, 10:30 PM)hkphantomgtr Wrote: After manually updating the OS (in the System tab of OS webui), and choosing the RT kernel in "Linux Kernel" of "SnakeOil" tab and saved, the RT kernel is not listed in the boot up grub menu and the previous using kernel is used install.  
You are way, way ahead of me. Not sure whether these instructions apply here?

When I built my own kernel, I used these set of instructions.
https://docs.ros.org/en/foxy/Tutorials/M...ROS-2.html
Scroll to end of article, I can see the *.deb files in my folder and use the following command to install the kernel.
sudo dpkg -i ../*.deb

Otherwise, need AK to help....
 
(16-Feb-2023, 10:30 PM)hkphantomgtr Wrote: The max latency is roughly 10 times less than lowlatency kernel, the rest are similar.
The only latency that matters is Max latency and the smaller the better = better SQ.
Reply
#13
(17-Feb-2023, 10:33 AM)Snoopy8 Wrote:
(16-Feb-2023, 10:30 PM)hkphantomgtr Wrote: After manually updating the OS (in the System tab of OS webui), and choosing the RT kernel in "Linux Kernel" of "SnakeOil" tab and saved, the RT kernel is not listed in the boot up grub menu and the previous using kernel is used install.  
You are way, way ahead of me. Not sure whether these instructions apply here?

When I built my own kernel, I used these set of instructions.
https://docs.ros.org/en/foxy/Tutorials/M...ROS-2.html
Scroll to end of article, I can see the *.deb files in my folder and use the following command to install the kernel.
sudo dpkg -i ../*.deb

Otherwise, need AK to help....
 
(16-Feb-2023, 10:30 PM)hkphantomgtr Wrote: The max latency is roughly 10 times less than lowlatency kernel, the rest are similar.
The only latency that matters is Max latency and the smaller the better = better SQ.

Sir, from your set of instructions, I think you are the one way, way ahead of me.

Yesterday I didn't use any of these commands to install RT kernel, ie. only "PRO".  And only obstacle I've hit was the grub2.  As being a layman to Linux, I just went thru trial and errors.  In my memory "update-grub2" will be enough, if not, run" grub-install" before "update-grub2" will do.

As it's already late at night after I've solved the grub2 issue, after I found mpd still can sing in every few more reboot, then I went to bed. Tongue
Reply
#14
Any real time kernel for raspbian based Snakeoil OS?
Reply
#15
(17-Feb-2023, 10:33 AM)Snoopy8 Wrote: When I built my own kernel, I used these set of instructions.
https://docs.ros.org/en/foxy/Tutorials/M...ROS-2.html
Funnily enough ROS2 is the kind of thing I'm doing right now. Not ROS2 exactly as that's done by my other colleagues, but I'm in that space still.
 
(17-Feb-2023, 06:05 PM)vinaymoturi Wrote: Any real time kernel for raspbian based Snakeoil OS?
Not as far as I know. But you can indeed do a RT kernel for Raspbian.

Will still do a RT kernel builder, but at least now there's less of a priority. I've been very busy lately (work and private wise) so hardly have time to look at things Snakeoil. Hopefully things will settle down sooner rather than later then I can get back into the development groove.
Snakeoil Operating System - Music, your way!
Reply
#16
(16-Feb-2023, 10:30 PM)hkphantomgtr Wrote: Finally I've successfully installed the RT kernel in SO.  It only takes few steps and they are simple, fast, and straight forward as described in #6 https://www.snakeoil-os.net/forums/Threa...21#pid6321

After manually updating the OS (in the System tab of OS webui), and choosing the RT kernel in "Linux Kernel" of "SnakeOil" tab and saved, the RT kernel is not listed in the boot up grub menu and the previous using kernel is used instead.  


[Image: image.png][Image: image.png]

After using "update-grub2", "grub-install" and etc (I'm sorry that I was a bit confused here and need some senior user to clarify for me), then after reboot it works. The max latency is roughly 10 times less than lowlatency kernel, the rest are similar.

[Image: image.png][Image: image.png]

And for the sound, please allow me some more time.

Look, I still neither got enough time nor energy for few listening hours.  Please let me get back to you guys later, hopefully will be this weekend.
Reply
#17
(15-Feb-2023, 12:57 PM)Snoopy8 Wrote: Step 1 : sign up to Ubuntu Pro, if required, and login
https://ubuntu.com/pro 

Step 2 : Enable Ubuntu Pro on instance. This link shows the steps
https://www.techrepublic.com/article/ena...u-pro/amp/
The TOKEN to use is in your Ubuntu Pro Dashboard

Step 3: Install RT kernel following steps in link previously mentioned
https://9to5linux.com/canonical-announce...ntu-kernel
I managed to go through whole process using the links above and these are the steps I used.

Sign up to Ubuntu Pro, if required, and login
https://ubuntu.com/pro 

On your instance, install Ubuntu Pro
sudo apt-get install ubuntu-advantage-tools

Next, verify the installation
pro status

The command will report back that the machine is not attached to a Ubuntu Pro subscription. Fix that with:
sudo pro attach TOKEN
The TOKEN to use is in Ubuntu Pro, Your subscriptions.  You should have up to 5 free tokens.

With the machine attached, you should then enable the Extended Security Maintenance updates (which is currently in beta) with:
sudo pro enable esm-apps --beta

You can then check for any available security patches with the command:
apt list --upgradable | grep apps-security

Install RT kernel
sudo pro enable realtime-kernel

Use browser to bring up Snakeoil, SnakeOil/Linux kernel tab, select the Real time kernel and reboot machine.

----
Have yet to configure my 2nd SnakeOil instance to match my first, so no listening comparisons for a while.
Reply
#18
(21-Feb-2023, 12:45 PM)Snoopy8 Wrote:
(15-Feb-2023, 12:57 PM)Snoopy8 Wrote: Step 1 : sign up to Ubuntu Pro, if required, and login
https://ubuntu.com/pro 

Step 2 : Enable Ubuntu Pro on instance. This link shows the steps
https://www.techrepublic.com/article/ena...u-pro/amp/
The TOKEN to use is in your Ubuntu Pro Dashboard

Step 3: Install RT kernel following steps in link previously mentioned
https://9to5linux.com/canonical-announce...ntu-kernel
I managed to go through whole process using the links above and these are the steps I used.

Sign up to Ubuntu Pro, if required, and login
https://ubuntu.com/pro 

On your instance, install Ubuntu Pro
sudo apt-get install ubuntu-advantage-tools

Next, verify the installation
pro status

The command will report back that the machine is not attached to a Ubuntu Pro subscription. Fix that with:
sudo pro attach TOKEN
The TOKEN to use is in Ubuntu Pro, Your subscriptions.  You should have up to 5 free tokens.

With the machine attached, you should then enable the Extended Security Maintenance updates (which is currently in beta) with:
sudo pro enable esm-apps --beta

You can then check for any available security patches with the command:
apt list --upgradable | grep apps-security

Install RT kernel
sudo pro enable realtime-kernel

Use browser to bring up Snakeoil, SnakeOil/Linux kernel tab, select the Real time kernel and reboot machine.

----
Have yet to configure my 2nd SnakeOil instance to match my first, so no listening comparisons for a while.

Thanks, pal.  

Look, maybe as I install from the ubuntu installer, in my memory, this line is not needed.
 
>> sudo apt-get install ubuntu-advantage-tools

Please correct me if I'm wrong. 

BTW, how is the sound?
Reply
#19
(21-Feb-2023, 09:19 PM)hkphantomgtr Wrote: Look, maybe as I install from the ubuntu installer, in my memory, this line is not needed.
 
>> sudo apt-get install ubuntu-advantage-tools

Please correct me if I'm wrong. 
Installing Ubuntu Pro and attaching the machine can be done within the 22.04 installation process.

However, I still had to use this command, even after I installed Ubuntu Pro
 
(21-Feb-2023, 09:19 PM)hkphantomgtr Wrote: BTW, how is the sound?
I think the real time 22.04 kernel sounds better than generic.

I am running 22.04 on a different box to my 20.04 SnakeOil which has my own kernel and tweaks (CamillaDSP, my own CPUsets). Until I make them as close as possible, I cannot compare 22.04 to 20.04
Reply
#20
(22-Feb-2023, 07:40 AM)Snoopy8 Wrote:
(21-Feb-2023, 09:19 PM)hkphantomgtr Wrote: Look, maybe as I install from the ubuntu installer, in my memory, this line is not needed.
 
>> sudo apt-get install ubuntu-advantage-tools

Please correct me if I'm wrong. 
Installing Ubuntu Pro and attaching the machine can be done within the 22.04 installation process.

However, I still had to use this command, even after I installed Ubuntu Pro
 
(21-Feb-2023, 09:19 PM)hkphantomgtr Wrote: BTW, how is the sound?
I think the real time 22.04 kernel sounds better than generic.

I am running 22.04 on a different box to my 20.04 SnakeOil which has my own kernel and tweaks (CamillaDSP, my own CPUsets). Until I make them as close as possible, I cannot compare 22.04 to 20.04

Alright.  Thanks for your sharing again. Shy
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  [split] Install Snakeoil OS on a USB stick cpcat 4 2,044 21-Jan-2023, 02:11 PM
Last Post: cpcat
  Interesting discussion developing over at DIY-Audio re cpu-isolation/jitter/noise etc Bromf 1 1,141 27-Sep-2022, 02:05 AM
Last Post: mkysimes
  More upsampling antics......This time with SqueezeLite mkysimes 6 4,209 05-May-2020, 07:35 PM
Last Post: mkysimes



Users browsing this thread: 14 Guest(s)
[-]
Our Sponsors
{myadvertisements[zone_4]}

[-]
Latest Threads
Android Firefox issues with forum
Last Post: agent_kith
10-Jun-2025 04:45 PM
» Replies: 21
» Views: 2167
[split] Possible To Load Snakeoil OS in ...
Last Post: Snoopy8
09-Jun-2025 06:43 AM
» Replies: 14
» Views: 1616
Snakeoil 1.4.3 (High End U3)
Last Post: hkphantomgtr
05-Jun-2025 03:58 PM
» Replies: 67
» Views: 9265
Snakeoil with Ubuntu Desktop ?
Last Post: Snoopy8
02-Jun-2025 09:38 AM
» Replies: 8
» Views: 921
Add IR remote control using Flirc USB in...
Last Post: Snoopy8
31-May-2025 03:50 PM
» Replies: 5
» Views: 674
Work In Progress: 1.4.4
Last Post: hkphantomgtr
29-May-2025 11:44 PM
» Replies: 44
» Views: 5053
SQ difference - Raspberry Pi vs x86_64?
Last Post: Snoopy8
27-May-2025 02:16 PM
» Replies: 42
» Views: 5614
Snakeoil 1.4.0 (High End)
Last Post: aabman
25-May-2025 11:35 AM
» Replies: 93
» Views: 15216
new install issues
Last Post: carlodim
23-May-2025 09:56 AM
» Replies: 42
» Views: 4622
Is this project still alive?
Last Post: agent_kith
20-May-2025 03:11 PM
» Replies: 10
» Views: 1240

[-]
SnakeoilOS Mission Statement

Our mission is to create a free to use computer OS that is easy to install, intuitive to operate and play music that will connect and engage with you emotionally.

SnakeoilOS gives you the freedom to spend more time on listening, enjoying and exploring music. Wasting time on computers is now a thing of the past! Everything is constantly evolving/improving. Please check back often for updates.

If you like this project, do show your support with a small token donation. All donations collected will be used to run this website, and for purchasing new equipment for the project.