Request For Comments: Snakeoil 1.0.0
|
Posts: 47
Threads: 2
Joined: Feb 2017
Reputation:
9
Location: Russia, Saint-Petersburg
It would be nice to add the ability to specify additional mpd & alsa options:
audio_buffer_size
buffer_before_play
buffer_time
period_time
Additional for mpd_dsd_rt:
player_priority
decoder_priority
Sorry for my English
[GA-H170M-D3H + G4400 + SOtM tX-USB] > Ortofon DGI-K2 Silver > LKS Audio MH-DA003 USB Upgrade > Audioquest Colorado > Audio Note P2SE > Audio Note AN-B > Tannoy D500
Posts: 2,783
Threads: 178
Joined: Feb 2016
Reputation:
482
Location: Perth, WA
(18-Apr-2017, 09:07 PM)m@jor Wrote: It would be nice to add the ability to specify additional mpd & alsa options:
audio_buffer_size
buffer_before_play
buffer_time
period_time Wonder how easy it is to implement this function. Will think about it and get back to you.
(18-Apr-2017, 09:07 PM)m@jor Wrote: Additional for mpd_dsd_rt:
player_priority
decoder_priority In a way the Snakeoil tab already allow this feature. When you set a process priority, it is applied to the main program as well as any forked threads. But you cannot specify two different levels like you can with MPD. Again I'd have to think of the best way to do this.
Likely not going to make it to the 1.0.0 release, but it will be in a future firmware update.
Snakeoil Operating System - Music, your way!
Posts: 47
Threads: 2
Joined: Feb 2017
Reputation:
9
Location: Russia, Saint-Petersburg
20-Apr-2017, 12:14 AM
(This post was last modified: 20-Apr-2017, 12:15 AM by m@jor.)
(19-Apr-2017, 07:44 AM)agent_kith Wrote: When you set a process priority, it is applied to the main program as well as any forked threads.
Does not work for mpd-dsd-rt. mpd-dsd-rt sets priorities from the file mpd.conf, section realtime_option
It is usually desirable to set install the player_priority higher than the decoder_priority
I will still edit mpd.conf.template
Sorry for my English
[GA-H170M-D3H + G4400 + SOtM tX-USB] > Ortofon DGI-K2 Silver > LKS Audio MH-DA003 USB Upgrade > Audioquest Colorado > Audio Note P2SE > Audio Note AN-B > Tannoy D500
Posts: 2,783
Threads: 178
Joined: Feb 2016
Reputation:
482
Location: Perth, WA
(20-Apr-2017, 12:14 AM)m@jor Wrote: Does not work for mpd-dsd-rt. mpd-dsd-rt sets priorities from the file mpd.conf, section realtime_option It should, at least with the latest firmware, MPD forked at least two threads - one is playback, the other is decoding. And the set priority script will also apply to the forked threads.
(20-Apr-2017, 12:14 AM)m@jor Wrote: It is usually desirable to set install the player_priority higher than the decoder_priority
I will still edit mpd.conf.template I find running them all in real time is best. But yes, editing the template will work also.
Snakeoil Operating System - Music, your way!
Posts: 47
Threads: 2
Joined: Feb 2017
Reputation:
9
Location: Russia, Saint-Petersburg
(20-Apr-2017, 07:41 AM)agent_kith Wrote: It should, at least with the latest firmware, MPD forked at least two threads - one is playback, the other is decoding. And the set priority script will also apply to the forked threads.
Here are all the threads of the mpd-dsd-rt
1407 - main process. Priority is set from the "Snakeoil" tab
1411 - decoder thread. Priority is set from the mpd.conf
1416 - player thread. Priority is set from the mpd.conf
1408 and 1410 - Unknown to me threads
Sorry for my English
[GA-H170M-D3H + G4400 + SOtM tX-USB] > Ortofon DGI-K2 Silver > LKS Audio MH-DA003 USB Upgrade > Audioquest Colorado > Audio Note P2SE > Audio Note AN-B > Tannoy D500
Posts: 2,783
Threads: 178
Joined: Feb 2016
Reputation:
482
Location: Perth, WA
(20-Apr-2017, 07:23 PM)m@jor Wrote: (20-Apr-2017, 07:41 AM)agent_kith Wrote: It should, at least with the latest firmware, MPD forked at least two threads - one is playback, the other is decoding. And the set priority script will also apply to the forked threads.
Here are all the threads of the mpd-dsd-rt
1407 - main process. Priority is set from the "Snakeoil" tab
1411 - decoder thread. Priority is set from the mpd.conf
1416 - player thread. Priority is set from the mpd.conf
1408 and 1410 - Unknown to me threads
ah. mpd-dsd-rt will override that. Older versions of MPD should honour the set priority part of the snakeoil. But then again it's been a while since i last tested this. Will re-check later once I finish coding up the web app.
Snakeoil Operating System - Music, your way!
Posts: 2,783
Threads: 178
Joined: Feb 2016
Reputation:
482
Location: Perth, WA
The current Snakeoil OS web app has 3 places for you to upload files to install stuffs:
1) One place to upload the firmare and module
2) Another place to upload the system kernel
3) And for activated users, yet another place to upload the deb file you want to install!
You guys are too polite to say this - but the current interface sucks! Introducing the new user interface.
No longer are there 3 different areas that you have to specifically know what they are. Upload 'em all into this box and just let SnakeoilOS handle it for you. Supporting modern HTML5 features like drag n drop - drag the files from your Explorer (or Safari?) browser and drop them into the area marked by the dashed borders. The upload and install will begin automatically.
Snakeoil Operating System - Music, your way!
Posts: 2,783
Threads: 178
Joined: Feb 2016
Reputation:
482
Location: Perth, WA
A good to have feature I guess, the new web-app will notify you (once every 24 hours) if there is a new firmware update. (See the red on yellow text here). Click on that yellow box will bring you to the URL to download the firmware.
This and background task execution means all the difficult stuffs are now crossed off. Can almost see the finish line now.
Snakeoil Operating System - Music, your way!
Posts: 2,783
Threads: 178
Joined: Feb 2016
Reputation:
482
Location: Perth, WA
08-May-2017, 08:42 AM
(This post was last modified: 20-Feb-2020, 06:40 PM by agent_kith.
Edit Reason: Updated tracker links from Mantis to gitlab
)
Jigged some of the tasks around (Delayed some of the harder stuffs till the next release). It's cheating I know, but now progress has officially passed 80% ( Currently at 81%).
Five more things to finish, and we're officially there! Not too bad in 2 months I must say, when really I'm spending around an hour or so a day on coding this new web application!
Did burn my entire weekend on this though, so that's around 30 hours of development in the past two days. Mainly dwelled on the re-design and re-invent how the "music library" tab is organised. Hopefully it's less cluttered, and more intuitive compared to the old system.
Anyway, need your help. Go to this website, and browse around:
This is the new web-interface of the NextGen Snakeoil Web application. Please report back with pictures if there any issues/quirks. Try it with all the devices you have - e.g. Computers, tablets, mobiles/handphones. And different browsers if possible. From the biggest display you have, to the tiniest one.
I'm trying to design a UI without the need for documentation. This is the first time you're exposed to this new user interface, and you should just be able to use it straight away. If there are any objects you do not understand, or if some aspect is confusing to you. Please let me know, and I'd improve that.
Any issues/quirks/questions, please take a picture (or screencap), and explain to me the difficulties and problems you have. For issues/problems please also include details of the device you're seeing this from (e.g. tablet specs, browser name and it's version).
Snakeoil Operating System - Music, your way!
Posts: 16
Threads: 1
Joined: Apr 2016
Reputation:
0
Location: chch, nz
|
Users browsing this thread: |
4 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.
|
|
|