HDMI Audio on Intel NUC

I struggled somewhat in getting audio via HDMI on Intel NUC. The following commands in .xsession solved the problem for me:

/usr/bin/pulseaudio -D
echo set-default-sink 0 | /usr/bin/pacmd
exec /usr/bin/firefox

The trick is to set the default sink in pulseaudio.

I use Firefox on the NUC because Google Chrome does not correctly repaint the screen.

Alternatively you can set

set-default-sink 0

in /etc/pulse/default.pa.

Added 30-May-2015: For hearing output on both channels, i.e., HDMI and earphone, set

load-module module-combine-sink sink_name=combined

in /etc/pulse/default.pa.

Advertisements

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s