You are not logged in.

#1 2018-05-22 13:41:36

dalu
Member
Registered: 2014-04-16
Posts: 105

pulseaudio wrong channels

I have a MSI GT72 2QE Dominator Pro laptop.

Realtek ALC892
using snd_hda_intel

With alsamixer I've configured it to be 6 channel output.
I've connected 3 analog cables, colored black, lime(green), light orange(not mic color) to a
Logitech z906 sound system. It's 5.1 system. DTS all that crap.

Now, I'm dual booting and the correct order of connecting the cables under Windows is black, lime, orange.
And it sounds very nice under Windows.

However i also use arch to work under Linux.
And with it, pulseaudio.

Now I've tried a number of things,
manually loading modules results in a timeout

$ pactl info
Server String: unix:/run/user/1000/pulse/native
Library Protocol Version: 32
Server Protocol Version: 32
Is Local: yes
Client Index: 16
Tile Size: 65472
User Name: darko
Host Name: wrk
Server Name: pulseaudio
Server Version: 11.1
Default Sample Specification: s16le 6ch 48000Hz
Default Channel Map: front-left,front-left-of-center,front-center,front-right,front-right-of-center,rear-center
Default Sink: alsa_output.pci-0000_00_1b.0.analog-surround-51
Default Source: alsa_output.pci-0000_00_1b.0.analog-surround-51.monitor
Cookie: 6f4c:2b57

The problem is, it sounds awful. Everything it seem it output on the physical front right speaker, it being the loudest and the rest is not as loud.

Front-Right is Rear-Right, Front-Left is Rear-Left
And physical rear-left is really low on loudness.

As you can see from the pactl info output, the "Default Channel Map" is off.
However:
in /etc/pulse/daemon.conf

default-sample-rate = 48000
default-sample-channels = 6
default-channel-map = front-left,front-right,rear-left,rear-right,front-center,lfe

But it just doesn't want to apply.
I don't know, why is there a global conf when it's ignored?
And why is it ignored?


fwiw

$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: ALC892 Analog [ALC892 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 1: ALC892 Digital [ALC892 Digital]
  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

How do you change default channel map or channel map in general at runtime?

load-module module-remap-sink sink_name=remap51 master=alsa_output.pci-0000_00_1b.0.analog-surround-51 channels=6 channel_map=front-left,front-right,rear-left,rear-right,front-center,lfe master_channel_map=front-left,front-left-of-center,front-center,front-right,front-right-of-center,rear-center remix=no

all it did was turn off channels

Last edited by dalu (2018-05-23 09:19:31)

Offline

#2 2018-05-23 09:24:25

dalu
Member
Registered: 2014-04-16
Posts: 105

Re: pulseaudio wrong channels

I've seen this:
https://wiki.archlinux.org/index.php/Ad … g_speakers

How do I apply that to pulse?
It should go through pcm remapping, then pulse

Offline

#3 2018-05-23 09:31:43

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,074

Re: pulseaudio wrong channels

You really shouldn't try to bridge this over ALSA and then back to pulse, that will only lead to issues.

Your pulse remap should be correct (if you are sure of the identifiers for the maps) except for why did you add remix=no ? You want remixing to happen, otherwise stereo sources will only play front-left,front-right
Edit: Oh I see the docs mention that, but in your usecase you definitely want remixing to happen, strange that that page is written like the author is unsure of it's purpose hmm

As for global conf ignorance, that would be relevant for selfadded sinks. Udev-detected sinks represent the capabilities and channel-maps as reported by the driver.

FWIW you also might want to refer to this thread OP sadly didn't post back, but it contains some discussion and a link that explains why channel maps don't necessarily map the same way on Windows and Linux.

and FWIW2 can you post, during such a situation where you feel you don't get the audio as you want it to

sudo fuser -v /dev/snd/*
pacmd list-sinks
pacmd list-sink-inputs

Last edited by V1del (2018-05-23 09:52:21)

Offline

#4 2018-05-23 10:28:24

dalu
Member
Registered: 2014-04-16
Posts: 105

Re: pulseaudio wrong channels

$ sudo fuser -v /dev/snd/*
                     USER        PID ACCESS COMMAND
/dev/snd/controlC0:  darko       772 F.... pulseaudio
/dev/snd/controlC1:  darko       772 F.... pulseaudio
$ pacmd list-sinks
1 sink(s) available.
  * index: 4
	name: <alsa_output.pci-0000_00_1b.0.analog-surround-51>
	driver: <module-alsa-card.c>
	flags: HARDWARE HW_MUTE_CTRL HW_VOLUME_CTRL DECIBEL_VOLUME LATENCY FLAT_VOLUME 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,   front-center: 65536 / 100% / 0.00 dB,   lfe: 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: 5
	sample spec: s32le 6ch 48000Hz
	channel map: front-left,front-right,rear-left,rear-right,front-center,lfe
	             Surround 5.1
	used by: 0
	linked by: 0
	configured latency: 0.00 ms; range is 0.50 .. 2000.00 ms
	card: 1 <alsa_card.pci-0000_00_1b.0>
	module: 7
	properties:
		alsa.resolution_bits = "32"
		device.api = "alsa"
		device.class = "sound"
		alsa.class = "generic"
		alsa.subclass = "generic-mix"
		alsa.name = "ALC892 Analog"
		alsa.id = "ALC892 Analog"
		alsa.subdevice = "0"
		alsa.subdevice_name = "subdevice #0"
		alsa.device = "0"
		alsa.card = "0"
		alsa.card_name = "HDA Intel PCH"
		alsa.long_card_name = "HDA Intel PCH at 0xf7610000 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 = "8c20"
		device.product.name = "8 Series/C220 Series Chipset High Definition Audio Controller"
		device.form_factor = "internal"
		device.string = "surround51:0"
		device.buffering.buffer_size = "2304000"
		device.buffering.fragment_size = "1152000"
		device.access_mode = "mmap+timer"
		device.profile.name = "analog-surround-51"
		device.profile.description = "Analog Surround 5.1"
		device.description = "Built-in Audio Analog Surround 5.1"
		alsa.mixer_name = "Realtek ALC892"
		alsa.components = "HDA:10ec0892,14621118,00100302"
		module-udev-detect.discovered = "1"
		device.icon_name = "audio-card-pci"
	ports:
		analog-output-lineout: Line Out (priority 9900, latency offset 0 usec, available: yes)
			properties:
				
		analog-output-speaker: Speakers (priority 10000, latency offset 0 usec, available: no)
			properties:
				device.icon_name = "audio-speakers"
	active port: <analog-output-lineout>
pacmd list-sink-inputs
0 sink input(s) available.

also
https://iuploa.de/v/x4z9BYkpNk1t
alsamixer
x4z9BYkpNk1t.png

And the connection is from a 2014 thread on MSI forums, the only way to connect that worked

- Front cable (green): to Line out.
- Rear cable (black): to Line in.
- Center/Subwoofer cable (orange): to Mic in.

So if you're saying that the driver says that this is the way it needs to be, then I should get the driver provided by realtek.
However they're being elusive lately when it comes to drivers.

Hmm I'll try with remixing enabled, let's see what happens

update: realtek driver is the same as the one from alsaproject, so it says in the pdf and readme. And from realtek's page it's for 3.x kernel only anyway.

Last edited by dalu (2018-05-23 12:05:30)

Offline

#5 2018-05-23 10:42:48

dalu
Member
Registered: 2014-04-16
Posts: 105

Re: pulseaudio wrong channels

lol
when I finally got the mapping correctly

May 23 12:40:42 wrk kernel: alsa-sink-ALC89: Corrupted page table at address 7f70b1e00000
May 23 12:40:42 wrk kernel: PGD 80000002b5d4b067 P4D 80000002b5d4b067 PUD 2b5c77067 PMD 800000040a0800e7 
May 23 12:40:42 wrk kernel: Bad pagetable: 000f [#1] PREEMPT SMP PTI
May 23 12:40:42 wrk kernel: Modules linked in: fuse arc4 nls_iso8859_1 nls_cp437 vfat fat snd_hda_codec_hdmi nvidia_drm(PO) nvidia_modeset(PO) nvidia(PO) intel_rapl ofpart ath10k_pci cmdlinepart x86_pkg_temp_th>
May 23 12:40:42 wrk kernel:  rtsx_pci_ms sysimgblt fb_sys_fops rfkill memstick mdio snd_timer ac battery rtc_cmos mei_me snd mei lpc_ich evdev mac_hid i2c_i801 soundcore shpchp ie31200_edac wmi pcspkr vboxnetfl>
May 23 12:40:42 wrk kernel: CPU: 5 PID: 2413 Comm: alsa-sink-ALC89 Tainted: P           O     4.16.10-1-ARCH #1
May 23 12:40:42 wrk kernel: Hardware name: Micro-Star International Co., Ltd. GT72 2QE/MS-1781, BIOS E1781IMS.10V 06/24/2015
May 23 12:40:42 wrk kernel: RIP: 0033:0x7f70bb2a1fed
May 23 12:40:42 wrk kernel: RSP: 002b:00007f70b1dfc578 EFLAGS: 00010206
May 23 12:40:42 wrk kernel: RAX: 0000000000000000 RBX: 00007f70b1dfecd0 RCX: 000000000000ffc0
May 23 12:40:42 wrk kernel: RDX: 00007f70b1e00000 RSI: 0000000000000000 RDI: 00007f70b1e00000
May 23 12:40:42 wrk kernel: RBP: 00005654ea225060 R08: 0000000000000000 R09: 000000000000000c
May 23 12:40:42 wrk kernel: R10: 0000000000000ff0 R11: 000000000000000c R12: 0000000000000000
May 23 12:40:42 wrk kernel: R13: 00005654ea225060 R14: 00007f70b1dfc680 R15: 00005654e9c356c0
May 23 12:40:42 wrk kernel: FS:  00007f70b1dff700(0000) GS:ffff8acbded40000(0000) knlGS:0000000000000000
May 23 12:40:42 wrk kernel: CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
May 23 12:40:42 wrk kernel: CR2: 00007f70b1e00000 CR3: 00000002c8d20002 CR4: 00000000001606e0
May 23 12:40:42 wrk kernel: RIP: 0x7f70bb2a1fed RSP: 00007f70b1dfc578
May 23 12:40:42 wrk kernel: ---[ end trace a554e3f95fdb9b68 ]---

And by the way, the same (meaning, no sound sink available), when I manually load module-alsa-sink with the correct parameters.
It's as if the driver was sabotaged on purpose.

more beauty

May 23 12:43:39 wrk kernel: BUG: Bad page state in process pulseaudio  pfn:40a000
May 23 12:43:39 wrk kernel: page:fffff3add0280000 count:0 mapcount:-1 mapping:0000000000000000 index:0x0
May 23 12:43:39 wrk kernel: flags: 0x2ffff0000000000()
May 23 12:43:39 wrk kernel: raw: 02ffff0000000000 0000000000000000 0000000000000000 00000000fffffffe
May 23 12:43:39 wrk kernel: raw: dead000000000100 dead000000000200 0000000000000000 0000000000000000
May 23 12:43:39 wrk kernel: page dumped because: nonzero mapcount
May 23 12:43:39 wrk kernel: Modules linked in: fuse arc4 nls_iso8859_1 nls_cp437 vfat fat snd_hda_codec_hdmi nvidia_drm(PO) nvidia_modeset(PO) nvidia(PO) intel_rapl ofpart ath10k_pci cmdlinepart x86_pkg_temp_th>
May 23 12:43:39 wrk kernel:  rtsx_pci_ms sysimgblt fb_sys_fops rfkill memstick mdio snd_timer ac battery rtc_cmos mei_me snd mei lpc_ich evdev mac_hid i2c_i801 soundcore shpchp ie31200_edac wmi pcspkr vboxnetfl>
May 23 12:43:39 wrk kernel: CPU: 5 PID: 2411 Comm: pulseaudio Tainted: P      D    O     4.16.10-1-ARCH #1
May 23 12:43:39 wrk kernel: Hardware name: Micro-Star International Co., Ltd. GT72 2QE/MS-1781, BIOS E1781IMS.10V 06/24/2015
May 23 12:43:39 wrk kernel: Call Trace:
May 23 12:43:39 wrk kernel:  dump_stack+0x5c/0x85
May 23 12:43:39 wrk kernel:  bad_page.cold.30+0x7f/0xb2
May 23 12:43:39 wrk kernel:  ? free_pcppages_bulk+0x3dc/0x4d0
May 23 12:43:39 wrk kernel:  ? preempt_count_add+0x49/0xa0
May 23 12:43:39 wrk kernel:  ? free_unref_page_commit+0xd1/0x100
May 23 12:43:39 wrk kernel:  ? free_unref_page_list+0xe3/0x190
May 23 12:43:39 wrk kernel:  ? release_pages+0x192/0x3d0
May 23 12:43:39 wrk kernel:  ? tlb_flush_mmu_free+0x31/0x50
May 23 12:43:39 wrk kernel:  ? unmap_page_range+0x9f5/0xbd0
May 23 12:43:39 wrk kernel:  ? unmap_vmas+0x7a/0xb0
May 23 12:43:39 wrk kernel:  ? exit_mmap+0xa2/0x190
May 23 12:43:39 wrk kernel:  ? __delayacct_add_tsk+0x155/0x180
May 23 12:43:39 wrk kernel:  ? mmput+0x4a/0x100
May 23 12:43:39 wrk kernel:  ? do_exit+0x530/0xac0
May 23 12:43:39 wrk kernel:  ? kmem_cache_free+0x1d4/0x200
May 23 12:43:39 wrk kernel:  ? do_group_exit+0x33/0xa0
May 23 12:43:39 wrk kernel:  ? get_signal+0x24d/0x5d0
May 23 12:43:39 wrk kernel:  ? do_signal+0x36/0x610
May 23 12:43:39 wrk kernel:  ? SyS_sendto+0x61/0x160
May 23 12:43:39 wrk kernel:  ? preempt_count_add+0x49/0xa0
May 23 12:43:39 wrk kernel:  ? __fpu__restore_sig+0x141/0x4e0
May 23 12:43:39 wrk kernel:  ? exit_to_usermode_loop+0x85/0xa0
May 23 12:43:39 wrk kernel:  ? do_syscall_64+0x16a/0x190
May 23 12:43:39 wrk kernel:  ? entry_SYSCALL_64_after_hwframe+0x3d/0xa2
May 23 12:43:39 wrk systemd[623]: pulseaudio.service: Main process exited, code=killed, status=9/KILL
May 23 12:43:39 wrk systemd[623]: pulseaudio.service: Failed with result 'timeout'.
May 23 12:43:39 wrk systemd[623]: Failed to start Sound Service.
May 23 12:43:39 wrk systemd[623]: pulseaudio.service: Service hold-off time over, scheduling restart.
May 23 12:43:39 wrk systemd[623]: pulseaudio.service: Scheduled restart job, restart counter is at 1.
May 23 12:43:39 wrk systemd[623]: Stopped Sound Service.
May 23 12:43:39 wrk systemd[623]: Starting Sound Service...

I'll try rebooting

Last edited by dalu (2018-05-23 10:45:53)

Offline

#6 2018-05-23 10:47:12

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,074

Re: pulseaudio wrong channels

No I don't think this is necessarily the drivers fault, simply as mentioned in the link in the second post by brebs another interpretation of how the channel map should look like, this isn't set in stone and can be changed.

Another alternative to that whole dance with the remaps on the pulseaudio level, which might be more successful, is remapping the connectors to the layout you expect it to be using hdajackretask from the alsa-tools package.

Regarding the pacmd outputs. You should repost them during playback of audio, there are a few potential configuration quirks/tweaks which can only really be assesed when looking at how pulse tries to map the audio it receives.

Edit: Oh wow, that reads interesting

Last edited by V1del (2018-05-23 10:49:55)

Offline

#7 2018-05-23 11:08:46

dalu
Member
Registered: 2014-04-16
Posts: 105

Re: pulseaudio wrong channels

rebooting fixed the taint

yeah well regarding the differences linux/windows, I'm not going to plug it in differently every time I boot a different system, that's crazy talk big_smile
anyhow, now I have this appened at the bottom and I'm manually selecting that sink

load-module module-remap-sink sink_name=remap51 master=alsa_output.pci-0000_00_1b.0.analog-surround-51 channels=6 channel_map=rear-left,front-left,front-center,rear-right,front-right,lfe master_channel_map=front-left,front-left-of-center,front-center,front-right,front-right-of-center,rear-center remix=yes

the problem now is.
front-left is too silent
subwoofer is too silent

and essentially it sounds even worse than before, output is even more to the right than before with less bass.

Seems like I'll have to buy a copper spdif to optical spdif cable after all, how that's supposed to work, don't ask me.
And if I'll wager a guess new problems will arise with that.

Offline

#8 2018-05-23 11:19:21

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,074

Re: pulseaudio wrong channels

If that channel map works now, can you still post the pacmd outputs during playback? In general if you want bass, you should enable lfe remixing in the daemon.conf and denote a frequency cutoff for when you want the bass to kick in. or use the special value 0 which will simply mix anything into the LFE channel to get you something.

Oh and could you replace that alsamixer image with a thumbnail/a direct link, full size images can be distracting/unexpected data usage.

Last edited by V1del (2018-05-23 11:21:55)

Offline

#9 2018-05-24 10:11:46

dalu
Member
Registered: 2014-04-16
Posts: 105

Re: pulseaudio wrong channels

darko@wrk ~ $ sudo fuser -v /dev/snd/*
                     USER        PID ACCESS COMMAND
/dev/snd/controlC0:  darko      1834 F.... pulseaudio
/dev/snd/controlC1:  darko      1834 F.... pulseaudio
/dev/snd/pcmC0D0p:   darko      1834 F...m pulseaudio
darko@wrk ~ $ pacmd list-sinks
2 sink(s) available.
  * index: 0
	name: <alsa_output.pci-0000_00_1b.0.analog-surround-51>
	driver: <module-alsa-card.c>
	flags: HARDWARE HW_MUTE_CTRL HW_VOLUME_CTRL DECIBEL_VOLUME LATENCY FLAT_VOLUME DYNAMIC_LATENCY
	state: RUNNING
	suspend cause: 
	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,   front-center: 65536 / 100% / 0.00 dB,   lfe: 65536 / 100% / 0.00 dB
	        balance 0.00
	base volume: 65536 / 100% / 0.00 dB
	volume steps: 65537
	muted: no
	current latency: 20.95 ms
	max request: 24 KiB
	max rewind: 2250 KiB
	monitor source: 0
	sample spec: s32le 6ch 48000Hz
	channel map: front-left,front-right,rear-left,rear-right,front-center,lfe
	             Surround 5.1
	used by: 1
	linked by: 2
	configured latency: 21.33 ms; range is 0.50 .. 2000.00 ms
	card: 1 <alsa_card.pci-0000_00_1b.0>
	module: 7
	properties:
		alsa.resolution_bits = "32"
		device.api = "alsa"
		device.class = "sound"
		alsa.class = "generic"
		alsa.subclass = "generic-mix"
		alsa.name = "ALC892 Analog"
		alsa.id = "ALC892 Analog"
		alsa.subdevice = "0"
		alsa.subdevice_name = "subdevice #0"
		alsa.device = "0"
		alsa.card = "0"
		alsa.card_name = "HDA Intel PCH"
		alsa.long_card_name = "HDA Intel PCH at 0xf7610000 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 = "8c20"
		device.product.name = "8 Series/C220 Series Chipset High Definition Audio Controller"
		device.form_factor = "internal"
		device.string = "surround51:0"
		device.buffering.buffer_size = "2304000"
		device.buffering.fragment_size = "1152000"
		device.access_mode = "mmap+timer"
		device.profile.name = "analog-surround-51"
		device.profile.description = "Analog Surround 5.1"
		device.description = "Built-in Audio Analog Surround 5.1"
		alsa.mixer_name = "Realtek ALC892"
		alsa.components = "HDA:10ec0892,14621118,00100302"
		module-udev-detect.discovered = "1"
		device.icon_name = "audio-card-pci"
	ports:
		analog-output-lineout: Line Out (priority 9900, latency offset 0 usec, available: yes)
			properties:
				
		analog-output-speaker: Speakers (priority 10000, latency offset 0 usec, available: no)
			properties:
				device.icon_name = "audio-speakers"
	active port: <analog-output-lineout>
    index: 1
	name: <remap51>
	driver: <module-remap-sink.c>
	flags: DECIBEL_VOLUME LATENCY FLAT_VOLUME DYNAMIC_LATENCY
	state: SUSPENDED
	suspend cause: IDLE 
	priority: 1000
	volume: rear-left: 65536 / 100% / 0.00 dB,   front-left: 65536 / 100% / 0.00 dB,   front-center: 65536 / 100% / 0.00 dB,   rear-right: 39321 /  60% / -13.31 dB,   front-right: 39321 /  60% / -13.31 dB,   lfe: 65536 / 100% / 0.00 dB
	        balance -0.40
	base volume: 65536 / 100% / 0.00 dB
	volume steps: 65537
	muted: no
	current latency: 0.00 ms
	max request: 24 KiB
	max rewind: 2250 KiB
	monitor source: 2
	sample spec: s32le 6ch 48000Hz
	channel map: rear-left,front-left,front-center,rear-right,front-right,lfe
	             Surround 5.1
	used by: 0
	linked by: 0
	configured latency: 0.00 ms; range is 0.50 .. 2000.00 ms
	module: 25
	properties:
		device.master_device = "alsa_output.pci-0000_00_1b.0.analog-surround-51"
		device.class = "filter"
		device.description = "Remapped Built-in Audio Analog Surround 5.1"
		device.icon_name = "audio-card"
darko@wrk ~ $ pacmd list-sink-inputs
2 sink input(s) available.
    index: 0
	driver: <module-remap-sink.c>
	flags: START_CORKED 
	state: CORKED
	sink: 0 <alsa_output.pci-0000_00_1b.0.analog-surround-51>
	volume: front-left: 65536 / 100% / 0.00 dB,   front-left-of-center: 65536 / 100% / 0.00 dB,   front-center: 65536 / 100% / 0.00 dB,   front-right: 65536 / 100% / 0.00 dB,   front-right-of-center: 65536 / 100% / 0.00 dB,   rear-center: 65536 / 100% / 0.00 dB
	        balance 0.00
	muted: no
	current latency: 0.00 ms
	requested latency: n/a
	sample spec: s32le 6ch 48000Hz
	channel map: front-left,front-left-of-center,front-center,front-right,front-right-of-center,rear-center
	resample method: copy
	module: 25
	properties:
		media.name = "Remapped Stream"
		media.role = "filter"
		module-stream-restore.id = "sink-input-by-media-role:filter"
    index: 1
	driver: <protocol-native.c>
	flags: START_CORKED 
	state: RUNNING
	sink: 0 <alsa_output.pci-0000_00_1b.0.analog-surround-51>
	volume: front-left: 65536 / 100% / 0.00 dB,   front-right: 65536 / 100% / 0.00 dB,   front-center: 65536 / 100% / 0.00 dB,   lfe: 65536 / 100% / 0.00 dB,   side-left: 65536 / 100% / 0.00 dB,   side-right: 65536 / 100% / 0.00 dB
	        balance 0.00
	muted: no
	current latency: 40.10 ms
	requested latency: 21.33 ms
	sample spec: float32le 6ch 48000Hz
	channel map: front-left,front-right,front-center,lfe,side-left,side-right
	resample method: copy
	module: 12
	client: 8 <Chrome>
	properties:
		application.icon_name = "google-chrome"
		media.name = "Playback"
		application.name = "Chrome"
		native-protocol.peer = "UNIX socket client"
		native-protocol.version = "32"
		application.process.id = "5562"
		application.process.user = "darko"
		application.process.host = "wrk"
		application.process.binary = "chrome"
		application.language = "en_US.utf8"
		window.x11.display = ":0"
		application.process.machine_id = "10c4725e13da4350b001dc5c1c761c4e"
		application.process.session_id = "c1"
		module-stream-restore.id = "sink-input-by-application-name:Chrome"

Offline

#10 2018-05-24 10:38:22

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,074

Re: pulseaudio wrong channels

Many channels on your remap sink are at 60% and your chrome isn't set to play back from it, are you sure that's what you want?

Offline

#11 2018-05-24 10:39:14

dalu
Member
Registered: 2014-04-16
Posts: 105

Re: pulseaudio wrong channels

I'm not using remapped output but default and where do you see 60%?

Last edited by dalu (2018-05-24 10:40:00)

Offline

#12 2018-05-24 10:41:51

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,074

Re: pulseaudio wrong channels

Well if that works for you that's fine by me but I thought the intention was to verify if this works, and as you mentioned low volume these might be some knobs to change.

Edit: Regarding the volumes

name: <remap51>
	driver: <module-remap-sink.c>
	flags: DECIBEL_VOLUME LATENCY FLAT_VOLUME DYNAMIC_LATENCY
	state: SUSPENDED
	suspend cause: IDLE 
	priority: 1000
	volume: rear-left: 65536 / 100% / 0.00 dB,   front-left: 65536 / 100% / 0.00 dB,   front-center: 65536 / 100% / 0.00 dB,   rear-right: 39321 /  60% / -13.31 dB,   front-right: 39321 /  60% / -13.31 dB,   lfe: 65536 / 100% / 0.00 dB
	        balance -0.40

Last edited by V1del (2018-05-24 11:03:46)

Offline

Board footer

Powered by FluxBB