LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 03-04-2023, 01:09 AM   #1
Ulu
LQ Newbie
 
Registered: Mar 2023
Location: Sunny San Joaquin
Distribution: Ubuntu Jammy Jellyfish latest
Posts: 21

Rep: Reputation: 0
HDMI Audio Fails


My HDMI card isn’t passing audio to my Samsung HDTV.
This problem is evidently above my pay grade.

This is my First install of Ubuntu’s very latest Jammy Jellyfish
DL done today & etched to stick w/ Rufus

I had to clear one error with the ACPI power management, and after I changed the bios there were no more messages. Now the system boots normally & runs like a rocket.

Basic details:
Fresh 1TB Samsung SSD
MSI 790FX-GD70 mobo
AMD Phenom2 x4 955 @3.2Ghz
12 gigs corsair ram
Sapphire radeon HD4850 with DVI VGA HDMI out

Amplified speakers run ok from 1/8” mobo plug
Swapping output in settings to hdmi shows run time advancing,
but No sound output from hdmi port.

The cable and TV work fine from my AV receiver.

I am a retired PC bum, long time CAD geek & windows registry hacker, who built his first analog computer kit in 1968. Dad programed the IBM 360 way back in the Doctor Strangelove days. But I haven’t built a Linux machine since Mandrake 2.1 back in the mid 90s.

So far this is more painless, trouble free, and faster than any MS windows installation I can remember. And I’ve been doing them since version three. Considering the good luck I’ve had so far, in that everything else seems to be working perfectly, I am so glad I picked Ubuntu.
EDIT....BTW I ran alsamixer & s/pdif-D is on, but i can't turn on s/pdif. Is this either/or? Should both be possible?

Last edited by Ulu; 03-04-2023 at 02:56 AM.
 
Old 03-04-2023, 04:01 AM   #2
fatmac
LQ Guru
 
Registered: Sep 2011
Location: Upper Hale, Surrey/Hants Border, UK
Distribution: Mainly Devuan, antiX, & Void, with Tiny Core, Fatdog, & BSD thrown in.
Posts: 5,521

Rep: Reputation: Disabled
Things that I would check.....

First, check the TV handset volume.

Then, check pavucontrol, to see if it has control of your soundcard.

Otherwise, this may help - https://bbs.archlinux.org/viewtopic.php?id=263139
 
1 members found this post helpful.
Old 03-04-2023, 01:49 PM   #3
Ulu
LQ Newbie
 
Registered: Mar 2023
Location: Sunny San Joaquin
Distribution: Ubuntu Jammy Jellyfish latest
Posts: 21

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by fatmac View Post
Things that I would check.....

First, check the TV handset volume.

Then, check pavucontrol, to see if it has control of your soundcard.

Otherwise, this may help - https://bbs.archlinux.org/viewtopic.php?id=263139
Thank you Mac. I am definitely making progress thanks to you, and have produced HDMI audio through the television speakers. With the help of Pavucontrol I was able to get the HDMI sound to work.

Unfortunately whenever there is a change of sound stream, the old sound process retains control of the audio.
I have to run Pavucontrol again and set control of the video card to the new process or stream as it were.

When it is working, sound control reports nothing in the device field. Literally, nothing, as the field is blank where it should list the Radeon card.
Yet the audio works.
Until, one stream ends and the next starts.
If I start YouTube it will play an advertisement, and then when the ad ends, there’s no sound. I have to go back in and enable it for that stream to have audio.

It’s like somebody hit the mute button but when I checked the device is changed back to external speakers (which I remove, once I heard HDMI sound through the TV speakers.)
I don’t truly know what’s going on with the volume control program though. I may have created some strange loop back situation so I need to find a good set up guide for that. I don’t know much about how sound cards interact with the system.
 
Old 03-04-2023, 02:24 PM   #4
uteck
Senior Member
 
Registered: Oct 2003
Location: Elgin,IL,USA
Distribution: Ubuntu based stuff for the most part
Posts: 1,177

Rep: Reputation: 501Reputation: 501Reputation: 501Reputation: 501Reputation: 501Reputation: 501
This link has a few options to look at to see if any apply to you.
https://askubuntu.com/questions/1406...ng-dummy-audio
or this link https://askubuntu.com/questions/1403...e-ubuntu-22-04
From this link: https://help.ubuntu.com/community/So...otingProcedure
I found this recommendation in section7
Quote:
If HDMI output has stopped working, muting and then unmuting the SPDIF output in alsamixer can cause the sound to start working again

Last edited by uteck; 03-04-2023 at 02:28 PM. Reason: add more links
 
1 members found this post helpful.
Old 03-04-2023, 05:50 PM   #5
Ulu
LQ Newbie
 
Registered: Mar 2023
Location: Sunny San Joaquin
Distribution: Ubuntu Jammy Jellyfish latest
Posts: 21

Original Poster
Rep: Reputation: 0
Quote:
If HDMI output has stopped working, muting and then unmuting the SPDIF output in alsamixer can cause the sound to start working again
Everything works OK now, after I figured this out. I made several changes to the hardware, and it was plug & play all the way.

Because of ubuntu I am using $$$ gear again, that I had sadly mothballed. because of Win 7 etc creeping issues.

Thanks to @fatmac & @uteck for all the help.
 
Old 03-04-2023, 10:31 PM   #6
Ulu
LQ Newbie
 
Registered: Mar 2023
Location: Sunny San Joaquin
Distribution: Ubuntu Jammy Jellyfish latest
Posts: 21

Original Poster
Rep: Reputation: 0
It seems that I spoke too soon. I keep having the same problem where every audio event requires me to deselect and re-select the radion card in output.

If I mute the volume or play an advertisement or select a different video, I will loose audio every time.

But if I de-select and re-select the card, it comes back immediately.

Maybe I just need to create a little widget that does this for me. Or maybe there’s a better driver somewhere. Anyhow I’m not giving up yet. The performance of the system is so much better than my Sony streaming video player that there’s no comparison, plus of course having a computer online allows me to do much more.

And that streaming video player was far from flawless itself. Good riddance!
 
Old 03-05-2023, 08:35 AM   #7
uteck
Senior Member
 
Registered: Oct 2003
Location: Elgin,IL,USA
Distribution: Ubuntu based stuff for the most part
Posts: 1,177

Rep: Reputation: 501Reputation: 501Reputation: 501Reputation: 501Reputation: 501Reputation: 501
Looks like this problem has been around for awhile. https://gitlab.freedesktop.org/drm/amd/-/issues/1569
What driver are you using for the video card? AMDGPU is the latest opensource driver but drops support for older cards, https://wiki.archlinux.org/title/AMDGPU
For older cards use the Radeon driver.
Maybe try the official driver from AMD and see if the problem persists; https://www.amd.com/en/support/linux-drivers
 
1 members found this post helpful.
Old 03-06-2023, 02:09 AM   #8
Ulu
LQ Newbie
 
Registered: Mar 2023
Location: Sunny San Joaquin
Distribution: Ubuntu Jammy Jellyfish latest
Posts: 21

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by uteck View Post
Looks like this problem has been around for awhile. https://gitlab.freedesktop.org/drm/amd/-/issues/1569
What driver are you using for the video card? AMDGPU is the latest opensource driver but drops support for older cards, https://wiki.archlinux.org/title/AMDGPU
For older cards use the Radeon driver.
Maybe try the official driver from AMD and see if the problem persists; https://www.amd.com/en/support/linux-drivers
Thank you.

Maybe I will try a newer GeForce video card first. I was looking for an excuse, as it’s a much more expensive card.
I can’t just have it laying around unloved.

I did all the available updates today, and it all works, when switching applications. But on boot I always have to turn on the card in volume control. I haven’t figured how to set that to run automatically.
 
Old 03-06-2023, 03:28 AM   #9
fatmac
LQ Guru
 
Registered: Sep 2011
Location: Upper Hale, Surrey/Hants Border, UK
Distribution: Mainly Devuan, antiX, & Void, with Tiny Core, Fatdog, & BSD thrown in.
Posts: 5,521

Rep: Reputation: Disabled
Not sure if this will fix it, but worth trying.....

https://unix.stackexchange.com/quest...in-pulse-audio
 
1 members found this post helpful.
Old 03-06-2023, 09:54 AM   #10
Ulu
LQ Newbie
 
Registered: Mar 2023
Location: Sunny San Joaquin
Distribution: Ubuntu Jammy Jellyfish latest
Posts: 21

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by fatmac View Post
Not sure if this will fix it, but worth trying.....

https://unix.stackexchange.com/quest...in-pulse-audio
Thanks again @fatmac.

I didn't have the profile locked.

D'oh!

It all seems to work properly now.

But I'll need another excuse to use that $$$ video card.

Last edited by Ulu; 03-06-2023 at 10:00 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Connect computer hdmi outport to TV hdmi inport. ostene Linux - Software 2 07-04-2014 06:33 AM
LXer: $50 Roku stick goes HDMI y HDMI with Chromecast LXer Syndicated Linux News 0 03-06-2014 01:00 PM
Is it possible to play Blu Ray through a video card HDMI output to HDMI TV? SharpyWarpy Linux - Hardware 5 10-28-2012 01:01 AM
[ProLiant MicroServer, ATI R6xx HDMI, Digital Out, HDMI] No HDMI sound at all vnatius Linux - Hardware 15 08-16-2012 01:09 PM
HDMI Audio doesn't work - Debian Squeeze (Intel HDMI) felipefv Linux - Hardware 8 02-06-2012 09:47 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 09:00 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration