All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: Dice firewire support
       [not found] <276893435.728967.1590133905081.JavaMail.administrator@n7.nabble.com>
@ 2020-05-22  8:10 ` Takashi Sakamoto
  2020-05-22  9:07   ` Pascal Bomel
  0 siblings, 1 reply; 4+ messages in thread
From: Takashi Sakamoto @ 2020-05-22  8:10 UTC (permalink / raw)
  To: bomelp; +Cc: alsa-devel, mail

Hi Pascal,

On Fri, May 22, 2020 at 12:51:45AM -0700, bomelp@gmail.com wrote:
> Hi Takashi,
> 
> Sorry if i bother you about my mail.
> Actually, i try to enable a mytek  dsd-192 dac via its firewire port on a debian 4.9.12.
> I saw you worked on snd-dice module.Do you have a step-by-step documentation to help me do that ?
> 
> Best regards
> Pascal
> France

Although I don't test the device, Melvin Vermeeren added support for
Mytek Stereo 192 DSD-DAC in Linux kernel v4.18 firstly. It's not
available in your kernel.
https://www.alsa-project.org/pipermail/alsa-devel/2018-May/136194.html

If you can't work with the device just by loading snd-dice module in
recent Linux kernel, please contact to me or Melvin ;)


Regards

Takashi Sakamoto

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Dice firewire support
  2020-05-22  8:10 ` Dice firewire support Takashi Sakamoto
@ 2020-05-22  9:07   ` Pascal Bomel
  2020-05-22 11:36     ` Melvin Vermeeren
  0 siblings, 1 reply; 4+ messages in thread
From: Pascal Bomel @ 2020-05-22  9:07 UTC (permalink / raw)
  To: pascal bomel, alsa-devel, mail

Thank you so much Takashi.
Actually i have a debian 4.9.12 "stretch" release with 4.9.211 kernel
version (uname -v)
This kernel has snd-dice module inside isn't it ?
I am not very familiar with linux, that's why i appreciate your help.

Regards,

Pascal Bomel



Le ven. 22 mai 2020 à 12:10, Takashi Sakamoto <o-takashi@sakamocchi.jp> a
écrit :

> Hi Pascal,
>
> On Fri, May 22, 2020 at 12:51:45AM -0700, bomelp@gmail.com wrote:
> > Hi Takashi,
> >
> > Sorry if i bother you about my mail.
> > Actually, i try to enable a mytek  dsd-192 dac via its firewire port on
> a debian 4.9.12.
> > I saw you worked on snd-dice module.Do you have a step-by-step
> documentation to help me do that ?
> >
> > Best regards
> > Pascal
> > France
>
> Although I don't test the device, Melvin Vermeeren added support for
> Mytek Stereo 192 DSD-DAC in Linux kernel v4.18 firstly. It's not
> available in your kernel.
> https://www.alsa-project.org/pipermail/alsa-devel/2018-May/136194.html
>
> If you can't work with the device just by loading snd-dice module in
> recent Linux kernel, please contact to me or Melvin ;)
>
>
> Regards
>
> Takashi Sakamoto
>

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Dice firewire support
  2020-05-22  9:07   ` Pascal Bomel
@ 2020-05-22 11:36     ` Melvin Vermeeren
  2020-05-24  0:24       ` Melvin Vermeeren
  0 siblings, 1 reply; 4+ messages in thread
From: Melvin Vermeeren @ 2020-05-22 11:36 UTC (permalink / raw)
  To: Pascal Bomel; +Cc: alsa-devel

[-- Attachment #1: Type: text/plain, Size: 2206 bytes --]

Hi all,

On Friday, 22 May 2020 11:07:06 CEST Pascal Bomel wrote:
> Thank you so much Takashi.
> Actually i have a debian 4.9.12 "stretch" release with 4.9.211 kernel
> version (uname -v)
> This kernel has snd-dice module inside isn't it ?
> I am not very familiar with linux, that's why i appreciate your help.

You can either upgrade to Debian buster, which has 4.19, or install a kernel 
from stretch-backports, which is also 4.19. Assuming you have amd64 hardware 
that would be https://packages.debian.org/stretch-backports/linux-image-amd64.
See also https://backports.debian.org/Instructions/ for more instructions.

Some background information below, from how I remember things. Do note that 
there were many details and I may be mistaken about some of them.

At the time of 4.18 there was some issue with the timing that caused non-bit-
perfect playback, resulting in audio artefacts that were hard to detect as it 
was near perfect. DSD over PCM (DoP) mode however made it very obvious this 
issue existed, as it would not work reliably at all. It was also noticeable 
when listening to a fixed Hz tone, it wasn't perfectly smooth.

I believe there was some significant refactoring going on with snd_dice at the 
cause, which caused some previously working things to stop working as snd_dice 
became more compliant with device's listed features and protocols.

Older versions "just sent a new stream" when frequency changed (iirc), which 
actually caused the DAC to sometimes not catch the signal and made it silent. 
You then had to restart jack (or ALSA stream) a few times. The new version 
used proper lock mechanism (AMDTP?) meaning it worked 100% of the time, except 
for the non-bit-perfect issue.

Since those days of experimenting I have been running snd_dice and 
snd_firewire_lib from sound-4.4-rc7-692-g2eb65d67afbf out of tree, with minor 
patches to make them compatible with modern kernels and overrides for the DAC.

Thanks for the mention Takashi, I appreciate it. Since I am running 5.5.17 
(buster-backports) kernel right now I will do some testing later today to see 
if there are still any issues in this version, the Mytek is still used daily.

Cheers,

-- 
Melvin Vermeeren

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Dice firewire support
  2020-05-22 11:36     ` Melvin Vermeeren
@ 2020-05-24  0:24       ` Melvin Vermeeren
  0 siblings, 0 replies; 4+ messages in thread
From: Melvin Vermeeren @ 2020-05-24  0:24 UTC (permalink / raw)
  To: Takashi Sakamoto; +Cc: alsa-devel

[-- Attachment #1: Type: text/plain, Size: 1208 bytes --]

Hi Takashi,

On Friday, 22 May 2020 13:36:13 CEST Melvin Vermeeren wrote:
> Since I am running 5.5.17
> (buster-backports) kernel right now I will do some testing later today to
> see if there are still any issues in this version, the Mytek is still used
> daily.

I have just tested it with 5.5.17 and can confirm this issue still exists. It 
is not very noticeable when playing music but it instantly apparent when 
playing a 500hz tone for a few seconds. It sounds there is some small ticking 
in the background instead of a pure tone. Happens every few hundred 
milliseconds or so and is fully consistent, as if a timing or cycle issue.

Next I checked with current master v5.7-rc2-1808-g40e1763b6246 (snd_dice and 
snd_firewire_lib) with the same results. I believe the status is the same 
posted in 2018[1][2]. The old out-of-tree have served me well throughout the 
years, so I will probably keep using them for now. Perhaps this final issue 
will be found one day, if I can help you with anything please let me know.

[1] https://www.alsa-project.org/pipermail/alsa-devel/2018-June/136829.html
[2] https://www.alsa-project.org/pipermail/alsa-devel/2018-June/137160.html

Thanks,

-- 
Melvin Vermeeren

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2020-05-25  9:30 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <276893435.728967.1590133905081.JavaMail.administrator@n7.nabble.com>
2020-05-22  8:10 ` Dice firewire support Takashi Sakamoto
2020-05-22  9:07   ` Pascal Bomel
2020-05-22 11:36     ` Melvin Vermeeren
2020-05-24  0:24       ` Melvin Vermeeren

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.