[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!
[-] The following 1 user Likes agent_kith's post:
  • vinaymoturi
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



Bookmarks

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



Users browsing this thread:
2 Guest(s)

[-]
Our Sponsors

[-]
Welcome
You have to register before you can post on our site.

Username/Email:


Password:





[-]
Latest Threads
Howto setup resampling in Logitech Media...
Last Post: Coacharnold
18-Nov-2024 12:06 AM
» Replies: 7
» Views: 5794
Dropping Measurements, Hello High-End.
Last Post: agent_kith
26-Oct-2024 09:02 AM
» Replies: 12
» Views: 441
Very happy to have Sankeoil......! mpd w...
Last Post: run51
24-Oct-2024 05:35 AM
» Replies: 9
» Views: 1675
SO no soundcard detected - RPI Pi4 snake...
Last Post: run51
21-Oct-2024 10:55 PM
» Replies: 4
» Views: 104
download
Last Post: Snoopy8
19-Oct-2024 05:52 AM
» Replies: 1
» Views: 104
Full proces to instal snakeiol 100% work...
Last Post: audioluthier
11-Oct-2024 02:32 AM
» Replies: 9
» Views: 332
A network protocol designed for CAS
Last Post: hkphantomgtr
10-Oct-2024 09:48 PM
» Replies: 0
» Views: 84
CAS with "Single Core"
Last Post: hkphantomgtr
06-Oct-2024 08:32 AM
» Replies: 2
» Views: 116
MPD player not working
Last Post: Snoopy8
27-Sep-2024 11:54 AM
» Replies: 7
» Views: 216
LMS playing DFF files sampling rate
Last Post: Snoopy8
16-Sep-2024 07:45 PM
» Replies: 5
» Views: 149

[-]
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.


Powered By MyBB, © 2002-2024. Theme © Melroy van den Berg.