Sound

I can see that my app is producing sound and both the HDMI and USB output is working but the dropdown to switch the app audio to the HDMI or USB is broken (stuck on “Built-in Audio Analog Stereo”) and does nothing.

You now have a long list of problems with the distribution:

  • Make lite version
  • Fix compositor
  • Fix audio
  • Fix monitor sleep

Good luck, I’m going to leave the forum for a while and check back in a couple of months/years and I will be using Windows/X86 until electricity prices go up and/or Raspberry 4 until you fix these problems.

The 3x/watt GPU perf you got here is really promising but without good software the Jetson Nano is just another paperweight!

Hello!

Are you referring to the selecting between the different sound cards in under the “Sound” settings menu? Using the L4T release 32.4.4, I was unable to see any issues with selecting the different sound cards …

Let me know if this is what is not working for you?

You can also list the audio sinks, which gives are bit more information, by running …

$ pacmd list-sinks
3 sink(s) available.
  * index: 0
	name: <alsa_output.platform-70030000.hda.hdmi-stereo>
	driver: <module-alsa-card.c>
	flags: HARDWARE DECIBEL_VOLUME LATENCY DYNAMIC_LATENCY
	state: SUSPENDED
	suspend cause: IDLE 
	priority: 9000
	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: 0
	sample spec: s16le 2ch 44100Hz
	channel map: front-left,front-right
	             Stereo
	used by: 0
	linked by: 0
	configured latency: 0.00 ms; range is 0.50 .. 341.33 ms
	card: 0 <alsa_card.platform-70030000.hda>
	module: 7
	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 = "0"
		alsa.card_name = "tegra-hda"
		alsa.long_card_name = "tegra-hda at 0x70038000 irq 83"
		device.bus_path = "platform-70030000.hda"
		sysfs.path = "/devices/70030000.hda/sound/card0"
		device.form_factor = "internal"
		device.string = "hdmi:0"
		device.buffering.buffer_size = "65536"
		device.buffering.fragment_size = "32768"
		device.access_mode = "mmap+timer"
		device.profile.name = "hdmi-stereo"
		device.profile.description = "Digital Stereo (HDMI)"
		device.description = "Built-in Audio Digital Stereo (HDMI)"
		alsa.mixer_name = "Nvidia Tegra210 HDMI/DP"
		alsa.components = "HDA:10de0029,10de0101,00100100"
		module-udev-detect.discovered = "1"
		device.icon_name = "audio-card"
	ports:
		hdmi-output-0: HDMI / DisplayPort (priority 5900, latency offset 0 usec, available: yes)
			properties:
				device.icon_name = "video-display"
	active port: <hdmi-output-0>
    index: 1
	name: <alsa_output.platform-sound.analog-stereo>
	driver: <module-alsa-card.c>
	flags: HARDWARE DECIBEL_VOLUME LATENCY DYNAMIC_LATENCY
	state: SUSPENDED
	suspend cause: IDLE 
	priority: 9009
	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 44100Hz
	channel map: front-left,front-right
	             Stereo
	used by: 0
	linked by: 0
	configured latency: 0.00 ms; range is 0.50 .. 185.76 ms
	card: 1 <alsa_card.platform-sound>
	module: 8
	properties:
		alsa.resolution_bits = "16"
		device.api = "alsa"
		device.class = "sound"
		alsa.class = "generic"
		alsa.subclass = "generic-mix"
		alsa.name = ""
		alsa.id = "ADMAIF1 CIF ADMAIF1-0"
		alsa.subdevice = "0"
		alsa.subdevice_name = "subdevice #0"
		alsa.device = "0"
		alsa.card = "1"
		alsa.card_name = "tegra-snd-t210ref-mobile-rt565x"
		alsa.long_card_name = "tegra-snd-t210ref-mobile-rt565x"
		device.bus_path = "platform-sound"
		sysfs.path = "/devices/sound/sound/card1"
		device.form_factor = "internal"
		device.string = "front:1"
		device.buffering.buffer_size = "32768"
		device.buffering.fragment_size = "16384"
		device.access_mode = "mmap+timer"
		device.profile.name = "analog-stereo"
		device.profile.description = "Analogue Stereo"
		device.description = "Built-in Audio Analogue Stereo"
		module-udev-detect.discovered = "1"
		device.icon_name = "audio-card"
	ports:
		analog-output: Analogue Output (priority 9900, latency offset 0 usec, available: unknown)
			properties:
				
	active port: <analog-output>
    index: 2
	name: <alsa_output.usb-Logitech_Logitech_USB_Headset_000000000000-00.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: 9049
	volume: front-left: 30419 /  46% / -20.00 dB,   front-right: 30419 /  46% / -20.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: 3
	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 .. 2000.00 ms
	card: 2 <alsa_card.usb-Logitech_Logitech_USB_Headset_000000000000-00>
	module: 29
	properties:
		alsa.resolution_bits = "16"
		device.api = "alsa"
		device.class = "sound"
		alsa.class = "generic"
		alsa.subclass = "generic-mix"
		alsa.name = "USB Audio"
		alsa.id = "USB Audio"
		alsa.subdevice = "0"
		alsa.subdevice_name = "subdevice #0"
		alsa.device = "0"
		alsa.card = "2"
		alsa.card_name = "Logitech USB Headset"
		alsa.long_card_name = "Logitech Logitech USB Headset at usb-70090000.xusb-2.4, full speed"
		alsa.driver_name = "snd_usb_audio"
		device.bus_path = "platform-70090000.xusb-usb-0:2.4:1.0"
		sysfs.path = "/devices/70090000.xusb/usb1/1-2/1-2.4/1-2.4:1.0/sound/card2"
		udev.id = "usb-Logitech_Logitech_USB_Headset_000000000000-00"
		device.bus = "usb"
		device.vendor.id = "046d"
		device.vendor.name = "Logitech, Inc."
		device.product.id = "0a45"
		device.product.name = "960 Headset"
		device.serial = "Logitech_Logitech_USB_Headset_000000000000"
		device.form_factor = "headset"
		device.string = "front:2"
		device.buffering.buffer_size = "384000"
		device.buffering.fragment_size = "192000"
		device.access_mode = "mmap+timer"
		device.profile.name = "analog-stereo"
		device.profile.description = "Analogue Stereo"
		device.description = "960 Headset Analogue Stereo"
		alsa.mixer_name = "USB Mixer"
		alsa.components = "USB046d:0a45"
		module-udev-detect.discovered = "1"
		device.icon_name = "audio-headset-usb"
		device.intended_roles = "phone"
	ports:
		analog-output-headphones: Headphones (priority 9000, latency offset 0 usec, available: unknown)
			properties:
				device.icon_name = "audio-headphones"
	active port: <analog-output-headphones>

Regards,
Jon

Hello!

The only other reason, I can think of is if for some reason pulseaudio is not running. You can check by …

$ pgrep pulseaudio

Regards
Jon