LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 06-30-2017, 07:38 AM   #1
lambousa
LQ Newbie
 
Registered: Aug 2005
Posts: 6

Rep: Reputation: 0
no audio from hdmi card


Guys, does anyone know how I can get hdmi audio from my newly purchased MSI Radeon R4350 512MB PCI-E x16 HDMI DVI VGA Graphics Card? Video works seamlessly in Peppermint P7. I am trying to set up Kodi tv with exodus and drive it into my TV from my old Optiplex-740. I got the graphics card for £12 off of ebay and it would be great to make it work. Thanks in advance, Dave
 
Old 06-30-2017, 10:53 AM   #2
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,260

Rep: Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321
What sound server are you using?

It's in the sound config. You have to pretend your video card is a second sound card. Default isn't good enough any more. It's a while since I struggled with this myself but that was how I did it. I was using alsa, and it was magic in alsa.conf or somesuch.
 
Old 06-30-2017, 12:58 PM   #3
lambousa
LQ Newbie
 
Registered: Aug 2005
Posts: 6

Original Poster
Rep: Reputation: 0
Talking

I have solved the problem by switching off the Analogue Stereo Duplex in the on board sound device and it worked like magic!
 
Old 06-30-2017, 02:11 PM   #4
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,260

Rep: Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321
Great. Mark it solved then. Others search for solved threads.
 
Old 07-05-2017, 11:00 AM   #5
Shadow_7
Senior Member
 
Registered: Feb 2003
Distribution: debian
Posts: 4,137
Blog Entries: 1

Rep: Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874
In pulseaudio, turn off all the things you don't want to use. Which you probably did. Otherwise HDMI output isn't a default so you have to override it.

$ cat /proc/asound/cards

$ egrep -r -i hdmi /proc/asound/*

A lot of time's it'll be something like hw:1,3 in terms of alsa naming conventions. Depending on which index was given to the one of probably many cards you want to use. Motherboard, video card, webcam, modems, all probably have some sound / DSP component to them.

In my current setup:

/proc/asound/card0/pcm3p/info:id: HDMI 0

Implies hw:0,3 where card0 is the 0 and pcm3p is the 3. If you're just using alsa you can make that default (for those apps that play nice) by the following .asoundrc file.

FILE: $HOME/.asoundrc
Code:
defaults.ctl.card 0
defaults.pcm.card 0
defaults.pcm.device 3
 
  


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
current -- suddenly hdmi audio is hd:0, instead of the pci audio card genss Slackware 5 04-25-2016 08:07 AM
has anyone seen a Radeon HDMI vid card. completely bork onboard Azalia audio? snellwilco Linux - Hardware 7 01-14-2015 12:31 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 - Hardware

All times are GMT -5. The time now is 04:29 PM.

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