You are not logged in.

#1 2018-04-26 08:56:39

sigod
Member
Registered: 2015-09-11
Posts: 6

Audio quality worse in Arch than windows on two different [SOLVED]

Hi,

I have a GA-X58A-UD3R(rev. 2.0) motherboard with a Realtek ALC889 codec (HDA_INTEL driver) and a CMEDIA 8738 pci sound card and I have tried both in arch and they both sound worse than in windows. This is true when using ALSA and pulseaudio, which are the same anyway because pulse is using the ALSA backend. The sample rates are fine and PCM is set high enough, but I've noticed on both devices that the volume is lower in linux. I'm thinking the Windows drivers are just better in both cases, but I read somewhere the cmedia card is well supported in linux. The sound in windows seems to have more volume, bass and fullness. So my question is what am I doing wrong, if anything.

Thanks

Simon

Last edited by sigod (2018-05-02 07:13:24)

Offline

#2 2018-04-26 09:22:06

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

Re: Audio quality worse in Arch than windows on two different [SOLVED]

There are a lot of factors/setting knobs that play into "perceived" better sound output. Something you will want to rule out is that you are not running some equalizer on  Windows that might skew the results outright. That said can you play something back on the card you'd prefer to use and post

aplay -l
amixer -c$cardIndex identified by aplay -l$
pacmd list-cards
pacmd list-sinks
pacmd list-sink-inputs

as well as your /etc/pulse/daemon.conf and details on your sound setup, i.e. stereo surround, whatever?

Last edited by V1del (2018-04-26 09:22:32)

Offline

#3 2018-04-26 10:21:53

sigod
Member
Registered: 2015-09-11
Posts: 6

Re: Audio quality worse in Arch than windows on two different [SOLVED]

I'm definitely not using any equalizer on windows and all the enhancements are off.
Here's the CMedia card, I'm just using headphones from the rear headphone jack.

para% aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: CMI8738 [C-Media CMI8738], device 0: CMI8738-MC6 [C-Media PCI DAC/ADC]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: CMI8738 [C-Media CMI8738], device 1: CMI8738-MC6 [C-Media PCI 2nd DAC]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: CMI8738 [C-Media CMI8738], device 2: CMI8738-MC6 [C-Media PCI IEC958]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: Intel [HDA Intel], device 0: ALC889 Analog [ALC889 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: Intel [HDA Intel], device 1: ALC889 Digital [ALC889 Digital]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 2: NVidia [HDA NVidia], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 2: NVidia [HDA NVidia], device 7: HDMI 1 [HDMI 1]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 2: NVidia [HDA NVidia], device 8: HDMI 2 [HDMI 2]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 2: NVidia [HDA NVidia], device 9: HDMI 3 [HDMI 3]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
para% amixer -c$cardIndex 0
Simple mixer control 'Master',0
  Capabilities: pvolume
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Mono:
  Front Left: Playback 31 [100%]
  Front Right: Playback 31 [100%]
Simple mixer control '3D Control - Switch',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [off]
Simple mixer control 'PCM',0
  Capabilities: pvolume pswitch pswitch-joined cswitch
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Front Left: Playback 24 [77%] [on] Capture [off]
  Front Right: Playback 24 [77%] [on] Capture [off]
Simple mixer control 'Synth',0
  Capabilities: pvolume pswitch pswitch-joined cswitch
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Front Left: Playback 24 [77%] [on] Capture [off]
  Front Right: Playback 24 [77%] [on] Capture [off]
Simple mixer control 'Line',0
  Capabilities: pvolume pswitch cswitch
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Front Left: Playback 0 [0%] [off] Capture [off]
  Front Right: Playback 0 [0%] [off] Capture [off]
Simple mixer control 'Line-In Mode',0
  Capabilities: enum
  Items: 'Line-In' 'Rear Output' 'Bass Output'
  Item0: 'Line-In'
Simple mixer control 'CD',0
  Capabilities: pvolume pswitch cswitch
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Front Left: Playback 0 [0%] [off] Capture [off]
  Front Right: Playback 0 [0%] [off] Capture [off]
Simple mixer control 'Mic',0
  Capabilities: pvolume pvolume-joined cvolume cvolume-joined pswitch pswitch-joined cswitch cswitch-joined
  Playback channels: Mono
  Capture channels: Mono
  Limits: Playback 0 - 31 Capture 0 - 7
  Mono: Playback 0 [0%] [off] Capture 0 [0%] [off]
Simple mixer control 'Mic Boost',0
  Capabilities: pswitch pswitch-joined cswitch cswitch-joined
  Playback channels: Mono
  Capture channels: Mono
  Mono: Playback [off] Capture [on]
Simple mixer control 'Mic-In Mode',0
  Capabilities: enum
  Items: 'Mic-In' 'Center/LFE Output'
  Item0: 'Center/LFE Output'
Simple mixer control 'Phone',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined
  Playback channels: Mono
  Limits: Playback 0 - 7
  Mono: Playback 0 [0%] [off]
Simple mixer control 'IEC958 5V',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on]
Simple mixer control 'IEC958 Copyright',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [off]
Simple mixer control 'IEC958 In Monitor',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [off]
Simple mixer control 'IEC958 In Phase Inverse',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [off]
Simple mixer control 'IEC958 In Select',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [off]
Simple mixer control 'IEC958 In Valid',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [off]
Simple mixer control 'IEC958 Loop',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [off]
Simple mixer control 'IEC958 Output',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [off]
Simple mixer control 'Beep',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined
  Playback channels: Mono
  Limits: Playback 0 - 3
  Mono: Playback 2 [67%] [on]
Simple mixer control 'Aux',0
  Capabilities: pvolume pswitch cswitch
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: Playback 0 - 15
  Front Left: Playback 0 [0%] [off] Capture [off]
  Front Right: Playback 0 [0%] [off] Capture [off]
Simple mixer control 'Four Channel Mode',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on]
para% pacmd list-cards     
4 card(s) available.
    index: 0
	name: <alsa_card.pci-0000_03_00.1>
	driver: <module-alsa-card.c>
	owner module: 6
	properties:
		alsa.card = "2"
		alsa.card_name = "HDA NVidia"
		alsa.long_card_name = "HDA NVidia at 0xfaffc000 irq 17"
		alsa.driver_name = "snd_hda_intel"
		device.bus_path = "pci-0000:03:00.1"
		sysfs.path = "/devices/pci0000:00/0000:00:03.0/0000:03:00.1/sound/card2"
		device.bus = "pci"
		device.vendor.id = "10de"
		device.vendor.name = "NVIDIA Corporation"
		device.product.id = "0e0b"
		device.product.name = "GK106 HDMI Audio Controller"
		device.string = "2"
		device.description = "GK106 HDMI Audio Controller"
		module-udev-detect.discovered = "1"
		device.icon_name = "audio-card-pci"
	profiles:
		output:hdmi-stereo: Digital Stereo (HDMI) Output (priority 5400, available: no)
		output:hdmi-surround: Digital Surround 5.1 (HDMI) Output (priority 300, available: no)
		output:hdmi-surround71: Digital Surround 7.1 (HDMI) Output (priority 300, available: no)
		output:hdmi-stereo-extra1: Digital Stereo (HDMI 2) Output (priority 5200, available: no)
		output:hdmi-surround-extra1: Digital Surround 5.1 (HDMI 2) Output (priority 100, available: no)
		output:hdmi-surround71-extra1: Digital Surround 7.1 (HDMI 2) Output (priority 100, available: no)
		output:hdmi-stereo-extra2: Digital Stereo (HDMI 3) Output (priority 5200, available: no)
		output:hdmi-surround-extra2: Digital Surround 5.1 (HDMI 3) Output (priority 100, available: no)
		output:hdmi-surround71-extra2: Digital Surround 7.1 (HDMI 3) Output (priority 100, available: no)
		output:hdmi-stereo-extra3: Digital Stereo (HDMI 4) Output (priority 5200, available: no)
		output:hdmi-surround-extra3: Digital Surround 5.1 (HDMI 4) Output (priority 100, available: no)
		output:hdmi-surround71-extra3: Digital Surround 7.1 (HDMI 4) Output (priority 100, 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: no)
			properties:
				device.icon_name = "video-display"
		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-046d_0825_160AC9D0-02>
	driver: <module-alsa-card.c>
	owner module: 7
	properties:
		alsa.card = "3"
		alsa.card_name = "USB Device 0x46d:0x825"
		alsa.long_card_name = "USB Device 0x46d:0x825 at usb-0000:00:1a.7-2, high speed"
		alsa.driver_name = "snd_usb_audio"
		device.bus_path = "pci-0000:00:1a.7-usb-0:2:1.2"
		sysfs.path = "/devices/pci0000:00/0000:00:1a.7/usb1/1-2/1-2:1.2/sound/card3"
		udev.id = "usb-046d_0825_160AC9D0-02"
		device.bus = "usb"
		device.vendor.id = "046d"
		device.vendor.name = "Logitech, Inc."
		device.product.id = "0825"
		device.product.name = "Webcam C270"
		device.serial = "046d_0825_160AC9D0"
		device.form_factor = "webcam"
		device.string = "3"
		device.description = "Webcam C270"
		module-udev-detect.discovered = "1"
		device.icon_name = "camera-web-usb"
	profiles:
		input:analog-mono: Analog Mono Input (priority 2, available: unknown)
		off: Off (priority 0, available: unknown)
	active profile: <input:analog-mono>
	sources:
		alsa_input.usb-046d_0825_160AC9D0-02.analog-mono/#0: Webcam C270 Analog Mono
	ports:
		analog-input-mic: Microphone (priority 8700, latency offset 0 usec, available: unknown)
			properties:
				device.icon_name = "audio-input-microphone"
    index: 2
	name: <alsa_card.pci-0000_00_1b.0>
	driver: <module-alsa-card.c>
	owner module: 8
	properties:
		alsa.card = "1"
		alsa.card_name = "HDA Intel"
		alsa.long_card_name = "HDA Intel at 0xfbff4000 irq 36"
		alsa.driver_name = "snd_hda_intel"
		device.bus_path = "pci-0000:00:1b.0"
		sysfs.path = "/devices/pci0000:00/0000:00:1b.0/sound/card1"
		device.bus = "pci"
		device.vendor.id = "8086"
		device.vendor.name = "Intel Corporation"
		device.product.id = "3a3e"
		device.product.name = "82801JI (ICH10 Family) HD Audio Controller"
		device.form_factor = "internal"
		device.string = "1"
		device.description = "Built-in Audio"
		module-udev-detect.discovered = "1"
		device.icon_name = "audio-card-pci"
	profiles:
		input:analog-stereo: Analog Stereo Input (priority 60, available: no)
		input:iec958-stereo: Digital Stereo (IEC958) Input (priority 55, available: unknown)
		output:analog-stereo: Analog Stereo Output (priority 6000, available: no)
		output:analog-stereo+input:analog-stereo: Analog Stereo Duplex (priority 6060, available: no)
		output:analog-stereo+input:iec958-stereo: Analog Stereo Output + Digital Stereo (IEC958) Input (priority 6055, available: unknown)
		output:analog-surround-21: Analog Surround 2.1 Output (priority 800, available: no)
		output:analog-surround-21+input:analog-stereo: Analog Surround 2.1 Output + Analog Stereo Input (priority 860, available: no)
		output:analog-surround-21+input:iec958-stereo: Analog Surround 2.1 Output + Digital Stereo (IEC958) Input (priority 855, available: unknown)
		output:analog-surround-40: Analog Surround 4.0 Output (priority 700, available: no)
		output:analog-surround-40+input:analog-stereo: Analog Surround 4.0 Output + Analog Stereo Input (priority 760, available: no)
		output:analog-surround-40+input:iec958-stereo: Analog Surround 4.0 Output + Digital Stereo (IEC958) Input (priority 755, available: unknown)
		output:analog-surround-41: Analog Surround 4.1 Output (priority 800, available: no)
		output:analog-surround-41+input:analog-stereo: Analog Surround 4.1 Output + Analog Stereo Input (priority 860, available: no)
		output:analog-surround-41+input:iec958-stereo: Analog Surround 4.1 Output + Digital Stereo (IEC958) Input (priority 855, available: unknown)
		output:analog-surround-50: Analog Surround 5.0 Output (priority 700, available: no)
		output:analog-surround-50+input:analog-stereo: Analog Surround 5.0 Output + Analog Stereo Input (priority 760, available: no)
		output:analog-surround-50+input:iec958-stereo: Analog Surround 5.0 Output + Digital Stereo (IEC958) Input (priority 755, available: unknown)
		output:analog-surround-51: Analog Surround 5.1 Output (priority 800, available: no)
		output:analog-surround-51+input:analog-stereo: Analog Surround 5.1 Output + Analog Stereo Input (priority 860, available: no)
		output:analog-surround-51+input:iec958-stereo: Analog Surround 5.1 Output + Digital Stereo (IEC958) Input (priority 855, available: unknown)
		output:analog-surround-71: Analog Surround 7.1 Output (priority 700, available: no)
		output:analog-surround-71+input:analog-stereo: Analog Surround 7.1 Output + Analog Stereo Input (priority 760, available: no)
		output:analog-surround-71+input:iec958-stereo: Analog Surround 7.1 Output + Digital Stereo (IEC958) Input (priority 755, available: unknown)
		output:iec958-stereo: Digital Stereo (IEC958) Output (priority 5500, available: unknown)
		output:iec958-stereo+input:analog-stereo: Digital Stereo (IEC958) Output + Analog Stereo Input (priority 5560, available: unknown)
		output:iec958-stereo+input:iec958-stereo: Digital Stereo Duplex (IEC958) (priority 5555, available: unknown)
		off: Off (priority 0, available: unknown)
	active profile: <output:iec958-stereo+input:analog-stereo>
	sinks:
		alsa_output.pci-0000_00_1b.0.iec958-stereo/#0: Built-in Audio Digital Stereo (IEC958)
	sources:
		alsa_output.pci-0000_00_1b.0.iec958-stereo.monitor/#1: Monitor of Built-in Audio Digital Stereo (IEC958)
		alsa_input.pci-0000_00_1b.0.analog-stereo/#2: Built-in Audio 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:
				
		iec958-stereo-input: Digital Input (S/PDIF) (priority 0, latency offset 0 usec, available: unknown)
			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"
		iec958-stereo-output: Digital Output (S/PDIF) (priority 0, latency offset 0 usec, available: unknown)
			properties:
				
    index: 3
	name: <alsa_card.pci-0000_08_00.0>
	driver: <module-alsa-card.c>
	owner module: 9
	properties:
		alsa.card = "0"
		alsa.card_name = "C-Media CMI8738"
		alsa.long_card_name = "C-Media CMI8738 (model 55) at 0x9e00, irq 16"
		alsa.driver_name = "snd_cmipci"
		device.bus_path = "pci-0000:08:00.0"
		sysfs.path = "/devices/pci0000:00/0000:00:1e.0/0000:08:00.0/sound/card0"
		device.bus = "pci"
		device.vendor.id = "13f6"
		device.vendor.name = "C-Media Electronics Inc"
		device.product.id = "0111"
		device.product.name = "CMI8738/CMI8768 PCI Audio (CMI8738/C3DX PCI Audio Device)"
		device.string = "0"
		device.description = "CMI8738/CMI8768 PCI Audio (CMI8738/C3DX PCI Audio Device)"
		module-udev-detect.discovered = "1"
		device.icon_name = "audio-card-pci"
	profiles:
		input:analog-mono: Analog Mono Input (priority 2, available: unknown)
		input:analog-stereo: Analog Stereo Input (priority 60, available: unknown)
		input:iec958-stereo: Digital Stereo (IEC958) Input (priority 55, available: unknown)
		output:analog-mono: Analog Mono Output (priority 200, available: unknown)
		output:analog-mono+input:analog-mono: Analog Mono Duplex (priority 202, available: unknown)
		output:analog-mono+input:analog-stereo: Analog Mono Output + Analog Stereo Input (priority 260, available: unknown)
		output:analog-mono+input:iec958-stereo: Analog Mono Output + Digital Stereo (IEC958) Input (priority 255, available: unknown)
		output:analog-stereo: Analog Stereo Output (priority 6000, available: unknown)
		output:analog-stereo+input:analog-mono: Analog Stereo Output + Analog Mono Input (priority 6002, available: unknown)
		output:analog-stereo+input:analog-stereo: Analog Stereo Duplex (priority 6060, available: unknown)
		output:analog-stereo+input:iec958-stereo: Analog Stereo Output + Digital Stereo (IEC958) Input (priority 6055, available: unknown)
		output:analog-surround-40: Analog Surround 4.0 Output (priority 700, available: unknown)
		output:analog-surround-51: Analog Surround 5.1 Output (priority 800, available: unknown)
		output:iec958-stereo: Digital Stereo (IEC958) Output (priority 5500, available: unknown)
		output:iec958-stereo+input:analog-mono: Digital Stereo (IEC958) Output + Analog Mono Input (priority 5502, available: unknown)
		output:iec958-stereo+input:analog-stereo: Digital Stereo (IEC958) Output + Analog Stereo Input (priority 5560, available: unknown)
		output:iec958-stereo+input:iec958-stereo: Digital Stereo Duplex (IEC958) (priority 5555, available: unknown)
		off: Off (priority 0, available: unknown)
	active profile: <output:analog-stereo+input:analog-stereo>
	sinks:
		alsa_output.pci-0000_08_00.0.analog-stereo/#1: CMI8738/CMI8768 PCI Audio (CMI8738/C3DX PCI Audio Device) Analog Stereo
	sources:
		alsa_output.pci-0000_08_00.0.analog-stereo.monitor/#3: Monitor of CMI8738/CMI8768 PCI Audio (CMI8738/C3DX PCI Audio Device) Analog Stereo
		alsa_input.pci-0000_08_00.0.analog-stereo/#4: CMI8738/CMI8768 PCI Audio (CMI8738/C3DX PCI Audio Device) Analog Stereo
	ports:
		analog-input-mic;input-boost-on: Microphone / Boost (priority 8700, latency offset 0 usec, available: unknown)
			properties:
				device.icon_name = "audio-input-microphone"
		analog-input-mic;input-boost-off: Microphone / No Boost (priority 8700, latency offset 0 usec, available: unknown)
			properties:
				device.icon_name = "audio-input-microphone"
		analog-input-linein: Line In (priority 8100, latency offset 0 usec, available: unknown)
			properties:
				
		analog-input-aux: Analog Input (priority 8000, latency offset 0 usec, available: unknown)
			properties:
				
		iec958-stereo-input: Digital Input (S/PDIF) (priority 0, latency offset 0 usec, available: unknown)
			properties:
				
		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:
para% pacmd list-sinks
2 sink(s) available.
  * index: 0
	name: <alsa_output.pci-0000_00_1b.0.iec958-stereo>
	driver: <module-alsa-card.c>
	flags: HARDWARE HW_MUTE_CTRL DECIBEL_VOLUME LATENCY DYNAMIC_LATENCY
	state: SUSPENDED
	suspend cause: IDLE 
	priority: 9038
	volume: front-left: 65536 / 100% / 0.00 dB,   front-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: 1
	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 .. 1837.50 ms
	card: 2 <alsa_card.pci-0000_00_1b.0>
	module: 8
	properties:
		alsa.resolution_bits = "16"
		device.api = "alsa"
		device.class = "sound"
		alsa.class = "generic"
		alsa.subclass = "generic-mix"
		alsa.name = "ALC889 Digital"
		alsa.id = "ALC889 Digital"
		alsa.subdevice = "0"
		alsa.subdevice_name = "subdevice #0"
		alsa.device = "1"
		alsa.card = "1"
		alsa.card_name = "HDA Intel"
		alsa.long_card_name = "HDA Intel at 0xfbff4000 irq 36"
		alsa.driver_name = "snd_hda_intel"
		device.bus_path = "pci-0000:00:1b.0"
		sysfs.path = "/devices/pci0000:00/0000:00:1b.0/sound/card1"
		device.bus = "pci"
		device.vendor.id = "8086"
		device.vendor.name = "Intel Corporation"
		device.product.id = "3a3e"
		device.product.name = "82801JI (ICH10 Family) HD Audio Controller"
		device.form_factor = "internal"
		device.string = "iec958:1"
		device.buffering.buffer_size = "352800"
		device.buffering.fragment_size = "176400"
		device.access_mode = "mmap+timer"
		device.profile.name = "iec958-stereo"
		device.profile.description = "Digital Stereo (IEC958)"
		device.description = "Built-in Audio Digital Stereo (IEC958)"
		alsa.mixer_name = "Realtek ALC889"
		alsa.components = "HDA:10ec0889,1458a132,00100004"
		module-udev-detect.discovered = "1"
		device.icon_name = "audio-card-pci"
	ports:
		iec958-stereo-output: Digital Output (S/PDIF) (priority 0, latency offset 0 usec, available: unknown)
			properties:
				
	active port: <iec958-stereo-output>
    index: 1
	name: <alsa_output.pci-0000_08_00.0.analog-stereo>
	driver: <module-alsa-card.c>
	flags: HARDWARE HW_MUTE_CTRL HW_VOLUME_CTRL LATENCY DYNAMIC_LATENCY
	state: RUNNING
	suspend cause: 
	priority: 9039
	volume: front-left: 42281 /  65%,   front-right: 42281 /  65%
	        balance 0.00
	base volume: 65536 / 100%
	volume steps: 32
	muted: no
	current latency: 98.80 ms
	max request: 18 KiB
	max rewind: 64 KiB
	monitor source: 3
	sample spec: s16le 2ch 44100Hz
	channel map: front-left,front-right
	             Stereo
	used by: 1
	linked by: 1
	configured latency: 105.00 ms; range is 0.50 .. 371.52 ms
	card: 3 <alsa_card.pci-0000_08_00.0>
	module: 9
	properties:
		alsa.resolution_bits = "16"
		device.api = "alsa"
		device.class = "sound"
		alsa.class = "generic"
		alsa.subclass = "generic-mix"
		alsa.name = "C-Media PCI DAC/ADC"
		alsa.id = "CMI8738-MC6"
		alsa.subdevice = "0"
		alsa.subdevice_name = "subdevice #0"
		alsa.device = "0"
		alsa.card = "0"
		alsa.card_name = "C-Media CMI8738"
		alsa.long_card_name = "C-Media CMI8738 (model 55) at 0x9e00, irq 16"
		alsa.driver_name = "snd_cmipci"
		device.bus_path = "pci-0000:08:00.0"
		sysfs.path = "/devices/pci0000:00/0000:00:1e.0/0000:08:00.0/sound/card0"
		device.bus = "pci"
		device.vendor.id = "13f6"
		device.vendor.name = "C-Media Electronics Inc"
		device.product.id = "0111"
		device.product.name = "CMI8738/CMI8768 PCI Audio (CMI8738/C3DX PCI Audio Device)"
		device.string = "front:0"
		device.buffering.buffer_size = "65536"
		device.buffering.fragment_size = "32768"
		device.access_mode = "mmap+timer"
		device.profile.name = "analog-stereo"
		device.profile.description = "Analog Stereo"
		device.description = "CMI8738/CMI8768 PCI Audio (CMI8738/C3DX PCI Audio Device) Analog Stereo"
		alsa.mixer_name = "CMedia PCI"
		module-udev-detect.discovered = "1"
		device.icon_name = "audio-card-pci"
	ports:
		analog-output: Analog Output (priority 9900, latency offset 0 usec, available: unknown)
			properties:
				
	active port: <analog-output>
para% pacmd list-sink-inputs
1 sink input(s) available.
    index: 113
	driver: <protocol-native.c>
	flags: 
	state: RUNNING
	sink: 1 <alsa_output.pci-0000_08_00.0.analog-stereo>
	volume: front-left: 65536 / 100% / 0.00 dB,   front-right: 65536 / 100% / 0.00 dB
	        balance 0.00
	muted: no
	current latency: 85.01 ms
	requested latency: 105.00 ms
	sample spec: s16le 2ch 44100Hz
	channel map: front-left,front-right
	             Stereo
	resample method: (null)
	module: 14
	client: 67 <Deadbeef>
	properties:
		media.name = "Music"
		application.name = "Deadbeef"
		native-protocol.peer = "UNIX socket client"
		native-protocol.version = "32"
		application.process.id = "5264"
		application.process.user = "sigod"
		application.process.host = "para"
		application.process.binary = "deadbeef"
		application.language = "en_NZ.UTF-8"
		window.x11.display = ":0.0"
		application.process.machine_id = "65f97662af5a480bac70ee4360f52517"
		application.process.session_id = "c2"
		media.role = "music"
		application.icon_name = "deadbeef"
		module-stream-restore.id = "sink-input-by-media-role:music"

/etc/pulse/daemon.conf:

; daemonize = no
; fail = yes
; allow-module-loading = yes
; allow-exit = yes
; use-pid-file = yes
; system-instance = no
; local-server-type = user
; enable-shm = yes
; enable-memfd = yes
; shm-size-bytes = 0 # setting this 0 will use the system-default, usually 64 MiB
; lock-memory = no
; cpu-limit = no

; high-priority = yes
; nice-level = -11

; realtime-scheduling = yes
; realtime-priority = 5

; exit-idle-time = 20
; scache-idle-time = 20

; dl-search-path = (depends on architecture)

; load-default-script-file = yes
; default-script-file = /etc/pulse/default.pa

; log-target = auto
; log-level = notice
; log-meta = no
; log-time = no
; log-backtrace = 0

; resample-method = speex-float-1
; avoid-resampling = false
; enable-remixing = yes
; remixing-use-all-sink-channels = yes
; enable-lfe-remixing = no
; lfe-crossover-freq = 0

flat-volumes = no
; flat-volumes = yes

; rlimit-fsize = -1
; rlimit-data = -1
; rlimit-stack = -1
; rlimit-core = -1
; rlimit-as = -1
; rlimit-rss = -1
; rlimit-nproc = -1
; rlimit-nofile = 256
; rlimit-memlock = -1
; rlimit-locks = -1
; rlimit-sigpending = -1
; rlimit-msgqueue = -1
; rlimit-nice = 31
; rlimit-rtprio = 9
; rlimit-rttime = 200000

; default-sample-format = s16le
; default-sample-rate = 44100
; alternate-sample-rate = 48000
; default-sample-channels = 2
; default-channel-map = front-left,front-right

; default-fragments = 4
; default-fragment-size-msec = 25

; enable-deferred-volume = yes
; deferred-volume-safety-margin-usec = 8000
; deferred-volume-extra-delay-usec = 0

Offline

#4 2018-04-26 12:32:02

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

Re: Audio quality worse in Arch than windows on two different [SOLVED]

Since you specifically mention bass, you might want to enable LFE remixing, remove the colon in front of the corresponding lines so that they read

enable-lfe-remixing = yes
lfe-crossover-freq = 0 #You can play with that value, if it is set to 0 simply everything is mixed together, other values define the frequency cutoff from when a sound shouldn't be considered for the LFE channel anymore.
#And while we are already here, though in this particular example it is irrelevant
resample-method = speex-float-5 #Should you ever have a source that needs resampling speex-float-1 is very conservative.

though I'm unsure if the LFE adjustments much relevance on a pure stereo setup. Simply from volumes your PCM on the alsamixer side is at 77% and the master volume on pulse's side is at 65% if you bump each of them, are the results still unsatisfactory?

What you are quite unlikely to be able to do is map the volume percentage you use in Windows 1:1 to the volume percentage exposed by pulse. Volume percentages are a pretty useless metric and there simply might be volume step differences that ultimately even out at "100%". Other than that, maybe play around with the '3D sound' and/or 'Four Channel Mode' controls in alsamixer (or amixer

amixer -c0 '3D Control - Switch' on #or off
amixer -c0 set 'Four Channel Mode' off #or on

or something like that, amixer syntax is whack tongue ) .

E.g. I'd see that maybe that four channel mode might try to even out the channels even though you are only actively using two.

Last edited by V1del (2018-04-26 12:33:00)

Offline

#5 2018-04-26 13:09:34

ugjka
Member
From: Latvia
Registered: 2014-04-01
Posts: 1,815
Website

Re: Audio quality worse in Arch than windows on two different [SOLVED]

Windows drivers probably use software sound "enhancers" to make it sound better than what the hardware can do. Pretty sure alsa and pulseaudio just outputs everything as is.
To enhance the sound try this https://github.com/wwmm/pulseeffects


https://ugjka.net
paru > yay | webcord > discord
pacman -S spotify-launcher
mount /dev/disk/by-...

Offline

#6 2018-04-30 05:26:38

sigod
Member
Registered: 2015-09-11
Posts: 6

Re: Audio quality worse in Arch than windows on two different [SOLVED]

V1del: turning up pcm to max seems to have helped thanks.

Last edited by sigod (2018-04-30 06:22:28)

Offline

#7 2018-04-30 15:15:44

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

Re: Audio quality worse in Arch than windows on two different [SOLVED]

No problem, if you feel this is [SOLVED] you can prepend that to your title in your first post.

Offline

Board footer

Powered by FluxBB