[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 849 21-Jan-2023, 02:11 PM
Last Post: cpcat
  Interesting discussion developing over at DIY-Audio re cpu-isolation/jitter/noise etc Bromf 1 516 27-Sep-2022, 02:05 AM
Last Post: mkysimes
  More upsampling antics......This time with SqueezeLite mkysimes 6 2,403 05-May-2020, 07:35 PM
Last Post: mkysimes



Users browsing this thread:
1 Guest(s)

[-]
Our Sponsors

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

Username/Email:


Password:





[-]
Latest Threads
Something seriously wrong with Squeezeli...
Last Post: Coacharnold
21-Apr-2024 08:28 PM
» Replies: 1
» Views: 30
MP3 Not Playing
Last Post: davem
21-Apr-2024 10:41 AM
» Replies: 4
» Views: 90
Announcing Snakeoil Measurements 1.3.0
Last Post: kees1000
13-Apr-2024 11:54 PM
» Replies: 95
» Views: 4892
LMS rebranded to Lyrion Media Server
Last Post: Bromf
07-Apr-2024 01:59 PM
» Replies: 4
» Views: 108
ZimaBoard 2x NIC, 2x SATA, 2x USB, 1x PC...
Last Post: agent_kith
26-Mar-2024 12:04 PM
» Replies: 13
» Views: 705
LMS Upgrade ?
Last Post: uglymusic
15-Mar-2024 09:14 PM
» Replies: 7
» Views: 203
Squeezebox shutdown
Last Post: TripleX
13-Mar-2024 07:34 AM
» Replies: 4
» Views: 102
Fail to install myMPD
Last Post: hkphantomgtr
03-Mar-2024 08:45 PM
» Replies: 9
» Views: 243
Intel HFI Driver Can "Save Tons Of CPU C...
Last Post: hkphantomgtr
28-Feb-2024 09:15 PM
» Replies: 0
» Views: 65
More Problems with Squeezelite in 1.3
Last Post: Coacharnold
17-Feb-2024 09:47 PM
» Replies: 2
» Views: 94

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