INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: DSD DoP on Pi 4 with Raspbian  (Read 4040 times)

clarus7

  • Recent member
  • *
  • Posts: 20
DSD DoP on Pi 4 with Raspbian
« on: December 10, 2019, 07:18:29 pm »

I'm trying to setup a Pi4 to drive USB DAC. The same DAC supports all necessary sample rates and format under Windows (namely 44.1 to 384KHz PCM, 1x and 2x DSD). I am having problem trying to get DSD to work with the Pi.  All PCM sample rates work correctly. When I try DSD (1x or 2x), the following error message is returned:
"Playback could not be started on the output 'ALSA' using the format 'DoP DSD64 (1x) 2ch).

The ALSA version is K4.19.75-v7l+
I have tried various configurations to no avail. Any suggestion would be appreciated.

thanks.
Logged

Hauk

  • Recent member
  • *
  • Posts: 26
Re: DSD DoP on Pi 4 with Raspbian
« Reply #1 on: December 11, 2019, 01:46:16 pm »

Hi Clarus,

any luck solving your problem? I think the DSD playback in the current linux build is broken yet again.
Logged

clarus7

  • Recent member
  • *
  • Posts: 20
Re: DSD DoP on Pi 4 with Raspbian
« Reply #2 on: December 11, 2019, 10:45:33 pm »

No luck yet.
I'm using latest Raspbian Buster with desktop (2019-09-26) build and 25.0.114.
If there is a known configuration that works, including the configuration within MC or the combination of kernel/ALSA/whatever, please share it here.
thanks.
Logged

Hauk

  • Recent member
  • *
  • Posts: 26
Re: DSD DoP on Pi 4 with Raspbian
« Reply #3 on: December 12, 2019, 05:20:50 am »

If it's not too much hassle, roll back to a previous version, that might solve your problem.
Logged

clarus7

  • Recent member
  • *
  • Posts: 20
Re: DSD DoP on Pi 4 with Raspbian
« Reply #4 on: December 13, 2019, 11:38:32 am »

Are you referring to previous version of MC or Raspian? Is there a known good configuration?
Logged

clarus7

  • Recent member
  • *
  • Posts: 20
Re: DSD DoP on Pi 4 with Raspbian
« Reply #5 on: December 17, 2019, 11:31:28 pm »

Is there a known good configuration that DSD DoP on Pi4 would work, or there really isn't?
Logged

Mike Noe

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 792
Re: DSD DoP on Pi 4 with Raspbian
« Reply #6 on: December 18, 2019, 02:29:44 pm »

Works here for me on an xDuoo USB DAC (SMSL too).  Nothing very interesting in the settings, just have DSP set to DOP and audio device is "output DSD as native" checked.

Pi4 with latest rpi-update firmware, etc.
Logged
openSUSE TW/Plasma5 x86_64 | Win10Pro/RX560
S.M.S.L USB-DAC => Transcendent GG Pre (kit) => Transcendent mono OTLs (kit)
(heavily modded) Hammer Dynamics Super-12s (kit)
(optionally) VonSchweikert VR8s

clarus7

  • Recent member
  • *
  • Posts: 20
Re: DSD DoP on Pi 4 with Raspbian
« Reply #7 on: December 21, 2019, 12:59:28 am »

OK, made some progress. My previous mistake was setting Bitstream to DSD. Now with Bitstream to none, and DSP format set to DoP, it works for DSD64. However, with output encoding set to DSD in DoP, it will try to output everything in DSD. With PCM content, the audio would stutter.  In addition, when playing back DSD128, audio stutter as well. 
I am trying to have MC output the native format for all PCM formats and DSD (1x or 2x), i.e. no format conversion at all, or some refer to as bit perfect playback. What should be the setting for that?
Logged

clarus7

  • Recent member
  • *
  • Posts: 20
Re: DSD DoP on Pi 4 with Raspbian
« Reply #8 on: December 22, 2019, 01:01:38 pm »

Today seems to be a good day. I went back and compare the config with my windows set up and everything is finally working with the following:
Audio device: hw:(name of DAC)[ALSA]
output format: off (deselected)
Bitstreaming: Yes (DSD)

That seems to do it for both PCM and DSD. Now I can play all PCM and DSD formats natively (as displayed on the DAC) with no stutter. CPU utilization never get above 20%.


Logged

Awesome Donkey

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 7805
  • Autumn shade...
Re: DSD DoP on Pi 4 with Raspbian
« Reply #9 on: December 22, 2019, 03:47:25 pm »

Yep, choosing the right audio device (hw: in this case) is likely the key here to get it working correctly. If you have Output Format set to DSD then the Raspberry Pi is converting everything to DSD (even DSD files), hence the stutters.
Logged
I don't work for JRiver... I help keep the forums safe from "male enhancements" and other sources of sketchy pharmaceuticals.

Windows 11 24H2 Update 64-bit + Ubuntu 24.10 Oracular Oriole 64-bit | Windows 11 24H2 Update 64-bit (Intel N305 Fanless NUC 16GB RAM/500GB M.2 NVMe SSD)
JRiver Media Center 33 (Windows + Linux) | iFi ZEN DAC 3 | JBL 306P MkII Studio Monitors | Audio-Technica ATH-M50x Headphones
Pages: [1]   Go Up