Very recently, I built my very first PC from the ground up. It was fun but somewhat challenging experience. On my new PC, I’ve been running Ubuntu 8.10 intrepid ibex. I’ve really enjoyed using Ibex but getting everything to work the way I want has been a bit of a challenge.

One such challenge was getting my HD-TV to play sound while connected via a HDMI cable to my HIS HD 4850 IceQ4 Turbo. After a fair amount of searching and configuration changes, I got it to work.

Since the solution I found was spread across a couple of different forum posting that were not directly related to my problem, I thought I’d write a short tutorial for others who may run into the same situation as I did.

Install ATI HD 4850 Catalyst Drivers
Before I begin explaining the sound settings, I should also explain the process I used to install the ATI Catalyst drivers. I can’t remember all the pages I referenced to learn how to install the drivers, so I won’t be able to give credit to the websites that helped my like I’d like to.

To install the ATI HD 4850 Catalyst drivers, you need to go to System > Administration > Synaptic Package Monitor and install the envyng-core package. EnvyNG is an application written in Python which will download the latest ATI or NVIDIA driver or the Legacy driver (for older cards) (according to the model of your card) from ATI or Nvidia’s website and set it up for you handling dependencies (compilers, OpenGL, etc.) which are required in order to build and use the driver. If you don’t find the envyng-core package when you search, check to make sure that “Proprietary drivers for devices (restricted) is checked on the software sources menu.

Synaptic Package Manager

Once this package is installed, you should restart you computer. Once you’ve restarted, the Hardware Drivers application located under System > Administration should find the ATI/AMD proprietary FGLRX graphics driver. This driver should be installed and activated. The driver is required to fully utilize the 3D potential of some ATI graphics cards, as well as provide 2D acceleration of newer cards. Once installed, it’s probably a good idea to restart you PC once more.

Hardware Drivers

With the ATI Catalyst driver installed, you should be able to fully enjoy the Compiz-Fusion effects in Ubuntu 8.10. The driver version I’m using is 8.54.3 with Catalyst Control Center Version 2.1.

Update System Sound Settings
For your system to play sounds through your graphics card’s HDMI port, you need to tell Ubuntu to use the graphics card sound system VS your motherboard’s. This is the intuitive change. Go to System > Preferences > Sound. On the Devices tab, change all of the options excluding sound capture (e.g., Sound Events, Music and Movies, Audio Conferencing, and Default Mixer Tracks) to HDA ATI HDMI ATI HDMI (ALSA).

Sound Preferences

The next sound change is less intuitive; it requires you to double click on the speaker icon in your top panel to bring up the Volume Control menu. On this menu, change the Device drop down list option to “HDA ATI HDMI (Alsa mixer) and then select the Preferences button near the bottom right. On the preferences menu, check the IEC958 Switches track to be visible and then close the preferences screen. Back on the Volume Control screen, you should now have an IEC958 option on a Switches tab. Check this option and close the Volume Control menu.

Volume Control

The sound tests available on the System > Preferences > Sound should now play sounds. If it works, you’ll be hearing the tests sounds on your TV using only the HDMI out cable on the HD 4850.

I owe a big thank you to the MediaBox Blog posting titled “HOWTO: Audio over HDMI with the HD3200 \ RS780 in Ubuntu” for these sound setting tips.

VLC Sound Settings
I prefer the VLC media player over Ibex’s default Totem movie player. However, in this particular case, Totem played the sounds through my video card without requiring any additional changes while VLC did not.

Finding the appropriate audio settings in VLC proved a bit more challenging than I expected. To save you the time, I’ll outline exactly what you need to change. Open up VLC preferences by selection preferences from the tools menu. Near the bottom left of the preferences screen, be sure to select all as the show settings option.

Expand the Audio menu and then the Output modules option. On the Output Modules option, select ALSA audio output form the drop down menu.

VLC Audio Preferences

Then go to the ALSA option under the expanded Output modules section. Here you need to refresh the ALSA Device Name list. Once the list has refreshed, select HDA ATI HDMI: ATI HDMI (hw:1,3) and save all your settings.

ALSA Preferences

VLC should now also play sounds through an HDMI cable.

For this VLC tip, I owe a big thank you to tie_dyed_sox on the Ubuntu forums.



8 Responses to “Ubuntu 8.10 HDMI Sound Configuration”  

  1. 1 Hazrul Nizam Sidek

    Thanks for the tutorial!

    I just bought a HD4670 and thanks to you my HTPC is now working perfectly.

  2. 2 Matt

    When I realized how complicated it was to get the HD 4850 to play nice with my TV, I knew I had to write a detailed tutorial to help others. I’m glad to know that at least it benefited one person. Thanks.

  3. 3 Edward

    Thanks for the great post got my HD 4850 up and running like I wanted thanks for your info. I do have a question about dual screens, I been attempting to use the ATI Control Center to display out to two HDMI devices. One Samsung 32 LCD and one Panasonic 42 Plasma. Both capable of displaying 1280×720 but when I hook both up, it must mirrors everything to both screens. I’ve tried to use amdcccle to set both screen as single devices but after rebooting it messes everything up. Any help would be great. Thanks

  4. 4 Matt

    Hey Edward. I’m glad my post helped you out. Unfortunately, I don’t have a solution for your two monitor problem. I don’t have two video devices which take HDMI so I can’t even hook my PC up to see if I can figure out a solution for you.

    I did some quick searching online and this seems to be a fairly common problem. This forum post seems to have a lot of into about the subject. I didn’t read it close enough to see if it’s got an answer for you or not but it’s worth checking out.

    Have you tried changing the display options available via the ATI Catalyst software?

    When you do find the solution, do you care to come back to my site and post the solution in a comment to help out future readers? Thanks Edward.

  5. 5 Frank

    Thank you very much!
    Your blog post saved me hours and hours of web-searching, trials and errors.

    I was surprised that getting sound out through the HDMI port actually works in Linux, to often have I tried equal kind of tricks just to realize it just could not work.

    Even in XBMC for Linux it works, not by default but by following this XBMC forum post: http://xbmc.org/forum/showpost.php?p=214844&postcount=7

    Best regards
    Frank

  6. 6 Davuth

    Thanks for the post! I didn’t have to DL a new driver, but the sound settings you walked through finally got my HDMI audio output working.

  7. 7 Matt

    Thanks Davuth. The changes aren’t hard to make just hard to find. Glad my post helped. I found the settings on a couple of sites so I thought it would be easier for everyone if HDMI sound was fully explained on a single page.

  8. 8 Matt

    Frank, thanks for sharing that tip about XBMC!

Leave a Reply




Subscribe


Categories

Social Bookmarking

Keeping the Lights On