[split] Real Time Kernels discussion
|
Posts: 446
Threads: 23
Joined: Jan 2019
Reputation:
121
16-Feb-2023, 10:30 PM
(This post was last modified: 21-Feb-2023, 11:05 AM by hkphantomgtr.)
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.
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.
And for the sound, please allow me some more time.
Posts: 642
Threads: 37
Joined: Mar 2019
Reputation:
150
Location: Melbourne, Australia
(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.
Posts: 446
Threads: 23
Joined: Jan 2019
Reputation:
121
17-Feb-2023, 04:08 PM
(This post was last modified: 21-Feb-2023, 11:06 AM by hkphantomgtr.)
(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.
Posts: 53
Threads: 9
Joined: Jan 2021
Reputation:
6
Location: India
Any real time kernel for raspbian based Snakeoil OS?
Posts: 2,783
Threads: 178
Joined: Feb 2016
Reputation:
482
Location: Perth, WA
(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!
Posts: 446
Threads: 23
Joined: Jan 2019
Reputation:
121
(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.
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.
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.
Posts: 642
Threads: 37
Joined: Mar 2019
Reputation:
150
Location: Melbourne, Australia
(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.
Posts: 446
Threads: 23
Joined: Jan 2019
Reputation:
121
21-Feb-2023, 09:19 PM
(This post was last modified: 22-Feb-2023, 01:19 AM by hkphantomgtr.)
(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?
Posts: 642
Threads: 37
Joined: Mar 2019
Reputation:
150
Location: Melbourne, Australia
22-Feb-2023, 07:40 AM
(This post was last modified: 22-Feb-2023, 08:02 AM by Snoopy8.)
(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
Posts: 446
Threads: 23
Joined: Jan 2019
Reputation:
121
(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.
|
Users browsing this thread: |
2 Guest(s)
|
|
Welcome
|
You have to register before you can post on our site.
|
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.
|
|
|