Getting soundcard surround working properly

Hey everyone,

I'm new to Zorin OS16 and still getting to know Linux, though have worked with it before.

Hardware:
I've run into an issue using the soundcard: SB1570 SB Audigy Fx.

Hardware information (more entries/info available, but this one is required):
aplay -L
surround51:CARD=Creative,DEV=0
HDA Creative, ALC898 Analog
5.1 Surround output to Front, Center, Rear and Subwoofer speakers

aplay -l
card 1: Creative [HDA Creative], device 0: ALC898 Analog [ALC898 Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0

pacmd list-cards

Please mark the visible "unknown" in the profiles:

    index: 1
	name: <alsa_card.pci-0000_03_00.0>
	driver: <module-alsa-card.c>
	owner module: 8
	properties:
		alsa.card = "1"
		alsa.card_name = "HDA Creative"
		alsa.long_card_name = "HDA Creative at 0xfe204000 irq 16"
		alsa.driver_name = "snd_hda_intel"
		device.bus_path = "pci-0000:03:00.0"
		sysfs.path = "/devices/pci0000:00/0000:00:15.0/0000:03:00.0/sound/card1"
		device.bus = "pci"
		device.vendor.id = "1102"
		device.vendor.name = "Creative Labs"
		device.product.id = "0012"
		device.product.name = "Sound Core3D [Sound Blaster Recon3D / Z-Series] (SB1570 SB Audigy Fx)"
		device.string = "1"
		device.description = "Sound Core3D [Sound Blaster Recon3D / Z-Series] (SB1570 SB Audigy Fx)"
		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 39268, available: unknown)
		output:analog-stereo+input:analog-stereo: Analog Stereo Duplex (priority 6565, available: unknown)
		output:analog-surround-21: Analog Surround 2.1 Output (priority 34068, available: unknown)
		output:analog-surround-21+input:analog-stereo: Analog Surround 2.1 Output + Analog Stereo Input (priority 1365, available: unknown)
		output:analog-surround-40: Analog Surround 4.0 Output (priority 33968, available: unknown)
		output:analog-surround-40+input:analog-stereo: Analog Surround 4.0 Output + Analog Stereo Input (priority 1265, available: unknown)
		output:analog-surround-41: Analog Surround 4.1 Output (priority 34068, available: unknown)
		output:analog-surround-41+input:analog-stereo: Analog Surround 4.1 Output + Analog Stereo Input (priority 1365, available: unknown)
		output:analog-surround-50: Analog Surround 5.0 Output (priority 33968, available: unknown)
		output:analog-surround-50+input:analog-stereo: Analog Surround 5.0 Output + Analog Stereo Input (priority 1265, available: unknown)
		output:analog-surround-51: Analog Surround 5.1 Output (priority 34068, available: unknown)
		output:analog-surround-51+input:analog-stereo: Analog Surround 5.1 Output + Analog Stereo Input (priority 1365, available: unknown)
		off: Off (priority 0, available: unknown)
	active profile: <output:analog-stereo+input:analog-stereo>
	sinks:
		alsa_output.pci-0000_03_00.0.analog-stereo/#2: Sound Core3D [Sound Blaster Recon3D / Z-Series] (SB1570 SB Audigy Fx) Analog Stereo
	sources:
		alsa_input.pci-0000_03_00.0.analog-stereo/#1: Sound Core3D [Sound Blaster Recon3D / Z-Series] (SB1570 SB Audigy Fx) Analog Stereo
		alsa_output.pci-0000_03_00.0.analog-stereo.monitor/#3: Monitor of Sound Core3D [Sound Blaster Recon3D / Z-Series] (SB1570 SB Audigy Fx) Analog Stereo
	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 9000, latency offset 0 usec, available: yes)
			properties:    index: 1
	name: <alsa_card.pci-0000_03_00.0>
	driver: <module-alsa-card.c>
	owner module: 8
	properties:
		alsa.card = "1"
		alsa.card_name = "HDA Creative"
		alsa.long_card_name = "HDA Creative at 0xfe204000 irq 16"
		alsa.driver_name = "snd_hda_intel"
		device.bus_path = "pci-0000:03:00.0"
		sysfs.path = "/devices/pci0000:00/0000:00:15.0/0000:03:00.0/sound/card1"
		device.bus = "pci"
		device.vendor.id = "1102"
		device.vendor.name = "Creative Labs"
		device.product.id = "0012"
		device.product.name = "Sound Core3D [Sound Blaster Recon3D / Z-Series] (SB1570 SB Audigy Fx)"
		device.string = "1"
		device.description = "Sound Core3D [Sound Blaster Recon3D / Z-Series] (SB1570 SB Audigy Fx)"
		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 39268, available: unknown)
		output:analog-stereo+input:analog-stereo: Analog Stereo Duplex (priority 6565, available: unknown)
		output:analog-surround-21: Analog Surround 2.1 Output (priority 34068, available: unknown)
		output:analog-surround-21+input:analog-stereo: Analog Surround 2.1 Output + Analog Stereo Input (priority 1365, available: unknown)
		output:analog-surround-40: Analog Surround 4.0 Output (priority 33968, available: unknown)
		output:analog-surround-40+input:analog-stereo: Analog Surround 4.0 Output + Analog Stereo Input (priority 1265, available: unknown)
		output:analog-surround-41: Analog Surround 4.1 Output (priority 34068, available: unknown)
		output:analog-surround-41+input:analog-stereo: Analog Surround 4.1 Output + Analog Stereo Input (priority 1365, available: unknown)
		output:analog-surround-50: Analog Surround 5.0 Output (priority 33968, available: unknown)
		output:analog-surround-50+input:analog-stereo: Analog Surround 5.0 Output + Analog Stereo Input (priority 1265, available: unknown)
		output:analog-surround-51: Analog Surround 5.1 Output (priority 34068, available: unknown)
		output:analog-surround-51+input:analog-stereo: Analog Surround 5.1 Output + Analog Stereo Input (priority 1365, available: unknown)
		off: Off (priority 0, available: unknown)
	active profile: <output:analog-stereo+input:analog-stereo>
	sinks:
		alsa_output.pci-0000_03_00.0.analog-stereo/#2: Sound Core3D [Sound Blaster Recon3D / Z-Series] (SB1570 SB Audigy Fx) Analog Stereo
	sources:
		alsa_input.pci-0000_03_00.0.analog-stereo/#1: Sound Core3D [Sound Blaster Recon3D / Z-Series] (SB1570 SB Audigy Fx) Analog Stereo
		alsa_output.pci-0000_03_00.0.analog-stereo.monitor/#3: Monitor of Sound Core3D [Sound Blaster Recon3D / Z-Series] (SB1570 SB Audigy Fx) Analog Stereo
	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 9000, latency offset 0 usec, available: yes)
			properties:
				
		analog-output-headphones: Headphones (priority 9900, latency offset 0 usec, available: no)
			properties:
				device.icon_name = "audio-headphones"

				
		analog-output-headphones: Headphones (priority 9900, latency offset 0 usec, available: no)
			properties:
				device.icon_name = "audio-headphones"

Connection:
The card is wired up to a 5.1 surround system using the 3 wires (black, orange, green).

How to recreate issue:
It's possible to select the "Line Out - Soundblaster" in Settings > Sound.
Changing the configuration will cause it to fail:

Configuration by default shows "Analog Stereo Output". Using the dropdown to select "Analog Surround 5.1 Output" is cause for everything related to sound failing.

Result:
The only configuration device showing is "Dummy Device".

What did I do to fix it?

  • I have tried using the card in the same machine and config in Windows 10, this is working without any issue (dualboot).
  • I have tried using alsamixer to set card to 6 channels, however this option is not available.
  • I have used pavucontrol to (re)set correct soundcard and profile (only "Analog Stereo Duplex" will get it back working partly)
  • I have tried overruling the speaker location using hdajackretask (recognised as Realtek ACL898 overridden Black Line Out, Rear side to Line out (Back) and Orange Line Out, Rear side to Lineout Center LFE)

How close did I get?
I have found a perfectly working speaker-test, but do not know how to force this setting everywhere else.
These three speaker-test settings below get the required result and are working absolutely perfect, every individual and correct speaker is being played!

  speaker-test --buffer 100000 -D hw:1,0 -c 6 
  speaker-test --buffer 100000 -D hw:1,0 -c 6 -t wav
  speaker-test --buffer 100000 -D surround51:1,0 -c 6 -t wav

speaker-test 1.2.2

Playback device is surround51:1,0
Stream parameters are 48000Hz, S16_LE, 6 channels
WAV file(s)
Rate set to 48000Hz (requested 48000Hz)
Buffer size range from 64 to 8544000
Period size range from 32 to 4272000
Requested buffer time 100000 us
Periods = 4
was set period_size = 960
was set buffer_size = 4800
 0 - Front Left
 4 - Front Center
 1 - Front Right
 3 - Rear Right
 2 - Rear Left
 5 - LFE
Time per period = 8,541424

However, using the line as below, sound will emit from all speakers but dampened (so not correctly) :

  speaker-test --buffer 100000 -c 6 -t wav

speaker-test 1.2.2

Playback device is default
Stream parameters are 48000Hz, S16_LE, 6 channels
WAV file(s)
Rate set to 48000Hz (requested 48000Hz)
Buffer size range from 32 to 349525
Period size range from 10 to 116509
Requested buffer time 100000 us
Periods = 4
was set period_size = 1200
was set buffer_size = 4800
 0 - Front Left
 4 - Center
 1 - Front Right
 3 - Rear Right
 2 - Rear Left
 5 - LFE
Time per period = 8,537641

Expected result:
Get the card working, with default using the correct 5.1 settings as is experienced as possible, using speaker-test.
I believe I've collected all the required info, but if any extra information is required, please let me know.
I really hope you guys can help me, since I can't seem to get this working on my own and I'd like to keep using Zorin OS16 instead of Windows.

Also, I don't use forums very often so I hope I had the tags right to keep this readable.

Kind regards.

Hi and welcome to the forum :slight_smile:

I looked around and found this page:

It seems you need to do some manual configurations for this card to work properly in Linux.

1 Like

Wasn't @swarfendor437 having problems with surround sound, maybe not on ZorinOS though.
He found another mixer app, but I can't find the specific thread at the moment.

Due to slight frustration I missed the helpful information addition in the introduction post, the page automatically scrolled down, so in addition:

I'm using Zorin OS16 core edition with a dual boot to Windows 10.

Also; below the inxi -Faz output:

$ inxi -Faz
System:
  Kernel: 5.11.0-38-generic x86_64 bits: 64 compiler: N/A 
  parameters: BOOT_IMAGE=/boot/vmlinuz-5.11.0-38-generic 
  root=UUID=58a83085-e2ec-4477-a0cc-9f0663b4eabd ro quiet splash 
  vt.handoff=7 
  Desktop: Gnome 3.38.4 wm: gnome-shell dm: GDM3 3.38.2.1 
  Distro: Zorin OS 16 base: Ubuntu 20.04 LTS Focal 
Machine:
  Type: Desktop Mobo: ASUSTeK model: A88XM-PLUS v: Rev X.0x serial: <filter> 
  BIOS: American Megatrends v: 1601 date: 06/23/2014 
Battery:
  Device-1: hidpp_battery_0 model: Logitech Wireless Keyboard K360 
  serial: <filter> charge: 100% (should be ignored) rechargeable: yes 
  status: Discharging 
CPU:
  Topology: Quad Core model: AMD Athlon X4 760K bits: 64 type: MCP 
  arch: Piledriver family: 15 (21) model-id: 13 (19) stepping: 1 
  microcode: 6001119 L2 cache: 2048 KiB 
  flags: avx lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm 
  bogomips: 30551 
  Speed: 1808 MHz min/max: 1800/3800 MHz boost: enabled Core speeds (MHz): 
  1: 1808 2: 1818 3: 1808 4: 1807 
  Vulnerabilities: Type: itlb_multihit status: Not affected 
  Type: l1tf status: Not affected 
  Type: mds status: Not affected 
  Type: meltdown status: Not affected 
  Type: spec_store_bypass 
  mitigation: Speculative Store Bypass disabled via prctl and seccomp 
  Type: spectre_v1 
  mitigation: usercopy/swapgs barriers and __user pointer sanitization 
  Type: spectre_v2 
  mitigation: Full AMD retpoline, STIBP: disabled, RSB filling 
  Type: srbds status: Not affected 
  Type: tsx_async_abort status: Not affected 
Graphics:
  Device-1: NVIDIA GP107 [GeForce GTX 1050 Ti] vendor: CardExpert 
  driver: nvidia v: 470.74 bus ID: 01:00.0 chip ID: 10de:1c82 
  Display: x11 server: X.Org 1.20.11 driver: nvidia 
  unloaded: fbdev,modesetting,nouveau,vesa compositor: gnome-shell 
  resolution: 1920x1080~60Hz 
  OpenGL: renderer: NVIDIA GeForce GTX 1050 Ti/PCIe/SSE2 
  v: 4.6.0 NVIDIA 470.74 direct render: Yes 
Audio:
  Device-1: NVIDIA GP107GL High Definition Audio vendor: CardExpert 
  driver: snd_hda_intel v: kernel bus ID: 01:00.1 chip ID: 10de:0fb9 
  Device-2: Creative Labs Sound Core3D [Sound Blaster Recon3D / Z-Series] 
  driver: snd_hda_intel v: kernel bus ID: 03:00.0 chip ID: 1102:0012 
  Sound Server: ALSA v: k5.11.0-38-generic 
Network:
  Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet 
  vendor: ASUSTeK driver: r8169 v: kernel port: d000 bus ID: 04:00.0 
  chip ID: 10ec:8168 
  IF: enp4s0 state: up speed: 1000 Mbps duplex: full mac: <filter> 
Drives:
  Local Storage: total: 689.33 GiB used: 17.59 GiB (2.6%) 
  SMART Message: Required tool smartctl not installed. Check --recommends 
  ID-1: /dev/sda vendor: Seagate model: ST9500325AS size: 465.76 GiB 
  block size: physical: 512 B logical: 512 B speed: 3.0 Gb/s 
  rotation: 5400 rpm serial: <filter> rev: SDM1 scheme: GPT 
  ID-2: /dev/sdb vendor: PNY model: CS900 240GB SSD size: 223.57 GiB 
  block size: physical: 512 B logical: 512 B speed: 6.0 Gb/s 
  serial: <filter> rev: 0612 scheme: MBR 
Partition:
  ID-1: / raw size: 26.41 GiB size: 25.87 GiB (97.96%) 
  used: 17.59 GiB (68.0%) fs: ext4 dev: /dev/sdb5 
Sensors:
  System Temperatures: cpu: 9.2 C mobo: N/A gpu: nvidia temp: 30 C 
  Fan Speeds (RPM): N/A gpu: nvidia fan: 27% 
Info:
  Processes: 241 Uptime: 14h 31m Memory: 15.58 GiB used: 1.89 GiB (12.2%) 
  Init: systemd v: 245 runlevel: 5 Compilers: gcc: 9.3.0 alt: 9 Shell: bash 
  v: 5.0.17 running in: gnome-terminal inxi: 3.0.38 

Thanks, I've come across this page as well. However I do have sound, just not the way it should work, which is a bit weird apparently.

I'm okay with a bit manual configuration, I'll see if I can give it a go anyway, you never know!

@FrenchPress

Like I said, I would run through the post:

lspci -v

( removed Nvidia hdmi )

03:00.0 Audio device: Creative Labs Sound Core3D [Sound Blaster Recon3D / Z-Series] (rev 01)
Subsystem: Creative Labs SB1570 SB Audigy Fx
Flags: bus master, fast devsel, latency 0, IRQ 16
Memory at fe204000 (64-bit, non-prefetchable) [size=16K]
Memory at fe200000 (64-bit, non-prefetchable) [size=16K]
Capabilities: [40] Power Management version 3
Capabilities: [50] MSI: Enable- Count=1/1 Maskable+ 64bit+
Capabilities: [70] Express Endpoint, MSI 00
Capabilities: [100] Advanced Error Reporting
Capabilities: [140] Virtual Channel
Capabilities: [170] Device Serial Number 00-00-00-00-00-00-00-00
Capabilities: [180] Power Budgeting <?>
Kernel driver in use: snd_hda_intel
Kernel modules: snd_hda_intel

The following very probably won't work, since I do have sound, and using the testsetup I can get the correct surround sound as well:

sudo pulseaudio -k
sudo modprobe -r snd_hda_intel
sudo modprobe snd_hda_intel

So I tried anyway:

$ pulseaudio -k
$ sudo modprobe -r snd_hda_intel
modprobe: FATAL: Module snd_hda_intel is in use.

$ systemctl --user stop pulseaudio.socket
$ systemctl --user stop pulseaudio.service
$ sudo modprobe -r snd_hda_intel
$ sudo modprobe snd_hda_intel
$ systemctl --user start pulseaudio.service
$ systemctl --user start pulseaudio.socket

Unfortunately this doesn't change what current sound I have.

So as stated in the linked post:

Some details may be handy like
sudo lspci -vv
sudo lshw -class multimedia
aplay -l or aplay -L

See below for:

sudo lspci -vv


(removed Nvidia HDMI)

03:00.0 Audio device: Creative Labs Sound Core3D [Sound Blaster Recon3D / Z-Series] (rev 01)
	Subsystem: Creative Labs SB1570 SB Audigy Fx
	Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
	Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 0, Cache Line Size: 64 bytes
	Interrupt: pin A routed to IRQ 16
	Region 0: Memory at fe204000 (64-bit, non-prefetchable) [size=16K]
	Region 2: Memory at fe200000 (64-bit, non-prefetchable) [size=16K]
	Capabilities: [40] Power Management version 3
		Flags: PMEClk- DSI- D1- D2+ AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
		Status: D0 NoSoftRst+ PME-Enable- DSel=0 DScale=0 PME-
	Capabilities: [50] MSI: Enable- Count=1/1 Maskable+ 64bit+
		Address: 0000000000000000  Data: 0000
		Masking: 00000000  Pending: 00000000
	Capabilities: [70] Express (v2) Endpoint, MSI 00
		DevCap:	MaxPayload 128 bytes, PhantFunc 0, Latency L0s <64ns, L1 <1us
			ExtTag- AttnBtn- AttnInd- PwrInd- RBE+ FLReset- SlotPowerLimit 0.000W
		DevCtl:	CorrErr- NonFatalErr- FatalErr- UnsupReq-
			RlxdOrd- ExtTag- PhantFunc- AuxPwr- NoSnoop-
			MaxPayload 128 bytes, MaxReadReq 512 bytes
		DevSta:	CorrErr- NonFatalErr- FatalErr- UnsupReq- AuxPwr- TransPend-
		LnkCap:	Port #0, Speed 2.5GT/s, Width x1, ASPM L0s L1, Exit Latency L0s <512ns, L1 <16us
			ClockPM- Surprise- LLActRep- BwNot- ASPMOptComp-
		LnkCtl:	ASPM Disabled; RCB 64 bytes Disabled- CommClk+
			ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-
		LnkSta:	Speed 2.5GT/s (ok), Width x1 (ok)
			TrErr- Train- SlotClk+ DLActive- BWMgmt- ABWMgmt-
		DevCap2: Completion Timeout: Not Supported, TimeoutDis+, NROPrPrP-, LTR-
			 10BitTagComp-, 10BitTagReq-, OBFF Not Supported, ExtFmt-, EETLPPrefix-
			 EmergencyPowerReduction Not Supported, EmergencyPowerReductionInit-
			 FRS-, TPHComp-, ExtTPHComp-
			 AtomicOpsCap: 32bit- 64bit- 128bitCAS-
		DevCtl2: Completion Timeout: 50us to 50ms, TimeoutDis-, LTR-, OBFF Disabled
			 AtomicOpsCtl: ReqEn-
		LnkCtl2: Target Link Speed: 2.5GT/s, EnterCompliance- SpeedDis-
			 Transmit Margin: Normal Operating Range, EnterModifiedCompliance- ComplianceSOS-
			 Compliance De-emphasis: -6dB
		LnkSta2: Current De-emphasis Level: -6dB, EqualizationComplete-, EqualizationPhase1-
			 EqualizationPhase2-, EqualizationPhase3-, LinkEqualizationRequest-
	Capabilities: [100 v1] Advanced Error Reporting
		UESta:	DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq- ACSViol-
		UEMsk:	DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq- ACSViol-
		UESvrt:	DLP+ SDES+ TLP- FCP+ CmpltTO- CmpltAbrt- UnxCmplt- RxOF+ MalfTLP+ ECRC- UnsupReq- ACSViol-
		CESta:	RxErr- BadTLP- BadDLLP- Rollover- Timeout- AdvNonFatalErr-
		CEMsk:	RxErr- BadTLP- BadDLLP- Rollover- Timeout- AdvNonFatalErr+
		AERCap:	First Error Pointer: 00, ECRCGenCap+ ECRCGenEn- ECRCChkCap+ ECRCChkEn-
			MultHdrRecCap- MultHdrRecEn- TLPPfxPres- HdrLogCap-
		HeaderLog: 00000000 00000000 00000000 00000000
	Capabilities: [140 v1] Virtual Channel
		Caps:	LPEVC=0 RefClk=100ns PATEntryBits=1
		Arb:	Fixed- WRR32- WRR64- WRR128-
		Ctrl:	ArbSelect=Fixed
		Status:	InProgress-
		VC0:	Caps:	PATOffset=00 MaxTimeSlots=1 RejSnoopTrans-
			Arb:	Fixed- WRR32- WRR64- WRR128- TWRR128- WRR256-
			Ctrl:	Enable+ ID=0 ArbSelect=Fixed TC/VC=01
			Status:	NegoPending- InProgress-
		VC1:	Caps:	PATOffset=00 MaxTimeSlots=1 RejSnoopTrans-
			Arb:	Fixed- WRR32- WRR64- WRR128- TWRR128- WRR256-
			Ctrl:	Enable- ID=1 ArbSelect=Fixed TC/VC=00
			Status:	NegoPending- InProgress-
	Capabilities: [170 v1] Device Serial Number 00-00-00-00-00-00-00-00
	Capabilities: [180 v1] Power Budgeting <?>
	Kernel driver in use: snd_hda_intel
	Kernel modules: snd_hda_intel

sudo lshw -class multimedia

(didn't remove nvidia hdmi)

  *-multimedia              
       description: Audio device
       product: GP107GL High Definition Audio Controller
       vendor: NVIDIA Corporation
       physical id: 0.1
       bus info: pci@0000:01:00.1
       version: a1
       width: 32 bits
       clock: 33MHz
       capabilities: pm msi pciexpress bus_master cap_list
       configuration: driver=snd_hda_intel latency=0
       resources: irq:17 memory:fe080000-fe083fff
  *-multimedia
       description: Audio device
       product: Sound Core3D [Sound Blaster Recon3D / Z-Series]
       vendor: Creative Labs
       physical id: 0
       bus info: pci@0000:03:00.0
       version: 01
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress bus_master cap_list
       configuration: driver=snd_hda_intel latency=0
       resources: irq:16 memory:fe204000-fe207fff memory:fe200000-fe203fff

aplay -l

( this time without removing the Nvidia HDMI, which I don't want to use since the TV only supports 2 channels )

**** List of PLAYBACK Hardware Devices ****
card 0: NVidia [HDA NVidia], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: NVidia [HDA NVidia], device 7: HDMI 1 [HDMI 1]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: NVidia [HDA NVidia], device 8: HDMI 2 [HDMI 2]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: NVidia [HDA NVidia], device 9: HDMI 3 [HDMI 3]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: NVidia [HDA NVidia], device 10: HDMI 4 [HDMI 4]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: NVidia [HDA NVidia], device 11: HDMI 5 [HDMI 5]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: Creative [HDA Creative], device 0: ALC898 Analog [ALC898 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

aplay -L

$ aplay -L
default
    Playback/recording through the PulseAudio sound server
surround21
    2.1 Surround output to Front and Subwoofer speakers
surround40
    4.0 Surround output to Front and Rear speakers
surround41
    4.1 Surround output to Front, Rear and Subwoofer speakers
surround50
    5.0 Surround output to Front, Center and Rear speakers
surround51
    5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71
    7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
null
    Discard all samples (playback) or generate zero samples (capture)
samplerate
    Rate Converter Plugin Using Samplerate Library
speexrate
    Rate Converter Plugin Using Speex Resampler
jack
    JACK Audio Connection Kit
oss
    Open Sound System
pulse
    PulseAudio Sound Server
upmix
    Plugin for channel upmix (4,6,8)
vdownmix
    Plugin for channel downmix (stereo) with a simple spacialization
hdmi:CARD=NVidia,DEV=0
    HDA NVidia, HDMI 0
    HDMI Audio Output
hdmi:CARD=NVidia,DEV=1
    HDA NVidia, HDMI 1
    HDMI Audio Output
hdmi:CARD=NVidia,DEV=2
    HDA NVidia, HDMI 2
    HDMI Audio Output
hdmi:CARD=NVidia,DEV=3
    HDA NVidia, HDMI 3
    HDMI Audio Output
hdmi:CARD=NVidia,DEV=4
    HDA NVidia, HDMI 4
    HDMI Audio Output
hdmi:CARD=NVidia,DEV=5
    HDA NVidia, HDMI 5
    HDMI Audio Output
dmix:CARD=NVidia,DEV=3
    HDA NVidia, HDMI 0
    Direct sample mixing device
dmix:CARD=NVidia,DEV=7
    HDA NVidia, HDMI 1
    Direct sample mixing device
dmix:CARD=NVidia,DEV=8
    HDA NVidia, HDMI 2
    Direct sample mixing device
dmix:CARD=NVidia,DEV=9
    HDA NVidia, HDMI 3
    Direct sample mixing device
dmix:CARD=NVidia,DEV=10
    HDA NVidia, HDMI 4
    Direct sample mixing device
dmix:CARD=NVidia,DEV=11
    HDA NVidia, HDMI 5
    Direct sample mixing device
dsnoop:CARD=NVidia,DEV=3
    HDA NVidia, HDMI 0
    Direct sample snooping device
dsnoop:CARD=NVidia,DEV=7
    HDA NVidia, HDMI 1
    Direct sample snooping device
dsnoop:CARD=NVidia,DEV=8
    HDA NVidia, HDMI 2
    Direct sample snooping device
dsnoop:CARD=NVidia,DEV=9
    HDA NVidia, HDMI 3
    Direct sample snooping device
dsnoop:CARD=NVidia,DEV=10
    HDA NVidia, HDMI 4
    Direct sample snooping device
dsnoop:CARD=NVidia,DEV=11
    HDA NVidia, HDMI 5
    Direct sample snooping device
hw:CARD=NVidia,DEV=3
    HDA NVidia, HDMI 0
    Direct hardware device without any conversions
hw:CARD=NVidia,DEV=7
    HDA NVidia, HDMI 1
    Direct hardware device without any conversions
hw:CARD=NVidia,DEV=8
    HDA NVidia, HDMI 2
    Direct hardware device without any conversions
hw:CARD=NVidia,DEV=9
    HDA NVidia, HDMI 3
    Direct hardware device without any conversions
hw:CARD=NVidia,DEV=10
    HDA NVidia, HDMI 4
    Direct hardware device without any conversions
hw:CARD=NVidia,DEV=11
    HDA NVidia, HDMI 5
    Direct hardware device without any conversions
plughw:CARD=NVidia,DEV=3
    HDA NVidia, HDMI 0
    Hardware device with all software conversions
plughw:CARD=NVidia,DEV=7
    HDA NVidia, HDMI 1
    Hardware device with all software conversions
plughw:CARD=NVidia,DEV=8
    HDA NVidia, HDMI 2
    Hardware device with all software conversions
plughw:CARD=NVidia,DEV=9
    HDA NVidia, HDMI 3
    Hardware device with all software conversions
plughw:CARD=NVidia,DEV=10
    HDA NVidia, HDMI 4
    Hardware device with all software conversions
plughw:CARD=NVidia,DEV=11
    HDA NVidia, HDMI 5
    Hardware device with all software conversions
usbstream:CARD=NVidia
    HDA NVidia
    USB Stream Output
sysdefault:CARD=Creative
    HDA Creative, ALC898 Analog
    Default Audio Device
front:CARD=Creative,DEV=0
    HDA Creative, ALC898 Analog
    Front speakers
surround21:CARD=Creative,DEV=0
    HDA Creative, ALC898 Analog
    2.1 Surround output to Front and Subwoofer speakers
surround40:CARD=Creative,DEV=0
    HDA Creative, ALC898 Analog
    4.0 Surround output to Front and Rear speakers
surround41:CARD=Creative,DEV=0
    HDA Creative, ALC898 Analog
    4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=Creative,DEV=0
    HDA Creative, ALC898 Analog
    5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=Creative,DEV=0
    HDA Creative, ALC898 Analog
    5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=Creative,DEV=0
    HDA Creative, ALC898 Analog
    7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
dmix:CARD=Creative,DEV=0
    HDA Creative, ALC898 Analog
    Direct sample mixing device
dsnoop:CARD=Creative,DEV=0
    HDA Creative, ALC898 Analog
    Direct sample snooping device
hw:CARD=Creative,DEV=0
    HDA Creative, ALC898 Analog
    Direct hardware device without any conversions
plughw:CARD=Creative,DEV=0
    HDA Creative, ALC898 Analog
    Hardware device with all software conversions
usbstream:CARD=Creative
    HDA Creative
    USB Stream Output

It is a bit beyond me.

I use USB DAC (Topping D30) for the main desktop and ASUS Xonar DG PCI card for the submachine. Both work OOB in Linux. I never have any experience in multi channel setup.

I wonder if other volunteers have some idea for your issue.
@Aravisian @Storm @StarTreker @337harvey

He needs a DAC capable of surround sound. Hook it up via USB. Linux should detect the device and already have a driver for it.

Install Pulse Audio to get more audio controls to adjust sound properties. The output of the DAC should process surround as needed.

Anyways, that's all I can offer. I'm off to bed.

1 Like

That is probably the simplest solution but with a cost for new parts.

I searched more but all I could find were questions and no answers.
It seems Sounds Blaster PCI(E) cards are not very Linux friendly :frowning:

On the contrary, I have several Sound Blaster USB DACs. They all work OOB.

1 Like

Problem solved!

Goodnight. :milky_way:

Agreed, the cost for new parts is what's holding me back. But if this is the only solution, then that's it.

What I find strange though, is that I'm able to get the correct output using test-speaker, so imho it should work one way or another.

I have tried gathering some more information, since it's mid-afternoon here now. Please see below:

I tried gathering some more information.

To clarify, when running speaker-test, it will play sound on the correct card (the nvidia hdmi is disabled in pavucontrol)
but only when profile is set to Analog Stereo Duplex. It will also address all speakers, but not correctly:

Front Left is played through front and rear
Front Right is played through front and rear
Rear Left and Right and LFE are nearly silenced compared to the correct addressing

speaker-test --buffer 100000 -c 6 -t wav

speaker-test 1.2.2

Playback device is default
Stream parameters are 48000Hz, S16_LE, 6 channels
WAV file(s)
Rate set to 48000Hz (requested 48000Hz)
Buffer size range from 32 to 349525
Period size range from 10 to 116509
Requested buffer time 100000 us
Periods = 4
was set period_size = 1200
was set buffer_size = 4800
 0 - Front Left
 4 - Center
 1 - Front Right
 3 - Rear Right
 2 - Rear Left
 5 - LFE

When running the speaker test and explicitly stating to use the device and surround settings,
it will address every individual speaker correctly and with correct volume.

$ speaker-test --buffer 100000 -D surround51:1,0 -c 6 -t wav

speaker-test 1.2.2

Playback device is surround51:1,0
Stream parameters are 48000Hz, S16_LE, 6 channels
WAV file(s)
Rate set to 48000Hz (requested 48000Hz)
Buffer size range from 64 to 8544000
Period size range from 32 to 4272000
Requested buffer time 100000 us
Periods = 4
was set period_size = 960
was set buffer_size = 4800
 0 - Front Left
 4 - Front Center
 1 - Front Right
 3 - Rear Right
 2 - Rear Left
 5 - LFE
Time per period = 8,541089

I'm aware of the following files:

/etc/pulse/daemon.conf
/etc/pulse/default.pa

So I have tried Enabling Surround Sound in libraries, as found here: SurroundSound - Community Help Wiki
I'm also aware of the alsamixer as referenced above, F6 to select the card and can see the following:

Master: 100
PCM: 100
Front: 100
Surround: 100
Center: 100
LFE: 100
Auto-Mute: disabled (this is the only one I need to set)

The option to select the amount of channels is not available (tried using right arrow, due to screenwidth, it's not there)

There also was a posted solution to combine the output-sinks to get a 6 channel output, but this didn't get the correct result either.

So this is when I got to trying to get a config / profile in myself, using:

/etc/pulse/daemon.conf

# Custom Settings Below:
default-sample-channels = 6
default-sample-rate = 48000
default-channel-map = front-left,front-center,front-right,rear-right,rear-left,lfe

Restarting pulseaudio or whole pc works fine, but the profile and output remains the same, multi-speaker output but not correctly.

Edit: some spelling fixes

I free understand.
I think I was super lucky. In Linux, I can use almost all peripheral I I used to use in Windows.

1 Like

Since your hardware is working in dual channel I suspect you need to have some extra setup to use multichannel.
Did you look at this page?

1 Like

Yes, this is the page I got the hdajackretask from, since it's for the ALC898 as well.
Maybe I've overlooked something, going through it again.

1 Like

Ran through all the steps again:

/etc/pulse/daemon.conf

# Custom Settings Below:
default-sample-channels = 6
enable-remixing = yes
default-sample-rate = 48000
default-channel-map = front-left,front-center,front-right,rear-right,rear-left,lfe

/lib/firmware/hda-jack-retask.fw

[codec]
0x10ec0899 0x11020041 1

[pincfg]
0x11 0x40130000
0x12 0x411111f0
0x14 0x01014010
0x15 0x01014012
0x16 0x01014011
0x17 0x41012014
0x18 0x01a19040
0x19 0x02a19050
0x1a 0x01813060
0x1b 0x0221401f
0x1c 0x411111f0
0x1d 0x4025e601
0x1e 0x41441130
0x1f 0x41c46170

cat /etc/modprobe.d/hda-jack-retask.conf

# This file was added by the program 'hda-jack-retask'.
# If you want to revert the changes made by this program, you can simply erase this file and reboot your computer.
options snd-hda-intel patch=hda-jack-retask.fw,hda-jack-retask.fw,hda-jack-retask.fw,hda-jack-retask.fw

dmesg | grep hda-jack-retask

[    5.458334] snd_hda_intel 0000:01:00.1: Applying patch firmware 'hda-jack-retask.fw'
[    5.459979] snd_hda_intel 0000:03:00.0: Applying patch firmware 'hda-jack-retask.fw'
[54115.927097] snd_hda_intel 0000:01:00.1: Applying patch firmware 'hda-jack-retask.fw'
[54115.927296] snd_hda_intel 0000:03:00.0: Applying patch firmware 'hda-jack-retask.fw'
pavucontrol
Changed Analog Stereo Duplex to Analog Surround 5.1 Output

This is were it all goes wrong (just like before all the other steps), when it automatically changes the output device to "dummy output" instead of
Sound Core3D [Sound Blaster Recon3D / Z-Series] (SB1570 SB Audigy Fx) Analog Stereo, and ending up without sound at all (including default speaker-test).

I can only get the sound back, when using pavucontrol to set it back to Analog Stereo Output (thus removing dummy output)

Edit:

Running the speaker-test and explicitly stating the card, while having dummy output in pavucontrol will still trigger a succesfull speaker-test, however all other sound is gone.

speaker-test --buffer 100000 -D surround51:1,0 -c 6 -t wav

So I'm thinking somewhere I should be able to force "surround51:1,0" as default and the problem should be fixed.

It is for a different chipset but I found a similar problem and the solution in Mint forum:
https://forums.linuxmint.com/viewtopic.php?t=296634

After going through the steps in that post and enabling AC3, I found that output:iec958-ac3-surround-51 was still not initially there in pacmd info, but once I did a few steps of this (I only did the first three steps and the output option showed up when doing pacmd info), I was able to follow the steps you linked to, and now the output is 5.1 channel as expected.

and this:
https://www.halfgaar.net/surround-sound-in-linux

1 Like

Out of interest, can you run alsamixer from terminal.
Hit [F6] to check that surround card is selected.
Select option to display [All] sound output and capture channels.
Post a screenshot here.

1 Like

This is when the profile isn't available, however to me the profiles are visible:

Pulse audio volume control > Configuration > Sound Core3D [Soundblaster etc]
Profile has a Dropdown-menu with the following items (through different order):

Analog Surround 5.1 Output
Analog Surround 5.0 Output
Analog Surround 4.1 Output
Analog Surround 4.0 Output
Analog Surround 2.1 Output
Analog Surround 2.0 Output
Analog Stereo Output
Analog Stereo Duplex
Analog Surround 5.1 Output + Analog Stereo Input
Analog Surround 5.0 Output + Analog Stereo Input
Analog Surround 4.1 Output + Analog Stereo Input
Analog Surround 4.0 Output + Analog Stereo Input
Analog Surround 2.1 Output + Analog Stereo Input
Analog Surround 2.0 Output + Analog Stereo Input
Analog Stereo Input (unplugged) (unavailable)
Off

So I ran through setting all of the available profiles and then checking the Output and Input Devices tab, followed by running: speaker-test -c 6 -t wav (so without stating the device).

These are the results:

Analog Surround 5.1 Output -> Dummy output, no sound, Input is empty
Analog Surround 5.0 Output -> Dummy output, no sound, Input is empty
Analog Surround 4.1 Output -> Dummy output, no sound, Input is empty
Analog Surround 4.0 Output -> Line Out (plugged in), individual speakers get hit (including center!), but without subwoofer, Input is empty
Analog Surround 2.1 Output -> Dummy output, no sound, Input is empty
Analog Stereo Output -> Line Out (plugged in), all L or R speakers get a combined hit and are muffled, Input is empty

For the following I checked input devices too, but these are unplugged.

Analog Surround 5.1 Output + Analog Stereo Input -> Dummy output, no sound, Input shows FrontMic, RearMic, LineIn, all three unplugged.
Analog Surround 5.0 Output + Analog Stereo Input -> Dummy output, no sound, Input shows FrontMic, RearMic, LineIn, all three unplugged.
Analog Surround 4.1 Output + Analog Stereo Input -> Dummy output, no sound, Input shows FrontMic, RearMic, LineIn, all three unplugged.
Analog Surround 4.0 Output + Analog Stereo Input -> Line Out (plugged in), individual speakers get hit (including center!), but without subwoofer, Input shows FrontMic, RearMic, LineIn, all three unplugged.
Analog Surround 2.1 Output + Analog Stereo Input -> Dummy output, no sound, Input shows FrontMic, RearMic, LineIn, all three unplugged.
Analog Stereo Duplex -> Line Out (plugged in), all L or R speakers get a combined hit and are muffled, input shows FrontMic, RearMic, LineIn, all three unplugged.

Analog Stereo Input (unplugged) (unavailable)
Off

What I've noticed:
When in Output Devices tab: the channels are not locked together (top right, lock icon);

  • Using the Stereo profiles it only shows Front Left and Front Right
  • Using the 4.0 profiles it will show Front Left, Front Right, Rear Left, Rear Right
    however Front Center will also be hit individually while using speaker-test -c 6 -t wav, subwoofer will be ignored however.

aplay -l

card 1: Creative [HDA Creative], device 0: ALC898 Analog [ALC898 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

amixer -c1

Simple mixer control 'Master',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined
  Playback channels: Mono
  Limits: Playback 0 - 87
  Mono: Playback 87 [100%] [0.00dB] [on]
Simple mixer control 'Headphone',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 87
  Mono:
  Front Left: Playback 0 [0%] [-65.25dB] [off]
  Front Right: Playback 0 [0%] [-65.25dB] [off]
Simple mixer control 'PCM',0
  Capabilities: pvolume
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 255
  Mono:
  Front Left: Playback 255 [100%] [0.00dB]
  Front Right: Playback 255 [100%] [0.00dB]
Simple mixer control 'Front',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 87
  Mono:
  Front Left: Playback 87 [100%] [0.00dB] [on]
  Front Right: Playback 87 [100%] [0.00dB] [on]
Simple mixer control 'Front Mic',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Mono:
  Front Left: Playback 0 [0%] [-34.50dB] [off]
  Front Right: Playback 0 [0%] [-34.50dB] [off]
Simple mixer control 'Front Mic Boost',0
  Capabilities: volume
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: 0 - 3
  Front Left: 0 [0%] [0.00dB]
  Front Right: 0 [0%] [0.00dB]
Simple mixer control 'Surround',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 87
  Mono:
  Front Left: Playback 87 [100%] [0.00dB] [on]
  Front Right: Playback 87 [100%] [0.00dB] [on]
Simple mixer control 'Center',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined
  Playback channels: Mono
  Limits: Playback 0 - 87
  Mono: Playback 87 [100%] [0.00dB] [on]
Simple mixer control 'LFE',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined
  Playback channels: Mono
  Limits: Playback 0 - 87
  Mono: Playback 87 [100%] [0.00dB] [on]
Simple mixer control 'Line',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Mono:
  Front Left: Playback 0 [0%] [-34.50dB] [off]
  Front Right: Playback 0 [0%] [-34.50dB] [off]
Simple mixer control 'Line Boost',0
  Capabilities: volume
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: 0 - 3
  Front Left: 0 [0%] [0.00dB]
  Front Right: 0 [0%] [0.00dB]
Simple mixer control 'Beep',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Mono:
  Front Left: Playback 0 [0%] [-34.50dB] [off]
  Front Right: Playback 0 [0%] [-34.50dB] [off]
Simple mixer control 'Capture',0
  Capabilities: cvolume cswitch
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 63
  Front Left: Capture 0 [0%] [-17.25dB] [off]
  Front Right: Capture 0 [0%] [-17.25dB] [off]
Simple mixer control 'Capture',1
  Capabilities: cvolume cswitch
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 63
  Front Left: Capture 0 [0%] [-17.25dB] [off]
  Front Right: Capture 0 [0%] [-17.25dB] [off]
Simple mixer control 'Capture',2
  Capabilities: cvolume cswitch
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 63
  Front Left: Capture 0 [0%] [-17.25dB] [off]
  Front Right: Capture 0 [0%] [-17.25dB] [off]
Simple mixer control 'Auto-Mute Mode',0
  Capabilities: enum
  Items: 'Disabled' 'Enabled'
  Item0: 'Disabled'
Simple mixer control 'Input Source',0
  Capabilities: cenum
  Items: 'Front Mic' 'Rear Mic' 'Line'
  Item0: 'Front Mic'
Simple mixer control 'Input Source',1
  Capabilities: cenum
  Items: 'Front Mic' 'Rear Mic' 'Line'
  Item0: 'Front Mic'
Simple mixer control 'Input Source',2
  Capabilities: cenum
  Items: 'Front Mic' 'Rear Mic' 'Line'
  Item0: 'Front Mic'
Simple mixer control 'Loopback Mixing',0
  Capabilities: enum
  Items: 'Disabled' 'Enabled'
  Item0: 'Disabled'
Simple mixer control 'Rear Mic',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Mono:
  Front Left: Playback 0 [0%] [-34.50dB] [off]
  Front Right: Playback 0 [0%] [-34.50dB] [off]
Simple mixer control 'Rear Mic Boost',0
  Capabilities: volume
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: 0 - 3
  Front Left: 0 [0%] [0.00dB]
  Front Right: 0 [0%] [0.00dB]

@zabadabadoo I have included the alsamixer if upload will work correctly, I have pressed F5, included both far left and far right:


I have learned that the 4.0 profile is a close call to actually having it work correctly, so that's at least one step in the right direction!

Edit: markup and spelling

1 Like

As referenced in linked post ([SOLVED] How to enable 5.1 channel audio via IEC958 - Linux Mint Forums) :

with a redirect to some more info: ( [SOLVED] 5.1 surround thru SPDIF ( Optical ) - Linux Mint Forums )

sudo apt-get install libasound2-plugins-extra

was already installed

I have included pacmd info:

$ pacmd info
Memory blocks currently allocated: 1, size: 63,9 KiB.
Memory blocks allocated during the whole lifetime: 297802, size: 604,4 MiB.
Memory blocks imported from other processes: 0, size: 0 B.
Memory blocks exported to other processes: 0, size: 0 B.
Total sample cache size: 0 B.
Default sample spec: s16le 6ch 48000Hz
Default channel map: front-left,front-left-of-center,front-center,front-right,front-right-of-center,rear-center
Default sink name: alsa_output.pci-0000_03_00.0.analog-surround-40
Default source name: alsa_output.pci-0000_03_00.0.analog-surround-40.monitor
Memory blocks of type POOL: 1 allocated/151472 accumulated.
Memory blocks of type POOL_EXTERNAL: 0 allocated/66635 accumulated.
Memory blocks of type APPENDED: 0 allocated/0 accumulated.
Memory blocks of type USER: 0 allocated/0 accumulated.
Memory blocks of type FIXED: 0 allocated/142682 accumulated.
Memory blocks of type IMPORTED: 0 allocated/3648 accumulated.
25 module(s) loaded.
    index: 0
	name: <module-device-restore>
	argument: <>
	used: -1
	load once: yes
	properties:
		module.author = "Lennart Poettering"
		module.description = "Automatically restore the volume/mute state of devices"
		module.version = "13.99.1"
    index: 1
	name: <module-stream-restore>
	argument: <>
	used: -1
	load once: yes
	properties:
		module.author = "Lennart Poettering"
		module.description = "Automatically restore the volume/mute/device state of streams"
		module.version = "13.99.1"
    index: 2
	name: <module-card-restore>
	argument: <>
	used: -1
	load once: yes
	properties:
		module.author = "Lennart Poettering"
		module.description = "Automatically restore profile of cards"
		module.version = "13.99.1"
    index: 3
	name: <module-augment-properties>
	argument: <>
	used: -1
	load once: yes
	properties:
		module.author = "Lennart Poettering"
		module.description = "Augment the property sets of streams with additional static information"
		module.version = "13.99.1"
    index: 4
	name: <module-switch-on-port-available>
	argument: <>
	used: -1
	load once: yes
	properties:
		module.author = "David Henningsson"
		module.description = "Switches ports and profiles when devices are plugged/unplugged"
		module.version = "13.99.1"
    index: 5
	name: <module-switch-on-connect>
	argument: <>
	used: -1
	load once: yes
	properties:
		module.author = "Michael Terry"
		module.description = "When a sink/source is added, switch to it or conditionally switch to it"
		module.version = "13.99.1"
    index: 6
	name: <module-udev-detect>
	argument: <>
	used: -1
	load once: yes
	properties:
		module.author = "Lennart Poettering"
		module.description = "Detect available audio hardware and load matching drivers"
		module.version = "13.99.1"
    index: 7
	name: <module-alsa-card>
	argument: <device_id="0" name="pci-0000_01_00.1" card_name="alsa_card.pci-0000_01_00.1" namereg_fail=false tsched=yes fixed_latency_range=no ignore_dB=no deferred_volume=yes use_ucm=yes avoid_resampling=no card_properties="module-udev-detect.discovered=1">
	used: 0
	load once: no
	properties:
		module.author = "Lennart Poettering"
		module.description = "ALSA Card"
		module.version = "13.99.1"
    index: 8
	name: <module-alsa-card>
	argument: <device_id="1" name="pci-0000_03_00.0" card_name="alsa_card.pci-0000_03_00.0" namereg_fail=false tsched=yes fixed_latency_range=no ignore_dB=no deferred_volume=yes use_ucm=yes avoid_resampling=no card_properties="module-udev-detect.discovered=1">
	used: 0
	load once: no
	properties:
		module.author = "Lennart Poettering"
		module.description = "ALSA Card"
		module.version = "13.99.1"
    index: 9
	name: <module-bluetooth-policy>
	argument: <>
	used: -1
	load once: yes
	properties:
		module.author = "Frédéric Dalleau, Pali Rohár"
		module.description = "Policy module to make using bluetooth devices out-of-the-box easier"
		module.version = "13.99.1"
    index: 10
	name: <module-bluetooth-discover>
	argument: <>
	used: -1
	load once: yes
	properties:
		module.author = "João Paulo Rechi Vita"
		module.description = "Detect available Bluetooth daemon and load the corresponding discovery module"
		module.version = "13.99.1"
    index: 11
	name: <module-bluez5-discover>
	argument: <>
	used: -1
	load once: yes
	properties:
		module.author = "João Paulo Rechi Vita"
		module.description = "Detect available BlueZ 5 Bluetooth audio devices and load BlueZ 5 Bluetooth audio drivers"
		module.version = "13.99.1"
    index: 12
	name: <module-native-protocol-unix>
	argument: <>
	used: -1
	load once: no
	properties:
		module.author = "Lennart Poettering"
		module.description = "Native protocol (UNIX sockets)"
		module.version = "13.99.1"
    index: 13
	name: <module-default-device-restore>
	argument: <>
	used: -1
	load once: yes
	properties:
		module.author = "Lennart Poettering"
		module.description = "Automatically restore the default sink and source"
		module.version = "13.99.1"
    index: 14
	name: <module-always-sink>
	argument: <>
	used: -1
	load once: yes
	properties:
		module.author = "Colin Guthrie"
		module.description = "Always keeps at least one sink loaded even if it's a null one"
		module.version = "13.99.1"
    index: 16
	name: <module-intended-roles>
	argument: <>
	used: -1
	load once: yes
	properties:
		module.author = "Lennart Poettering"
		module.description = "Automatically set device of streams based on intended roles of devices"
		module.version = "13.99.1"
    index: 17
	name: <module-suspend-on-idle>
	argument: <>
	used: -1
	load once: yes
	properties:
		module.author = "Lennart Poettering"
		module.description = "When a sink/source is idle for too long, suspend it"
		module.version = "13.99.1"
    index: 18
	name: <module-console-kit>
	argument: <>
	used: -1
	load once: yes
	properties:
		module.author = "Lennart Poettering"
		module.description = "Create a client for each ConsoleKit session of this user"
		module.version = "13.99.1"
    index: 19
	name: <module-systemd-login>
	argument: <>
	used: -1
	load once: yes
	properties:
		module.author = "Lennart Poettering"
		module.description = "Create a client for each login session of this user"
		module.version = "13.99.1"
    index: 20
	name: <module-position-event-sounds>
	argument: <>
	used: -1
	load once: yes
	properties:
		module.author = "Lennart Poettering"
		module.description = "Position event sounds between L and R depending on the position on screen of the widget triggering them."
		module.version = "13.99.1"
    index: 21
	name: <module-role-cork>
	argument: <>
	used: -1
	load once: yes
	properties:
		module.author = "Lennart Poettering"
		module.description = "Mute & cork streams with certain roles while others exist"
		module.version = "13.99.1"
    index: 22
	name: <module-snap-policy>
	argument: <>
	used: -1
	load once: yes
	properties:
		module.author = "Canonical Ltd"
		module.description = "Ubuntu Snap policy management"
		module.version = "13.99.1"
    index: 23
	name: <module-filter-heuristics>
	argument: <>
	used: -1
	load once: yes
	properties:
		module.author = "Colin Guthrie"
		module.description = "Detect when various filters are desirable"
		module.version = "13.99.1"
    index: 24
	name: <module-filter-apply>
	argument: <>
	used: -1
	load once: yes
	properties:
		module.author = "Colin Guthrie"
		module.description = "Load filter sinks automatically when needed"
		module.version = "13.99.1"
    index: 25
	name: <module-cli-protocol-unix>
	argument: <>
	used: -1
	load once: no
	properties:
		module.author = "Lennart Poettering"
		module.description = "Command line interface protocol (UNIX sockets)"
		module.version = "13.99.1"
1 sink(s) available.
  * index: 23
	name: <alsa_output.pci-0000_03_00.0.analog-surround-40>
	driver: <module-alsa-card.c>
	flags: HARDWARE HW_MUTE_CTRL HW_VOLUME_CTRL DECIBEL_VOLUME LATENCY DYNAMIC_LATENCY
	state: SUSPENDED
	suspend cause: IDLE
	priority: 9039
	volume: front-left: 65536 / 100% / 0,00 dB,   front-right: 65536 / 100% / 0,00 dB,   rear-left: 65536 / 100% / 0,00 dB,   rear-right: 65536 / 100% / 0,00 dB
	        balance 0,00
	base volume: 65536 / 100% / 0,00 dB
	volume steps: 65537
	muted: no
	current latency: 0,00 ms
	max request: 0 KiB
	max rewind: 0 KiB
	monitor source: 26
	sample spec: s16le 4ch 48000Hz
	channel map: front-left,front-right,rear-left,rear-right
	             Surround 4.0
	used by: 0
	linked by: 0
	configured latency: 0,00 ms; range is 0,50 .. 2000,00 ms
	card: 1 <alsa_card.pci-0000_03_00.0>
	module: 8
	properties:
		alsa.resolution_bits = "16"
		device.api = "alsa"
		device.class = "sound"
		alsa.class = "generic"
		alsa.subclass = "generic-mix"
		alsa.name = "ALC898 Analog"
		alsa.id = "ALC898 Analog"
		alsa.subdevice = "0"
		alsa.subdevice_name = "subdevice #0"
		alsa.device = "0"
		alsa.card = "1"
		alsa.card_name = "HDA Creative"
		alsa.long_card_name = "HDA Creative at 0xfe204000 irq 16"
		alsa.driver_name = "snd_hda_intel"
		device.bus_path = "pci-0000:03:00.0"
		sysfs.path = "/devices/pci0000:00/0000:00:15.0/0000:03:00.0/sound/card1"
		device.bus = "pci"
		device.vendor.id = "1102"
		device.vendor.name = "Creative Labs"
		device.product.id = "0012"
		device.product.name = "Sound Core3D [Sound Blaster Recon3D / Z-Series] (SB1570 SB Audigy Fx)"
		device.string = "surround40:1"
		device.buffering.buffer_size = "768000"
		device.buffering.fragment_size = "384000"
		device.access_mode = "mmap+timer"
		device.profile.name = "analog-surround-40"
		device.profile.description = "Analog Surround 4.0"
		device.description = "Sound Core3D [Sound Blaster Recon3D / Z-Series] (SB1570 SB Audigy Fx) Analog Surround 4.0"
		module-udev-detect.discovered = "1"
		device.icon_name = "audio-card-pci"
	ports:
		analog-output-lineout: Line Out (priority 9000, latency offset 0 usec, available: yes)
			properties:
				
	active port: <analog-output-lineout>
2 source(s) available.
    index: 18
	name: <alsa_input.pci-0000_03_00.0.analog-stereo>
	driver: <module-alsa-card.c>
	flags: HARDWARE HW_MUTE_CTRL HW_VOLUME_CTRL DECIBEL_VOLUME LATENCY DYNAMIC_LATENCY
	state: SUSPENDED
	suspend cause: IDLE
	priority: 9039
	volume: front-left: 3381 /   5% / -77,25 dB,   front-right: 3381 /   5% / -77,25 dB
	        balance 0,00
	base volume: 6554 /  10% / -60,00 dB
	volume steps: 65537
	muted: yes
	current latency: 0,00 ms
	max rewind: 0 KiB
	sample spec: s16le 2ch 48000Hz
	channel map: front-left,front-right
	             Stereo
	used by: 0
	linked by: 0
	configured latency: 0,00 ms; range is 0,50 .. 2000,00 ms
	card: 1 <alsa_card.pci-0000_03_00.0>
	module: 8
	properties:
		alsa.resolution_bits = "16"
		device.api = "alsa"
		device.class = "sound"
		alsa.class = "generic"
		alsa.subclass = "generic-mix"
		alsa.name = "ALC898 Analog"
		alsa.id = "ALC898 Analog"
		alsa.subdevice = "0"
		alsa.subdevice_name = "subdevice #0"
		alsa.device = "0"
		alsa.card = "1"
		alsa.card_name = "HDA Creative"
		alsa.long_card_name = "HDA Creative at 0xfe204000 irq 16"
		alsa.driver_name = "snd_hda_intel"
		device.bus_path = "pci-0000:03:00.0"
		sysfs.path = "/devices/pci0000:00/0000:00:15.0/0000:03:00.0/sound/card1"
		device.bus = "pci"
		device.vendor.id = "1102"
		device.vendor.name = "Creative Labs"
		device.product.id = "0012"
		device.product.name = "Sound Core3D [Sound Blaster Recon3D / Z-Series] (SB1570 SB Audigy Fx)"
		device.string = "front:1"
		device.buffering.buffer_size = "384000"
		device.buffering.fragment_size = "192000"
		device.access_mode = "mmap+timer"
		device.profile.name = "analog-stereo"
		device.profile.description = "Analog Stereo"
		device.description = "Sound Core3D [Sound Blaster Recon3D / Z-Series] (SB1570 SB Audigy Fx) Analog Stereo"
		module-udev-detect.discovered = "1"
		device.icon_name = "audio-card-pci"
	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:
				
	active port: <analog-input-front-mic>
  * index: 26
	name: <alsa_output.pci-0000_03_00.0.analog-surround-40.monitor>
	driver: <module-alsa-card.c>
	flags: DECIBEL_VOLUME LATENCY DYNAMIC_LATENCY
	state: SUSPENDED
	suspend cause: IDLE
	priority: 1030
	volume: front-left: 65536 / 100% / 0,00 dB,   front-right: 65536 / 100% / 0,00 dB,   rear-left: 65536 / 100% / 0,00 dB,   rear-right: 65536 / 100% / 0,00 dB
	        balance 0,00
	base volume: 65536 / 100% / 0,00 dB
	volume steps: 65537
	muted: no
	current latency: 0,00 ms
	max rewind: 0 KiB
	sample spec: s16le 4ch 48000Hz
	channel map: front-left,front-right,rear-left,rear-right
	             Surround 4.0
	used by: 0
	linked by: 0
	configured latency: 0,00 ms; range is 0,50 .. 2000,00 ms
	monitor_of: 23
	card: 1 <alsa_card.pci-0000_03_00.0>
	module: 8
	properties:
		device.description = "Monitor of Sound Core3D [Sound Blaster Recon3D / Z-Series] (SB1570 SB Audigy Fx) Analog Surround 4.0"
		device.class = "monitor"
		alsa.card = "1"
		alsa.card_name = "HDA Creative"
		alsa.long_card_name = "HDA Creative at 0xfe204000 irq 16"
		alsa.driver_name = "snd_hda_intel"
		device.bus_path = "pci-0000:03:00.0"
		sysfs.path = "/devices/pci0000:00/0000:00:15.0/0000:03:00.0/sound/card1"
		device.bus = "pci"
		device.vendor.id = "1102"
		device.vendor.name = "Creative Labs"
		device.product.id = "0012"
		device.product.name = "Sound Core3D [Sound Blaster Recon3D / Z-Series] (SB1570 SB Audigy Fx)"
		device.string = "1"
		module-udev-detect.discovered = "1"
		device.icon_name = "audio-card-pci"
4 client(s) logged in.
    index: 0
	driver: <module-systemd-login.c>
	owner module: 19
	properties:
		application.name = "Login Session 1"
		systemd-login.session = "1"
    index: 1
	driver: <protocol-native.c>
	owner module: 12
	properties:
		application.name = "GNOME Shell Volume Control"
		native-protocol.peer = "UNIX socket client"
		native-protocol.version = "33"
		application.id = "org.gnome.VolumeControl"
		application.icon_name = "multimedia-volume-control"
		application.version = "3.38.4"
		application.process.id = "1244"
		application.process.user = "media"
		application.process.host = "MediaPC"
		application.process.binary = "gnome-shell"
		application.language = "en_US.UTF-8"
		window.x11.display = ":0"
		application.process.machine_id = "8e6b938827d34a83b18ed57c6d33ced8"
    index: 2
	driver: <protocol-native.c>
	owner module: 12
	properties:
		application.name = "GNOME Volume Control Media Keys"
		native-protocol.peer = "UNIX socket client"
		native-protocol.version = "33"
		application.id = "org.gnome.VolumeControl"
		application.icon_name = "multimedia-volume-control"
		application.version = ""
		application.process.id = "1375"
		application.process.user = "media"
		application.process.host = "MediaPC"
		application.process.binary = "gsd-media-keys"
		application.language = "en_US.UTF-8"
		window.x11.display = ":0"
		application.process.machine_id = "8e6b938827d34a83b18ed57c6d33ced8"
    index: 36
	driver: <cli.c>
	owner module: 25
	properties:
		application.name = "UNIX socket client"
2 card(s) available.
    index: 0
	name: <alsa_card.pci-0000_01_00.1>
	driver: <module-alsa-card.c>
	owner module: 7
	properties:
		alsa.card = "0"
		alsa.card_name = "HDA NVidia"
		alsa.long_card_name = "HDA NVidia at 0xfe080000 irq 17"
		alsa.driver_name = "snd_hda_intel"
		device.bus_path = "pci-0000:01:00.1"
		sysfs.path = "/devices/pci0000:00/0000:00:04.0/0000:01:00.1/sound/card0"
		device.bus = "pci"
		device.vendor.id = "10de"
		device.vendor.name = "NVIDIA Corporation"
		device.product.id = "0fb9"
		device.product.name = "GP107GL High Definition Audio Controller"
		device.string = "0"
		device.description = "GP107GL High Definition Audio Controller"
		module-udev-detect.discovered = "1"
		device.icon_name = "audio-card-pci"
	profiles:
		output:hdmi-stereo: Digital Stereo (HDMI) Output (priority 900, available: no)
		output:hdmi-surround: Digital Surround 5.1 (HDMI) Output (priority 3800, 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 33468, available: unknown)
		output:hdmi-surround-extra1: Digital Surround 5.1 (HDMI 2) Output (priority 36368, available: unknown)
		output:hdmi-surround71-extra1: Digital Surround 7.1 (HDMI 2) Output (priority 33368, available: unknown)
		output:hdmi-stereo-extra2: Digital Stereo (HDMI 3) Output (priority 700, available: no)
		output:hdmi-surround-extra2: Digital Surround 5.1 (HDMI 3) Output (priority 3600, 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 700, available: no)
		output:hdmi-surround-extra3: Digital Surround 5.1 (HDMI 4) Output (priority 3600, available: no)
		output:hdmi-surround71-extra3: Digital Surround 7.1 (HDMI 4) Output (priority 600, available: no)
		output:hdmi-stereo-extra4: Digital Stereo (HDMI 5) Output (priority 700, available: no)
		output:hdmi-surround-extra4: Digital Surround 5.1 (HDMI 5) Output (priority 3600, available: no)
		output:hdmi-surround71-extra4: Digital Surround 7.1 (HDMI 5) Output (priority 600, available: no)
		output:hdmi-stereo-extra5: Digital Stereo (HDMI 6) Output (priority 700, available: no)
		output:hdmi-surround-extra5: Digital Surround 5.1 (HDMI 6) Output (priority 3600, available: no)
		output:hdmi-surround71-extra5: Digital Surround 7.1 (HDMI 6) 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 = "55FHD_LCD_TV
"
		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"
		hdmi-output-4: HDMI / DisplayPort 5 (priority 5500, latency offset 0 usec, available: no)
			properties:
				device.icon_name = "video-display"
		hdmi-output-5: HDMI / DisplayPort 6 (priority 5400, latency offset 0 usec, available: no)
			properties:
				device.icon_name = "video-display"
    index: 1
	name: <alsa_card.pci-0000_03_00.0>
	driver: <module-alsa-card.c>
	owner module: 8
	properties:
		alsa.card = "1"
		alsa.card_name = "HDA Creative"
		alsa.long_card_name = "HDA Creative at 0xfe204000 irq 16"
		alsa.driver_name = "snd_hda_intel"
		device.bus_path = "pci-0000:03:00.0"
		sysfs.path = "/devices/pci0000:00/0000:00:15.0/0000:03:00.0/sound/card1"
		device.bus = "pci"
		device.vendor.id = "1102"
		device.vendor.name = "Creative Labs"
		device.product.id = "0012"
		device.product.name = "Sound Core3D [Sound Blaster Recon3D / Z-Series] (SB1570 SB Audigy Fx)"
		device.string = "1"
		device.description = "Sound Core3D [Sound Blaster Recon3D / Z-Series] (SB1570 SB Audigy Fx)"
		module-udev-detect.discovered = "1"
		device.icon_name = "audio-card-pci"
	profiles:
		input:analog-stereo: Analog Stereo Input (priority 15, available: no)
		output:analog-stereo: Analog Stereo Output (priority 34268, available: unknown)
		output:analog-stereo+input:analog-stereo: Analog Stereo Duplex (priority 1515, available: unknown)
		output:analog-surround-21: Analog Surround 2.1 Output (priority 34068, available: unknown)
		output:analog-surround-21+input:analog-stereo: Analog Surround 2.1 Output + Analog Stereo Input (priority 1315, available: unknown)
		output:analog-surround-40: Analog Surround 4.0 Output (priority 33968, available: unknown)
		output:analog-surround-40+input:analog-stereo: Analog Surround 4.0 Output + Analog Stereo Input (priority 1215, available: unknown)
		output:analog-surround-41: Analog Surround 4.1 Output (priority 34068, available: unknown)
		output:analog-surround-41+input:analog-stereo: Analog Surround 4.1 Output + Analog Stereo Input (priority 1315, available: unknown)
		output:analog-surround-50: Analog Surround 5.0 Output (priority 33968, available: unknown)
		output:analog-surround-50+input:analog-stereo: Analog Surround 5.0 Output + Analog Stereo Input (priority 1215, available: unknown)
		output:analog-surround-51: Analog Surround 5.1 Output (priority 37068, available: unknown)
		output:analog-surround-51+input:analog-stereo: Analog Surround 5.1 Output + Analog Stereo Input (priority 4315, available: unknown)
		off: Off (priority 0, available: unknown)
	active profile: <output:analog-surround-40+input:analog-stereo>
	sinks:
		alsa_output.pci-0000_03_00.0.analog-surround-40/#23: Sound Core3D [Sound Blaster Recon3D / Z-Series] (SB1570 SB Audigy Fx) Analog Surround 4.0
	sources:
		alsa_input.pci-0000_03_00.0.analog-stereo/#18: Sound Core3D [Sound Blaster Recon3D / Z-Series] (SB1570 SB Audigy Fx) Analog Stereo
		alsa_output.pci-0000_03_00.0.analog-surround-40.monitor/#26: Monitor of Sound Core3D [Sound Blaster Recon3D / Z-Series] (SB1570 SB Audigy Fx) Analog Surround 4.0
	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 9000, latency offset 0 usec, available: yes)
			properties:
				
		analog-output-headphones: Headphones (priority 9900, latency offset 0 usec, available: no)
			properties:
				device.icon_name = "audio-headphones"
0 sink input(s) available.
0 source output(s) available.
0 cache entrie(s) available.

I'll be trying pacmd set-card-profile $your_card_index profile:$profile_name next. Will update.