You are not logged in.

#1 2017-01-28 00:35:11

banshee28
Member
Registered: 2008-10-18
Posts: 336

Only Mono sound from USB DAC

SO I finally have my S.M.S.L. DAC working pretty good. I have sound from local Smplayer, or Chrome browser! They only play one at a time, but thats ok. The problem is while playing a sound-test CD, I noticed I dont have Left or Right channel separation! It seems like everything is Mono! I guess I never noticed. Both speakers play fine, but its either both or none. When I Mute channel 1 they are both Muted, and if I only Mute Channel 2 they are both Muted. They only play if they are both un-muted.

Now I can see where its listed as Mono here: "Simple mixer control 'xCORE USB Audio 2.0 Output',0", but not sure how to fix it.

aplay -l:

**** List of PLAYBACK Hardware Devices ****
card 0: x20 [xCORE USB Audio 2.0], device 0: USB Audio [USB Audio]
  Subdevices: 0/1
  Subdevice #0: subdevice #0
card 1: PCH [HDA Intel PCH], device 0: ALC1150 Analog [ALC1150 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: PCH [HDA Intel PCH], device 1: ALC1150 Digital [ALC1150 Digital]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
 

amixer:

Simple mixer control 'Mic',0
  Capabilities: cvolume cswitch
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 127
  Front Left: Capture 127 [100%] [0.00dB] [on]
  Front Right: Capture 127 [100%] [0.00dB] [on]
Simple mixer control 'Mic',1
  Capabilities: cvolume cvolume-joined cswitch cswitch-joined
  Capture channels: Mono
  Limits: Capture 0 - 127
  Mono: Capture 127 [100%] [0.00dB] [on]
Simple mixer control 'XMOS Internal Clock Validity',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on]
Simple mixer control 'xCORE USB Audio 2.0 Output',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 127
  Mono:
  Front Left: Playback 123 [97%] [-4.00dB] [on]
  Front Right: Playback 123 [97%] [-4.00dB] [on]
Simple mixer control 'xCORE USB Audio 2.0 Output',1
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined
  Playback channels: Mono
  Limits: Playback 0 - 127
  Mono: Playback 123 [97%] [-4.00dB] [on]

lsusb:

[    7.293028] snd_hda_codec_realtek hdaudioC1D0: ALC1150: SKU not ready 0x00000000
[    7.293529] snd_hda_codec_realtek hdaudioC1D0: autoconfig for ALC1150: line_outs=3 (0x14/0x15/0x16/0x0/0x0) type:line
[    7.293530] snd_hda_codec_realtek hdaudioC1D0:    speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
[    7.293531] snd_hda_codec_realtek hdaudioC1D0:    hp_outs=1 (0x1b/0x0/0x0/0x0/0x0)
[    7.293532] snd_hda_codec_realtek hdaudioC1D0:    mono: mono_out=0x0
[    7.293533] snd_hda_codec_realtek hdaudioC1D0:    dig-out=0x11/0x1e
[    7.293533] snd_hda_codec_realtek hdaudioC1D0:    inputs:
[    7.293535] snd_hda_codec_realtek hdaudioC1D0:      Front Mic=0x19
[    7.293536] snd_hda_codec_realtek hdaudioC1D0:      Rear Mic=0x18
[    7.293537] snd_hda_codec_realtek hdaudioC1D0:      Line=0x1a
[    7.347663] snd_usb_audio: unknown parameter 'nrpacks' ignored
[    7.399020] usbcore: registered new interface driver snd-usb-audio

dmesg:

[    7.293028] snd_hda_codec_realtek hdaudioC1D0: ALC1150: SKU not ready 0x00000000
[    7.293529] snd_hda_codec_realtek hdaudioC1D0: autoconfig for ALC1150: line_outs=3 (0x14/0x15/0x16/0x0/0x0) type:line
[    7.293530] snd_hda_codec_realtek hdaudioC1D0:    speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
[    7.293531] snd_hda_codec_realtek hdaudioC1D0:    hp_outs=1 (0x1b/0x0/0x0/0x0/0x0)
[    7.293532] snd_hda_codec_realtek hdaudioC1D0:    mono: mono_out=0x0
[    7.293533] snd_hda_codec_realtek hdaudioC1D0:    dig-out=0x11/0x1e
[    7.293533] snd_hda_codec_realtek hdaudioC1D0:    inputs:
[    7.293535] snd_hda_codec_realtek hdaudioC1D0:      Front Mic=0x19
[    7.293536] snd_hda_codec_realtek hdaudioC1D0:      Rear Mic=0x18
[    7.293537] snd_hda_codec_realtek hdaudioC1D0:      Line=0x1a
[    7.347663] snd_usb_audio: unknown parameter 'nrpacks' ignored
[    7.399020] usbcore: registered new interface driver snd-usb-audio

alsamixer:

──────────────────────────────────────────────────────────────────────────────── AlsaMixer v1.1.3 ────────────────────────────────────────────────────────────────────────────────┐
│ Card: xCORE USB Audio 2.0                                                                                                                                F1:  Help               │
│ Chip: USB Mixer                                                                                                                                          F2:  System information │
│ View: F3:[Playback] F4: Capture  F5: All                                                                                                                 F6:  Select sound card  │
│ Item: XMOS Internal Clock Validity                                                                                                                       Esc: Exit               │
│                                                                                                                                                                                  │
│                                                                                                                                                                                  │
│                                                                                                                                                                                  │
│                                                                                                                                                                                  │
│                                                                                                                                                                                  │
│                                                                                                                                                                                  │
│                                                                                       ┌──┐                         ┌──┐                                                          │
│                                                                                       │  │                         │  │                                                          │
│                                                                                       │  │                         │  │                                                          │
│                                                                                       │  │                         │  │                                                          │
│                                                                                       │▒▒│                         │▒▒│                                                          │
│                                                                                       │▒▒│                         │▒▒│                                                          │
│                                                                                       │▒▒│                         │▒▒│                                                          │
│                                                                                       │▒▒│                         │▒▒│                                                          │
│                                                                                       │▒▒│                         │▒▒│                                                          │
│                                                                                       │▒▒│                         │▒▒│                                                          │
│                                                                                       │▒▒│                         │▒▒│                                                          │
│                                                                                       │▒▒│                         │▒▒│                                                          │
│                                                                                       │▒▒│                         │▒▒│                                                          │
│                                                                                       │▒▒│                         │▒▒│                                                          │
│                                                                                       │▒▒│                         │▒▒│                                                          │
│                                                                                       │▒▒│                         │▒▒│                                                          │
│                                                                                       │▒▒│                         │▒▒│                                                          │
│                                                                                       │▒▒│                         │▒▒│                                                          │
│                                                                                       │▒▒│                         │▒▒│                                                          │
│                                                                                       │▒▒│                         │▒▒│                                                          │
│                                                                                       │▒▒│                         │▒▒│                                                          │
│                                                          ┌──┐                         ├──┤                         ├──┤                                                          │
│                                                          │OO│                         │OO│                         │OO│                                                          │
│                                                          └──┘                         └──┘                         └──┘                                                          │
│                                                                                      86<>86                         86                                                           │
│                                             <XMOS Internal Clock Validity> xCORE USB Audio 2.0 Output  xCORE USB Audio 2.0 Output 1                                              │
│                                                                                                                                                                                  │
│                                                                                                                                                                                  │
│                                                                                                                                                                                  │
│                                                                                                                                                                                  │
│                                                                                                                                                                                  │
└──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘

/etc/asound.cond:

pcm.dsp {
    type plug
#    slave.pcm "dmix"
}

~.asoundrc:

# change default device:
pcm.!default {
     type hw
	card 0
}

Arch64, AMD64, LXDE

Offline

#2 2017-02-01 23:07:41

banshee28
Member
Registered: 2008-10-18
Posts: 336

Re: Only Mono sound from USB DAC

Any advise on this issue, or am I stuck with no Stereo sound?


Arch64, AMD64, LXDE

Offline

#3 2017-02-02 15:14:20

R00KIE
Forum Fellow
From: Between a computer and a chair
Registered: 2008-09-14
Posts: 4,734

Re: Only Mono sound from USB DAC

Have you tried that DAC in windows and confirmed that you get stereo output with the same headphones? In the past I've had problems when using TRRS plug headphones on a TRS jack, where I would get only mono, make sure the hardware is working properly before moving on to software problems.


R00KIE
Tm90aGluZyB0byBzZWUgaGVyZSwgbW92ZSBhbG9uZy4K

Offline

#4 2017-02-03 02:01:30

banshee28
Member
Registered: 2008-10-18
Posts: 336

Re: Only Mono sound from USB DAC

R00KIE wrote:

Have you tried that DAC in windows and confirmed that you get stereo output with the same headphones? In the past I've had problems when using TRRS plug headphones on a TRS jack, where I would get only mono, make sure the hardware is working properly before moving on to software problems.

No, I only have a Windows laptop and when I tried it on there, it did not even recognize it! I also dont have it setup for any headphones, only 2 RCA's out to an amp. I dont think this DAC has headphone out's?


Arch64, AMD64, LXDE

Offline

#5 2017-02-03 08:17:33

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,626

Re: Only Mono sound from USB DAC

How did you play that speaker-test cd? What's the output of

aplay -L

? Were did you do your volume adjustment, in alsamixer or do you have separate controls on the DAC? There's a good chance that whatever you played to it was doing so in digital passthrough mode., and the actual channel separation would happen on the DAC itself. Instead of a CD have you already tried using

speaker-test -c2

instead

Offline

#6 2017-02-03 22:49:59

banshee28
Member
Registered: 2008-10-18
Posts: 336

Re: Only Mono sound from USB DAC

V1del wrote:

How did you play that speaker-test cd? What's the output of

aplay -L

? Were did you do your volume adjustment, in alsamixer or do you have separate controls on the DAC? There's a good chance that whatever you played to it was doing so in digital passthrough mode., and the actual channel separation would happen on the DAC itself. Instead of a CD have you already tried using

speaker-test -c2

instead

aplay -L:

null
    Discard all samples (playback) or generate zero samples (capture)
pulse
    PulseAudio Sound Server
sysdefault:CARD=x20
    xCORE USB Audio 2.0, USB Audio
    Default Audio Device
front:CARD=x20,DEV=0
    xCORE USB Audio 2.0, USB Audio
    Front speakers
surround21:CARD=x20,DEV=0
    xCORE USB Audio 2.0, USB Audio
    2.1 Surround output to Front and Subwoofer speakers
surround40:CARD=x20,DEV=0
    xCORE USB Audio 2.0, USB Audio
    4.0 Surround output to Front and Rear speakers
surround41:CARD=x20,DEV=0
    xCORE USB Audio 2.0, USB Audio
    4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=x20,DEV=0
    xCORE USB Audio 2.0, USB Audio
    5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=x20,DEV=0
    xCORE USB Audio 2.0, USB Audio
    5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=x20,DEV=0
    xCORE USB Audio 2.0, USB Audio
    7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
iec958:CARD=x20,DEV=0
    xCORE USB Audio 2.0, USB Audio
    IEC958 (S/PDIF) Digital Audio Output
sysdefault:CARD=PCH
    HDA Intel PCH, ALC1150 Analog
    Default Audio Device
front:CARD=PCH,DEV=0
    HDA Intel PCH, ALC1150 Analog
    Front speakers
surround21:CARD=PCH,DEV=0
    HDA Intel PCH, ALC1150 Analog
    2.1 Surround output to Front and Subwoofer speakers
surround40:CARD=PCH,DEV=0
    HDA Intel PCH, ALC1150 Analog
    4.0 Surround output to Front and Rear speakers
surround41:CARD=PCH,DEV=0
    HDA Intel PCH, ALC1150 Analog
    4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=PCH,DEV=0
    HDA Intel PCH, ALC1150 Analog
    5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=PCH,DEV=0
    HDA Intel PCH, ALC1150 Analog
    5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=PCH,DEV=0
    HDA Intel PCH, ALC1150 Analog
    7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
iec958:CARD=PCH,DEV=0
    HDA Intel PCH, ALC1150 Digital
    IEC958 (S/PDIF) Digital Audio Output

I was playing a DSD file through Smplayer. Smplayer volume and alsamixer volume both in play.

Seems like no "speaker-test" work:

speakertest -c2:

$ speaker-test 

speaker-test 1.1.3

Playback device is default
Stream parameters are 48000Hz, S16_LE, 1 channels
Using 16 octaves of pink noise
Sample format not available for playback: Invalid argument
Setting of hwparams failed: Invalid argument

$  speaker-test -c2

speaker-test 1.1.3

Playback device is default
Stream parameters are 48000Hz, S16_LE, 2 channels
Using 16 octaves of pink noise
Sample format not available for playback: Invalid argument
Setting of hwparams failed: Invalid argument

Last edited by banshee28 (2017-02-03 23:00:30)


Arch64, AMD64, LXDE

Offline

#7 2017-02-03 23:52:41

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,626

Re: Only Mono sound from USB DAC

You don't have a default device, remove those asound files they aren't really useful as they stand (and instead create a file in /etc/modprobe.d/alsa.conf with

options snd-usb-audio index=0
options snd-hda-intel index=-2

as the content.) And use

speaker-test -Dfront:CARD=x20 -c2

to properly verify if it works or not. If you have been playing a DSD stream via direct hardware access, there's a good chance that it played via passthrough and the IEC958 interface, which naturally, is controlled on the DAC.

Last edited by V1del (2017-02-03 23:56:10)

Offline

#8 2017-02-04 02:56:34

banshee28
Member
Registered: 2008-10-18
Posts: 336

Re: Only Mono sound from USB DAC

V1del wrote:

You don't have a default device, remove those asound files they aren't really useful as they stand (and instead create a file in /etc/modprobe.d/alsa.conf with

options snd-usb-audio index=0
options snd-hda-intel index=-2

as the content.) And use

speaker-test -Dfront:CARD=x20 -c2

to properly verify if it works or not. If you have been playing a DSD stream via direct hardware access, there's a good chance that it played via passthrough and the IEC958 interface, which naturally, is controlled on the DAC.

So I made those changes and rebooted. I can start speaker-test now but still only mono sound.
speaker-test -Dfront:CARD=x20 -c2 fails:

speaker-test 1.1.3

Playback device is front:CARD=x20
Stream parameters are 48000Hz, S16_LE, 2 channels
Using 16 octaves of pink noise
Sample format not available for playback: Invalid argument

However speaker-test -c2 works good, but still always both speakers. I agree it seems like its passing it all through. I have tested the sound with YouTube, local Smplayer, speaker-test, etc.

speaker-test 1.1.3

Playback device is default
Stream parameters are 48000Hz, S16_LE, 2 channels
Using 16 octaves of pink noise
Rate set to 48000Hz (requested 48000Hz)
Buffer size range from 2048 to 16384
Period size range from 1024 to 1024
Using max buffer size 16384
Periods = 4
was set period_size = 1024
was set buffer_size = 16384
 0 - Front Left
 1 - Front Right
Time per period = 5.654297
 0 - Front Left
 1 - Front Right
Time per period = 5.973369
 0 - Front Left
 1 - Front Right
Time per period = 5.973215
 0 - Front Left
 1 - Front Right

** EDIT: I just noticed something great. Now I can play more than one audio source at the same time without the other failing. Sound for those work like I would like them to. HOWEVER this does not fix the Mono speaker sound, but we are making progress.!! I guess this was the "dmix" setting I had in there somewhere......

Last edited by banshee28 (2017-02-04 03:00:59)


Arch64, AMD64, LXDE

Offline

#9 2017-02-10 18:54:42

banshee28
Member
Registered: 2008-10-18
Posts: 336

Re: Only Mono sound from USB DAC

Any ideas? It seems like its something with the config as it says "mono" in a few places, so not sure if its on the DAC or amp.

Last edited by banshee28 (2017-02-10 19:54:49)


Arch64, AMD64, LXDE

Offline

#10 2020-11-23 07:14:13

LittleBobbyTables
Member
Registered: 2019-09-15
Posts: 3

Re: Only Mono sound from USB DAC

Did you ever figure this out?  I'm having the same problem.

Offline

#11 2020-11-23 08:07:13

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,626

Re: Only Mono sound from USB DAC

It's almost always actually intentional from the DACs side if that is the case.

In any case please don't necrobump three year old topics and post the outputs posted and requested in this thread from your own system if you want to diagnose this. banshee28 hasn't been here since this post

Closing.

Offline

Board footer

Powered by FluxBB