Lost output from built-in speakers

Questions about codecs, DVD playback, web plugins...
Forum rules
Before you post please read how to get help
Post Reply
PDXsailor
Level 1
Level 1
Posts: 9
Joined: Thu May 10, 2018 3:12 pm

Lost output from built-in speakers

Post by PDXsailor » Mon May 21, 2018 6:45 pm

I have been using Cinnamon 64 18.3 since last September. Today the sound no longer comes out of the built-in speakers, but does work with a USB headphone. The only thing updated today was xdg-utils; could this cause a problem, and if so how to revert? I have tried a number of recommendations from other threads to no avail. I have been using kernel 4.15.0-15 since released; -20 causes problems for polychromatic and nVidia config.

System: Host: greg-Blade Kernel: 4.15.0-15-generic x86_64 (64 bit gcc: 5.4.0)
Desktop: Cinnamon 3.6.7 (Gtk 3.18.9-1ubuntu3.3) Distro: Linux Mint 18.3 Sylvia
Machine: System: Razer (portable) product: Blade v: 6.06
Mobo: Razer model: Razer Bios: Razer v: 4.02 date: 02/22/2018
CPU: Quad core Intel Core i7-7700HQ (-HT-MCP-) cache: 6144 KB
flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx) bmips: 22464
clock speeds: max: 3800 MHz 1: 900 MHz 2: 900 MHz 3: 900 MHz 4: 900 MHz 5: 900 MHz 6: 900 MHz
7: 900 MHz 8: 900 MHz
Graphics: Card-1: Intel Device 591b bus-ID: 00:02.0
Card-2: NVIDIA Device 1c20 bus-ID: 01:00.0
Display Server: X.Org 1.18.4 drivers: intel (unloaded: fbdev,vesa) Resolution: 1920x1080@60.05hz
GLX Renderer: Mesa DRI Intel HD Graphics 630 (Kaby Lake GT2)
GLX Version: 3.0 Mesa 17.2.8 Direct Rendering: Yes
Audio: Card Intel Device a171 driver: snd_hda_intel bus-ID: 00:1f.3 Sound: ALSA v: k4.15.0-15-generic
Network: Card-1: Qualcomm Atheros QCA6174 802.11ac Wireless Network Adapter driver: ath10k_pci bus-ID: 3b:00.0
IF: wlp59s0 state: up mac: <filter>
Card-2: Atheros usb-ID: 001-002
IF: null-if-id state: N/A speed: N/A duplex: N/A mac: N/A
Drives: HDD Total Size: NA (-) ID-1: /dev/nvme0n1 model: N/A size: 512.1GB
Partition: ID-1: / size: 231G used: 134G (62%) fs: ext4 dev: /dev/nvme0n1p6
ID-2: swap-1 size: 17.07GB used: 0.00GB (0%) fs: swap dev: /dev/nvme0n1p7
RAID: No RAID devices: /proc/mdstat, md_mod kernel module present
Sensors: System Temperatures: cpu: 40.5C mobo: 29.8C
Fan Speeds (in rpm): cpu: N/A
Info: Processes: 245 Uptime: 1:16 Memory: 2454.7/15934.5MB Init: systemd runlevel: 5 Gcc sys: 5.4.0
Client: Shell (bash 4.3.481) inxi: 2.2.35

MrEen
Level 5
Level 5
Posts: 674
Joined: Mon Jun 12, 2017 8:39 pm

Re: Lost output from built-in speakers

Post by MrEen » Mon May 21, 2018 7:07 pm

Hi PDXsailor.

Unfortunately, I don't know which things you've tried, so I'll try to cover a few and we'll go from there.

Have you made certain sound is not muted? That may come across as somewhat insulting, but it happens to pretty much everyone from time to time. I'd suggest running alsamixer in the terminal, press F6 to select the proper device, and make certain under the bar for Speaker you don't see MM. If you do, use arrow keys to highlight Speaker, then press your m key.

Now that the simplest is out of the way, have you deleted the files in ~/.config/pulse/ and rebooted? Something there might have become corrupted and will be regenerated after clearing/rebooting.

Have you installed pavucontrol and run it in the terminal? Made sure in Output Devices the Port is Speakers for the proper device?

Still nothing? Please paste back the results aplay -l and aplay -L and enclose the text in code tags (the "</>" button above the text entry box.)

PDXsailor
Level 1
Level 1
Posts: 9
Joined: Thu May 10, 2018 3:12 pm

Re: Lost output from built-in speakers

Post by PDXsailor » Mon May 21, 2018 7:17 pm

Already done all of the above to no effect. (Thanks for the code tag - didn't know that).

Code: Select all

greg@greg-Blade ~ $ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: ALC298 Analog [ALC298 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 7: HDMI 1 [HDMI 1]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 8: HDMI 2 [HDMI 2]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 9: HDMI 3 [HDMI 3]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 10: HDMI 4 [HDMI 4]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
greg@greg-Blade ~ $ aplay -L
default
    Playback/recording through the PulseAudio sound server
null
    Discard all samples (playback) or generate zero samples (capture)
pulse
    PulseAudio Sound Server
sysdefault:CARD=PCH
    HDA Intel PCH, ALC298 Analog
    Default Audio Device
front:CARD=PCH,DEV=0
    HDA Intel PCH, ALC298 Analog
    Front speakers
surround21:CARD=PCH,DEV=0
    HDA Intel PCH, ALC298 Analog
    2.1 Surround output to Front and Subwoofer speakers
surround40:CARD=PCH,DEV=0
    HDA Intel PCH, ALC298 Analog
    4.0 Surround output to Front and Rear speakers
surround41:CARD=PCH,DEV=0
    HDA Intel PCH, ALC298 Analog
    4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=PCH,DEV=0
    HDA Intel PCH, ALC298 Analog
    5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=PCH,DEV=0
    HDA Intel PCH, ALC298 Analog
    5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=PCH,DEV=0
    HDA Intel PCH, ALC298 Analog
    7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
hdmi:CARD=PCH,DEV=0
    HDA Intel PCH, HDMI 0
    HDMI Audio Output
hdmi:CARD=PCH,DEV=1
    HDA Intel PCH, HDMI 1
    HDMI Audio Output
hdmi:CARD=PCH,DEV=2
    HDA Intel PCH, HDMI 2
    HDMI Audio Output
hdmi:CARD=PCH,DEV=3
    HDA Intel PCH, HDMI 3
    HDMI Audio Output
hdmi:CARD=PCH,DEV=4
    HDA Intel PCH, HDMI 4
    HDMI Audio Output
dmix:CARD=PCH,DEV=0
    HDA Intel PCH, ALC298 Analog
    Direct sample mixing device
dmix:CARD=PCH,DEV=3
    HDA Intel PCH, HDMI 0
    Direct sample mixing device
dmix:CARD=PCH,DEV=7
    HDA Intel PCH, HDMI 1
    Direct sample mixing device
dmix:CARD=PCH,DEV=8
    HDA Intel PCH, HDMI 2
    Direct sample mixing device
dmix:CARD=PCH,DEV=9
    HDA Intel PCH, HDMI 3
    Direct sample mixing device
dmix:CARD=PCH,DEV=10
    HDA Intel PCH, HDMI 4
    Direct sample mixing device
dsnoop:CARD=PCH,DEV=0
    HDA Intel PCH, ALC298 Analog
    Direct sample snooping device
dsnoop:CARD=PCH,DEV=3
    HDA Intel PCH, HDMI 0
    Direct sample snooping device
dsnoop:CARD=PCH,DEV=7
    HDA Intel PCH, HDMI 1
    Direct sample snooping device
dsnoop:CARD=PCH,DEV=8
    HDA Intel PCH, HDMI 2
    Direct sample snooping device
dsnoop:CARD=PCH,DEV=9
    HDA Intel PCH, HDMI 3
    Direct sample snooping device
dsnoop:CARD=PCH,DEV=10
    HDA Intel PCH, HDMI 4
    Direct sample snooping device
hw:CARD=PCH,DEV=0
    HDA Intel PCH, ALC298 Analog
    Direct hardware device without any conversions
hw:CARD=PCH,DEV=3
    HDA Intel PCH, HDMI 0
    Direct hardware device without any conversions
hw:CARD=PCH,DEV=7
    HDA Intel PCH, HDMI 1
    Direct hardware device without any conversions
hw:CARD=PCH,DEV=8
    HDA Intel PCH, HDMI 2
    Direct hardware device without any conversions
hw:CARD=PCH,DEV=9
    HDA Intel PCH, HDMI 3
    Direct hardware device without any conversions
hw:CARD=PCH,DEV=10
    HDA Intel PCH, HDMI 4
    Direct hardware device without any conversions
plughw:CARD=PCH,DEV=0
    HDA Intel PCH, ALC298 Analog
    Hardware device with all software conversions
plughw:CARD=PCH,DEV=3
    HDA Intel PCH, HDMI 0
    Hardware device with all software conversions
plughw:CARD=PCH,DEV=7
    HDA Intel PCH, HDMI 1
    Hardware device with all software conversions
plughw:CARD=PCH,DEV=8
    HDA Intel PCH, HDMI 2
    Hardware device with all software conversions
plughw:CARD=PCH,DEV=9
    HDA Intel PCH, HDMI 3
    Hardware device with all software conversions
plughw:CARD=PCH,DEV=10
    HDA Intel PCH, HDMI 4
    Hardware device with all software conversions
greg@greg-Blade ~ $ 

PDXsailor
Level 1
Level 1
Posts: 9
Joined: Thu May 10, 2018 3:12 pm

Re: Lost output from built-in speakers

Post by PDXsailor » Mon May 21, 2018 7:23 pm

Other info collected:

Code: Select all

greg@greg-Blade ~ $ sudo fuser -v /dev/snd/*
[sudo] password for greg: 
                     USER        PID ACCESS COMMAND
/dev/snd/controlC0:  greg       5908 F.... pulseaudio
greg@greg-Blade ~ $ pacmd list-cards
1 card(s) available.
    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 0xdd120000 irq 136"
		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 = "a171"
		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 60, available: unknown)
		output:analog-stereo: Analog Stereo Output (priority 6000, available: unknown)
		output:analog-stereo+input:analog-stereo: Analog Stereo Duplex (priority 6060, available: unknown)
		output:hdmi-stereo: Digital Stereo (HDMI) Output (priority 5400, available: unknown)
		output:hdmi-stereo+input:analog-stereo: Digital Stereo (HDMI) Output + Analog Stereo Input (priority 5460, available: unknown)
		output:hdmi-surround: Digital Surround 5.1 (HDMI) Output (priority 300, available: unknown)
		output:hdmi-surround+input:analog-stereo: Digital Surround 5.1 (HDMI) Output + Analog Stereo Input (priority 360, available: unknown)
		output:hdmi-surround71: Digital Surround 7.1 (HDMI) Output (priority 300, available: unknown)
		output:hdmi-surround71+input:analog-stereo: Digital Surround 7.1 (HDMI) Output + Analog Stereo Input (priority 360, available: unknown)
		output:hdmi-stereo-extra1: Digital Stereo (HDMI 2) Output (priority 5200, available: unknown)
		output:hdmi-stereo-extra1+input:analog-stereo: Digital Stereo (HDMI 2) Output + Analog Stereo Input (priority 5260, available: unknown)
		output:hdmi-surround-extra1: Digital Surround 5.1 (HDMI 2) Output (priority 100, available: unknown)
		output:hdmi-surround-extra1+input:analog-stereo: Digital Surround 5.1 (HDMI 2) Output + Analog Stereo Input (priority 160, available: unknown)
		output:hdmi-surround71-extra1: Digital Surround 7.1 (HDMI 2) Output (priority 100, available: unknown)
		output:hdmi-surround71-extra1+input:analog-stereo: Digital Surround 7.1 (HDMI 2) Output + Analog Stereo Input (priority 160, available: unknown)
		output:hdmi-stereo-extra2: Digital Stereo (HDMI 3) Output (priority 5200, available: unknown)
		output:hdmi-stereo-extra2+input:analog-stereo: Digital Stereo (HDMI 3) Output + Analog Stereo Input (priority 5260, available: unknown)
		output:hdmi-surround-extra2: Digital Surround 5.1 (HDMI 3) Output (priority 100, available: unknown)
		output:hdmi-surround-extra2+input:analog-stereo: Digital Surround 5.1 (HDMI 3) Output + Analog Stereo Input (priority 160, available: unknown)
		output:hdmi-surround71-extra2: Digital Surround 7.1 (HDMI 3) Output (priority 100, available: unknown)
		output:hdmi-surround71-extra2+input:analog-stereo: Digital Surround 7.1 (HDMI 3) Output + Analog Stereo Input (priority 160, available: unknown)
		output:hdmi-stereo-extra3: Digital Stereo (HDMI 4) Output (priority 5200, available: unknown)
		output:hdmi-stereo-extra3+input:analog-stereo: Digital Stereo (HDMI 4) Output + Analog Stereo Input (priority 5260, available: unknown)
		output:hdmi-surround-extra3: Digital Surround 5.1 (HDMI 4) Output (priority 100, available: unknown)
		output:hdmi-surround-extra3+input:analog-stereo: Digital Surround 5.1 (HDMI 4) Output + Analog Stereo Input (priority 160, available: unknown)
		output:hdmi-surround71-extra3: Digital Surround 7.1 (HDMI 4) Output (priority 100, available: unknown)
		output:hdmi-surround71-extra3+input:analog-stereo: Digital Surround 7.1 (HDMI 4) Output + Analog Stereo Input (priority 160, available: unknown)
		output:hdmi-stereo-extra4: Digital Stereo (HDMI 5) Output (priority 5200, available: unknown)
		output:hdmi-stereo-extra4+input:analog-stereo: Digital Stereo (HDMI 5) Output + Analog Stereo Input (priority 5260, available: unknown)
		output:hdmi-surround-extra4: Digital Surround 5.1 (HDMI 5) Output (priority 100, available: unknown)
		output:hdmi-surround-extra4+input:analog-stereo: Digital Surround 5.1 (HDMI 5) Output + Analog Stereo Input (priority 160, available: unknown)
		output:hdmi-surround71-extra4: Digital Surround 7.1 (HDMI 5) Output (priority 100, available: unknown)
		output:hdmi-surround71-extra4+input:analog-stereo: Digital Surround 7.1 (HDMI 5) Output + Analog Stereo Input (priority 160, 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/#1: Built-in Audio Analog Stereo
	sources:
		alsa_output.pci-0000_00_1f.3.analog-stereo.monitor/#2: Monitor of Built-in Audio Analog Stereo
		alsa_input.pci-0000_00_1f.3.analog-stereo/#3: 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-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"
		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"
		hdmi-output-4: HDMI / DisplayPort 5 (priority 5500, latency offset 0 usec, available: no)
			properties:
				device.icon_name = "video-display"
greg@greg-Blade ~ $ pacmd list-sinks
1 sink(s) available.
  * index: 1
	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 DYNAMIC_LATENCY
	state: SUSPENDED
	suspend cause: IDLE 
	priority: 9959
	volume: front-left: 100270 / 153% / 11.08 dB,   front-right: 100270 / 153% / 11.08 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: 2
	sample spec: s16le 2ch 44100Hz
	channel map: front-left,front-right
	             Stereo
	used by: 0
	linked by: 1
	configured latency: 0.00 ms; range is 0.50 .. 371.52 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 = "ALC298 Analog"
		alsa.id = "ALC298 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 0xdd120000 irq 136"
		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 = "a171"
		device.form_factor = "internal"
		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 = "Built-in Audio Analog Stereo"
		alsa.mixer_name = "Realtek ALC298"
		alsa.components = "HDA:10ec0298,1a586755,00100103 HDA:8086280b,80860101,00100000"
		module-udev-detect.discovered = "1"
		device.icon_name = "audio-card-pci"
	ports:
		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>
greg@greg-Blade ~ $ 

MrEen
Level 5
Level 5
Posts: 674
Joined: Mon Jun 12, 2017 8:39 pm

Re: Lost output from built-in speakers

Post by MrEen » Mon May 21, 2018 7:32 pm

Any result from aplay -D plughw:0,0 /usr/share/sounds/alsa/Front_Center.wav and have you tried sudo alsa force-reload yet?

PDXsailor
Level 1
Level 1
Posts: 9
Joined: Thu May 10, 2018 3:12 pm

Re: Lost output from built-in speakers

Post by PDXsailor » Mon May 21, 2018 7:48 pm

No result from the aplay command.

The force reload had no apparent effect.

Any more ideas?

MrEen
Level 5
Level 5
Posts: 674
Joined: Mon Jun 12, 2017 8:39 pm

Re: Lost output from built-in speakers

Post by MrEen » Mon May 21, 2018 9:19 pm

Well, my main idea is to make your sink not say:

Code: Select all

	state: SUSPENDED
	suspend cause: IDLE 
Then I'm pretty sure your sound would be working again. Unfortunately, I haven't figured out how to do that yet (reliably.) Anything I suggest at this point is total guessing based on whatever I find on the web.

If cat /sys/module/snd_hda_intel/parameters/power_save returns something other than 0, we might have a candidate.

If cat /sys/bus/pci/devices/0000:00:1f.3/power/control returns something other than on, there's another possibility.

Those return values are what my system shows, so I'm assuming they're what you'd want, but I could be wrong on that. I also wouldn't know how to change them even if we knew they were the culprit.

Most of my searching on this turns up stuff we've already tried. This last suggestion I'm grabbing from a recent post I made that did NOT help in that case, but it may help in your case:
MrEen wrote:
Fri May 18, 2018 3:21 pm
I'm taking a bit of a guess here, but let's try this (it's easy to revert if necessary.)

Type gksudo xed /etc/pulse/default.pa (substitute xed with your preferred text editor.)

About 3/4 of the way down, find this section:

Code: Select all

### Automatically suspend sinks/sources that become idle for too long
load-module module-suspend-on-idle
Comment out the second line so it looks like this:

Code: Select all

### Automatically suspend sinks/sources that become idle for too long
#load-module module-suspend-on-idle
Save the file, then back in the terminal type killall pulseaudio followed by pulseaudio --start

Good luck.

PDXsailor
Level 1
Level 1
Posts: 9
Joined: Thu May 10, 2018 3:12 pm

Re: Lost output from built-in speakers

Post by PDXsailor » Mon May 21, 2018 9:25 pm

That pacmd list-sinks was run when I wasn't playing anything. Here it is now:

Code: Select all

greg@greg-Blade ~ $ pacmd list-sinks
1 sink(s) available.
  * index: 1
	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 DYNAMIC_LATENCY
	state: RUNNING
	suspend cause: 
	priority: 9959
	volume: front-left: 100270 / 153% / 11.08 dB,   front-right: 100270 / 153% / 11.08 dB
	        balance 0.00
	base volume: 65536 / 100% / 0.00 dB
	volume steps: 65537
	muted: no
	current latency: 75.48 ms
	max request: 15 KiB
	max rewind: 64 KiB
	monitor source: 2
	sample spec: s16le 2ch 44100Hz
	channel map: front-left,front-right
	             Stereo
	used by: 1
	linked by: 1
	configured latency: 90.00 ms; range is 0.50 .. 371.52 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 = "ALC298 Analog"
		alsa.id = "ALC298 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 0xdd120000 irq 136"
		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 = "a171"
		device.form_factor = "internal"
		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 = "Built-in Audio Analog Stereo"
		alsa.mixer_name = "Realtek ALC298"
		alsa.components = "HDA:10ec0298,1a586755,00100103 HDA:8086280b,80860101,00100000"
		module-udev-detect.discovered = "1"
		device.icon_name = "audio-card-pci"
	ports:
		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>
greg@greg-Blade ~ $ 
I'll look at your other ideas next.

PDXsailor
Level 1
Level 1
Posts: 9
Joined: Thu May 10, 2018 3:12 pm

Re: Lost output from built-in speakers

Post by PDXsailor » Mon May 21, 2018 9:33 pm

No surprise that the mod to the /etc/pulse/default.pa didn't fix it. Reverting...

MrEen
Level 5
Level 5
Posts: 674
Joined: Mon Jun 12, 2017 8:39 pm

Re: Lost output from built-in speakers

Post by MrEen » Mon May 21, 2018 9:39 pm

So you're saying it shows running when no sound? This is getting weirder.

I just spotted something... give me some time to investigate.

PDXsailor
Level 1
Level 1
Posts: 9
Joined: Thu May 10, 2018 3:12 pm

Re: Lost output from built-in speakers

Post by PDXsailor » Mon May 21, 2018 9:43 pm

Yes, it shows as running but nothing comes out of the speakers. As I said in the OP xdg-utils was updated about the time this broke, and I am still wondering if that could have broken the sound.

Standing by...

MrEen
Level 5
Level 5
Posts: 674
Joined: Mon Jun 12, 2017 8:39 pm

Re: Lost output from built-in speakers

Post by MrEen » Mon May 21, 2018 9:59 pm

I'm pretty sure (could always be wrong) that update didn't cause this, but I have something new to try that I think might work. Just be a few minutes to get it right before I post.

MrEen
Level 5
Level 5
Posts: 674
Joined: Mon Jun 12, 2017 8:39 pm

Re: Lost output from built-in speakers

Post by MrEen » Mon May 21, 2018 10:06 pm

Okay, try this:

In the terminal, paste in sudo xed /etc/modprobe.d/alsa-base.conf (substitute xed with your preferred text editor)

At the bottom of the file, add this

Code: Select all

options snd_hda_intel: model=laptop-dmic
Save the file, then reboot.

Good luck!

PDXsailor
Level 1
Level 1
Posts: 9
Joined: Thu May 10, 2018 3:12 pm

Re: Lost output from built-in speakers

Post by PDXsailor » Mon May 21, 2018 10:50 pm

No joy. Reverting.

I also tried reverting to the earlier xdg-utils, to no avail. Re-installed current version. Maybe one of its dependencies? Probably a dead end as you suspected.

MrEen
Level 5
Level 5
Posts: 674
Joined: Mon Jun 12, 2017 8:39 pm

Re: Lost output from built-in speakers

Post by MrEen » Tue May 22, 2018 6:45 pm

This really sucks. It would make a tiny bit more sense to me if you had never had speakers working.

One thing I'd like to mention is your audio info from inxi shows snd_hda_intel bus-ID: 00:1f.3 and while I haven't counted, I'd bet close to half the people that I've seen with audio problems had this same bus-ID. And more than a few never got it sorted properly.

One potential bright spot is Linux Mint 19 is just around the corner, and with any luck, this issue will disappear once that is installed.

I have some suggestions that we haven't tried yet, but it's up to you if you want to try them:
  • Try an earlier kernel and see if sound returns. You have a very modern system, so something else may stop working going this route
  • Try booting from the live CD/USB and see if sound works there
  • If the live version works, consider running the Alsa Info Script both there and the installed system and compare differences
  • Consider Upgrading Alsa although last I checked you'd need to be running a 4.4 series kernel to get that to work initially
Whichever way you choose to proceed, good luck!

MrEen
Level 5
Level 5
Posts: 674
Joined: Mon Jun 12, 2017 8:39 pm

Re: Lost output from built-in speakers

Post by MrEen » Tue May 22, 2018 9:50 pm

Oops, one more. Not sure which option would have applied to you, so:

In the terminal, paste in sudo xed /etc/modprobe.d/alsa-base.conf (substitute xed with your preferred text editor)

At the bottom of the file, add this

Code: Select all

options snd_hda_intel: model=laptop-amic
Save the file, then reboot.

Post Reply

Return to “Sound, Multimedia, & Codecs”