HDMI audio not working on TV[Fixed]

Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
habahnow

HDMI audio not working on TV[Fixed]

Post by habahnow »

Hello all,
I have my computer hooked up to my tv via HDMI cable but not audio seems to come out of it. I have it dualbooted with windows 8, and the audio works there so i believe the issue is related to Linux Mint xfce 17.1.

I have messed around with with my Volume Control(by clicking on the speaker icon on the bottom right) and made sure that the output devices tab displays HDMI/DisplayPort. In configuration, the HDA Nvidia profile is set to digital stereo.

some things i have tried are on this link http://itsfoss.com/fix-sound-ubuntu-1304-quick-tip/ where when i tried the "first alternate method", after restarting, my screen will stay black once i had logged in.

my inxi -Fx command yields:

Code: Select all

System:    Host: danny-desktop Kernel: 3.13.0-37-generic x86_64 (64 bit, gcc: 4.8.2) 
           Desktop: Xfce 4.11.8 (Gtk 2.24.23) Distro: Linux Mint 17.1 Rebecca
Machine:   Mobo: ASRock model: H97M-ITX/ac Bios: American Megatrends version: P1.10 date: 04/30/2014
CPU:       Quad core Intel Core i5-4690K CPU (-MCP-) cache: 6144 KB flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx) bmips: 27934.7 
           Clock Speeds: 1: 800.00 MHz 2: 800.00 MHz 3: 1200.00 MHz 4: 800.00 MHz
Graphics:  Card: NVIDIA Device 1401 bus-ID: 01:00.0 
           X.Org: 1.15.1 drivers: FAILED: fbdev,vesa,nouveau Resolution: 1280x720@0.0hz 
           GLX Renderer: Gallium 0.4 on llvmpipe (LLVM 3.4, 256 bits) GLX Version: 2.1 Mesa 10.1.3 Direct Rendering: Yes
Audio:     Card-1: NVIDIA Device 0fba driver: snd_hda_intel bus-ID: 01:00.1 Sound: ALSA ver: k3.13.0-37-generic
           Card-2: Intel Device 8ca0 driver: snd_hda_intel bus-ID: 00:1b.0
Network:   Card-1: Qualcomm Atheros QCA8171 Gigabit Ethernet driver: alx port: d000 bus-ID: 03:00.0
           IF: eth0 state: down mac: d0:50:99:37:a4:bf
           Card-2: Realtek RTL8821AE 802.11ac PCIe Wireless Network Adapter driver: rtl8821ae port: c000 bus-ID: 04:00.0
           IF: wlan0 state: up mac: 64:5a:04:8f:36:26
Drives:    HDD Total Size: 250.1GB (9.8% used) 1: id: /dev/sda model: CT250BX100SSD1 size: 250.1GB temp: 35C 
Partition: ID: / size: 9.1G used: 4.8G (56%) fs: ext4 ID: /home size: 32G used: 19G (61%) fs: ext4 
           ID: swap-1 size: 16.00GB used: 0.00GB (0%) fs: swap 
RAID:      No RAID devices detected - /proc/mdstat and md_mod kernel raid module present
Sensors:   System Temperatures: cpu: 36.0C mobo: N/A 
           Fan Speeds (in rpm): cpu: N/A 
Info:      Processes: 182 Uptime: 17 min Memory: 774.4/7937.3MB Runlevel: 2 Gcc sys: 4.8.4 Client: Shell inxi: 1.8.4 
any help would be much appreciated.
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 2 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
JusTertii

Re: HDMI audio not working on TV

Post by JusTertii »

Hey,

Sounds like a similar problem to what I had. When your HDMI is plugged in, try

Code: Select all

  pactl set-card-profile 0 output:hdmi-stereo
This re-routes your audio through the HDMI output. When you unplug it, you need to return the output to its normal place, with:

Code: Select all

  pactl set-card-profile 0 output:analog-stereo
(From a how-to located here)

Of course, you could make a script that does this at the press of a button (see that how-to for more info).

Good luck!

JT
habahnow

Re: HDMI audio not working on TV

Post by habahnow »

i tried the change but it did not work. thank you though for the help.
habahnow

Re: HDMI audio not working on TV

Post by habahnow »

after a mint update, the audio started to work just fine.
Locked

Return to “Sound”