element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Raspberry Pi
  • Products
  • More
Raspberry Pi
Raspberry Pi Forum How to get sound over HDMI working when using a TV?
  • Blog
  • Forum
  • Documents
  • Quiz
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Raspberry Pi requires membership for participation - click to join
Featured Articles
Announcing Pi
Technical Specifications
Raspberry Pi FAQs
Win a Pi
Raspberry Pi Wishlist
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • Replies 58 replies
  • Subscribers 667 subscribers
  • Views 9003 views
  • Users 0 members are here
  • raspberry
  • audio
  • hdmi;
  • hdmi
  • over
  • tv;
  • raspberry_pi
  • sound
  • pi;
Related

How to get sound over HDMI working when using a TV?

wallarug
wallarug over 13 years ago

I have tried everything I could find on the internet but nothing has worked.  I have a HD TV and the Raspberry Pi is connect through a HDMI cable.  I have tried to change the config.txt file with hdmi_drive=2 (didn't work) and tried nothing in config.txt, I have tried sudo modprobe snd-bcm2835 as well but nothing I do seems to be working.  I installed vlc but it gives me an error: "VLC failed to initlalize your sound output device (if any).  Please update your alsa-lib to version 1.0.23-2-g8d80d5f or higher to try to fix this issue".  The help on the Raspberry Pi Forums is not very helpful...Example: "yep, got it playing videos, video games, and just plain music".  Can you please help me so that I can move on to some basic operations.  PS:  I have NO Linux knowledge so please be very specific with instructions.

  • Sign in to reply
  • Cancel
Parents
  • xtramural
    xtramural over 13 years ago

    Get's recent post on Setting up HDMI output - http://www.raspberrypi.org/phpBB3/viewtopic.php?f=5&t=5851 - probably supplies the detail(s) you need to overcome the issue.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
Reply
  • xtramural
    xtramural over 13 years ago

    Get's recent post on Setting up HDMI output - http://www.raspberrypi.org/phpBB3/viewtopic.php?f=5&t=5851 - probably supplies the detail(s) you need to overcome the issue.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
Children
  • wallarug
    wallarug over 13 years ago in reply to xtramural

    Looks good, Will take a look at it sometime this week.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • wallarug
    wallarug over 13 years ago in reply to xtramural

    When I edit the config.txt file (with the OS) using the command: "sudo nano /boot/config.txt"  It seems that nothing has been recognised.  But when I check, it has been changed. 

    I in putted:

    hdmi_group=1

    hdmi_mode=16               (for 1080p60 resolution)

     

    Have I missed a step to get the boot sequence to recognise these instructions.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • xtramural
    xtramural over 13 years ago in reply to wallarug

    I take it you rebooted the Pi?

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • wallarug
    wallarug over 12 years ago in reply to xtramural

    Yes, I have rebooted but it doen't seem to recongise the config.txt arguements/commands.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • wallarug
    wallarug over 12 years ago in reply to wallarug

    Ok, I have updated the config.txt file but with not luck.  I ran tvservice -m CEA and worked out that my TV can run at 1080p60.  This means that it should work.  Can someone please explain what is going on.

    Note:  Config.txt:

    hdmi_group = 1

    hdmi_mode = 16

    hdmi_drive = 2

     

    Is something wrong here?

    Also, I edit the config.txt file using "nano /boot/config.txt" then close it by using "ctrl + o" then "enter"  then "ctrl + x"

    Is something wrong here?

    Should I be placing the file in the /boot/ directory from a different device?

    Please help as I woud like to have sound and full HD output ASAP.

    Thank you.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • wallarug
    wallarug over 12 years ago in reply to wallarug

    Going to try and start from scratch, new image, new config.txt file, etc.  If this doesn't work then I don't know what to do?

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • GreenYamo
    GreenYamo over 12 years ago in reply to wallarug

    Hello Fergus,

     

    Might be a good idea to start again. I'm no expert, but your config.txt looks OK to me. If you are gonig to re-install, get the latest debian squeeze image from the Foundation's download page as that solved a few problems for me.

     

    If all else fails, I would try and post a message over in the foundation's forums, there is someone over there called Dom who appears to be Broadcom's HDMI guru. Post your edid file there and hopefully he will show up and help.

     

    Steve

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • wallarug
    wallarug over 12 years ago in reply to GreenYamo

    Dom doesn't seem to be responding or the community forums don't want to put up my messages.  Will try and fix RPi when I get time.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • wallarug
    wallarug over 12 years ago in reply to wallarug

    Thanks for all your help Steve.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • GreenYamo
    GreenYamo over 12 years ago in reply to wallarug

    Hi Fergus,

     

    I was fiddling around with trying to play an MP3 at the weekend, and couldn't get it to work, until I tried the instructions on this page http://www.raspberrypi.org/phpBB3/viewtopic.php?f=28&t=4958&p=61894&hilit=alsa+mp3#p61894 second post down.

     

    After a re-boot, the included Debian sound player actually played my mp3 files. Didn't have much chance to test it further, as I had firmware flashing problems on another device !

     

    Hope this helps a bit ?

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube