Snakeoil Forums

Full Version: Native DSD support for new DAC
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
Hi agent kith,
 
I'm almost ready to release a new DSD DAC, and need to get native DSD support with snake oil. I already submitted a request for a patch here:

https://github.com/lintweaker/xmos-native-dsd/issues/38

Overview on how to patch starting at HOWTO:

https://github.com/lintweaker/xmos-native-dsd


But I thought I'd ask if you know how to patch snake oil yourself if I provide you with the following info:

 PID info:20b1:30c6

 And info from cat /proc/asound/stream0:

 XMOS Purestream MKII UAC2.0 at usb-0000:00:14.0-5, high speed : USB AudioPlayback:
Status: Stop
Interface 1
Altset 1
Format: S32_LE
Channels: 2
Endpoint: 1 OUT (ASYNC)
Rates: 44100, 48000, 88200, 96000, 176400, 192000, 352800, 384000, 705600, 768000
Data packet interval: 125 us
Interface 1
Altset 2
Format: S16_LE
Channels: 2
Endpoint: 1 OUT (ASYNC)
Rates: 44100, 48000, 88200, 96000, 176400, 192000, 352800, 384000, 705600, 768000
Data packet interval: 125 us
Interface 1
Altset 3
Format: SPECIAL
Channels: 2
Endpoint: 1 OUT (ASYNC)
Rates:
Data packet interval: 125 us
Thanks in advance!
(30-Sep-2018, 03:55 PM)Mivera Wrote: [ -> ]Hi agent kith,
 
I'm almost ready to release a new DSD DAC, and need to get native DSD support with snake oil. I already submitted a request for a patch here:

https://github.com/lintweaker/xmos-native-dsd/issues/38

Overview on how to patch starting at HOWTO:

https://github.com/lintweaker/xmos-native-dsd


But I thought I'd ask if you know how to patch snake oil yourself if I provide you with the following info:

 PID info:20b1:30c6

 And info from cat /proc/asound/stream0:

 XMOS Purestream MKII UAC2.0 at usb-0000:00:14.0-5, high speed : USB AudioPlayback:
Status: Stop
Interface 1
Altset 1
Format: S32_LE
Channels: 2
Endpoint: 1 OUT (ASYNC)
Rates: 44100, 48000, 88200, 96000, 176400, 192000, 352800, 384000, 705600, 768000
Data packet interval: 125 us
Interface 1
Altset 2
Format: S16_LE
Channels: 2
Endpoint: 1 OUT (ASYNC)
Rates: 44100, 48000, 88200, 96000, 176400, 192000, 352800, 384000, 705600, 768000
Data packet interval: 125 us
Interface 1
Altset 3
Format: SPECIAL
Channels: 2
Endpoint: 1 OUT (ASYNC)
Rates:
Data packet interval: 125 us
Thanks in advance!

Cool. I'd work on this tomorrow, and you should have a test kernel in a day or two. Will keep you posted.
(30-Sep-2018, 09:47 PM)agent_kith Wrote: [ -> ]
(30-Sep-2018, 03:55 PM)Mivera Wrote: [ -> ]Hi agent kith,
 
I'm almost ready to release a new DSD DAC, and need to get native DSD support with snake oil. I already submitted a request for a patch here:

https://github.com/lintweaker/xmos-native-dsd/issues/38

Overview on how to patch starting at HOWTO:

https://github.com/lintweaker/xmos-native-dsd


But I thought I'd ask if you know how to patch snake oil yourself if I provide you with the following info:

 PID info:20b1:30c6

 And info from cat /proc/asound/stream0:

 XMOS Purestream MKII UAC2.0 at usb-0000:00:14.0-5, high speed : USB AudioPlayback:
Status: Stop
Interface 1
Altset 1
Format: S32_LE
Channels: 2
Endpoint: 1 OUT (ASYNC)
Rates: 44100, 48000, 88200, 96000, 176400, 192000, 352800, 384000, 705600, 768000
Data packet interval: 125 us
Interface 1
Altset 2
Format: S16_LE
Channels: 2
Endpoint: 1 OUT (ASYNC)
Rates: 44100, 48000, 88200, 96000, 176400, 192000, 352800, 384000, 705600, 768000
Data packet interval: 125 us
Interface 1
Altset 3
Format: SPECIAL
Channels: 2
Endpoint: 1 OUT (ASYNC)
Rates:
Data packet interval: 125 us
Thanks in advance!

Cool. I'd work on this tomorrow, and you should have a test kernel in a day or two. Will keep you posted.


Thanks a lot!! 
DSD kernel updated. Can you download that and test and let me know if there are any issues? DSD Kernel Thread.

Thanks.
(01-Oct-2018, 09:11 PM)agent_kith Wrote: [ -> ]DSD kernel updated. Can you download that and test and let me know if there are any issues? DSD Kernel Thread.

Thanks.

I'll give it a try. thanks a lot!

Unfortunately does not work. I'm supposed to download the Kernel from this thread right? 

https://www.snakeoil-os.net/forums/Threa...78#pid1678

Actually I just noticed that I didn't select the new kernel. But when I select the DSD kernel and save I get this grub template is missing error:


[Image: Screen_Shot_2018_10_01_at_8_58_47_AM.png]

[Image: Screen_Shot_2018_10_01_at_8_58_37_AM.png]
Am I supposed to be selecting this new kernel?
(03-Oct-2018, 12:47 AM)Mivera Wrote: [ -> ]Am I supposed to be selecting this new kernel?

Apologies for the late reply. There's a bug in the ISO - a file is missing... Download the Blind Testing firmware, and upload it to the Snakeoil OS. That'd restore the missing file.

Next, go to the Snakeoil menu and change the kernel to the DSD one, save. Finally go to the System menu, and click Reboot.

Let me know how it goes.
Thanks. I tried what you said and still not working. However I am getting some error messages when I plug the DAC into the Snakeoil server. Should I be selecting one of the clock or Kernel options? 


[Image: unnamed_1.jpg]
(03-Oct-2018, 08:40 AM)Mivera Wrote: [ -> ]Thanks. I tried what you said and still not working. However I am getting some error messages when I plug the DAC into the Snakeoil server. Should I be selecting one of the clock or Kernel options? 


[Image: unnamed_1.jpg]
Hmm. Isn't this an XMOS chip? Do you know if this particular chip is supported by the stock USB audio driver? Or do you know if it's supported from which kernel version onwards?

It's either driver support is lacking, or there's something wrong with the USB receiver. Are you able to confirm the DAC is working on Windows, iOS or a different version of Linux?
(03-Oct-2018, 09:10 AM)agent_kith Wrote: [ -> ]
(03-Oct-2018, 08:40 AM)Mivera Wrote: [ -> ]Thanks. I tried what you said and still not working. However I am getting some error messages when I plug the DAC into the Snakeoil server. Should I be selecting one of the clock or Kernel options? 


[Image: unnamed_1.jpg]
Hmm. Isn't this an XMOS chip? Do you know if this particular chip is supported by the stock USB audio driver? Or do you know if it's supported from which kernel version onwards?

It's either driver support is lacking, or there's something wrong with the USB receiver. Are you able to confirm the DAC is working on Windows, iOS or a different version of Linux? 

Yes it's an Xmos chip. There must be something wrong with the code programming. It works fine up to DoP 128 on Windows and OSX. But not working with DoP or native on any Linux distro. Xmos has an issue with their latest Xcore-200 firmware that screwed up native DSD. The fix was to roll back to the previous version and change some lines of code. My engineer must have made some mistakes. I'll let you know when he has it sorted out.
Pages: 1 2