INTERACT FORUM

Please login or register.

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

Author Topic: DSD not playing - only if i arrange the DSP  (Read 2400 times)

alexopth1512

  • Recent member
  • *
  • Posts: 14
DSD not playing - only if i arrange the DSP
« on: August 20, 2021, 08:56:52 am »

Hello, I am using Fedora and Topping d90SE DAC from USB.

PCM plays like a charm.

No matter wjhat i try DSD doesn't show, converts to PCM. I have checked the checkbox to output DSD.
Logged

Awesome Donkey

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 7366
  • The color of Spring...
Re: DSD not playing - only if i arrange the DSP
« Reply #1 on: August 20, 2021, 09:29:43 am »

Enable DSD bitstreaming, don't use DSP Studio > Output Format > Output Encoding to do it.

https://wiki.jriver.com/index.php/DSD
Logged
I don't work for JRiver... I help keep the forums safe from Viagra and other sources of sketchy pharmaceuticals.

Windows 11 2023 Update (23H2) 64-bit + Ubuntu 24.04 LTS Noble Numbat 64-bit | Windows 11 2023 Update (23H2) 64-bit (Intel N305 Fanless NUC 16GB RAM/256GB NVMe SSD)
JRiver Media Center 32 (Windows + Linux) | Topping D50s DAC | Edifier R2000DB Bookshelf Speakers

alexopth1512

  • Recent member
  • *
  • Posts: 14
Re: DSD not playing - only if i arrange the DSP
« Reply #2 on: August 20, 2021, 11:58:18 am »

Hello, and thank you for replying.

These instructions are for Windows. I don't have ASIO or WASAPI. In Linux it works with ALSA.

So there is a checkbox in Options in audio device that says "Send native DSD" but seems to do nothing.

If I enable the output process everything is working, enforcing DSD from 128 to 512 and DAC recognizes the output just fine. So I understand that it doesn't send native DSD to output.
Logged

Awesome Donkey

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 7366
  • The color of Spring...
Re: DSD not playing - only if i arrange the DSP
« Reply #3 on: August 20, 2021, 12:27:05 pm »

The DSD bitstreaming option is the same regardless of OS. Native DSD support on Linux depends on if the Linux kernel has support for your DAC. As you've discovered already you can try enabling native DSD in MC'S Options > Audio > Audio Device > Device options and see if it works for you, but it sounds like maybe the Linux kernel doesn't support your DAC? Or maybe you're using the wrong audio output. Make sure you're using the hw: output for your DAC, using the default Pulse it won't work too well (plus everything is resampled by default).
Logged
I don't work for JRiver... I help keep the forums safe from Viagra and other sources of sketchy pharmaceuticals.

Windows 11 2023 Update (23H2) 64-bit + Ubuntu 24.04 LTS Noble Numbat 64-bit | Windows 11 2023 Update (23H2) 64-bit (Intel N305 Fanless NUC 16GB RAM/256GB NVMe SSD)
JRiver Media Center 32 (Windows + Linux) | Topping D50s DAC | Edifier R2000DB Bookshelf Speakers

alexopth1512

  • Recent member
  • *
  • Posts: 14
Re: DSD not playing - only if i arrange the DSP
« Reply #4 on: August 20, 2021, 01:49:57 pm »

Hmm in case no kernel driver, wouldn't that mean that setting manually to DSD wotuldn't work either (it works)?. lsusb correctly shows the device.

However what worries me is that ALSA shows as default device pipewire media server. I am not sure this is good. I have to check more on this.

The list I choose for hardware device shows me a big list and in 3-4 cases shows D90SE. I remember an IEC978:D90SE (or something). More details and tests on Monday
Logged

alexopth1512

  • Recent member
  • *
  • Posts: 14
Re: DSD not playing - only if i arrange the DSP
« Reply #5 on: August 23, 2021, 02:08:31 am »

OK I am on the D90SE now.
Here we go
Code: [Select]
aplay -L |grep D90
sysdefault:CARD=D90SE
    D90SE, USB Audio
front:CARD=D90SE,DEV=0
    D90SE, USB Audio
surround21:CARD=D90SE,DEV=0
    D90SE, USB Audio
surround40:CARD=D90SE,DEV=0
    D90SE, USB Audio
surround41:CARD=D90SE,DEV=0
    D90SE, USB Audio
surround50:CARD=D90SE,DEV=0
    D90SE, USB Audio
surround51:CARD=D90SE,DEV=0
    D90SE, USB Audio
surround71:CARD=D90SE,DEV=0
    D90SE, USB Audio
iec958:CARD=D90SE,DEV=0
    D90SE, USB Audio
The above list is also the list that Media Center Shows. I choose "front" or "IEC978" since sysdefault doesn't work correctly
Now
Code: [Select]
aplay -l:
card 1: D90SE [D90SE], device 0: USB Audio [USB Audio]
  Subdevices: 0/1
  Subdevice #0: subdevice #0

 cat /proc/asound/card1/stream0
Topping D90SE at usb-0000:00:14.0-2, high speed : USB Audio

Playback:
  Status: Running
    Interface = 1
    Altset = 1
    Packet Size = 144
    Momentary freq = 95999 Hz (0xb.fff8)
    Feedback Format = 16.16
  Interface 1
    Altset 1
    Format: S32_LE
    Channels: 2
    Endpoint: 0x01 (1 OUT) (ASYNC)
    Rates: 44100, 48000, 88200, 96000, 176400, 192000, 352800, 384000, 705600, 768000
    Data packet interval: 125 us
    Bits: 32
    Channel map: FL FR
    Sync Endpoint: 0x81 (1 IN)
    Sync EP Interface: 1
    Sync EP Altset: 1
    Implicit Feedback Mode: No
  Interface 1
    Altset 2
    Format: S32_LE
    Channels: 2
    Endpoint: 0x01 (1 OUT) (ASYNC)
    Rates: 44100, 48000, 88200, 96000, 176400, 192000, 352800, 384000, 705600, 768000
    Data packet interval: 125 us
    Bits: 24
    Channel map: FL FR
    Sync Endpoint: 0x81 (1 IN)
    Sync EP Interface: 1
    Sync EP Altset: 2
    Implicit Feedback Mode: No
  Interface 1
    Altset 3
    Format: SPECIAL DSD_U32_BE
    Channels: 2
    Endpoint: 0x01 (1 OUT) (ASYNC)
    Rates: 44100, 48000, 88200, 96000, 176400, 192000, 352800, 384000, 705600, 768000
    Data packet interval: 125 us
    Bits: 32
    DSD raw: DOP=0, bitrev=0
    Channel map: FL FR
    Sync Endpoint: 0x81 (1 IN)
    Sync EP Interface: 1
    Sync EP Altset: 3
    Implicit Feedback Mode: No

I attach options from mediacenter

Now I have also an SMSL500. Here are the results:

Code: [Select]
cat stream0
SMSL SMSL USB AUDIO at usb-0000:00:14.0-2, high speed : USB Audio

Playback:
  Status: Stop
  Interface 1
    Altset 1
    Format: S32_LE
    Channels: 2
    Endpoint: 0x01 (1 OUT) (ASYNC)
    Rates: 44100, 48000, 88200, 96000, 176400, 192000, 352800, 384000, 705600, 768000
    Data packet interval: 125 us
    Bits: 32
    Channel map: FL FR
    Sync Endpoint: 0x81 (1 IN)
    Sync EP Interface: 1
    Sync EP Altset: 1
    Implicit Feedback Mode: No
  Interface 1
    Altset 2
    Format: S32_LE
    Channels: 2
    Endpoint: 0x01 (1 OUT) (ASYNC)
    Rates: 44100, 48000, 88200, 96000, 176400, 192000, 352800, 384000, 705600, 768000
    Data packet interval: 125 us
    Bits: 24
    Channel map: FL FR
    Sync Endpoint: 0x81 (1 IN)
    Sync EP Interface: 1
    Sync EP Altset: 2
    Implicit Feedback Mode: No
  Interface 1
    Altset 3
    Format: SPECIAL DSD_U32_BE
    Channels: 2
    Endpoint: 0x01 (1 OUT) (ASYNC)
    Rates: 44100, 48000, 88200, 96000, 176400, 192000, 352800, 384000, 705600, 768000
    Data packet interval: 125 us
    Bits: 32
    DSD raw: DOP=0, bitrev=0
    Channel map: FL FR
    Sync Endpoint: 0x81 (1 IN)
    Sync EP Interface: 1
    Sync EP Altset: 3
    Implicit Feedback Mode: No


 Format: SPECIAL DSD_U32_BE means on both cases that it is recognized as DSD capable?

Again, if I choose in DSP "enable format" and output "Native DSD n 8x format" works fine, both on SMSL and D90SE!

Kernel is 5.13.12-200.fc34.x86_64
Logged

alexopth1512

  • Recent member
  • *
  • Posts: 14
Re: DSD not playing - only if i arrange the DSP
« Reply #6 on: August 25, 2021, 01:12:33 pm »

Update: It works in Windows, however upto DSD128. DSD512 doesn't work it makes "hickups".
Logged

Awesome Donkey

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 7366
  • The color of Spring...
Re: DSD not playing - only if i arrange the DSP
« Reply #7 on: August 25, 2021, 03:46:56 pm »

If you're using the DSP Studio > Output Format > Output encoding set to "Native DSD in 8x format" or one of the other settings, that's probably why as it's doing on-the-fly DSD conversions. Usually hiccups and stops in audio playback mean the machine you're doing the conversion on isn't fast or powerful enough to handle the conversion on-the-fly. DSD on-the-fly conversions are one of the most resource intensive operations Media Center can do. That's why it's generally recommended to avoid using DSP Studio > Output Format > Output encoding and instead use DSD bitstreaming.
Logged
I don't work for JRiver... I help keep the forums safe from Viagra and other sources of sketchy pharmaceuticals.

Windows 11 2023 Update (23H2) 64-bit + Ubuntu 24.04 LTS Noble Numbat 64-bit | Windows 11 2023 Update (23H2) 64-bit (Intel N305 Fanless NUC 16GB RAM/256GB NVMe SSD)
JRiver Media Center 32 (Windows + Linux) | Topping D50s DAC | Edifier R2000DB Bookshelf Speakers

bob

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 13487
Re: DSD not playing - only if i arrange the DSP
« Reply #8 on: August 26, 2021, 12:12:58 pm »

If you want to find out the exact formats it supports, run the included alsacap program from a terminal.

/usr/lib/jriver/Media\ Center\ 28/alsacap

Post the result of that here.
Logged

alexopth1512

  • Recent member
  • *
  • Posts: 14
Re: DSD not playing - only if i arrange the DSP
« Reply #9 on: August 30, 2021, 02:48:40 am »

Code: [Select]
/usr/lib/jriver/Media\ Center\ 28/alsacap
*** Scanning for playback devices ***
Card 0, ID `PCH', name `HDA Intel PCH'
  Device 0, ID `ALC257 Analog', name `ALC257 Analog', 1 subdevices (0 available)
Error opening sound device for card 0, device 0: Device or resource busy.  Skipping.
  Device 3, ID `HDMI 0', name `HDMI 0', 1 subdevices (1 available)
    2..8 channels, sampling rates 32000, 44100, 48000, 88200, 96000, 176400, 192000 Hz
    Sample formats: S16_LE, S32_LE, IEC958_SUBFRAME_LE
      Subdevice 0, name `subdevice #0'
  Device 7, ID `HDMI 1', name `HDMI 1', 1 subdevices (1 available)
    2..8 channels, sampling rates 32000, 44100, 48000, 88200, 96000, 176400, 192000 Hz
    Sample formats: S16_LE, S32_LE, IEC958_SUBFRAME_LE
      Subdevice 0, name `subdevice #0'
  Device 8, ID `HDMI 2', name `HDMI 2', 1 subdevices (1 available)
    2..8 channels, sampling rates 32000, 44100, 48000, 88200, 96000, 176400, 192000 Hz
    Sample formats: S16_LE, S32_LE, IEC958_SUBFRAME_LE
      Subdevice 0, name `subdevice #0'
  Device 9, ID `HDMI 3', name `HDMI 3', 1 subdevices (1 available)
    2..8 channels, sampling rates 32000, 44100, 48000, 88200, 96000, 176400, 192000 Hz
    Sample formats: S16_LE, S32_LE, IEC958_SUBFRAME_LE
      Subdevice 0, name `subdevice #0'
  Device 10, ID `HDMI 4', name `HDMI 4', 1 subdevices (1 available)
    2..8 channels, sampling rates 32000, 44100, 48000, 88200, 96000, 176400, 192000 Hz
    Sample formats: S16_LE, S32_LE, IEC958_SUBFRAME_LE
      Subdevice 0, name `subdevice #0'
Card 1, ID `D90SE', name `D90SE'
  Device 0, ID `USB Audio', name `USB Audio', 1 subdevices (1 available)
    2 channels, sampling rates 44100, 48000, 88200, 96000, 176400, 192000, 352800, 384000 Hz
    Sample formats: S32_LE, SPECIAL, DSD_U32_BE
      Subdevice 0, name `subdevice #0'

Logged

bob

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 13487
Re: DSD not playing - only if i arrange the DSP
« Reply #10 on: August 30, 2021, 10:29:19 am »

That looks fine.
If your D90SE has analog outputs use the front: device.
If it's s/pdif use the iec958 device.

Make sure you have DSP studio output format DISABLED.
Turn on bitstreaming DSD under Tools->Options->Audio->Bitstreaming.

If the device supports NATIVE DSD enable that checkbox under Audio Device Settings. Otherwise, uncheck it and MC will send DoP.
Logged

alexopth1512

  • Recent member
  • *
  • Posts: 14
Re: DSD not playing - only if i arrange the DSP
« Reply #11 on: August 31, 2021, 02:58:04 am »

Me bad, me very bad boy  ;D

I didn't pay close attention to enable Bitstreaming :(

Everything good now. Excellent! Happy I bought the product :)

I can play now 512 DSD, it sounds soooo nice...
Logged
Pages: [1]   Go Up