You are not logged in.

#1 2015-02-15 20:15:05

mark-o-solo
Member
Registered: 2012-03-19
Posts: 77

SPDIF output broken with alsa (Xonar D2 card)

Hi,
since the last time I used the SACD player, foobar2000 under wine, I get no sound from my digital port. The config had been working for a few years by then, and usually foobar gets in the way of other applications using alsa, but when the application gets killed, everything works again.
I can see on my DAC whether it is fed input or not and I checked that the hardware is set up properly through windows (dual boot).
I have tried now everything I can think of and nothing works. I have no .asoundrc since I am the only user on the PC. My /etc/asound.conf looks like:

/etc/asound.conf wrote:

pcm.!default {
    type plug
    slave {
     
        pcm "hw:0,1"
    rate 96000
    format S24_LE
    }
}

pcm.headset { # playback only on frontpanel headset
type route
slave.pcm dmixer
slave.channels 2
ttable.0.0 1 # headphones front L
ttable.1.1 1 # headphones front R
}

defaults.pcm.rate_converter "speexrate_best"

My aplay -l :

aplay -l wrote:

**** List of PLAYBACK Hardware Devices ****
card 0: D2 [Xonar D2], device 0: Multichannel [Multichannel]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: D2 [Xonar D2], device 1: Digital [Digital]
  Subdevices: 0/1
  Subdevice #0: subdevice #0
card 1: Intel [HDA Intel], device 0: VT2020 Analog [VT2020 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: Intel [HDA Intel], device 1: VT2020 Digital [VT2020 Digital]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: Intel [HDA Intel], device 2: VT2020 Alt Analog [VT2020 Alt Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 2: NVidia [HDA NVidia], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 2: NVidia [HDA NVidia], device 7: HDMI 1 [HDMI 1]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 2: NVidia [HDA NVidia], device 8: HDMI 2 [HDMI 2]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 2: NVidia [HDA NVidia], device 9: HDMI 3 [HDMI 3]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

I also checked the modules, nothing is blacklisted there. With this config, I get the error "Slave PCM not usable".
I also installed pulseaudio to check pavucontrol for a change, where it only recognizes the analog 7.1 output from the card (the first one listed above), not however the digital SPDIF.
What can I do ?

Last edited by mark-o-solo (2015-02-21 17:47:26)

Offline

#2 2015-02-16 10:11:12

mark-o-solo
Member
Registered: 2012-03-19
Posts: 77

Re: SPDIF output broken with alsa (Xonar D2 card)

Addon:
aplay -D hw:0,1 file.wav
does not give any output either.
If the subdevice is specified, I get:

aplay -D plughw:0,1,1 file.wav wrote:

aplay: main:722: audio open error: Device or resource busy

but lsof /dev/snd turns out empty. Pulseaudio is not installed.
I am really at a loss here

Last edited by mark-o-solo (2015-02-16 11:12:19)

Offline

#3 2015-02-21 17:46:53

mark-o-solo
Member
Registered: 2012-03-19
Posts: 77

Re: SPDIF output broken with alsa (Xonar D2 card)

bump

Offline

Board footer

Powered by FluxBB