Progress update on High End U1
#1
Havn't really reported much about the progress of High End U1. Mainly this next revision is a re-write of the API service (the backend), and re-engineering it to be more asynchronous. The work involved is quite heavy (I really under-estimated the scope of this change) but it's progressing forward I guess.

In the past I'm using cpprestsdk as the library, but in HE U1 this will be replaced with something called Qt (pronounced Cute). This library can do what cpprestsdk do, and more. And that "more" bit is where I under-estimated the time as migrating the code took longer than expected.

The end result is something that's better, but it runs at a higher memory footprint as everything is more complex. I do not know if it's a pro and con at this stage but at this stage because of the way Qt works, the service should be very preempt-able and should work better in a RT kernel.

One added feature is the addition of tests, 
Code:
test project /home/snakeoil/src/operating-system/.rest_build/tests
  Test #1: service_system
  Test #2: service_database
  Test #3: service_library
  Test #4: service_players
  Test #5: service_version
  Test #6: service_os

Total Tests: 6
And this is something that don't exist before. In the future I will also add a test to ensure the players installation continue to work (in new updates). Basically the tests allow me to establish a "baseline" and it will improve over time.

With the introduction of Qt, it also means it's possible to have a graphical (or text) UI to control the Snakeoil machine (independent of the WebApp). I don't know whether to go with a text interface or a graphical one at this stage. In theory a graphical one is more preempt-able but the cost again is more memory is used. And because I'm using Qt now, it's possible to write dedicated applications (on desktops and mobiles) that can interact directly with the Snakeoil machine.

And perhaps, Snakeoil will have it's own player in the future.

Sounds exciting? Just unsure how long this will take.
Snakeoil Operating System - Music, your way!
[-] The following 4 users Like agent_kith's post:
  • petemac110, Valery, hkphantomgtr, Snoopy8
Reply

#2
Thank you for the update.  I will be looking forward to finding out whether the Qt technology change will deliver better SQ. 

Rather than an App, prefer to see an even simpler interface (& installation) with fewer options that allows novices to get going without having to reach out for help.
Reply

#3
v1.4.0 sounds really good already, just cannot play mp3 file... (I have many demo songs, mp3 so also important for me), hope U1 can solve this issue.
[-] The following 1 user Likes cenz's post:
  • vinaymoturi
Reply

#4
(12-Feb-2025, 10:03 PM)cenz Wrote: v1.4.0 sounds really good already, just cannot play mp3 file... (I have many demo songs, mp3 so also important for me), hope U1 can solve this issue.

Probably not in U1.. That have to be in U2. Can you send me a MP3 over the email? You can find the support email address when you generate a diagnostic file.
Snakeoil Operating System - Music, your way!
Reply

#5
(12-Feb-2025, 11:01 AM)Snoopy8 Wrote: Thank you for the update.  I will be looking forward to finding out whether the Qt technology change will deliver better SQ. 
That will have to wait I guess. Certain aspects of the API are running way faster (> 1 s on the old vs sub 100 ms in Qt). Everything is more async and I guess we can tweak it by putting it into a lower priority or something and that should work really well (in theory).

(12-Feb-2025, 11:01 AM)Snoopy8 Wrote: Rather than an App, prefer to see an even simpler interface (& installation) with fewer options that allows novices to get going without having to reach out for help.
That will come "externally" so to speak, via Ventoy and a cloud-init script. Still a while away from that. I just might have to setup something and have guys help me on documentation, otherwise it'll just be too time consuming and I can't stay unemployed forever (no lottery winnings to support this currently unemployment lifestyle of mine).
Snakeoil Operating System - Music, your way!
[-] The following 3 users Like agent_kith's post:
  • petemac110, Snoopy8, hkphantomgtr
Reply

#6
(14-Feb-2025, 04:38 PM)agent_kith Wrote: I just might have to setup something and have guys help me on documentation, otherwise it'll just be too time consuming and I can't stay unemployed forever (no lottery winnings to support this currently unemployment lifestyle of mine).
Once you have updated the technology, a few of us will update the Wiki, in particular the install process. You will of course, need to review what we write...
[-] The following 1 user Likes Snoopy8's post:
  • petemac110
Reply

#7
(14-Feb-2025, 04:23 PM)agent_kith Wrote:
(12-Feb-2025, 10:03 PM)cenz Wrote: v1.4.0 sounds really good already, just cannot play mp3 file... (I have many demo songs, mp3 so also important for me), hope U1 can solve this issue.

Probably not in U1.. That have to be in U2. Can you send me a MP3 over the email? You can find the support email address when you generate a diagnostic file.

Email sent, please check attached mp3 file  Thanks thanks
[-] The following 1 user Likes cenz's post:
  • agent_kith
Reply

#8
Interesting observations:

This is the memory footprint of the old API (using cpprestsdk)
   
This is the memory footprint of the next API server (using Qt)
   

140 MB vs 3.5 MB and peak of 206 vs 16.6.  Qt is overwhelming better somehow.... 

This is very likely caused by a bug in the old API server and that is fixed in the Qt rewrite. Still only about 80 - 90% complete only though. Sad
Snakeoil Operating System - Music, your way!
[-] The following 4 users Like agent_kith's post:
  • petemac110, hkphantomgtr, Valery, Snoopy8
Reply



Bookmarks



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
Progress update on High End U1
Last Post: agent_kith
17-Feb-2025 05:32 PM
» Replies: 7
» Views: 455
Snakeoil OS 1.4 problem with Squeezelite...
Last Post: mloutfie
14-Feb-2025 07:00 AM
» Replies: 14
» Views: 567
Snakeoil 1.4.0 (High End)
Last Post: hkphantomgtr
11-Feb-2025 09:07 AM
» Replies: 60
» Views: 3468
fw: a letter to request Album Player(gen...
Last Post: clark8888
08-Feb-2025 03:44 PM
» Replies: 3
» Views: 489
SQ difference - Raspberry Pi vs x86_64?
Last Post: Snoopy8
06-Feb-2025 08:46 AM
» Replies: 13
» Views: 622
Using Ubuntu low latency & real time ker...
Last Post: agent_kith
05-Feb-2025 02:19 PM
» Replies: 9
» Views: 329
Can't get Roon bridge or UPNP renderer t...
Last Post: agent_kith
05-Feb-2025 02:12 PM
» Replies: 8
» Views: 179
Music Players missing
Last Post: justme
31-Jan-2025 01:07 PM
» Replies: 2
» Views: 95
My Snakeoil-powered system
Last Post: petemac110
29-Jan-2025 03:46 AM
» Replies: 4
» Views: 473
Question about RAM Disk
Last Post: agent_kith
28-Jan-2025 10:01 AM
» Replies: 6
» Views: 156

[-]
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-2025. Theme © Melroy van den Berg.