You are not logged in.
I have a MSI WT72-6QL Workstation Xeon, Its proven to be a challenge getting everything working properly in Linux. The sound issue has proven to difficult for me to fix without assistance. Here is the info about my system.
/etc/modprobe.d/alsa-base.conf
options snd-hda-intel index=2,0 bdl_pos_adj=1,64 snoop=0
$ aplay -L | grep :CARD
hdmi:CARD=NVidia,DEV=0
hdmi:CARD=NVidia,DEV=1
hdmi:CARD=NVidia,DEV=2
sysdefault:CARD=PCH
front:CARD=PCH,DEV=0
surround21:CARD=PCH,DEV=0
surround40:CARD=PCH,DEV=0
surround41:CARD=PCH,DEV=0
surround50:CARD=PCH,DEV=0
surround51:CARD=PCH,DEV=0
surround71:CARD=PCH,DEV=0
iec958:CARD=PCH,DEV=0
$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: NVidia [HDA NVidia], device 3: HDMI 0 [HDMI 0]
Subdevices: 0/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 2: PCH [HDA Intel PCH], device 0: ALC898 Analog [ALC898 Analog]
Subdevices: 0/1
Subdevice #0: subdevice #0
card 2: PCH [HDA Intel PCH], device 1: ALC898 Digital [ALC898 Digital]
Subdevices: 1/1
Subdevice #0: subdevice #0
Card 2(HDA Intel PCH) in alsamixer:
has 5.1 stereo in alsmixer, although the LFE is listed and on, but doesn't use the subwoofer as intended, instead it just has VERY low volume to match that of the PCM speaker. No base?! The subwoofer is located on the bottom of the laptop and is a DYnaudio speaker. I don't think it is properly mapped. MSI is not Linux friendly...I had no idea untill after I purchased it.
Here is an image of the Alsamixer for Card 2(HDA Intel PCH):
http://i725.photobucket.com/albums/ww26 … usqvca.png
The Default Card PulseAudio and only has a Master channel
Card 0(HDA NVidia) is just the 3 S/PDIF channels. (I should mention I am using my Nvidia Quadro as my default graphics card (I tried Optimus and Primus and Bumblebee to get both Intel and Nvidia to work but MSI's BIOS is not my friend, so its Nvidia by default.)
$ cat /proc/asound/card*/id
NVidia
PCH
$ ls -l /dev/snd
total 0
drwxr-xr-x 2 root root 80 Jun 18 07:45 by-path/
crw-rw----+ 1 root audio 116, 7 Jun 18 07:45 controlC0
crw-rw----+ 1 root audio 116, 2 Jun 18 07:45 controlC2
crw-rw----+ 1 root audio 116, 11 Jun 18 07:45 hwC0D0
crw-rw----+ 1 root audio 116, 6 Jun 18 07:45 hwC2D0
crw-rw----+ 1 root audio 116, 8 Jun 18 07:45 pcmC0D3p
crw-rw----+ 1 root audio 116, 9 Jun 18 07:45 pcmC0D7p
crw-rw----+ 1 root audio 116, 10 Jun 18 07:45 pcmC0D8p
crw-rw----+ 1 root audio 116, 4 Jun 18 07:45 pcmC2D0c
crw-rw----+ 1 root audio 116, 3 Jun 18 07:45 pcmC2D0p
crw-rw----+ 1 root audio 116, 5 Jun 18 07:45 pcmC2D1p
crw-rw----+ 1 root audio 116, 1 Jun 18 07:45 seq
crw-rw----+ 1 root audio 116, 33 Jun 18 07:45 timer
$ lsmod | grep '^snd' | column -t
snd_hda_codec_hdmi 49152 1
snd_hda_codec_realtek 73728 1
snd_hda_codec_generic 69632 1 snd_hda_codec_realtek
snd_hda_intel 36864 13
snd_hda_codec 106496 4 snd_hda_intel,snd_hda_codec_hdmi,snd_hda_codec_generic,snd_hda_codec_realtek
snd_hda_core 65536 5 snd_hda_intel,snd_hda_codec,snd_hda_codec_hdmi,snd_hda_codec_generic,snd_hda_codec_realtek
snd_hwdep 16384 1 snd_hda_codec
snd_pcm 90112 7 snd_hda_intel,snd_hda_codec,snd_hda_core,snd_hda_codec_hdmi
snd_timer 28672 4 snd_pcm
snd 65536 28 snd_hda_intel,snd_hwdep,snd_hda_codec,snd_timer,snd_hda_codec_hdmi,snd_hda_codec_generic,snd_hda_codec_realtek,snd_pcm
$ amixer scontrols
Simple mixer control 'Master',0
Simple mixer control 'Capture',0
and finally here is my
/etc/asound.conf
# Use PulseAudio by default
defaults.pcm.rate_converter "speexrate_medium"
pcm.snd_card {
type hw
card 2
device 0
slave.pcm pulse
}
# 6 channel dmix - output whatever audio to all 6 speakers
pcm.dmix51 {
type dmix
ipc_key 1024
ipc_key_add_uid false
ipc_perm 0660
slave {
pcm "snd_card"
channels 6
format S16_LE
rate 48000
period_time 0
period_size 1024
buffer_time 0
buffer_size 4096
}
}
# upmixing - duplicate stereo data to all 6 channels
pcm.ch51up {
type route
slave.pcm dmix51
slave.channels 6
ttable.0.0 1
ttable.1.1 1
ttable.2.3 0.7
ttable.3.2 0.7
ttable.4.4 0.7
ttable.5.5 0.7
ttable.0.3 1
ttable.1.2 1
ttable.0.4 0.5
ttable.1.4 0.5
ttable.0.5 0.5
ttable.1.5 0.5
hint {
show on
description "Default ALSA Output (currently PulseAudio Sound Server)"
}
}
# share the microphone, i.e. because virtualbox grabs it by default
pcm.microphone {
type dsnoop
ipc_key 1027
slave {
pcm "snd_card"
}
}
# rate conversion, needed i.e. for wine
pcm.2chplug {
type plug
slave.pcm "ch51dup"
}
pcm.a2chplug {
type plug
slave.pcm "dmix51"
}
# skype and ekiga are only mono, so route left channel to the right channel
# note: this gets routed to the alternative 2 channels
pcm.mono_playback {
type route
slave.pcm "a2chplug"
slave.channels 6
# Send Skype channel 0 to the L and R speakers at full volume
#ttable.0.6 1
#ttable.0.7 1
}
# 'full-duplex' device for use with aoss
pcm.duplex {
type asym
playback.pcm "2chplug"
capture.pcm "microphone"
}
pcm.monoduplex {
type asym
playback.pcm "mono_playback"
capture.pcm "microphone"
}
pcm.!default {
type pulse
}
ctl.!default {
type pulse
}
#pcm.dmixer51 {
# type dmix
# ipc_key 1024
# ipc_perm 0660 #
# slave {
# pcm "surround51"
# pcm "hw:2"
# rate 48000
# channels 6
# period_time 0
# period_size 4096
# buffer_time 0
# buffer_size 131072
# }
#}
pcm.dmixoss {
type dmix
ipc_key 1024
slave {
pcm "hw:2"
period_time 0
period_size 1024
buffer_size 8192
}
}
pcm.dsp {
type plug
slave.pcm "dmix51"
}
# softvol manages volume in alsa
# i.e. wine likes this
pcm.mainvol {
type softvol
slave.pcm "duplex"
control {
name "2ch-Upmix Master"
card 2
}
}
pcm.dsnooper {
type dsnoop
ipc_key 1024
slave {
pcm "hw:2"
channels 2
period_size 4096
buffer_size 32768
rate 48000
}
bindings {
0 0
1 1
}
}
pcm_slave.s16_LE {
pcm "hw:2,0"
rate 48000
}
pcm.rate_convert {
type rate
slave s16_LE
}
pcm.btheadset {
type plug
slave {
pcm {
type bluetooth
device 00:1E:7C:31:88:4E
profile "auto"
}
}
hint {
show on
description "BT Headset"
}
}
ctl.btheadset {
type bluetooth
}
# vim:set ft=alsaconf:
I don't have an asoundrc in my {$HOME}.
I have tried everything I could google to get this all working properly, to no avail.
I can't seem to get the Intel Card that shows up as Card2 for some strange reason(even without any options in Modprobe.d) to become the default sound card. I have been able to get Pulseaudio show an option for 5.1stereo in the sound options and pauvcontrol menus but only the 2 main front left and right actually work( it lists them as the rear speakers in this configuration). I can use some help here, everything I have googled seems to b out of date including the Asound.conf options listed in the Arch-Wiki. I'd also be thrilled to get the subwoofer to work like a subwoofer to! ;-)
Help
"Democracy is being allowed to vote for the candidate you dislike least." -- Robert Byrne
http://killhellokitty.deviantart.com/
Offline
A lot of random stuff here:
What are the other options apart from index on the snd-hda-intel module for? Are you sure you need them? The index line is objectively wrong it should be
options snd-hda-intel index=0,-2
as it seems your analog card is loaded first.
If you intend to use pulseaudio, that asound.conf is complete overkill, and likely to break things. Remove/back it up and install pulseaudio-alsa instead. Reboot.
Start playing something and post:
sudo fuser -v /dev/snd/*
pacmd list-cards
pacmd list-sinks
pacmd list-sink-inputs
General notes on that last point if you want to try things before I've seen these outputs.:
You should have a 2.1, 5.1 or similar profile within pulseaudio (the list-cards output), switch to that in the "Configuration" Tab of pavucontrol
If the subwoofer still doesn't work as intended, edit /etc/pulse/daemon.conf identify the following lines and make them read
enable-lfe-remixing = yes
lfe-crossover-freq = 120 #Change that to however frequency value you feel sounds best
Restart pulse between tries with systemctl --user restart pulseaudio
If it still doesn't work, go into alsamixer for your PCH card, and up the channel map control from 2ch to something that would represent a surround setup, like 6ch for example
Last edited by V1del (2017-06-19 16:00:32)
Offline
Thany You for your assistance.
I changed the '/etc/modprobe.d/alsa-base.conf' to match your suggestion
options snd-hda-intel index=0,-2
I removed the asound.conf, and have pulseaudio-alsa re-installed. And rebooted.
I have started playing music via Rhythmbox, and here are the results your requested.
sudo fuser -v /dev/snd/*
USER PID ACCESS COMMAND
/dev/snd/controlC0: joshva 4385 F.... pulseaudio
/dev/snd/controlC1: joshva 4385 F.... pulseaudio
/dev/snd/pcmC0D0c: joshva 4385 F...m pulseaudio
/dev/snd/pcmC0D0p: joshva 4385 F...m pulseaudio
/dev/snd/pcmC1D3p: joshva 4385 F...m pulseaudio
/dev/snd/timer: joshva 4385 f.... pulseaudio
pacmd list-cards
2 card(s) available.
index: 0
name: <alsa_card.pci-0000_01_00.1>
driver: <module-alsa-card.c>
owner module: 6
properties:
alsa.card = "1"
alsa.card_name = "HDA NVidia"
alsa.long_card_name = "HDA NVidia at 0xdc080000 irq 17"
alsa.driver_name = "snd_hda_intel"
device.bus_path = "pci-0000:01:00.1"
sysfs.path = "/devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card1"
device.bus = "pci"
device.vendor.id = "10de"
device.vendor.name = "NVIDIA Corporation"
device.product.id = "0fbb"
device.product.name = "GM204 High Definition Audio Controller"
device.string = "1"
device.description = "GM204 High Definition Audio Controller"
module-udev-detect.discovered = "1"
device.icon_name = "audio-card-pci"
profiles:
output:hdmi-stereo: Digital Stereo (HDMI) Output (priority 400, available: unknown)
output:hdmi-stereo-extra1: Digital Stereo (HDMI 2) Output (priority 200, available: no)
output:hdmi-surround-extra1: Digital Surround 5.1 (HDMI 2) Output (priority 3100, 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 200, available: no)
output:hdmi-surround-extra2: Digital Surround 5.1 (HDMI 3) Output (priority 3100, available: no)
output:hdmi-surround71-extra2: Digital Surround 7.1 (HDMI 3) Output (priority 100, available: no)
off: Off (priority 0, available: unknown)
active profile: <output:hdmi-stereo>
sinks:
alsa_output.pci-0000_01_00.1.hdmi-stereo/#0: GM204 High Definition Audio Controller Digital Stereo (HDMI)
sources:
alsa_output.pci-0000_01_00.1.hdmi-stereo.monitor/#0: Monitor of GM204 High Definition Audio Controller Digital Stereo (HDMI)
ports:
hdmi-output-0: HDMI / DisplayPort (priority 5900, latency offset 0 usec, available: yes)
properties:
device.icon_name = "video-display"
device.product.name = "EV2750
"
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"
index: 1
name: <alsa_card.pci-0000_00_1f.3>
driver: <module-alsa-card.c>
owner module: 7
properties:
alsa.card = "0"
alsa.card_name = "HDA Intel PCH"
alsa.long_card_name = "HDA Intel PCH at 0xda120000 irq 147"
alsa.driver_name = "snd_hda_intel"
device.bus_path = "pci-0000:00:1f.3"
sysfs.path = "/devices/pci0000:00/0000:00:1f.3/sound/card0"
device.bus = "pci"
device.vendor.id = "8086"
device.vendor.name = "Intel Corporation"
device.product.id = "a170"
device.product.name = "Sunrise Point-H HD Audio"
device.form_factor = "internal"
device.string = "0"
device.description = "Built-in Audio"
module-udev-detect.discovered = "1"
device.icon_name = "audio-card-pci"
profiles:
input:analog-stereo: Analog Stereo Input (priority 10, available: unknown)
output:analog-stereo: Analog Stereo Output (priority 1000, available: unknown)
output:analog-stereo+input:analog-stereo: Analog Stereo Duplex (priority 1010, available: unknown)
output:analog-surround-40: Analog Surround 4.0 Output (priority 700, available: unknown)
output:analog-surround-40+input:analog-stereo: Analog Surround 4.0 Output + Analog Stereo Input (priority 710, available: unknown)
output:iec958-stereo: Digital Stereo (IEC958) Output (priority 500, available: unknown)
output:iec958-stereo+input:analog-stereo: Digital Stereo (IEC958) Output + Analog Stereo Input (priority 510, available: unknown)
off: Off (priority 0, available: unknown)
active profile: <output:analog-stereo+input:analog-stereo>
sinks:
alsa_output.pci-0000_00_1f.3.analog-stereo/#5: Built-in Audio Analog Stereo
sources:
alsa_input.pci-0000_00_1f.3.analog-stereo/#2: Built-in Audio Analog Stereo
alsa_output.pci-0000_00_1f.3.analog-stereo.monitor/#6: Monitor of Built-in Audio Analog Stereo
ports:
analog-input-internal-mic: Internal Microphone (priority 8900, latency offset 0 usec, available: unknown)
properties:
device.icon_name = "audio-input-microphone"
analog-input-mic: Microphone (priority 8700, latency offset 0 usec, available: no)
properties:
device.icon_name = "audio-input-microphone"
analog-input-linein: Line In (priority 8100, latency offset 0 usec, available: no)
properties:
analog-output-lineout: Line Out (priority 9900, latency offset 0 usec, available: no)
properties:
analog-output-speaker: Speakers (priority 10000, latency offset 0 usec, available: unknown)
properties:
device.icon_name = "audio-speakers"
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:
pacmd list-sinks
2 sink(s) available.
index: 0
name: <alsa_output.pci-0000_01_00.1.hdmi-stereo>
driver: <module-alsa-card.c>
flags: HARDWARE DECIBEL_VOLUME LATENCY
state: IDLE
suspend cause:
priority: 9050
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: 100.11 ms
max request: 17 KiB
max rewind: 17 KiB
monitor source: 0
sample spec: s16le 2ch 44100Hz
channel map: front-left,front-right
Stereo
used by: 0
linked by: 0
fixed latency: 100.14 ms
card: 0 <alsa_card.pci-0000_01_00.1>
module: 6
properties:
alsa.resolution_bits = "16"
device.api = "alsa"
device.class = "sound"
alsa.class = "generic"
alsa.subclass = "generic-mix"
alsa.name = "HDMI 0"
alsa.id = "HDMI 0"
alsa.subdevice = "0"
alsa.subdevice_name = "subdevice #0"
alsa.device = "3"
alsa.card = "1"
alsa.card_name = "HDA NVidia"
alsa.long_card_name = "HDA NVidia at 0xdc080000 irq 17"
alsa.driver_name = "snd_hda_intel"
device.bus_path = "pci-0000:01:00.1"
sysfs.path = "/devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card1"
device.bus = "pci"
device.vendor.id = "10de"
device.vendor.name = "NVIDIA Corporation"
device.product.id = "0fbb"
device.product.name = "GM204 High Definition Audio Controller"
device.string = "hdmi:1"
device.buffering.buffer_size = "17664"
device.buffering.fragment_size = "2944"
device.access_mode = "mmap"
device.profile.name = "hdmi-stereo"
device.profile.description = "Digital Stereo (HDMI)"
device.description = "GM204 High Definition Audio Controller Digital Stereo (HDMI)"
alsa.mixer_name = "Nvidia GPU 71 HDMI/DP"
alsa.components = "HDA:10de0071,14621178,00100100"
module-udev-detect.discovered = "1"
device.icon_name = "audio-card-pci"
ports:
hdmi-output-0: HDMI / DisplayPort (priority 5900, latency offset 0 usec, available: yes)
properties:
device.icon_name = "video-display"
device.product.name = "EV2750
"
active port: <hdmi-output-0>
* index: 5
name: <alsa_output.pci-0000_00_1f.3.analog-stereo>
driver: <module-alsa-card.c>
flags: HARDWARE HW_MUTE_CTRL HW_VOLUME_CTRL DECIBEL_VOLUME LATENCY
state: RUNNING
suspend cause:
priority: 9959
volume: front-left: 32783 / 50% / -18.05 dB, front-right: 32783 / 50% / -18.05 dB
balance 0.00
base volume: 65536 / 100% / 0.00 dB
volume steps: 65537
muted: no
current latency: 100.80 ms
max request: 17 KiB
max rewind: 17 KiB
monitor source: 6
sample spec: s16le 2ch 44100Hz
channel map: front-left,front-right
Stereo
used by: 1
linked by: 1
fixed latency: 99.95 ms
card: 1 <alsa_card.pci-0000_00_1f.3>
module: 7
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 = "0"
alsa.card_name = "HDA Intel PCH"
alsa.long_card_name = "HDA Intel PCH at 0xda120000 irq 147"
alsa.driver_name = "snd_hda_intel"
device.bus_path = "pci-0000:00:1f.3"
sysfs.path = "/devices/pci0000:00/0000:00:1f.3/sound/card0"
device.bus = "pci"
device.vendor.id = "8086"
device.vendor.name = "Intel Corporation"
device.product.id = "a170"
device.product.name = "Sunrise Point-H HD Audio"
device.form_factor = "internal"
device.string = "front:0"
device.buffering.buffer_size = "17632"
device.buffering.fragment_size = "4408"
device.access_mode = "mmap"
device.profile.name = "analog-stereo"
device.profile.description = "Analog Stereo"
device.description = "Built-in Audio Analog Stereo"
alsa.mixer_name = "Realtek ALC898"
alsa.components = "HDA:10ec0899,146211d0,00100003"
module-udev-detect.discovered = "1"
device.icon_name = "audio-card-pci"
ports:
analog-output-lineout: Line Out (priority 9900, latency offset 0 usec, available: no)
properties:
analog-output-speaker: Speakers (priority 10000, latency offset 0 usec, available: unknown)
properties:
device.icon_name = "audio-speakers"
analog-output-headphones: Headphones (priority 9000, latency offset 0 usec, available: no)
properties:
device.icon_name = "audio-headphones"
active port: <analog-output-speaker>
pacmd list-sink-inputs
1 sink input(s) available.
index: 21
driver: <protocol-native.c>
flags: START_CORKED
state: RUNNING
sink: 5 <alsa_output.pci-0000_00_1f.3.analog-stereo>
volume: front-left: 65536 / 100% / 0.00 dB, front-right: 65536 / 100% / 0.00 dB
balance 0.00
muted: no
current latency: 98.07 ms
requested latency: 99.95 ms
sample spec: s16le 2ch 44100Hz
channel map: front-left,front-right
Stereo
resample method: (null)
module: 12
client: 16 <Rhythmbox>
properties:
media.name = "'All Burnt Out' by 'Audio Bullys'"
application.name = "Rhythmbox"
native-protocol.peer = "UNIX socket client"
native-protocol.version = "32"
media.role = "music"
application.process.id = "7140"
application.process.user = "joshva"
application.process.host = "bagheerah"
application.process.binary = "rhythmbox"
application.icon_name = "rhythmbox"
application.language = "en_US.UTF-8"
window.x11.display = ":1"
application.process.machine_id = "a381eff33d54430ca18200865fde1ba3"
application.process.session_id = "c2"
module-stream-restore.id = "sink-input-by-media-role:music"
media.title = "All Burnt Out"
media.artist = "Audio Bullys"
I only have (basically these options in pavucontrol) Analog Stereo Duplex/Output/Input(only the Front right & left speakers have any output) and Analog Surround 4.0 Output(only the Rear right & left speakers have any output).
I enabled-lfe-remixing =yes and lfe-crossover-freq = 120 in /etc/pulse/daemon.conf.
I have restarted pulse and reset my PCH card in Alsamixer for 6channel and unmuted and brought everything up. Then I went back in and PulseAudio shows 'Master Front', Mater Rear', 'Master Center', and 'Master Woofer'. I made sure everything was unmuted and moved everything up. Still a no go with the sound properly working.
It lists Analog Surround 4.0(only Rear right & left have output), Analog Stereo(Front left & right have output), Analog Surround 5.1(Only Rear right & left have output).
Any Ideas as to why it shows the channels unmuted and up yet I can't get any sound?
Thanks again for your assistance.
"Democracy is being allowed to vote for the candidate you dislike least." -- Robert Byrne
http://killhellokitty.deviantart.com/
Offline
What I find strange is that pulse doesn't find a 5.1 profile. Does aplay -L still list the 5.1 profiles? Was that what bpos param was for? What's the output of
amixer -c0
Offline
I had done a lot of digging on Google before posting here, and the MSI laptops are not well documented for Linux. And what is documented is all for their gameing laptops not the workstations.
aplay -L
null
Discard all samples (playback) or generate zero samples (capture)
pulse
PulseAudio Sound Server
default
Default ALSA Output (currently PulseAudio Sound Server)
sysdefault:CARD=PCH
HDA Intel PCH, ALC898 Analog
Default Audio Device
front:CARD=PCH,DEV=0
HDA Intel PCH, ALC898 Analog
Front speakers
surround21:CARD=PCH,DEV=0
HDA Intel PCH, ALC898 Analog
2.1 Surround output to Front and Subwoofer speakers
surround40:CARD=PCH,DEV=0
HDA Intel PCH, ALC898 Analog
4.0 Surround output to Front and Rear speakers
surround41:CARD=PCH,DEV=0
HDA Intel PCH, ALC898 Analog
4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=PCH,DEV=0
HDA Intel PCH, ALC898 Analog
5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=PCH,DEV=0
HDA Intel PCH, ALC898 Analog
5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=PCH,DEV=0
HDA Intel PCH, ALC898 Analog
7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
iec958:CARD=PCH,DEV=0
HDA Intel PCH, ALC898 Digital
IEC958 (S/PDIF) Digital Audio Output
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
Also I should mention that I have a Eizo Monitor connected with HDMI and I believe it shows its 2 stereo speakers here as well. Just FYI.
amixer -c0
Simple mixer control 'Master',0
Capabilities: pvolume pvolume-joined pswitch pswitch-joined
Playback channels: Mono
Limits: Playback 0 - 87
Mono: Playback 63 [72%] [-18.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 'Speaker',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 'Bass Speaker',0
Capabilities: pswitch
Playback channels: Front Left - Front Right
Mono:
Front Left: Playback [on]
Front Right: Playback [on]
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 '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 cswitch cswitch-joined cswitch-exclusive
Capture exclusive group: 0
Playback channels: Front Left - Front Right
Capture channels: Mono
Limits: Playback 0 - 31
Mono: Capture [off]
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 'Mic',0
Capabilities: pvolume pswitch cswitch cswitch-joined cswitch-exclusive
Capture exclusive group: 0
Playback channels: Front Left - Front Right
Capture channels: Mono
Limits: Playback 0 - 31
Mono: Capture [off]
Front Left: Playback 0 [0%] [-34.50dB] [off]
Front Right: Playback 0 [0%] [-34.50dB] [off]
Simple mixer control '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 'IEC958',0
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [off]
Simple mixer control 'IEC958 Default PCM',0
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [on]
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] [on]
Front Right: Capture 49 [78%] [19.50dB] [on]
Simple mixer control 'Auto-Mute Mode',0
Capabilities: enum
Items: 'Disabled' 'Speaker Only' 'Line Out+Speaker'
Item0: 'Line Out+Speaker'
Simple mixer control 'Channel Mode',0
Capabilities: enum
Items: '2ch' '4ch' '6ch'
Item0: '2ch'
Simple mixer control 'Internal Mic',0
Capabilities: cswitch cswitch-joined cswitch-exclusive
Capture exclusive group: 0
Capture channels: Mono
Mono: Capture [on]
Simple mixer control 'Loopback Mixing',0
Capabilities: enum
Items: 'Disabled' 'Enabled'
Item0: 'Disabled'
I recall that the 'bpos' param was something I came accross in a post for and MSI gaming laptops sound card. So I had added it to see if it would help any....I can't say that I did or didn't...I just don't know.
I also meant to let you know that I just checked 'PulseAudio Volume Control' and It no longer lists the 5.1 in the 'Built-in Audio" profile it only has "analog stereo-duplex, analog stereo-output, analog surround 4.0 output + analog stereo input, analog surround 4.0 output, digital stereo (IEC958) output + analog stereo input, digital stereo (IEC958) output, and lastly analog stereo input." And of course the 4.0 surround still only outputs sound to Rear right + left speakers. LOL!!!
I just opened 'alsamixer' and the "PulseAudio" Card only has 1 Master Channel. It didn't keep anything that was set up yestarday, even if it wasn't working. I just droped the other channels and went back to a single Master. I'm sure you can feel my frustration....ahhhhh! I truly appreciate your assistance, this has been driving me mental.
Bye-the-way; I generally use the Gnome-Desktop because thats what I started using way-way-back ages ago, and I am comfortable with it, I do also use OpenBox-Desktop with Compton from time to time. The only reason I was sticking to PulseAudio is because it is pretty-musch intergrated into Gnome at this point. I am however not against scrapping PulseAudio and using Asla, maybe with Jack or something. I'm just leaving the posability to change open incase Pulse is to uncooperative to get working with this MSI. Should you feel that would be a better route to take I am agreable; but I would still require detailed assistance, as I have know Idea as to how to make that work.
Food for thought.
Last edited by jo-shva (2017-06-22 04:18:32)
"Democracy is being allowed to vote for the candidate you dislike least." -- Robert Byrne
http://killhellokitty.deviantart.com/
Offline
That the pulseaudio mixer in alsamixer only shows a single master volume is completely normal and expected don't worry about that. The configuration on pulse side must be correct, the right thing on the alsamixer side should happen when we achieved that. I see in your amixer output that the channel control is still set to 2ch, and I feel that this is key to solving this. My amixer syntax is rusty but
amixer -c0 set 'Channel Mode' '6ch'
, if it doesn't just use alsamixer to set that same control. Do things change now? Does pulseaudio get a new profile
systemctl --user restart pulseaudio
to be sure, if it doesn't and simply for veryfing this, does
speaker-test -Dsurround51 -c6
at least give you output on all of your channels?
Offline
I keep setting alsamixer to 6 channels, but it resets to 2 channels after a reboot. After it is reset to 6 channels the PulseAudio Card has Master Fromt, Master Rear, Master Center, and Master Woofer as it's channels, the only thing is only the Front right and left channels actually paly sound.
amixer -c0 set 'Channel Mode' '6ch'
Simple mixer control 'Channel Mode',0
Capabilities: enum
Items: '2ch' '4ch' '6ch'
Item0: '6ch'
And now PulseAudio says I have 5.1 surround, but again only Front right and left have sound.
]
speaker-test -Dsurround51 -c6
speaker-test 1.1.4
Playback device is surround51
Stream parameters are 48000Hz, S16_LE, 6 channels
Using 16 octaves of pink noise
Playback open error: -16,Device or resource busy
I can't imagine what is causing this.
"Democracy is being allowed to vote for the candidate you dislike least." -- Robert Byrne
http://killhellokitty.deviantart.com/
Offline
Try to disable pulseaudio for the duration of the speaker-test call
pasuspender speaker-test -Dsurround51 -c6
if you still get the resource busy error, figure out the culprit with
sudo fuser -v /dev/snd/*
Offline
pasuspender would not disable pulseaudio, it kept giving an error about the -D.
So I stoped pulseaudio via systemd and ran the test.
I found in alsamixer that Card0 had reverted back to 2 channel stereo. It seems to change from 6 channel back to 2 channel after every reboot.
It didn't make any difference in the end tough.
I was still only able to get sound out of Front right and left speakers.
pasuspender speaker-test -Dsurround51 -c6
pasuspender: invalid option -- 'D'
sudo fuser -v /dev/snd/*
USER PID ACCESS COMMAND
/dev/snd/controlC0: joshva 8940 F.... pulseaudio
/dev/snd/controlC1: joshva 8940 F.... pulseaudio
/dev/snd/pcmC0D0c: joshva 8940 F...m pulseaudio
/dev/snd/pcmC0D0p: joshva 8940 F...m pulseaudio
So I stoped pulseaudio with systemd and tried it again.
systemctl --user stop pulseaudio
Warning: Stopping pulseaudio.service, but it can still be activated by:
pulseaudio.socket
systemctl --user stop pulseaudio.socket
And ran both tests again with pulse stopped.
speaker-test -Dsurround51 -c6
speaker-test 1.1.4
Playback device is surround51
Stream parameters are 48000Hz, S16_LE, 6 channels
Using 16 octaves of pink noise
Rate set to 48000Hz (requested 48000Hz)
Buffer size range from 22 to 349525
Period size range from 11 to 174762
Using max buffer size 349524
Periods = 4
was set period_size = 87381
was set buffer_size = 349524
0 - Front Left
4 - Center
1 - Front Right
3 - Rear Right
2 - Rear Left
5 - LFE
Time per period = 10.953421
Rear right and Rear left were the only channels with sound.
sudo fuser -v /dev/snd/*
Nothing is listed here. Also no sound is in use at this moment.
alsamixer
goes directly to HDA Intel PCH Card0.
This is Alsamixer just after boot this morning http://i725.photobucket.com/albums/ww26 … sdq6ei.png
This is Alsamixer imediatly after stopping pulseaudio http://i725.photobucket.com/albums/ww26 … 9xc5dk.png
I still have no idea whats going on with this.
"Democracy is being allowed to vote for the candidate you dislike least." -- Robert Byrne
http://killhellokitty.deviantart.com/
Offline