You are not logged in.

#1 2018-05-31 01:19:18

manouchk
Member
Registered: 2008-07-29
Posts: 313

[solved] Intel NUC again no sound with hdmi output

Hi,,

I have a nuc and again no output sound via HDMI in applications

I can though have sound by running:

speaker-test -D hdmi:CARD=PCH,DEV=0 -c 2

I'dlike to fix this and to understand a bit more about that.

Here are some other informations:

pacmd list-cards
1 card(s) available.
    index: 0
	name: <alsa_card.pci-0000_00_1f.3>
	driver: <module-alsa-card.c>
	owner module: 6
	properties:
		alsa.card = "0"
		alsa.card_name = "HDA Intel PCH"
		alsa.long_card_name = "HDA Intel PCH at 0xdc240000 irq 132"
		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 = "9d71"
		device.product.name = "Sunrise Point-LP HD Audio"
		device.form_factor = "internal"
		device.string = "0"
		device.description = "Audio interne"
		module-udev-detect.discovered = "1"
		device.icon_name = "audio-card-pci"
	profiles:
		output:hdmi-stereo: Sortie Digital Stereo (HDMI) (priority 5400, available: unknown)
		output:hdmi-surround: Sortie Digital Surround 5.1 (HDMI) (priority 300, available: unknown)
		output:hdmi-surround71: Sortie Digital Surround 7.1 (HDMI) (priority 300, available: unknown)
		output:hdmi-stereo-extra1: Sortie Digital Stereo (HDMI 2) (priority 5200, available: no)
		output:hdmi-surround-extra1: Sortie Digital Surround 5.1 (HDMI 2) (priority 100, available: no)
		output:hdmi-surround71-extra1: Sortie Digital Surround 7.1 (HDMI 2) (priority 100, available: no)
		output:hdmi-stereo-extra2: Sortie Digital Stereo (HDMI 3) (priority 5200, available: no)
		output:hdmi-surround-extra2: Sortie Digital Surround 5.1 (HDMI 3) (priority 100, available: no)
		output:hdmi-surround71-extra2: Sortie Digital Surround 7.1 (HDMI 3) (priority 100, available: no)
		output:hdmi-stereo-extra3: Sortie Digital Stereo (HDMI 4) (priority 5200, available: no)
		output:hdmi-surround-extra3: Sortie Digital Surround 5.1 (HDMI 4) (priority 100, available: no)
		output:hdmi-surround71-extra3: Sortie Digital Surround 7.1 (HDMI 4) (priority 100, available: no)
		output:hdmi-stereo-extra4: Sortie Digital Stereo (HDMI 5) (priority 5200, available: no)
		output:hdmi-surround-extra4: Sortie Digital Surround 5.1 (HDMI 5) (priority 100, available: no)
		output:hdmi-surround71-extra4: Sortie Digital Surround 7.1 (HDMI 5) (priority 100, available: no)
		off: Éteint (priority 0, available: unknown)
	active profile: <output:hdmi-stereo>
	sinks:
		alsa_output.pci-0000_00_1f.3.hdmi-stereo/#0: Audio interne Digital Stereo (HDMI)
	sources:
		alsa_output.pci-0000_00_1f.3.hdmi-stereo.monitor/#0: Monitor of Audio interne 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 = "T24B350"
		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"
aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: ALC283 Analog [ALC283 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: 0/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 10: HDMI 4 [HDMI 4]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

I tried to add the following kernel option intel_iommu=off. For that, I just added a newline in /boot/refind_linux.conf:

more /boot/refind_linux.conf
"Boot with standard options"  "root=UUID=7a9917d1-d11c-4c3a-a4a4-5ff21095eb83 rw add_efi_memmap"
"Boot to single-user mode"    "root=UUID=7a9917d1-d11c-4c3a-a4a4-5ff21095eb83 single"
"Boot with minimal options"   "ro root=UUID=7a9917d1-d11c-4c3a-a4a4-5ff21095eb83"
"Boot standart+testing sound" "root=UUID=7a9917d1-d11c-4c3a-a4a4-5ff21095eb83 rw add_efi_memmap intel_iommu=off"

Still no sound in applications but speaker-test just works fine. What can I try?

Last edited by manouchk (2022-09-04 19:47:32)

Offline

#2 2018-05-31 07:32:45

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

Re: [solved] Intel NUC again no sound with hdmi output

During attempted playback, post

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

Offline

#3 2018-05-31 18:27:20

manouchk
Member
Registered: 2008-07-29
Posts: 313

Re: [solved] Intel NUC again no sound with hdmi output

Here it is

before playback

$ sudo fuser -v /dev/snd/*
                     USER        PID ACCESS COMMAND
/dev/snd/controlC0:  manu       5746 F.... pulseaudio

when playing back

$ sudo fuser -v /dev/snd/*
                     USER        PID ACCESS COMMAND
/dev/snd/controlC0:  manu       5746 F.... pulseaudio
/dev/snd/pcmC0D9p:   manu       5746 F...m pulseaudio
$ pacmd list-sinks
1 sink(s) available.
  * index: 0
	name: <alsa_output.pci-0000_00_1f.3.hdmi-stereo>
	driver: <module-alsa-card.c>
	flags: HARDWARE DECIBEL_VOLUME LATENCY DYNAMIC_LATENCY
	state: RUNNING
	suspend cause: 
	priority: 9030
	volume: front-left: 55739 /  85% / -4,22 dB,   front-right: 55739 /  85% / -4,22 dB
	        balance 0,00
	base volume: 65536 / 100% / 0,00 dB
	volume steps: 65537
	muted: no
	current latency: 21,58 ms
	max request: 4 KiB
	max rewind: 375 KiB
	monitor source: 0
	sample spec: s16le 2ch 48000Hz
	channel map: front-left,front-right
	             Stéréo
	used by: 1
	linked by: 1
	configured latency: 21,33 ms; range is 0,50 .. 2000,00 ms
	card: 0 <alsa_card.pci-0000_00_1f.3>
	module: 6
	properties:
		alsa.resolution_bits = "16"
		device.api = "alsa"
		device.class = "sound"
		alsa.class = "generic"
		alsa.subclass = "generic-mix"
		alsa.name = "HDMI 3"
		alsa.id = "HDMI 3"
		alsa.subdevice = "0"
		alsa.subdevice_name = "subdevice #0"
		alsa.device = "9"
		alsa.card = "0"
		alsa.card_name = "HDA Intel PCH"
		alsa.long_card_name = "HDA Intel PCH at 0xdc240000 irq 132"
		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 = "9d71"
		device.product.name = "Sunrise Point-LP HD Audio"
		device.form_factor = "internal"
		device.string = "hdmi:0"
		device.buffering.buffer_size = "384000"
		device.buffering.fragment_size = "192000"
		device.access_mode = "mmap+timer"
		device.profile.name = "hdmi-stereo"
		device.profile.description = "Digital Stereo (HDMI)"
		device.description = "Audio interne Digital Stereo (HDMI)"
		alsa.mixer_name = "Realtek ALC283"
		alsa.components = "HDA:10ec0283,80862068,00100003 HDA:8086280b,80860101,00100000"
		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 = "T24B350"
	active port: <hdmi-output-0>
$ pacmd list-sink-inputs
1 sink input(s) available.
    index: 96
	driver: <protocol-native.c>
	flags: START_CORKED 
	state: RUNNING
	sink: 0 <alsa_output.pci-0000_00_1f.3.hdmi-stereo>
	volume: front-left: 65536 / 100% / 0,00 dB,   front-right: 65536 / 100% / 0,00 dB
	        balance 0,00
	muted: no
	current latency: 44,67 ms
	requested latency: 21,33 ms
	sample spec: float32le 2ch 48000Hz
	channel map: front-left,front-right
	             Stéréo
	resample method: copy
	module: 8
	client: 107 <Chromium>
	properties:
		application.icon_name = "chromium-browser"
		media.name = "Playback"
		application.name = "Chromium"
		native-protocol.peer = "UNIX socket client"
		native-protocol.version = "32"
		application.process.id = "1032"
		application.process.user = "manu"
		application.process.host = "manulemalin"
		application.process.binary = "chromium"
		application.language = "fr_FR.UTF-8"
		window.x11.display = ":0"
		application.process.machine_id = "c9655158571e4674a457a5abb4014d1a"
		application.process.session_id = "c1"
		module-stream-restore.id = "sink-input-by-application-name:Chromium"

Last edited by manouchk (2018-05-31 19:17:13)

Offline

Board footer

Powered by FluxBB