speaker-test returns all 6 channels to front speakers

OS: KUBUNTU 19.04 Soundcard: Creative Soundblaster ZxR Sound Setup: front (left/right), center, bass, rear (left/right)

My problem is, that all speaker outputs are played at the front speakers.

I did the following:

  • Set speaker setup at Plasma sound settings to “Analog Surround 5.1-Output + Analog Stereo-Input”
  • If I click on any rear speaker there, to test audio output, they are played on front speakers. The setup seems very faulty:
    • rear right: output on front left and right at the same time
    • rear left: output on front left and right at the same time
    • center: output on front left and right at the same time
    • front left: output on front left (one of two correct speakers)
    • front right: output on front right (one of two correct speakers)
  • I then executed alsamixer and noticed that my NVIDIA Graphics card was initially selected. I switched with F6 to my ZxR and set it up like this: enter image description here
  • I ran speaker-test -Dplug:surround51 -c6 -twav. An error message appeared and I was unable to perform the command: Error when opening the device: -2
  • I googled how to set the default device and so I did cat /proc/asound/cards:
 0 [NVidia         ]: HDA-Intel - HDA NVidia                       HDA NVidia at 0xdf080000 irq 17  1 [Creative       ]: HDA-Intel - HDA Creative                       HDA Creative at 0xdf204000 irq 19 

with kate ~/.asoundrc I set my default device:

defaults.pcm.card 1 defaults.ctl.card 1 defaults.timer.card 1 
  • after a restart speaker-test -Dplug:surround51 -c6 -twav was working: Unfortunately rear left output is on front left, rear right output is on front right, center appears to be on both front (left/right) speakers

Does anyone have any idea how I can fix this?

ArchLinux: No sound with USB sound card in most applications except when speaker-test runs

I recently bought some new speakers with an integrated USB-Sound-Card (Teufel Cinebar One). The Sound Card is recognized by my System (latest Manjaro with XFCE, Kernel 4.19.28-1) but I have no sound in Firefox or other applications except when speaker-test is running in the background, which is weird enough. I can get sound to work in VLC and audacious by configuring the output to my sound card but while VLC or audacious are playing I cant get any other application to play sound. While audacious plays music speaker-test is silent and YouTube videos refuse to load at all. Some games don’t even start or freeze. The other way around, if YouTube or speaker-test are running, I cant get the music players to work, they throw an error Audio output failed: The audio device "teufel" could not be used: Device or resource busy. I guess that’s the same reason Firefox wont load since only one applications seems to get access to the sound card at a time.

I followed the instructions found here https://wiki.archlinux.org/index.php/Advanced_Linux_Sound_Architecture and here https://wiki.archlinux.org/index.php/PulseAudio/Troubleshooting as close as I could but frankly I have no idea what I’m doing and really could use some help since I’m trying to get this to work for two days now.

As far as I can tell, the card is recognized correctly. Output of aplay -l lists my sound card as One

card 0: PCH [HDA Intel PCH], device 0: ALC892 Analog [ALC892 Analog]   Subdevices: 1/1   Subdevice #0: subdevice #0 card 1: NVidia [HDA NVidia], device 3: HDMI 0 [HDMI 0]   Subdevices: 1/1   Subdevice #0: subdevice #0 card 1: NVidia [HDA NVidia], device 7: HDMI 1 [HDMI 1]   Subdevices: 1/1   Subdevice #0: subdevice #0 card 1: NVidia [HDA NVidia], device 8: HDMI 2 [HDMI 2]   Subdevices: 1/1   Subdevice #0: subdevice #0 card 1: NVidia [HDA NVidia], device 9: HDMI 3 [HDMI 3]   Subdevices: 1/1   Subdevice #0: subdevice #0 card 2: One [Teufel Cinebar One], device 0: USB Audio [USB Audio]   Subdevices: 1/1   Subdevice #0: subdevice #0 

When I test it with speaker-test -c One I can hear the sound and it outputs

Playback device is default Stream parameters are 48000Hz, S16_LE, 1 channels Using 16 octaves of pink noise Rate set to 48000Hz (requested 48000Hz) Buffer size range from 192 to 2097152 Period size range from 64 to 699051 Using max buffer size 2097152 Periods = 4 was set period_size = 524288 was set buffer_size = 2097152  0 - Front Left Time per period = 10,936167  0 - Front Left 

pacmd list-cards also lists the card among the other devices.

3 card(s) available.     index: 0     name: <alsa_card.pci-0000_01_00.1>     driver: <module-alsa-card.c>     owner module: 6     properties:         alsa.card = "1"         alsa.card_name = "HDA NVidia"         alsa.long_card_name = "HDA NVidia at 0xf7080000 irq 17"         alsa.driver_name = "snd_hda_intel"         device.bus_path = "pci-0000:01:00.1"         sysfs.path = "/devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card1"         device.bus = "pci"         device.vendor.id = "10de"         device.vendor.name = "NVIDIA Corporation"         device.product.id = "0fbb"         device.product.name = "GM204 High Definition Audio Controller"         device.string = "1"         device.description = "GM204 High Definition Audio Controller"         module-udev-detect.discovered = "1"         device.icon_name = "audio-card-pci"     profiles:         output:hdmi-stereo: Digital Stereo (HDMI) Output (priority 5900, available: no)         output:hdmi-surround: Digital Surround 5.1 (HDMI) Output (priority 800, available: no)         output:hdmi-surround71: Digital Surround 7.1 (HDMI) Output (priority 800, available: no)         output:hdmi-stereo-extra1: Digital Stereo (HDMI 2) Output (priority 5700, available: unknown)         output:hdmi-stereo-extra2: Digital Stereo (HDMI 3) Output (priority 5700, available: no)         output:hdmi-surround-extra2: Digital Surround 5.1 (HDMI 3) Output (priority 600, available: no)         output:hdmi-surround71-extra2: Digital Surround 7.1 (HDMI 3) Output (priority 600, available: no)         output:hdmi-stereo-extra3: Digital Stereo (HDMI 4) Output (priority 5700, available: no)         output:hdmi-surround-extra3: Digital Surround 5.1 (HDMI 4) Output (priority 600, available: no)         output:hdmi-surround71-extra3: Digital Surround 7.1 (HDMI 4) Output (priority 600, available: no)         off: Off (priority 0, available: unknown)     active profile: <off>     ports:         hdmi-output-0: HDMI / DisplayPort (priority 5900, latency offset 0 usec, available: no)             properties:                 device.icon_name = "video-display"         hdmi-output-1: HDMI / DisplayPort 2 (priority 5800, latency offset 0 usec, available: yes)             properties:                 device.icon_name = "video-display"                 device.product.name = "BenQ XL2720Z "         hdmi-output-2: HDMI / DisplayPort 3 (priority 5700, latency offset 0 usec, available: no)             properties:                 device.icon_name = "video-display"         hdmi-output-3: HDMI / DisplayPort 4 (priority 5600, latency offset 0 usec, available: no)             properties:                 device.icon_name = "video-display"     index: 1     name: <alsa_card.usb-2cc2_Teufel_Cinebar_One_ABCDEF0123456789-00>     driver: <module-alsa-card.c>     owner module: 7     properties:         alsa.card = "2"         alsa.card_name = "Teufel Cinebar One"         alsa.long_card_name = "Teufel Cinebar One at usb-0000:00:14.0-7, full speed"         alsa.driver_name = "snd_usb_audio"         device.bus_path = "pci-0000:00:14.0-usb-0:7:1.0"         sysfs.path = "/devices/pci0000:00/0000:00:14.0/usb2/2-7/2-7:1.0/sound/card2"         udev.id = "usb-2cc2_Teufel_Cinebar_One_ABCDEF0123456789-00"         device.bus = "usb"         device.vendor.id = "2cc2"         device.vendor.name = "2cc2"         device.product.id = "0005"         device.product.name = "Teufel Cinebar One"         device.serial = "2cc2_Teufel_Cinebar_One_ABCDEF0123456789"         device.string = "2"         device.description = "Teufel Cinebar One"         module-udev-detect.discovered = "1"         device.icon_name = "audio-card-usb"     profiles:         output:analog-stereo: Analog Stereo Output (priority 6500, available: unknown)         output:iec958-stereo: Digital Stereo (IEC958) Output (priority 5500, available: unknown)         off: Off (priority 0, available: unknown)     active profile: <output:analog-stereo>     sinks:         alsa_output.usb-2cc2_Teufel_Cinebar_One_ABCDEF0123456789-00.analog-stereo/#4: Teufel Cinebar One Analog Stereo     sources:         alsa_output.usb-2cc2_Teufel_Cinebar_One_ABCDEF0123456789-00.analog-stereo.monitor/#4: Monitor of Teufel Cinebar One Analog Stereo     ports:         analog-output: Analog Output (priority 9900, latency offset 0 usec, available: unknown)             properties:          iec958-stereo-output: Digital Output (S/PDIF) (priority 0, latency offset 0 usec, available: unknown)             properties:      index: 2     name: <alsa_card.pci-0000_00_1b.0>     driver: <module-alsa-card.c>     owner module: 8     properties:         alsa.card = "0"         alsa.card_name = "HDA Intel PCH"         alsa.long_card_name = "HDA Intel PCH at 0xf7110000 irq 29"         alsa.driver_name = "snd_hda_intel"         device.bus_path = "pci-0000:00:1b.0"         sysfs.path = "/devices/pci0000:00/0000:00:1b.0/sound/card0"         device.bus = "pci"         device.vendor.id = "8086"         device.vendor.name = "Intel Corporation"         device.product.id = "8ca0"         device.product.name = "9 Series Chipset Family HD Audio Controller"         device.form_factor = "internal"         device.string = "0"         device.description = "Built-in Audio"         module-udev-detect.discovered = "1"         device.icon_name = "audio-card-pci"     profiles:         input:analog-stereo: Analog Stereo Input (priority 65, available: no)         output:analog-stereo: Analog Stereo Output (priority 6500, available: no)         output:analog-stereo+input:analog-stereo: Analog Stereo Duplex (priority 6565, available: no)         output:analog-surround-21: Analog Surround 2.1 Output (priority 1300, available: no)         output:analog-surround-21+input:analog-stereo: Analog Surround 2.1 Output + Analog Stereo Input (priority 1365, available: no)         output:analog-surround-40: Analog Surround 4.0 Output (priority 1200, available: no)         output:analog-surround-40+input:analog-stereo: Analog Surround 4.0 Output + Analog Stereo Input (priority 1265, available: no)         output:analog-surround-41: Analog Surround 4.1 Output (priority 1300, available: no)         output:analog-surround-41+input:analog-stereo: Analog Surround 4.1 Output + Analog Stereo Input (priority 1365, available: no)         output:analog-surround-50: Analog Surround 5.0 Output (priority 1200, available: no)         output:analog-surround-50+input:analog-stereo: Analog Surround 5.0 Output + Analog Stereo Input (priority 1265, available: no)         output:analog-surround-51: Analog Surround 5.1 Output (priority 1300, available: no)         output:analog-surround-51+input:analog-stereo: Analog Surround 5.1 Output + Analog Stereo Input (priority 1365, available: no)         output:analog-surround-71: Analog Surround 7.1 Output (priority 1200, available: no)         output:analog-surround-71+input:analog-stereo: Analog Surround 7.1 Output + Analog Stereo Input (priority 1265, available: no)         off: Off (priority 0, available: unknown)     active profile: <off>     ports:         analog-input-front-mic: Front Microphone (priority 8500, latency offset 0 usec, available: no)             properties:                 device.icon_name = "audio-input-microphone"         analog-input-rear-mic: Rear Microphone (priority 8200, latency offset 0 usec, available: no)             properties:                 device.icon_name = "audio-input-microphone"         analog-input-linein: Line In (priority 8100, latency offset 0 usec, available: no)             properties:          analog-output-lineout: Line Out (priority 9900, latency offset 0 usec, available: no)             properties:          analog-output-headphones: Headphones (priority 9000, latency offset 0 usec, available: no)             properties:                 device.icon_name = "audio-headphones" 

I tried my best to edit /etc/asound.conf and added entries as described in the manuals.

# Use PulseAudio by default  pcm.!default {   type pulse   fallback "sysdefault"   hint {     show on     description "Default ALSA Output (currently PulseAudio Sound Server)"   } }  ctl.!default {   type pulse   fallback "sysdefault" }  pcm.teufel {   type hw   card One   hint {     show on     description "Teufel Cinebar One (Defined in asound.conf)"   } }  ctl.teufel {   type hw   card One }  pcm.dsp {     type plug     slave.pcm "dmix" }  # vim:set ft=alsaconf: 

As you can see I tried to create a new audio device named teufel. this worked so far but selecting it from audacity or VLC creates no output whatsoever but the other issues remain.

At this point I’m really lost. I tried a lot of thing I found online, like adding my user to the audio group but with no success. It would be great if I could get this to work and don’t have to give up like the last time I tried setting up a sound card 15 years ago.